blob: 48ad51a30b89a90aa648ade079212ee31b9688ec [file] [log] [blame]
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001#! /bin/sh
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002# Guess values for system-dependent variables and create Makefiles.
Alexandre Julliarde1437c52010-02-19 19:23:45 +01003# Generated by GNU Autoconf 2.65 for Wine 1.1.39.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004#
Alexandre Julliard875927f2004-01-02 01:55:29 +00005# Report bugs to <wine-devel@winehq.org>.
6#
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01007#
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01009# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
10# Inc.
11#
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012#
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000013# This configure script is free software; the Free Software Foundation
14# gives unlimited permission to copy, distribute and modify it.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020015## -------------------- ##
16## M4sh Initialization. ##
17## -------------------- ##
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010019# Be more Bourne compatible
20DUALCASE=1; export DUALCASE # for MKS sh
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020021if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +000022 emulate sh
23 NULLCMD=:
Alexandre Julliardabf50482008-10-31 12:56:53 +010024 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
Alexandre Julliard11af04e2002-10-10 03:48:04 +000025 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020027 setopt NO_GLOB_SUBST
28else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020029 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
33 ;;
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010034esac
Alexandre Julliardf5818d22002-02-14 19:47:29 +000035fi
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010036
37
Alexandre Julliardabf50482008-10-31 12:56:53 +010038as_nl='
39'
40export as_nl
41# Printing a long string crashes Solaris 7 /usr/bin/printf.
42as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020045# Prefer a ksh shell builtin over an external printf program on Solaris,
46# but without wasting forks for bash or zsh.
47if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
Alexandre Julliardabf50482008-10-31 12:56:53 +010052 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54else
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'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020062 case $arg in #(
Alexandre Julliardabf50482008-10-31 12:56:53 +010063 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 '
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
71 fi
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
74fi
75
Alexandre Julliarddaa28862002-04-11 21:54:01 +000076# The user is always right.
77if test "${PATH_SEPARATOR+set}" != set; then
Alexandre Julliardabf50482008-10-31 12:56:53 +010078 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
82 }
Alexandre Julliarddaa28862002-04-11 21:54:01 +000083fi
84
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020085
86# IFS
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.)
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020091IFS=" "" $as_nl"
92
93# Find who we are. Look in the path if we contain no directory separator.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020094case $0 in #((
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020095 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Alexandre Julliarddaa28862002-04-11 21:54:01 +000097for as_dir in $PATH
98do
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200103IFS=$as_save_IFS
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000104
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200105 ;;
106esac
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.
109if test "x$as_myself" = x; then
110 as_myself=$0
111fi
112if test ! -f "$as_myself"; then
Alexandre Julliardabf50482008-10-31 12:56:53 +0100113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200114 exit 1
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200115fi
116
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200117# 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.
121for as_var in BASH_ENV ENV MAIL MAILPATH
122do eval test x\${$as_var+set} = xset \
123 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200124done
125PS1='$ '
126PS2='> '
127PS4='+ '
128
129# NLS nuisances.
Alexandre Julliardabf50482008-10-31 12:56:53 +0100130LC_ALL=C
131export LC_ALL
132LANGUAGE=C
133export LANGUAGE
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200134
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200135# CDPATH.
136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137
138if test "x$CONFIG_SHELL" = x; then
139 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 emulate sh
141 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
151 ;;
152esac
153fi
154"
155 as_required="as_fn_return () { (exit \$1); }
156as_fn_success () { as_fn_return 0; }
157as_fn_failure () { as_fn_return 1; }
158as_fn_ret_success () { return 0; }
159as_fn_ret_failure () { return 1; }
160
161exitcode=0
162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
168else
169 exitcode=1; echo positional parameters were not saved.
170fi
171test 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
176test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev/null; then :
178 as_have_required=yes
179else
180 as_have_required=no
181fi
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
183
184else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186as_found=false
187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
188do
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
193 /*)
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 :
201 break 2
202fi
203fi
204 done;;
205 esac
206 as_found=false
207done
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
211fi; }
212IFS=$as_save_IFS
213
214
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.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
224fi
225
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."
232 else
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."
238 fi
239 exit 1
240fi
241fi
242fi
243SHELL=${CONFIG_SHELL-/bin/sh}
244export SHELL
245# Unset more variables known to interfere with behavior of common tools.
246CLICOLOR_FORCE= GREP_OPTIONS=
247unset CLICOLOR_FORCE GREP_OPTIONS
248
249## --------------------- ##
250## M4sh Shell Functions. ##
251## --------------------- ##
252# as_fn_unset VAR
253# ---------------
254# Portably unset VAR.
255as_fn_unset ()
256{
257 { eval $1=; unset $1;}
258}
259as_unset=as_fn_unset
260
261# as_fn_set_status STATUS
262# -----------------------
263# Set $? to STATUS, without forking.
264as_fn_set_status ()
265{
266 return $1
267} # as_fn_set_status
268
269# as_fn_exit STATUS
270# -----------------
271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272as_fn_exit ()
273{
274 set +e
275 as_fn_set_status $1
276 exit $1
277} # as_fn_exit
278
279# as_fn_mkdir_p
280# -------------
281# Create "$as_dir" as a directory, including parents if necessary.
282as_fn_mkdir_p ()
283{
284
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
304 q
305 }
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
308 q
309 }
310 /^X\(\/\/\)$/{
311 s//\1/
312 q
313 }
314 /^X\(\/\).*/{
315 s//\1/
316 q
317 }
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
324
325} # as_fn_mkdir_p
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
331# implementations.
332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
334 {
335 eval $1+=\$2
336 }'
337else
338 as_fn_append ()
339 {
340 eval $1=\$$1\$2
341 }
342fi # as_fn_append
343
344# as_fn_arith ARG...
345# ------------------
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.
349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
350 eval 'as_fn_arith ()
351 {
352 as_val=$(( $* ))
353 }'
354else
355 as_fn_arith ()
356 {
357 as_val=`expr "$@" || test $? -eq 1`
358 }
359fi # as_fn_arith
360
361
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.
367as_fn_error ()
368{
369 as_status=$?; test $as_status -eq 0 && as_status=1
370 if test "$3"; then
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
373 fi
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit $as_status
376} # as_fn_error
377
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200378if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381else
382 as_expr=false
383fi
384
385if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387else
388 as_basename=false
389fi
390
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393else
394 as_dirname=false
395fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200396
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200397as_me=`$as_basename -- "$0" ||
398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
Alexandre Julliardabf50482008-10-31 12:56:53 +0100401$as_echo X/"$0" |
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
404 q
405 }
406 /^X\/\(\/\/\)$/{
407 s//\1/
408 q
409 }
410 /^X\/\(\/\).*/{
411 s//\1/
412 q
413 }
414 s/.*/./; q'`
415
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200416# Avoid depending upon Character Ranges.
417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
420as_cr_digits='0123456789'
421as_cr_alnum=$as_cr_Letters$as_cr_digits
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200422
423
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200424 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. :-)
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200429 sed -n '
430 p
431 /[$]LINENO/=
432 ' <$as_myself |
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000433 sed '
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200434 s/[$]LINENO.*/&-/
435 t lineno
436 b
437 :lineno
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000438 N
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000441 t loop
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200442 s/-\n.*//
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000443 ' >$as_me.lineno &&
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200444 chmod +x "$as_me.lineno" ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000446
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
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200449 # original and so on. Autoconf is especially sensitive to this).
450 . "./$as_me.lineno"
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000451 # Exit status is that of the last command.
452 exit
453}
454
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200455ECHO_C= ECHO_N= ECHO_T=
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200456case `echo -n x` in #(((((
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200457-n*)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200458 case `echo 'xy\c'` in
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200463 esac;;
464*)
465 ECHO_N='-n';;
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000466esac
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000467
468rm -f conf$$ conf$$.exe conf$$.file
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200469if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471else
472 rm -f conf$$.dir
Alexandre Julliardabf50482008-10-31 12:56:53 +0100473 mkdir conf$$.dir 2>/dev/null
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200474fi
Alexandre Julliardabf50482008-10-31 12:56:53 +0100475if (echo >conf$$.file) 2>/dev/null; then
476 if ln -s conf$$.file conf$$ 2>/dev/null; then
477 as_ln_s='ln -s'
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 ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000487 as_ln_s='cp -p'
Alexandre Julliardabf50482008-10-31 12:56:53 +0100488 fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000489else
490 as_ln_s='cp -p'
491fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200492rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
493rmdir conf$$.dir 2>/dev/null
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000494
Alexandre Julliard11af04e2002-10-10 03:48:04 +0000495if mkdir -p . 2>/dev/null; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200496 as_mkdir_p='mkdir -p "$as_dir"'
Alexandre Julliard11af04e2002-10-10 03:48:04 +0000497else
Alexandre Julliard875927f2004-01-02 01:55:29 +0000498 test -d ./-p && rmdir ./-p
Alexandre Julliard11af04e2002-10-10 03:48:04 +0000499 as_mkdir_p=false
500fi
501
Alexandre Julliarddc9f3842006-12-19 16:17:09 +0100502if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200504else
Alexandre Julliarddc9f3842006-12-19 16:17:09 +0100505 if ls -dL / >/dev/null 2>&1; then
506 as_ls_L_option=L
507 else
508 as_ls_L_option=
509 fi
510 as_test_x='
511 eval sh -c '\''
512 if test -d "$1"; then
Alexandre Julliardabf50482008-10-31 12:56:53 +0100513 test -d "$1/.";
Alexandre Julliarddc9f3842006-12-19 16:17:09 +0100514 else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200515 case $1 in #(
Alexandre Julliardabf50482008-10-31 12:56:53 +0100516 -*)set "./$1";;
Alexandre Julliarddc9f3842006-12-19 16:17:09 +0100517 esac;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
Alexandre Julliarddc9f3842006-12-19 16:17:09 +0100519 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh
521 '
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200522fi
Alexandre Julliarddc9f3842006-12-19 16:17:09 +0100523as_executable_p=$as_test_x
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000524
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000525# Sed expression to map a string onto a valid CPP name.
Alexandre Julliard875927f2004-01-02 01:55:29 +0000526as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000527
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000528# Sed expression to map a string onto a valid variable name.
Alexandre Julliard875927f2004-01-02 01:55:29 +0000529as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000530
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000531
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +0100532test -n "$DJDIR" || exec 7<&0 </dev/null
533exec 6>&1
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000534
535# Name of the host.
536# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537# so uname gets run too.
538ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000540#
541# Initializations.
542#
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000543ac_default_prefix=/usr/local
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200544ac_clean_files=
Alexandre Julliard11af04e2002-10-10 03:48:04 +0000545ac_config_libobj_dir=.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200546LIBOBJS=
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000547cross_compiling=no
548subdirs=
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000549MFLAGS=
550MAKEFLAGS=
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000551
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000552# Identity of this package.
553PACKAGE_NAME='Wine'
554PACKAGE_TARNAME='wine'
Alexandre Julliarde1437c52010-02-19 19:23:45 +0100555PACKAGE_VERSION='1.1.39'
556PACKAGE_STRING='Wine 1.1.39'
Alexandre Julliard875927f2004-01-02 01:55:29 +0000557PACKAGE_BUGREPORT='wine-devel@winehq.org'
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200558PACKAGE_URL='http://www.winehq.org'
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000559
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000560ac_unique_file="server/atom.c"
561# Factoring default headers for most tests.
562ac_includes_default="\
563#include <stdio.h>
Phil Krylovf0ca5862006-11-05 23:03:46 +0300564#ifdef HAVE_SYS_TYPES_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000565# include <sys/types.h>
566#endif
Phil Krylovf0ca5862006-11-05 23:03:46 +0300567#ifdef HAVE_SYS_STAT_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000568# include <sys/stat.h>
569#endif
Phil Krylovf0ca5862006-11-05 23:03:46 +0300570#ifdef STDC_HEADERS
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000571# include <stdlib.h>
572# include <stddef.h>
573#else
Phil Krylovf0ca5862006-11-05 23:03:46 +0300574# ifdef HAVE_STDLIB_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000575# include <stdlib.h>
576# endif
577#endif
Phil Krylovf0ca5862006-11-05 23:03:46 +0300578#ifdef HAVE_STRING_H
579# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000580# include <memory.h>
581# endif
582# include <string.h>
583#endif
Phil Krylovf0ca5862006-11-05 23:03:46 +0300584#ifdef HAVE_STRINGS_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000585# include <strings.h>
586#endif
Phil Krylovf0ca5862006-11-05 23:03:46 +0300587#ifdef HAVE_INTTYPES_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000588# include <inttypes.h>
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200589#endif
Phil Krylovf0ca5862006-11-05 23:03:46 +0300590#ifdef HAVE_STDINT_H
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200591# include <stdint.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000592#endif
Phil Krylovf0ca5862006-11-05 23:03:46 +0300593#ifdef HAVE_UNISTD_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000594# include <unistd.h>
595#endif"
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000596
Alexandre Julliardabf50482008-10-31 12:56:53 +0100597ac_subst_vars='LTLIBOBJS
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200598LIBOBJS
Alexandre Julliardabf50482008-10-31 12:56:53 +0100599ALL_PROGRAM_BIN_INSTALL_DIRS
Alexandre Julliardabf50482008-10-31 12:56:53 +0100600ALL_PROGRAM_DIRS
Alexandre Julliard454fb3c2010-02-08 21:29:13 +0100601ALL_TEST_BINARIES
Alexandre Julliardabf50482008-10-31 12:56:53 +0100602ALL_TEST_DIRS
Alexandre Julliard94636872010-02-10 19:33:39 +0100603ALL_INSTALL_DIRS
Alexandre Julliard950a0f82010-01-26 21:10:14 +0100604ALL_IMPORT_LIBS
Alexandre Julliardb6c275b2010-01-26 20:40:12 +0100605ALL_STATIC_LIBS
Alexandre Julliard10e4edd2010-02-10 10:55:23 +0100606ALL_STATICLIB_DIRS
Alexandre Julliard4d3b0202010-02-08 20:47:07 +0100607ALL_TOOL_DIRS
Alexandre Julliardabf50482008-10-31 12:56:53 +0100608ALL_DLL_DIRS
609ALL_TOP_DIRS
Alexandre Julliard52c400e2010-02-10 19:57:02 +0100610ALL_DIRS
Alexandre Julliardd5addea2010-02-08 21:27:54 +0100611ALL_WINETEST_DEPENDS
Alexandre Julliardabf50482008-10-31 12:56:53 +0100612ALL_MAKEFILE_DEPENDS
Alexandre Julliard7d020c92010-02-03 13:12:12 +0100613ALL_SYMLINKS
Alexandre Julliardabf50482008-10-31 12:56:53 +0100614ALL_MAKERULES
615DEPENDENCIES
616LDAPLIBS
617LIBPOLL
618LIBDL
619EXTRA_BINARIES
Alexandre Julliard3e6eab32009-08-13 19:54:31 +0200620MAIN_BINARY
Alexandre Julliardabf50482008-10-31 12:56:53 +0100621SOCKETLIBS
622CRTLIBS
Alexandre Julliardb860c4a2009-09-01 22:36:13 +0200623TOOLSEXT
Alexandre Julliardabf50482008-10-31 12:56:53 +0100624LDPATH
625BUILTINFLAG
626EXTRACFLAGS
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +0100627LIBKSTAT
Aric Stewartdb71d7c2009-08-19 09:37:48 -0500628LIBMPG123
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +0200629PNGINCL
Alexandre Julliardabf50482008-10-31 12:56:53 +0100630FONTCONFIGINCL
631CUPSINCL
632AUDIOIOLIBS
633ALSALIBS
634ESDLIBS
635ESDINCL
636ESDCONFIG
Jacek Caban11ca05f2009-05-29 23:35:13 +0200637ZLIB
Alexandre Julliardabf50482008-10-31 12:56:53 +0100638FREETYPEINCL
639FREETYPELIBS
640ft_devel
641LCMSLIBS
642RESOLVLIBS
643GPHOTO2INCL
644GPHOTO2LIBS
645gphoto2port_devel
646gphoto2_devel
647SANEINCL
648sane_devel
649GNUTLSINCL
650HALINCL
651XSLTINCL
Alexandre Julliardabf50482008-10-31 12:56:53 +0100652XML2INCL
653XML2LIBS
654NASLIBS
Alexandre Julliard40664c02009-02-11 20:40:58 +0100655X_EXTRA_LIBS
656X_LIBS
657X_PRE_LIBS
658X_CFLAGS
659XMKMF
Alexandre Julliardc891f6b2009-02-11 20:41:50 +0100660LIBPTHREAD
Alexandre Julliard1f254212010-01-23 20:26:49 +0100661CROSSTARGET
Alexandre Julliardabf50482008-10-31 12:56:53 +0100662CROSSTEST
Alexandre Julliardabf50482008-10-31 12:56:53 +0100663CROSSCC
664CARBONLIB
Ken Thomases0b08f192009-09-09 22:23:35 -0500665LIBOPENAL
Alexandre Julliardabf50482008-10-31 12:56:53 +0100666COREAUDIO
667DISKARBITRATIONLIB
668LDEXECFLAGS
669IOKITLIB
670COREFOUNDATIONLIB
671SECURITYLIB
Alexandre Julliardabf50482008-10-31 12:56:53 +0100672DLLWRAP
673DLLTOOL
674LDD
675LDRPATH_LOCAL
676LDRPATH_INSTALL
677IMPLIBEXT
678LIBEXT
679LDDLLFLAGS
680LDSHARED
681DLLFLAGS
682DLLEXT
Alexandre Julliard40664c02009-02-11 20:40:58 +0100683CPP
Alexandre Julliardabf50482008-10-31 12:56:53 +0100684OPENGL_LIBS
685XLIB
Alexandre Julliardabf50482008-10-31 12:56:53 +0100686PRELINK
687ICOTOOL
688RSVG
689PKG_CONFIG
690FONTFORGE
691LINTFLAGS
692LINT
693INSTALL_DATA
694INSTALL_SCRIPT
695INSTALL_PROGRAM
696LDCONFIG
697EGREP
698GREP
Alexandre Julliardabf50482008-10-31 12:56:53 +0100699LN_S
Alexandre Julliardabf50482008-10-31 12:56:53 +0100700STRIP
701RANLIB
702ARFLAGS
703ac_ct_AR
704AR
Alexandre Julliardabf50482008-10-31 12:56:53 +0100705BISON
706FLEX
Alexandre Julliardabf50482008-10-31 12:56:53 +0100707TOOLSDIR
Alexandre Julliard90647772009-08-13 19:48:42 +0200708WOW64_DISABLE
Alexandre Julliard07f77c42009-01-15 21:17:51 +0100709TARGETFLAGS
Alexandre Julliardabf50482008-10-31 12:56:53 +0100710CPPBIN
711ac_ct_CXX
712CXXFLAGS
713CXX
714OBJEXT
715EXEEXT
716ac_ct_CC
717CPPFLAGS
718LDFLAGS
719CFLAGS
720CC
721SET_MAKE
Alexandre Julliardabf50482008-10-31 12:56:53 +0100722host_os
723host_vendor
724host_cpu
725host
726build_os
727build_vendor
728build_cpu
729build
730MAINTAINER_MODE
731target_alias
732host_alias
733build_alias
734LIBS
735ECHO_T
736ECHO_N
737ECHO_C
738DEFS
739mandir
740localedir
741libdir
742psdir
743pdfdir
744dvidir
745htmldir
746infodir
747docdir
748oldincludedir
749includedir
750localstatedir
751sharedstatedir
752sysconfdir
753datadir
754datarootdir
755libexecdir
756sbindir
757bindir
758program_transform_name
759prefix
760exec_prefix
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200761PACKAGE_URL
Alexandre Julliardabf50482008-10-31 12:56:53 +0100762PACKAGE_BUGREPORT
763PACKAGE_STRING
764PACKAGE_VERSION
765PACKAGE_TARNAME
766PACKAGE_NAME
767PATH_SEPARATOR
768SHELL'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200769ac_subst_files='MAKE_RULES
Alexandre Julliardcb1fc8f2010-02-10 11:18:58 +0100770MAKE_TEST_RULES
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200771MAKE_DLL_RULES
772MAKE_IMPLIB_RULES
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200773MAKE_PROG_RULES'
Alexandre Julliardabf50482008-10-31 12:56:53 +0100774ac_user_opts='
775enable_option_checking
776enable_win16
777enable_win64
Alexandre Julliard35078f42008-11-21 10:16:12 +0100778enable_tests
Alexandre Julliardabf50482008-10-31 12:56:53 +0100779enable_maintainer_mode
780with_alsa
781with_audioio
782with_capi
783with_cms
784with_coreaudio
785with_cups
786with_curses
787with_esd
788with_fontconfig
789with_freetype
790with_gphoto
791with_glu
792with_gnutls
Alexandre Julliard6ce32e02009-08-19 15:53:04 +0200793with_gsm
Alexandre Julliardabf50482008-10-31 12:56:53 +0100794with_hal
795with_jack
796with_jpeg
797with_ldap
Aric Stewartdb71d7c2009-08-19 09:37:48 -0500798with_mpg123
Alexandre Julliardabf50482008-10-31 12:56:53 +0100799with_nas
Chris Robinson862965f2009-08-25 03:26:35 -0700800with_openal
Alexandre Julliardabf50482008-10-31 12:56:53 +0100801with_opengl
802with_openssl
803with_oss
804with_png
Alexandre Julliardc891f6b2009-02-11 20:41:50 +0100805with_pthread
Alexandre Julliardabf50482008-10-31 12:56:53 +0100806with_sane
Maarten Lankhorstbf6f0752010-01-28 23:27:12 +0100807with_v4l
Alexandre Julliardabf50482008-10-31 12:56:53 +0100808with_xcomposite
809with_xcursor
810with_xinerama
811with_xinput
812with_xml
813with_xrandr
814with_xrender
815with_xshape
816with_xshm
817with_xslt
818with_xxf86vm
819with_wine_tools
Alexandre Julliard39a75d32009-08-13 19:45:31 +0200820with_wine64
Eric Pouechbc56c4e2009-08-25 19:33:28 +0200821enable_largefile
Alexandre Julliardabf50482008-10-31 12:56:53 +0100822with_x
823'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200824 ac_precious_vars='build_alias
825host_alias
826target_alias
827CC
828CFLAGS
829LDFLAGS
Alexandre Julliarddc9f3842006-12-19 16:17:09 +0100830LIBS
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200831CPPFLAGS
832CXX
833CXXFLAGS
834CCC
Alexandre Julliard40664c02009-02-11 20:40:58 +0100835CPP
836XMKMF'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200837
Alexandre Julliarddaa28862002-04-11 21:54:01 +0000838
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000839# Initialize some variables set by options.
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000840ac_init_help=
841ac_init_version=false
Alexandre Julliardabf50482008-10-31 12:56:53 +0100842ac_unrecognized_opts=
843ac_unrecognized_sep=
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000844# The variables have the same names as the options, with
845# dashes changed to underlines.
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000846cache_file=/dev/null
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000847exec_prefix=NONE
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000848no_create=
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000849no_recursion=
850prefix=NONE
851program_prefix=NONE
852program_suffix=NONE
853program_transform_name=s,x,x,
854silent=
855site=
856srcdir=
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000857verbose=
858x_includes=NONE
859x_libraries=NONE
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000860
861# Installation directory options.
862# These are left unexpanded so users can "make install exec_prefix=/foo"
863# and all the variables that are supposed to be based on exec_prefix
864# by default will actually change.
865# Use braces instead of parens because sh, perl, etc. also accept them.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200866# (The list follows the same order as the GNU Coding Standards.)
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000867bindir='${exec_prefix}/bin'
868sbindir='${exec_prefix}/sbin'
869libexecdir='${exec_prefix}/libexec'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200870datarootdir='${prefix}/share'
871datadir='${datarootdir}'
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000872sysconfdir='${prefix}/etc'
873sharedstatedir='${prefix}/com'
874localstatedir='${prefix}/var'
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000875includedir='${prefix}/include'
876oldincludedir='/usr/include'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200877docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
878infodir='${datarootdir}/info'
879htmldir='${docdir}'
880dvidir='${docdir}'
881pdfdir='${docdir}'
882psdir='${docdir}'
883libdir='${exec_prefix}/lib'
884localedir='${datarootdir}/locale'
885mandir='${datarootdir}/man'
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000886
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000887ac_prev=
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200888ac_dashdash=
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000889for ac_option
890do
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200893 eval $ac_prev=\$ac_option
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000894 ac_prev=
895 continue
896 fi
897
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200898 case $ac_option in
899 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
900 *) ac_optarg=yes ;;
901 esac
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000902
903 # Accept the important Cygnus configure options, so we can diagnose typos.
904
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200905 case $ac_dashdash$ac_option in
906 --)
907 ac_dashdash=yes ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000908
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000909 -bindir | --bindir | --bindi | --bind | --bin | --bi)
910 ac_prev=bindir ;;
911 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000912 bindir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000913
914 -build | --build | --buil | --bui | --bu)
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000915 ac_prev=build_alias ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000916 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000917 build_alias=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000918
919 -cache-file | --cache-file | --cache-fil | --cache-fi \
920 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
921 ac_prev=cache_file ;;
922 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
923 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000924 cache_file=$ac_optarg ;;
925
926 --config-cache | -C)
927 cache_file=config.cache ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000928
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200929 -datadir | --datadir | --datadi | --datad)
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000930 ac_prev=datadir ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200931 -datadir=* | --datadir=* | --datadi=* | --datad=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000932 datadir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +0000933
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200934 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
935 | --dataroo | --dataro | --datar)
936 ac_prev=datarootdir ;;
937 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
938 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
939 datarootdir=$ac_optarg ;;
940
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000941 -disable-* | --disable-*)
Alexandre Julliardabf50482008-10-31 12:56:53 +0100942 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000943 # Reject names that are not valid shell variable names.
Alexandre Julliardabf50482008-10-31 12:56:53 +0100944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200945 as_fn_error "invalid feature name: $ac_useropt"
Alexandre Julliardabf50482008-10-31 12:56:53 +0100946 ac_useropt_orig=$ac_useropt
947 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
948 case $ac_user_opts in
949 *"
950"enable_$ac_useropt"
951"*) ;;
952 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
953 ac_unrecognized_sep=', ';;
954 esac
955 eval enable_$ac_useropt=no ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +0200956
957 -docdir | --docdir | --docdi | --doc | --do)
958 ac_prev=docdir ;;
959 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
960 docdir=$ac_optarg ;;
961
962 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
963 ac_prev=dvidir ;;
964 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
965 dvidir=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000966
967 -enable-* | --enable-*)
Alexandre Julliardabf50482008-10-31 12:56:53 +0100968 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000969 # Reject names that are not valid shell variable names.
Alexandre Julliardabf50482008-10-31 12:56:53 +0100970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +0200971 as_fn_error "invalid feature name: $ac_useropt"
Alexandre Julliardabf50482008-10-31 12:56:53 +0100972 ac_useropt_orig=$ac_useropt
973 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
975 *"
976"enable_$ac_useropt"
977"*) ;;
978 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
979 ac_unrecognized_sep=', ';;
980 esac
981 eval enable_$ac_useropt=\$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000982
983 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
984 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
985 | --exec | --exe | --ex)
986 ac_prev=exec_prefix ;;
987 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
988 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
989 | --exec=* | --exe=* | --ex=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000990 exec_prefix=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +0000991
992 -gas | --gas | --ga | --g)
993 # Obsolete; use --with-gas.
994 with_gas=yes ;;
995
Alexandre Julliardf5818d22002-02-14 19:47:29 +0000996 -help | --help | --hel | --he | -h)
997 ac_init_help=long ;;
998 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
999 ac_init_help=recursive ;;
1000 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1001 ac_init_help=short ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001002
1003 -host | --host | --hos | --ho)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001004 ac_prev=host_alias ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001005 -host=* | --host=* | --hos=* | --ho=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001006 host_alias=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001007
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001008 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1009 ac_prev=htmldir ;;
1010 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1011 | --ht=*)
1012 htmldir=$ac_optarg ;;
1013
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001014 -includedir | --includedir | --includedi | --included | --include \
1015 | --includ | --inclu | --incl | --inc)
1016 ac_prev=includedir ;;
1017 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1018 | --includ=* | --inclu=* | --incl=* | --inc=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001019 includedir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001020
1021 -infodir | --infodir | --infodi | --infod | --info | --inf)
1022 ac_prev=infodir ;;
1023 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001024 infodir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001025
1026 -libdir | --libdir | --libdi | --libd)
1027 ac_prev=libdir ;;
1028 -libdir=* | --libdir=* | --libdi=* | --libd=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001029 libdir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001030
1031 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1032 | --libexe | --libex | --libe)
1033 ac_prev=libexecdir ;;
1034 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1035 | --libexe=* | --libex=* | --libe=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001036 libexecdir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001037
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001038 -localedir | --localedir | --localedi | --localed | --locale)
1039 ac_prev=localedir ;;
1040 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1041 localedir=$ac_optarg ;;
1042
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001043 -localstatedir | --localstatedir | --localstatedi | --localstated \
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001044 | --localstate | --localstat | --localsta | --localst | --locals)
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001045 ac_prev=localstatedir ;;
1046 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001047 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001048 localstatedir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001049
1050 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1051 ac_prev=mandir ;;
1052 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001053 mandir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001054
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001055 -nfp | --nfp | --nf)
1056 # Obsolete; use --without-fp.
1057 with_fp=no ;;
1058
1059 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001060 | --no-cr | --no-c | -n)
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001061 no_create=yes ;;
1062
1063 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1064 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1065 no_recursion=yes ;;
1066
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001067 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1068 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1069 | --oldin | --oldi | --old | --ol | --o)
1070 ac_prev=oldincludedir ;;
1071 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1072 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1073 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001074 oldincludedir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001075
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001076 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1077 ac_prev=prefix ;;
1078 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001079 prefix=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001080
1081 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1082 | --program-pre | --program-pr | --program-p)
1083 ac_prev=program_prefix ;;
1084 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1085 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001086 program_prefix=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001087
1088 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1089 | --program-suf | --program-su | --program-s)
1090 ac_prev=program_suffix ;;
1091 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1092 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001093 program_suffix=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001094
1095 -program-transform-name | --program-transform-name \
1096 | --program-transform-nam | --program-transform-na \
1097 | --program-transform-n | --program-transform- \
1098 | --program-transform | --program-transfor \
1099 | --program-transfo | --program-transf \
1100 | --program-trans | --program-tran \
1101 | --progr-tra | --program-tr | --program-t)
1102 ac_prev=program_transform_name ;;
1103 -program-transform-name=* | --program-transform-name=* \
1104 | --program-transform-nam=* | --program-transform-na=* \
1105 | --program-transform-n=* | --program-transform-=* \
1106 | --program-transform=* | --program-transfor=* \
1107 | --program-transfo=* | --program-transf=* \
1108 | --program-trans=* | --program-tran=* \
1109 | --progr-tra=* | --program-tr=* | --program-t=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001110 program_transform_name=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001111
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001112 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1113 ac_prev=pdfdir ;;
1114 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1115 pdfdir=$ac_optarg ;;
1116
1117 -psdir | --psdir | --psdi | --psd | --ps)
1118 ac_prev=psdir ;;
1119 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1120 psdir=$ac_optarg ;;
1121
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001122 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1123 | -silent | --silent | --silen | --sile | --sil)
1124 silent=yes ;;
1125
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001126 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1127 ac_prev=sbindir ;;
1128 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1129 | --sbi=* | --sb=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001130 sbindir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001131
1132 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1133 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1134 | --sharedst | --shareds | --shared | --share | --shar \
1135 | --sha | --sh)
1136 ac_prev=sharedstatedir ;;
1137 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1138 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1139 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1140 | --sha=* | --sh=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001141 sharedstatedir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001142
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001143 -site | --site | --sit)
1144 ac_prev=site ;;
1145 -site=* | --site=* | --sit=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001146 site=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001147
1148 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1149 ac_prev=srcdir ;;
1150 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001151 srcdir=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001152
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001153 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1154 | --syscon | --sysco | --sysc | --sys | --sy)
1155 ac_prev=sysconfdir ;;
1156 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1157 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001158 sysconfdir=$ac_optarg ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001159
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001160 -target | --target | --targe | --targ | --tar | --ta | --t)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001161 ac_prev=target_alias ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001162 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001163 target_alias=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001164
1165 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1166 verbose=yes ;;
1167
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001168 -version | --version | --versio | --versi | --vers | -V)
1169 ac_init_version=: ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001170
1171 -with-* | --with-*)
Alexandre Julliardabf50482008-10-31 12:56:53 +01001172 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001173 # Reject names that are not valid shell variable names.
Alexandre Julliardabf50482008-10-31 12:56:53 +01001174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001175 as_fn_error "invalid package name: $ac_useropt"
Alexandre Julliardabf50482008-10-31 12:56:53 +01001176 ac_useropt_orig=$ac_useropt
1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1179 *"
1180"with_$ac_useropt"
1181"*) ;;
1182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183 ac_unrecognized_sep=', ';;
1184 esac
1185 eval with_$ac_useropt=\$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001186
1187 -without-* | --without-*)
Alexandre Julliardabf50482008-10-31 12:56:53 +01001188 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001189 # Reject names that are not valid shell variable names.
Alexandre Julliardabf50482008-10-31 12:56:53 +01001190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001191 as_fn_error "invalid package name: $ac_useropt"
Alexandre Julliardabf50482008-10-31 12:56:53 +01001192 ac_useropt_orig=$ac_useropt
1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1195 *"
1196"with_$ac_useropt"
1197"*) ;;
1198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199 ac_unrecognized_sep=', ';;
1200 esac
1201 eval with_$ac_useropt=no ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001202
1203 --x)
1204 # Obsolete; use --with-x.
1205 with_x=yes ;;
1206
1207 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1208 | --x-incl | --x-inc | --x-in | --x-i)
1209 ac_prev=x_includes ;;
1210 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1211 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001212 x_includes=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001213
1214 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1215 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1216 ac_prev=x_libraries ;;
1217 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1218 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001219 x_libraries=$ac_optarg ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001220
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001221 -*) as_fn_error "unrecognized option: \`$ac_option'
1222Try \`$0 --help' for more information."
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001223 ;;
1224
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001225 *=*)
1226 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1227 # Reject names that are not valid shell variable names.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001228 case $ac_envvar in #(
1229 '' | [0-9]* | *[!_$as_cr_alnum]* )
1230 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1231 esac
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001232 eval $ac_envvar=\$ac_optarg
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001233 export $ac_envvar ;;
1234
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00001235 *)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001236 # FIXME: should be removed in autoconf 3.0.
Alexandre Julliardabf50482008-10-31 12:56:53 +01001237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
Alexandre Julliardabf50482008-10-31 12:56:53 +01001239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001240 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001241 ;;
1242
1243 esac
1244done
1245
1246if test -n "$ac_prev"; then
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001247 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001248 as_fn_error "missing argument to $ac_option"
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001249fi
1250
Alexandre Julliardabf50482008-10-31 12:56:53 +01001251if test -n "$ac_unrecognized_opts"; then
1252 case $enable_option_checking in
1253 no) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001254 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
Alexandre Julliardabf50482008-10-31 12:56:53 +01001255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1256 esac
1257fi
1258
1259# Check all directory arguments for consistency.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001260for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261 datadir sysconfdir sharedstatedir localstatedir includedir \
1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263 libdir localedir mandir
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001264do
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001265 eval ac_val=\$$ac_var
Alexandre Julliardabf50482008-10-31 12:56:53 +01001266 # Remove trailing slashes.
1267 case $ac_val in
1268 */ )
1269 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1270 eval $ac_var=\$ac_val;;
1271 esac
1272 # Be sure to have absolute directory names.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001273 case $ac_val in
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001274 [\\/$]* | ?:[\\/]* ) continue;;
1275 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001276 esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001277 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001278done
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001279
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001280# There might be people who depend on the old broken behavior: `$host'
1281# used to hold the argument of --host etc.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001282# FIXME: To remove some day.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001283build=$build_alias
1284host=$host_alias
1285target=$target_alias
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001286
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001287# FIXME: To remove some day.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001288if test "x$host_alias" != x; then
1289 if test "x$build_alias" = x; then
1290 cross_compiling=maybe
Alexandre Julliardabf50482008-10-31 12:56:53 +01001291 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001292 If a cross compiler is detected then cross compile mode will be used." >&2
1293 elif test "x$build_alias" != "x$host_alias"; then
1294 cross_compiling=yes
1295 fi
1296fi
1297
1298ac_tool_prefix=
1299test -n "$host_alias" && ac_tool_prefix=$host_alias-
1300
1301test "$silent" = yes && exec 6>/dev/null
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001302
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001303
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001304ac_pwd=`pwd` && test -n "$ac_pwd" &&
1305ac_ls_di=`ls -di .` &&
1306ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001307 as_fn_error "working directory cannot be determined"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001308test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001309 as_fn_error "pwd does not report name of working directory"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001310
1311
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001312# Find the source files, if location was not specified.
1313if test -z "$srcdir"; then
1314 ac_srcdir_defaulted=yes
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001315 # Try the directory containing this script, then the parent directory.
Alexandre Julliardabf50482008-10-31 12:56:53 +01001316 ac_confdir=`$as_dirname -- "$as_myself" ||
1317$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318 X"$as_myself" : 'X\(//\)[^/]' \| \
1319 X"$as_myself" : 'X\(//\)$' \| \
1320 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1321$as_echo X"$as_myself" |
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1323 s//\1/
1324 q
1325 }
1326 /^X\(\/\/\)[^/].*/{
1327 s//\1/
1328 q
1329 }
1330 /^X\(\/\/\)$/{
1331 s//\1/
1332 q
1333 }
1334 /^X\(\/\).*/{
1335 s//\1/
1336 q
1337 }
1338 s/.*/./; q'`
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001339 srcdir=$ac_confdir
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001340 if test ! -r "$srcdir/$ac_unique_file"; then
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001341 srcdir=..
1342 fi
1343else
1344 ac_srcdir_defaulted=no
1345fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001346if test ! -r "$srcdir/$ac_unique_file"; then
1347 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001348 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001349fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001350ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1351ac_abs_confdir=`(
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001352 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001353 pwd)`
1354# When building in place, set srcdir=.
1355if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 srcdir=.
1357fi
1358# Remove unnecessary trailing slashes from srcdir.
1359# Double slashes in file names in object file debugging info
1360# mess up M-x gdb in Emacs.
1361case $srcdir in
1362*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1363esac
1364for ac_var in $ac_precious_vars; do
1365 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_${ac_var}_value=\$${ac_var}
1367 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369done
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00001370
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001371#
1372# Report the --help message.
1373#
1374if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001377 cat <<_ACEOF
Alexandre Julliarde1437c52010-02-19 19:23:45 +01001378\`configure' configures Wine 1.1.39 to adapt to many kinds of systems.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001379
1380Usage: $0 [OPTION]... [VAR=VALUE]...
1381
1382To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383VAR=VALUE. See below for descriptions of some of the useful variables.
1384
1385Defaults for the options are specified in brackets.
1386
1387Configuration:
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1397
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001398Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
Alexandre Julliardabf50482008-10-31 12:56:53 +01001400 [$ac_default_prefix]
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
Alexandre Julliardabf50482008-10-31 12:56:53 +01001402 [PREFIX]
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001403
1404By default, \`make install' will install all the files in
1405\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407for instance \`--prefix=\$HOME'.
1408
1409For better control, use the options below.
1410
1411Fine tuning of the installation directories:
Alexandre Julliardabf50482008-10-31 12:56:53 +01001412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --libdir=DIR object code libraries [EPREFIX/lib]
1419 --includedir=DIR C header files [PREFIX/include]
1420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1423 --infodir=DIR info documentation [DATAROOTDIR/info]
1424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1425 --mandir=DIR man documentation [DATAROOTDIR/man]
1426 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1427 --htmldir=DIR html documentation [DOCDIR]
1428 --dvidir=DIR dvi documentation [DOCDIR]
1429 --pdfdir=DIR pdf documentation [DOCDIR]
1430 --psdir=DIR ps documentation [DOCDIR]
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001431_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001432
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001433 cat <<\_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001434
1435X features:
1436 --x-includes=DIR X include files are in DIR
1437 --x-libraries=DIR X library files are in DIR
1438
1439System types:
1440 --build=BUILD configure for building on BUILD [guessed]
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001442_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001443fi
1444
1445if test -n "$ac_init_help"; then
1446 case $ac_init_help in
Alexandre Julliarde1437c52010-02-19 19:23:45 +01001447 short | recursive ) echo "Configuration of Wine 1.1.39:";;
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001448 esac
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001449 cat <<\_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001450
1451Optional Features:
Alexandre Julliardabf50482008-10-31 12:56:53 +01001452 --disable-option-checking ignore unrecognized --enable/--with options
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
Eric Pouech53fa0d52004-02-05 01:27:38 +00001455 --disable-win16 do not include Win16 support
Alexandre Julliard2aa8e872004-10-08 23:39:16 +00001456 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
1457 binaries)
Alexandre Julliard35078f42008-11-21 10:16:12 +01001458 --disable-tests do not build the regression tests
Alexandre Julliard9d037222008-03-20 13:00:12 +01001459 --enable-maintainer-mode
1460 enable maintainer-specific build rules
Eric Pouechbc56c4e2009-08-25 19:33:28 +02001461 --disable-largefile omit support for large files
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001462
1463Optional Packages:
1464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01001466 --without-alsa do not use the Alsa sound support
1467 --without-audioio do not use the AudioIO sound support
1468 --without-capi do not use CAPI (ISDN support)
1469 --without-cms do not use CMS (color management support)
1470 --without-coreaudio do not use the CoreAudio sound support
1471 --without-cups do not use CUPS
1472 --without-curses do not use (n)curses
1473 --without-esd do not use the EsounD sound support
1474 --without-fontconfig do not use fontconfig
Alexandre Julliarda20c0e12008-05-21 14:55:53 +02001475 --without-freetype do not use the FreeType library
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01001476 --without-gphoto do not use gphoto (Digital Camera support)
Alexandre Julliardad798732008-05-01 13:29:02 +02001477 --without-glu do not use the GLU library
Henri Verbeet874c9ef2008-09-22 22:13:19 +02001478 --without-gnutls do not use GnuTLS (schannel support)
Alexandre Julliard6ce32e02009-08-19 15:53:04 +02001479 --without-gsm do not use libgsm (GSM 06.10 codec support)
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01001480 --without-hal do not use HAL (dynamic device support)
1481 --without-jack do not use the Jack sound support
1482 --without-jpeg do not use JPEG
1483 --without-ldap do not use LDAP
Aric Stewartdb71d7c2009-08-19 09:37:48 -05001484 --without-mpg123 do not use the mpg123 library
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01001485 --without-nas do not use the NAS sound support
Chris Robinson862965f2009-08-25 03:26:35 -07001486 --without-openal do not use OpenAL
Eric Pouech53fa0d52004-02-05 01:27:38 +00001487 --without-opengl do not use OpenGL
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01001488 --without-openssl do not use OpenSSL
1489 --without-oss do not use the OSS sound support
1490 --without-png do not use PNG
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01001491 --without-pthread do not use the pthread library
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01001492 --without-sane do not use SANE (scanner support)
Maarten Lankhorstbf6f0752010-01-28 23:27:12 +01001493 --without-v4l do not use v4l1 (v4l support)
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01001494 --without-xcomposite do not use the Xcomposite extension
1495 --without-xcursor do not use the Xcursor extension
1496 --without-xinerama do not use Xinerama (multi-monitor support)
1497 --without-xinput do not use the Xinput extension
1498 --without-xml do not use XML
1499 --without-xrandr do not use Xrandr (resolution changes)
1500 --without-xrender do not use the Xrender extension
1501 --without-xshape do not use the Xshape extension
1502 --without-xshm do not use XShm (shared memory extension)
1503 --without-xslt do not use XSLT
Francois Gougeta49beb42008-06-26 14:02:17 +02001504 --without-xxf86vm do not use XFree video mode extension
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01001505 --with-wine-tools=DIR use Wine tools from directory DIR
Alexandre Julliard39a75d32009-08-13 19:45:31 +02001506 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001507 --with-x use the X Window System
1508
1509Some influential environment variables:
Eric Pouech53fa0d52004-02-05 01:27:38 +00001510 CC C compiler command
1511 CFLAGS C compiler flags
1512 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1513 nonstandard directory <lib dir>
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01001514 LIBS libraries to pass to the linker, e.g. -l<library>
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01001515 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001516 you have headers in a nonstandard directory <include dir>
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00001517 CXX C++ compiler command
1518 CXXFLAGS C++ compiler flags
Eric Pouech53fa0d52004-02-05 01:27:38 +00001519 CPP C preprocessor
Alexandre Julliard40664c02009-02-11 20:40:58 +01001520 XMKMF Path to xmkmf, Makefile generator for X Window System
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001521
1522Use these variables to override the choices made by `configure' or to help
1523it to find libraries and programs with nonstandard names/locations.
1524
Alexandre Julliard875927f2004-01-02 01:55:29 +00001525Report bugs to <wine-devel@winehq.org>.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001526Wine home page: <http://www.winehq.org>.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001527_ACEOF
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001528ac_status=$?
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001529fi
1530
1531if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
Alexandre Julliardabf50482008-10-31 12:56:53 +01001534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1536 continue
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001537 ac_builddir=.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001538
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001539case "$ac_dir" in
1540.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541*)
Alexandre Julliardabf50482008-10-31 12:56:53 +01001542 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001543 # A ".." for each directory in $ac_dir_suffix.
Alexandre Julliardabf50482008-10-31 12:56:53 +01001544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548 esac ;;
1549esac
1550ac_abs_top_builddir=$ac_pwd
1551ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552# for backward compatibility:
1553ac_top_builddir=$ac_top_build_prefix
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001554
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001555case $srcdir in
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001556 .) # We are building in place.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001557 ac_srcdir=.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001558 ac_top_srcdir=$ac_top_builddir_sub
1559 ac_abs_top_srcdir=$ac_pwd ;;
1560 [\\/]* | ?:[\\/]* ) # Absolute name.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001561 ac_srcdir=$srcdir$ac_dir_suffix;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001562 ac_top_srcdir=$srcdir
1563 ac_abs_top_srcdir=$srcdir ;;
1564 *) # Relative name.
1565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001568esac
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001569ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
Alexandre Julliard875927f2004-01-02 01:55:29 +00001570
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001571 cd "$ac_dir" || { ac_status=$?; continue; }
1572 # Check for guested configure.
Jeremy White0ebeb532006-06-20 13:18:41 +02001573 if test -f "$ac_srcdir/configure.gnu"; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001574 echo &&
Jeremy White0ebeb532006-06-20 13:18:41 +02001575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001577 echo &&
Jeremy White0ebeb532006-06-20 13:18:41 +02001578 $SHELL "$ac_srcdir/configure" --help=recursive
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001579 else
Alexandre Julliardabf50482008-10-31 12:56:53 +01001580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001581 fi || ac_status=$?
1582 cd "$ac_pwd" || { ac_status=$?; break; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001583 done
1584fi
1585
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001586test -n "$ac_init_help" && exit $ac_status
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001587if $ac_init_version; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001588 cat <<\_ACEOF
Alexandre Julliarde1437c52010-02-19 19:23:45 +01001589Wine configure 1.1.39
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01001590generated by GNU Autoconf 2.65
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001591
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001592Copyright (C) 2009 Free Software Foundation, Inc.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001593This configure script is free software; the Free Software Foundation
1594gives unlimited permission to copy, distribute and modify it.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00001595_ACEOF
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02001596 exit
Alexandre Julliardf5818d22002-02-14 19:47:29 +00001597fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001598
1599## ------------------------ ##
1600## Autoconf initialization. ##
1601## ------------------------ ##
1602
1603# ac_fn_c_try_compile LINENO
1604# --------------------------
1605# Try to compile conftest.$ac_ext, and return whether this succeeded.
1606ac_fn_c_try_compile ()
1607{
1608 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1609 rm -f conftest.$ac_objext
1610 if { { ac_try="$ac_compile"
1611case "(($ac_try" in
1612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1613 *) ac_try_echo=$ac_try;;
1614esac
1615eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1616$as_echo "$ac_try_echo"; } >&5
1617 (eval "$ac_compile") 2>conftest.err
1618 ac_status=$?
1619 if test -s conftest.err; then
1620 grep -v '^ *+' conftest.err >conftest.er1
1621 cat conftest.er1 >&5
1622 mv -f conftest.er1 conftest.err
1623 fi
1624 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1625 test $ac_status = 0; } && {
1626 test -z "$ac_c_werror_flag" ||
1627 test ! -s conftest.err
1628 } && test -s conftest.$ac_objext; then :
1629 ac_retval=0
1630else
1631 $as_echo "$as_me: failed program was:" >&5
1632sed 's/^/| /' conftest.$ac_ext >&5
1633
1634 ac_retval=1
1635fi
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01001637 as_fn_set_status $ac_retval
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001638
1639} # ac_fn_c_try_compile
1640
1641# ac_fn_cxx_try_compile LINENO
1642# ----------------------------
1643# Try to compile conftest.$ac_ext, and return whether this succeeded.
1644ac_fn_cxx_try_compile ()
1645{
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 rm -f conftest.$ac_objext
1648 if { { ac_try="$ac_compile"
1649case "(($ac_try" in
1650 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1651 *) ac_try_echo=$ac_try;;
1652esac
1653eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1654$as_echo "$ac_try_echo"; } >&5
1655 (eval "$ac_compile") 2>conftest.err
1656 ac_status=$?
1657 if test -s conftest.err; then
1658 grep -v '^ *+' conftest.err >conftest.er1
1659 cat conftest.er1 >&5
1660 mv -f conftest.er1 conftest.err
1661 fi
1662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1663 test $ac_status = 0; } && {
1664 test -z "$ac_cxx_werror_flag" ||
1665 test ! -s conftest.err
1666 } && test -s conftest.$ac_objext; then :
1667 ac_retval=0
1668else
1669 $as_echo "$as_me: failed program was:" >&5
1670sed 's/^/| /' conftest.$ac_ext >&5
1671
1672 ac_retval=1
1673fi
1674 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01001675 as_fn_set_status $ac_retval
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001676
1677} # ac_fn_cxx_try_compile
1678
1679# ac_fn_c_try_link LINENO
1680# -----------------------
1681# Try to link conftest.$ac_ext, and return whether this succeeded.
1682ac_fn_c_try_link ()
1683{
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 rm -f conftest.$ac_objext conftest$ac_exeext
1686 if { { ac_try="$ac_link"
1687case "(($ac_try" in
1688 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1689 *) ac_try_echo=$ac_try;;
1690esac
1691eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1692$as_echo "$ac_try_echo"; } >&5
1693 (eval "$ac_link") 2>conftest.err
1694 ac_status=$?
1695 if test -s conftest.err; then
1696 grep -v '^ *+' conftest.err >conftest.er1
1697 cat conftest.er1 >&5
1698 mv -f conftest.er1 conftest.err
1699 fi
1700 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1701 test $ac_status = 0; } && {
1702 test -z "$ac_c_werror_flag" ||
1703 test ! -s conftest.err
1704 } && test -s conftest$ac_exeext && {
1705 test "$cross_compiling" = yes ||
1706 $as_test_x conftest$ac_exeext
1707 }; then :
1708 ac_retval=0
1709else
1710 $as_echo "$as_me: failed program was:" >&5
1711sed 's/^/| /' conftest.$ac_ext >&5
1712
1713 ac_retval=1
1714fi
1715 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1716 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1717 # interfere with the next link command; also delete a directory that is
1718 # left behind by Apple's compiler. We do this before executing the actions.
1719 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1720 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01001721 as_fn_set_status $ac_retval
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001722
1723} # ac_fn_c_try_link
1724
1725# ac_fn_c_try_cpp LINENO
1726# ----------------------
1727# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1728ac_fn_c_try_cpp ()
1729{
1730 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1731 if { { ac_try="$ac_cpp conftest.$ac_ext"
1732case "(($ac_try" in
1733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1734 *) ac_try_echo=$ac_try;;
1735esac
1736eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1737$as_echo "$ac_try_echo"; } >&5
1738 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1739 ac_status=$?
1740 if test -s conftest.err; then
1741 grep -v '^ *+' conftest.err >conftest.er1
1742 cat conftest.er1 >&5
1743 mv -f conftest.er1 conftest.err
1744 fi
1745 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1746 test $ac_status = 0; } >/dev/null && {
1747 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1748 test ! -s conftest.err
1749 }; then :
1750 ac_retval=0
1751else
1752 $as_echo "$as_me: failed program was:" >&5
1753sed 's/^/| /' conftest.$ac_ext >&5
1754
1755 ac_retval=1
1756fi
1757 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01001758 as_fn_set_status $ac_retval
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001759
1760} # ac_fn_c_try_cpp
1761
1762# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1763# -------------------------------------------------------
1764# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1765# the include files in INCLUDES and setting the cache variable VAR
1766# accordingly.
1767ac_fn_c_check_header_mongrel ()
1768{
1769 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1770 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1772$as_echo_n "checking for $2... " >&6; }
1773if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1774 $as_echo_n "(cached) " >&6
1775fi
1776eval ac_res=\$$3
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1778$as_echo "$ac_res" >&6; }
1779else
1780 # Is the header compilable?
1781{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1782$as_echo_n "checking $2 usability... " >&6; }
1783cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1784/* end confdefs.h. */
1785$4
1786#include <$2>
1787_ACEOF
1788if ac_fn_c_try_compile "$LINENO"; then :
1789 ac_header_compiler=yes
1790else
1791 ac_header_compiler=no
1792fi
1793rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1795$as_echo "$ac_header_compiler" >&6; }
1796
1797# Is the header present?
1798{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1799$as_echo_n "checking $2 presence... " >&6; }
1800cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1801/* end confdefs.h. */
1802#include <$2>
1803_ACEOF
1804if ac_fn_c_try_cpp "$LINENO"; then :
1805 ac_header_preproc=yes
1806else
1807 ac_header_preproc=no
1808fi
1809rm -f conftest.err conftest.$ac_ext
1810{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1811$as_echo "$ac_header_preproc" >&6; }
1812
1813# So? What about this header?
1814case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1815 yes:no: )
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1817$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1819$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1820 ;;
1821 no:yes:* )
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1823$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1825$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1827$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1829$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1831$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1832( cat <<\_ASBOX
1833## ------------------------------------ ##
1834## Report this to wine-devel@winehq.org ##
1835## ------------------------------------ ##
1836_ASBOX
1837 ) | sed "s/^/$as_me: WARNING: /" >&2
1838 ;;
1839esac
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1841$as_echo_n "checking for $2... " >&6; }
1842if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1843 $as_echo_n "(cached) " >&6
1844else
1845 eval "$3=\$ac_header_compiler"
1846fi
1847eval ac_res=\$$3
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1849$as_echo "$ac_res" >&6; }
1850fi
1851 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1852
1853} # ac_fn_c_check_header_mongrel
1854
1855# ac_fn_c_try_run LINENO
1856# ----------------------
1857# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1858# that executables *can* be run.
1859ac_fn_c_try_run ()
1860{
1861 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1862 if { { ac_try="$ac_link"
1863case "(($ac_try" in
1864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1865 *) ac_try_echo=$ac_try;;
1866esac
1867eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1868$as_echo "$ac_try_echo"; } >&5
1869 (eval "$ac_link") 2>&5
1870 ac_status=$?
1871 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1872 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1873 { { case "(($ac_try" in
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1876esac
1877eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878$as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_try") 2>&5
1880 ac_status=$?
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; }; }; then :
1883 ac_retval=0
1884else
1885 $as_echo "$as_me: program exited with status $ac_status" >&5
1886 $as_echo "$as_me: failed program was:" >&5
1887sed 's/^/| /' conftest.$ac_ext >&5
1888
1889 ac_retval=$ac_status
1890fi
1891 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1892 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01001893 as_fn_set_status $ac_retval
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02001894
1895} # ac_fn_c_try_run
1896
1897# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1898# -------------------------------------------------------
1899# Tests whether HEADER exists and can be compiled using the include files in
1900# INCLUDES, setting the cache variable VAR accordingly.
1901ac_fn_c_check_header_compile ()
1902{
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1905$as_echo_n "checking for $2... " >&6; }
1906if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1907 $as_echo_n "(cached) " >&6
1908else
1909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910/* end confdefs.h. */
1911$4
1912#include <$2>
1913_ACEOF
1914if ac_fn_c_try_compile "$LINENO"; then :
1915 eval "$3=yes"
1916else
1917 eval "$3=no"
1918fi
1919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920fi
1921eval ac_res=\$$3
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1923$as_echo "$ac_res" >&6; }
1924 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1925
1926} # ac_fn_c_check_header_compile
1927
1928# ac_fn_c_check_func LINENO FUNC VAR
1929# ----------------------------------
1930# Tests whether FUNC exists, setting the cache variable VAR accordingly
1931ac_fn_c_check_func ()
1932{
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935$as_echo_n "checking for $2... " >&6; }
1936if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1937 $as_echo_n "(cached) " >&6
1938else
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940/* end confdefs.h. */
1941/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1943#define $2 innocuous_$2
1944
1945/* System header to define __stub macros and hopefully few prototypes,
1946 which can conflict with char $2 (); below.
1947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1948 <limits.h> exists even on freestanding compilers. */
1949
1950#ifdef __STDC__
1951# include <limits.h>
1952#else
1953# include <assert.h>
1954#endif
1955
1956#undef $2
1957
1958/* Override any GCC internal prototype to avoid an error.
1959 Use char because int might match the return type of a GCC
1960 builtin and then its argument prototype would still apply. */
1961#ifdef __cplusplus
1962extern "C"
1963#endif
1964char $2 ();
1965/* The GNU C library defines this for functions which it implements
1966 to always fail with ENOSYS. Some functions are actually named
1967 something starting with __ and the normal name is an alias. */
1968#if defined __stub_$2 || defined __stub___$2
1969choke me
1970#endif
1971
1972int
1973main ()
1974{
1975return $2 ();
1976 ;
1977 return 0;
1978}
1979_ACEOF
1980if ac_fn_c_try_link "$LINENO"; then :
1981 eval "$3=yes"
1982else
1983 eval "$3=no"
1984fi
1985rm -f core conftest.err conftest.$ac_objext \
1986 conftest$ac_exeext conftest.$ac_ext
1987fi
1988eval ac_res=\$$3
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1990$as_echo "$ac_res" >&6; }
1991 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1992
1993} # ac_fn_c_check_func
1994
1995# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1996# ----------------------------------------------------
1997# Tries to find if the field MEMBER exists in type AGGR, after including
1998# INCLUDES, setting cache variable VAR accordingly.
1999ac_fn_c_check_member ()
2000{
2001 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2003$as_echo_n "checking for $2.$3... " >&6; }
2004if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2005 $as_echo_n "(cached) " >&6
2006else
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008/* end confdefs.h. */
2009$5
2010int
2011main ()
2012{
2013static $2 ac_aggr;
2014if (ac_aggr.$3)
2015return 0;
2016 ;
2017 return 0;
2018}
2019_ACEOF
2020if ac_fn_c_try_compile "$LINENO"; then :
2021 eval "$4=yes"
2022else
2023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2024/* end confdefs.h. */
2025$5
2026int
2027main ()
2028{
2029static $2 ac_aggr;
2030if (sizeof ac_aggr.$3)
2031return 0;
2032 ;
2033 return 0;
2034}
2035_ACEOF
2036if ac_fn_c_try_compile "$LINENO"; then :
2037 eval "$4=yes"
2038else
2039 eval "$4=no"
2040fi
2041rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2042fi
2043rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2044fi
2045eval ac_res=\$$4
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2047$as_echo "$ac_res" >&6; }
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2049
2050} # ac_fn_c_check_member
2051
2052# ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2053# -------------------------------------------
2054# Tests whether TYPE exists after having included INCLUDES, setting cache
2055# variable VAR accordingly.
2056ac_fn_c_check_type ()
2057{
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2060$as_echo_n "checking for $2... " >&6; }
2061if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2062 $as_echo_n "(cached) " >&6
2063else
2064 eval "$3=no"
2065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2066/* end confdefs.h. */
2067$4
2068int
2069main ()
2070{
2071if (sizeof ($2))
2072 return 0;
2073 ;
2074 return 0;
2075}
2076_ACEOF
2077if ac_fn_c_try_compile "$LINENO"; then :
2078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2079/* end confdefs.h. */
2080$4
2081int
2082main ()
2083{
2084if (sizeof (($2)))
2085 return 0;
2086 ;
2087 return 0;
2088}
2089_ACEOF
2090if ac_fn_c_try_compile "$LINENO"; then :
2091
2092else
2093 eval "$3=yes"
2094fi
2095rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2096fi
2097rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2098fi
2099eval ac_res=\$$3
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2101$as_echo "$ac_res" >&6; }
2102 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2103
2104} # ac_fn_c_check_type
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002105cat >config.log <<_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002106This file contains any messages produced by compilers while
2107running configure, to aid debugging if configure makes a mistake.
2108
Alexandre Julliarde1437c52010-02-19 19:23:45 +01002109It was created by Wine $as_me 1.1.39, which was
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01002110generated by GNU Autoconf 2.65. Invocation command line was
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002111
2112 $ $0 $@
2113
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002114_ACEOF
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002115exec 5>>config.log
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002116{
2117cat <<_ASUNAME
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002118## --------- ##
2119## Platform. ##
2120## --------- ##
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002121
2122hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2123uname -m = `(uname -m) 2>/dev/null || echo unknown`
2124uname -r = `(uname -r) 2>/dev/null || echo unknown`
2125uname -s = `(uname -s) 2>/dev/null || echo unknown`
2126uname -v = `(uname -v) 2>/dev/null || echo unknown`
2127
2128/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2129/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2130
2131/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2132/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2133/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002134/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002135/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2136/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2137/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2138
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002139_ASUNAME
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002140
2141as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142for as_dir in $PATH
2143do
2144 IFS=$as_save_IFS
2145 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002146 $as_echo "PATH: $as_dir"
2147 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002148IFS=$as_save_IFS
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002149
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002150} >&5
2151
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002152cat >&5 <<_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002153
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002154
2155## ----------- ##
2156## Core tests. ##
2157## ----------- ##
2158
2159_ACEOF
2160
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002161
2162# Keep a trace of the command line.
2163# Strip out --no-create and --no-recursion so they do not pile up.
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002164# Strip out --silent because we don't want to record it for future runs.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002165# Also quote any args containing shell meta-characters.
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002166# Make two passes to allow for proper duplicate-argument suppression.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002167ac_configure_args=
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002168ac_configure_args0=
2169ac_configure_args1=
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002170ac_must_keep_next=false
2171for ac_pass in 1 2
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002172do
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002173 for ac_arg
2174 do
2175 case $ac_arg in
2176 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2177 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2178 | -silent | --silent | --silen | --sile | --sil)
2179 continue ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002180 *\'*)
Alexandre Julliardabf50482008-10-31 12:56:53 +01002181 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002182 esac
2183 case $ac_pass in
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002184 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002185 2)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002186 as_fn_append ac_configure_args1 " '$ac_arg'"
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002187 if test $ac_must_keep_next = true; then
Alexandre Julliard875927f2004-01-02 01:55:29 +00002188 ac_must_keep_next=false # Got value, back to normal.
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002189 else
Alexandre Julliard875927f2004-01-02 01:55:29 +00002190 case $ac_arg in
2191 *=* | --config-cache | -C | -disable-* | --disable-* \
2192 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2193 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2194 | -with-* | --with-* | -without-* | --without-* | --x)
2195 case "$ac_configure_args0 " in
2196 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2197 esac
2198 ;;
2199 -* ) ac_must_keep_next=true ;;
2200 esac
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002201 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002202 as_fn_append ac_configure_args " '$ac_arg'"
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00002203 ;;
2204 esac
2205 done
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002206done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002207{ ac_configure_args0=; unset ac_configure_args0;}
2208{ ac_configure_args1=; unset ac_configure_args1;}
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002209
2210# When interrupted or exit'd, cleanup temporary files, and complete
2211# config.log. We remove comments because anyway the quotes in there
2212# would cause problems or look ugly.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002213# WARNING: Use '\'' to represent an apostrophe within the trap.
2214# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002215trap 'exit_status=$?
2216 # Save into config.log some information that might help in debugging.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002217 {
2218 echo
Alexandre Julliard11af04e2002-10-10 03:48:04 +00002219
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002220 cat <<\_ASBOX
2221## ---------------- ##
2222## Cache variables. ##
2223## ---------------- ##
2224_ASBOX
2225 echo
2226 # The following way of writing the cache mishandles newlines in values,
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002227(
2228 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2229 eval ac_val=\$$ac_var
2230 case $ac_val in #(
2231 *${as_nl}*)
2232 case $ac_var in #(
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002233 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002234$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002235 esac
2236 case $ac_var in #(
2237 _ | IFS | as_nl) ;; #(
Alexandre Julliardabf50482008-10-31 12:56:53 +01002238 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002239 *) { eval $ac_var=; unset $ac_var;} ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002240 esac ;;
2241 esac
2242 done
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002243 (set) 2>&1 |
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002244 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2245 *${as_nl}ac_space=\ *)
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002246 sed -n \
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002247 "s/'\''/'\''\\\\'\'''\''/g;
2248 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2249 ;; #(
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002250 *)
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002251 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002252 ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002253 esac |
2254 sort
2255)
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002256 echo
Alexandre Julliard11af04e2002-10-10 03:48:04 +00002257
2258 cat <<\_ASBOX
2259## ----------------- ##
2260## Output variables. ##
2261## ----------------- ##
2262_ASBOX
2263 echo
2264 for ac_var in $ac_subst_vars
2265 do
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002266 eval ac_val=\$$ac_var
Jeremy White0ebeb532006-06-20 13:18:41 +02002267 case $ac_val in
Alexandre Julliardabf50482008-10-31 12:56:53 +01002268 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
Jeremy White0ebeb532006-06-20 13:18:41 +02002269 esac
Alexandre Julliardabf50482008-10-31 12:56:53 +01002270 $as_echo "$ac_var='\''$ac_val'\''"
Alexandre Julliard11af04e2002-10-10 03:48:04 +00002271 done | sort
2272 echo
2273
2274 if test -n "$ac_subst_files"; then
2275 cat <<\_ASBOX
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002276## ------------------- ##
2277## File substitutions. ##
2278## ------------------- ##
Alexandre Julliard11af04e2002-10-10 03:48:04 +00002279_ASBOX
2280 echo
2281 for ac_var in $ac_subst_files
2282 do
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002283 eval ac_val=\$$ac_var
Jeremy White0ebeb532006-06-20 13:18:41 +02002284 case $ac_val in
Alexandre Julliardabf50482008-10-31 12:56:53 +01002285 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
Jeremy White0ebeb532006-06-20 13:18:41 +02002286 esac
Alexandre Julliardabf50482008-10-31 12:56:53 +01002287 $as_echo "$ac_var='\''$ac_val'\''"
Alexandre Julliard11af04e2002-10-10 03:48:04 +00002288 done | sort
2289 echo
2290 fi
2291
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002292 if test -s confdefs.h; then
2293 cat <<\_ASBOX
2294## ----------- ##
2295## confdefs.h. ##
2296## ----------- ##
2297_ASBOX
2298 echo
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002299 cat confdefs.h
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002300 echo
2301 fi
2302 test "$ac_signal" != 0 &&
Alexandre Julliardabf50482008-10-31 12:56:53 +01002303 $as_echo "$as_me: caught signal $ac_signal"
2304 $as_echo "$as_me: exit $exit_status"
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002305 } >&5
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002306 rm -f core *.core core.conftest.* &&
2307 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002308 exit $exit_status
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002309' 0
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002310for ac_signal in 1 2 13 15; do
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002311 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002312done
2313ac_signal=0
2314
2315# confdefs.h avoids OS command line length limits that DEFS can exceed.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002316rm -f -r conftest* confdefs.h
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002317
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002318$as_echo "/* confdefs.h */" > confdefs.h
2319
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002320# Predefined preprocessor variables.
2321
2322cat >>confdefs.h <<_ACEOF
2323#define PACKAGE_NAME "$PACKAGE_NAME"
2324_ACEOF
2325
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002326cat >>confdefs.h <<_ACEOF
2327#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2328_ACEOF
2329
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002330cat >>confdefs.h <<_ACEOF
2331#define PACKAGE_VERSION "$PACKAGE_VERSION"
2332_ACEOF
2333
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002334cat >>confdefs.h <<_ACEOF
2335#define PACKAGE_STRING "$PACKAGE_STRING"
2336_ACEOF
2337
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002338cat >>confdefs.h <<_ACEOF
2339#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2340_ACEOF
2341
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002342cat >>confdefs.h <<_ACEOF
2343#define PACKAGE_URL "$PACKAGE_URL"
2344_ACEOF
2345
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002346
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002347# Let the site file select an alternate cache file if it wants to.
Alexandre Julliardabf50482008-10-31 12:56:53 +01002348# Prefer an explicitly selected file to automatically selected ones.
2349ac_site_file1=NONE
2350ac_site_file2=NONE
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002351if test -n "$CONFIG_SITE"; then
Alexandre Julliardabf50482008-10-31 12:56:53 +01002352 ac_site_file1=$CONFIG_SITE
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002353elif test "x$prefix" != xNONE; then
Alexandre Julliardabf50482008-10-31 12:56:53 +01002354 ac_site_file1=$prefix/share/config.site
2355 ac_site_file2=$prefix/etc/config.site
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002356else
Alexandre Julliardabf50482008-10-31 12:56:53 +01002357 ac_site_file1=$ac_default_prefix/share/config.site
2358 ac_site_file2=$ac_default_prefix/etc/config.site
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002359fi
Alexandre Julliardabf50482008-10-31 12:56:53 +01002360for ac_site_file in "$ac_site_file1" "$ac_site_file2"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002361do
Alexandre Julliardabf50482008-10-31 12:56:53 +01002362 test "x$ac_site_file" = xNONE && continue
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01002363 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002364 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002365$as_echo "$as_me: loading site script $ac_site_file" >&6;}
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002366 sed 's/^/| /' "$ac_site_file" >&5
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002367 . "$ac_site_file"
2368 fi
2369done
2370
2371if test -r "$cache_file"; then
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01002372 # Some versions of bash will fail to source /dev/null (special files
2373 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2374 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002375 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002376$as_echo "$as_me: loading cache $cache_file" >&6;}
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002377 case $cache_file in
Jeremy White0ebeb532006-06-20 13:18:41 +02002378 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2379 *) . "./$cache_file";;
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002380 esac
2381 fi
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002382else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002384$as_echo "$as_me: creating cache $cache_file" >&6;}
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002385 >$cache_file
2386fi
2387
2388# Check that the precious variables saved in the cache have kept the same
2389# value.
2390ac_cache_corrupted=false
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002391for ac_var in $ac_precious_vars; do
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002392 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2393 eval ac_new_set=\$ac_env_${ac_var}_set
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002394 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2395 eval ac_new_val=\$ac_env_${ac_var}_value
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002396 case $ac_old_set,$ac_new_set in
2397 set,)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002399$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002400 ac_cache_corrupted=: ;;
2401 ,set)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002403$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002404 ac_cache_corrupted=: ;;
2405 ,);;
2406 *)
2407 if test "x$ac_old_val" != "x$ac_new_val"; then
Alexandre Julliardabf50482008-10-31 12:56:53 +01002408 # differences in whitespace do not lead to failure.
2409 ac_old_val_w=`echo x $ac_old_val`
2410 ac_new_val_w=`echo x $ac_new_val`
2411 if test "$ac_old_val_w" != "$ac_new_val_w"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002413$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2414 ac_cache_corrupted=:
2415 else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002416 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002417$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2418 eval $ac_var=\$ac_old_val
2419 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002420 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002421$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002422 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002423$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002424 fi;;
2425 esac
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002426 # Pass precious variables to config.status.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002427 if test "$ac_new_set" = set; then
2428 case $ac_new_val in
Alexandre Julliardabf50482008-10-31 12:56:53 +01002429 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002430 *) ac_arg=$ac_var=$ac_new_val ;;
2431 esac
2432 case " $ac_configure_args " in
2433 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002434 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002435 esac
2436 fi
2437done
2438if $ac_cache_corrupted; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002440$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002442$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002443 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002444fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002445## -------------------- ##
2446## Main body of script. ##
2447## -------------------- ##
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002448
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002449ac_ext=c
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00002450ac_cpp='$CPP $CPPFLAGS'
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002451ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453ac_compiler_gnu=$ac_cv_c_compiler_gnu
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002454
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002455
2456
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002457ac_config_headers="$ac_config_headers include/config.h"
Alexandre Julliard18f92e71996-07-17 20:02:21 +00002458
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00002459ac_aux_dir=
Jeremy White0ebeb532006-06-20 13:18:41 +02002460for ac_dir in tools "$srcdir"/tools; do
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002461 for ac_t in install-sh install.sh shtool; do
2462 if test -f "$ac_dir/$ac_t"; then
2463 ac_aux_dir=$ac_dir
2464 ac_install_sh="$ac_aux_dir/$ac_t -c"
2465 break 2
2466 fi
2467 done
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00002468done
2469if test -z "$ac_aux_dir"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002470 as_fn_error "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00002471fi
Jeremy White0ebeb532006-06-20 13:18:41 +02002472
2473# These three variables are undocumented and unsupported,
2474# and are intended to be withdrawn in a future Autoconf release.
2475# They can cause serious problems if a builder's source tree is in a directory
2476# whose full name contains unusual characters.
2477ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2478ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2479ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2480
Howard Abrams13277481999-07-10 13:16:29 +00002481
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002482
2483
Alexandre Julliardd59227e2010-02-20 12:36:04 +01002484
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002485# Check whether --enable-win16 was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002486if test "${enable_win16+set}" = set; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002487 enableval=$enable_win16;
2488fi
Alexandre Julliardc728efc2002-10-02 02:34:09 +00002489
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002490# Check whether --enable-win64 was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002491if test "${enable_win64+set}" = set; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002492 enableval=$enable_win64;
2493fi
Alexandre Julliardb8074992002-11-21 21:51:24 +00002494
Alexandre Julliard35078f42008-11-21 10:16:12 +01002495# Check whether --enable-tests was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002496if test "${enable_tests+set}" = set; then :
Alexandre Julliard35078f42008-11-21 10:16:12 +01002497 enableval=$enable_tests;
2498fi
2499
Alexandre Julliard9d037222008-03-20 13:00:12 +01002500# Check whether --enable-maintainer-mode was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002501if test "${enable_maintainer_mode+set}" = set; then :
Alexandre Julliard9d037222008-03-20 13:00:12 +01002502 enableval=$enable_maintainer_mode;
2503else
2504 MAINTAINER_MODE=\#
2505
2506fi
2507
Alexandre Julliardb8074992002-11-21 21:51:24 +00002508
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002509
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002510# Check whether --with-alsa was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002511if test "${with_alsa+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002512 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
2513fi
2514
2515
2516# Check whether --with-audioio was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002517if test "${with_audioio+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002518 withval=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h=no; fi
2519fi
2520
2521
2522# Check whether --with-capi was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002523if test "${with_capi+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002524 withval=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h=no; ac_cv_header_linux_capi_h=no; fi
2525fi
2526
2527
2528# Check whether --with-cms was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002529if test "${with_cms+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002530 withval=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h=no; ac_cv_header_lcms_lcms_h=no; fi
2531fi
2532
2533
2534# Check whether --with-coreaudio was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002535if test "${with_coreaudio+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002536 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
2537fi
2538
2539
2540# Check whether --with-cups was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002541if test "${with_cups+set}" = set; then :
Francois Gouget289ea332008-07-24 16:09:07 +02002542 withval=$with_cups;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002543fi
2544
2545
2546# Check whether --with-curses was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002547if test "${with_curses+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002548 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
2549fi
2550
2551
2552# Check whether --with-esd was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002553if test "${with_esd+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002554 withval=$with_esd;
2555fi
2556
2557
2558# Check whether --with-fontconfig was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002559if test "${with_fontconfig+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002560 withval=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h=no; fi
2561fi
2562
2563
Alexandre Julliarda20c0e12008-05-21 14:55:53 +02002564# Check whether --with-freetype was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002565if test "${with_freetype+set}" = set; then :
Alexandre Julliarda20c0e12008-05-21 14:55:53 +02002566 withval=$with_freetype;
2567fi
2568
2569
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002570# Check whether --with-gphoto was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002571if test "${with_gphoto+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002572 withval=$with_gphoto;
2573fi
2574
2575
Alexandre Julliardad798732008-05-01 13:29:02 +02002576# Check whether --with-glu was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002577if test "${with_glu+set}" = set; then :
Alexandre Julliardad798732008-05-01 13:29:02 +02002578 withval=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h=no; fi
2579fi
2580
2581
Henri Verbeet874c9ef2008-09-22 22:13:19 +02002582# Check whether --with-gnutls was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002583if test "${with_gnutls+set}" = set; then :
Henri Verbeet874c9ef2008-09-22 22:13:19 +02002584 withval=$with_gnutls;
2585fi
2586
2587
Alexandre Julliard6ce32e02009-08-19 15:53:04 +02002588# Check whether --with-gsm was given.
2589if test "${with_gsm+set}" = set; then :
2590 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +02002591fi
2592
2593
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002594# Check whether --with-hal was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002595if test "${with_hal+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002596 withval=$with_hal;
2597fi
2598
2599
2600# Check whether --with-jack was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002601if test "${with_jack+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002602 withval=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h=no; fi
2603fi
2604
2605
2606# Check whether --with-jpeg was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002607if test "${with_jpeg+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002608 withval=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h=no; fi
2609fi
2610
2611
2612# Check whether --with-ldap was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002613if test "${with_ldap+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002614 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
2615fi
2616
2617
Aric Stewartdb71d7c2009-08-19 09:37:48 -05002618# Check whether --with-mpg123 was given.
2619if test "${with_mpg123+set}" = set; then :
2620 withval=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h=no; fi
2621fi
2622
2623
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002624# Check whether --with-nas was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002625if test "${with_nas+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002626 withval=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h=no; fi
2627fi
2628
2629
Chris Robinson862965f2009-08-25 03:26:35 -07002630# Check whether --with-openal was given.
2631if test "${with_openal+set}" = set; then :
Ken Thomases0b08f192009-09-09 22:23:35 -05002632 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
Chris Robinson862965f2009-08-25 03:26:35 -07002633fi
2634
2635
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002636# Check whether --with-opengl was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002637if test "${with_opengl+set}" = set; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002638 withval=$with_opengl;
2639fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002640
Alexandre Julliardf90efa91998-06-14 15:24:15 +00002641
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002642# Check whether --with-openssl was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002643if test "${with_openssl+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002644 withval=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h=no; ac_cv_header_openssl_ssl_h=no; fi
2645fi
2646
2647
2648# Check whether --with-oss was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002649if test "${with_oss+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002650 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
2651fi
2652
2653
2654# Check whether --with-png was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002655if test "${with_png+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002656 withval=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h=no; fi
2657fi
2658
2659
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01002660# Check whether --with-pthread was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002661if test "${with_pthread+set}" = set; then :
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01002662 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
2663fi
2664
2665
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002666# Check whether --with-sane was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002667if test "${with_sane+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002668 withval=$with_sane;
2669fi
2670
2671
Maarten Lankhorstbf6f0752010-01-28 23:27:12 +01002672# Check whether --with-v4l was given.
2673if test "${with_v4l+set}" = set; then :
2674 withval=$with_v4l;
2675fi
2676
2677
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002678# Check whether --with-xcomposite was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002679if test "${with_xcomposite+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002680 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
2681fi
2682
2683
2684# Check whether --with-xcursor was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002685if test "${with_xcursor+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002686 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
2687fi
2688
2689
2690# Check whether --with-xinerama was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002691if test "${with_xinerama+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002692 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
2693fi
2694
2695
2696# Check whether --with-xinput was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002697if test "${with_xinput+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002698 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
2699fi
2700
2701
2702# Check whether --with-xml was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002703if test "${with_xml+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002704 withval=$with_xml;
2705fi
2706
2707
2708# Check whether --with-xrandr was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002709if test "${with_xrandr+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002710 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
2711fi
2712
2713
2714# Check whether --with-xrender was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002715if test "${with_xrender+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002716 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
2717fi
2718
2719
2720# Check whether --with-xshape was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002721if test "${with_xshape+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002722 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
2723fi
2724
2725
2726# Check whether --with-xshm was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002727if test "${with_xshm+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002728 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
2729fi
2730
2731
2732# Check whether --with-xslt was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002733if test "${with_xslt+set}" = set; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002734 withval=$with_xslt;
2735fi
2736
2737
Francois Gougeta49beb42008-06-26 14:02:17 +02002738# Check whether --with-xxf86vm was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002739if test "${with_xxf86vm+set}" = set; then :
André Hentschel7b285a42009-09-19 19:08:09 +02002740 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
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01002741fi
2742
2743
2744
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002745# Check whether --with-wine-tools was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002746if test "${with_wine_tools+set}" = set; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002747 withval=$with_wine_tools;
2748fi
Alexandre Julliardfc01b722002-05-12 03:16:39 +00002749
Alexandre Julliardfc01b722002-05-12 03:16:39 +00002750
Alexandre Julliard39a75d32009-08-13 19:45:31 +02002751# Check whether --with-wine64 was given.
2752if test "${with_wine64+set}" = set; then :
2753 withval=$with_wine64;
2754fi
2755
2756
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002757# Make sure we can run config.sub.
Jeremy White0ebeb532006-06-20 13:18:41 +02002758$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002759 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
Alexandre Julliarda0b2b1d1997-11-16 17:38:29 +00002760
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002761{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002762$as_echo_n "checking build system type... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002763if test "${ac_cv_build+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01002764 $as_echo_n "(cached) " >&6
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002765else
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002766 ac_build_alias=$build_alias
2767test "x$ac_build_alias" = x &&
Jeremy White0ebeb532006-06-20 13:18:41 +02002768 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002769test "x$ac_build_alias" = x &&
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002770 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
Jeremy White0ebeb532006-06-20 13:18:41 +02002771ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002772 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002773
2774fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002776$as_echo "$ac_cv_build" >&6; }
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002777case $ac_cv_build in
2778*-*-*) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002779*) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002780esac
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002781build=$ac_cv_build
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002782ac_save_IFS=$IFS; IFS='-'
2783set x $ac_cv_build
2784shift
2785build_cpu=$1
2786build_vendor=$2
2787shift; shift
2788# Remember, the first character of IFS is used to create $*,
2789# except with old shells:
2790build_os=$*
2791IFS=$ac_save_IFS
2792case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002793
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002794
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002795{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002796$as_echo_n "checking host system type... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002797if test "${ac_cv_host+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01002798 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002799else
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002800 if test "x$host_alias" = x; then
2801 ac_cv_host=$ac_cv_build
2802else
Jeremy White0ebeb532006-06-20 13:18:41 +02002803 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002804 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002805fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002806
2807fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002809$as_echo "$ac_cv_host" >&6; }
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002810case $ac_cv_host in
2811*-*-*) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002812*) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002813esac
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002814host=$ac_cv_host
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002815ac_save_IFS=$IFS; IFS='-'
2816set x $ac_cv_host
2817shift
2818host_cpu=$1
2819host_vendor=$2
2820shift; shift
2821# Remember, the first character of IFS is used to create $*,
2822# except with old shells:
2823host_os=$*
2824IFS=$ac_save_IFS
2825case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002826
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002827
Alexandre Julliard71440f32005-05-19 14:28:17 +00002828
Alexandre Julliard73b724e2006-12-28 11:40:19 +01002829case "$srcdir" in
2830 .) ;;
2831 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002832 as_fn_error "you are building out of the source tree, but the source tree contains object files.
2833You need to run 'make distclean' in the source tree first." "$LINENO" 5
Alexandre Julliard73b724e2006-12-28 11:40:19 +01002834 fi ;;
2835esac
2836
Alexandre Julliard71440f32005-05-19 14:28:17 +00002837
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002839$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2840set x ${MAKE-make}
2841ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002842if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01002843 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002844else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002845 cat >conftest.make <<\_ACEOF
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002846SHELL = /bin/sh
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002847all:
Jeremy White0ebeb532006-06-20 13:18:41 +02002848 @echo '@@@%%%=$(MAKE)=@@@%%%'
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002849_ACEOF
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002850# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
Jeremy White0ebeb532006-06-20 13:18:41 +02002851case `${MAKE-make} -f conftest.make 2>/dev/null` in
2852 *@@@%%%=?*=@@@%%%*)
2853 eval ac_cv_prog_make_${ac_make}_set=yes;;
2854 *)
2855 eval ac_cv_prog_make_${ac_make}_set=no;;
2856esac
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002857rm -f conftest.make
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002858fi
Jeremy White0ebeb532006-06-20 13:18:41 +02002859if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002861$as_echo "yes" >&6; }
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002862 SET_MAKE=
2863else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002865$as_echo "no" >&6; }
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002866 SET_MAKE="MAKE=${MAKE-make}"
2867fi
2868
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002869ac_ext=c
2870ac_cpp='$CPP $CPPFLAGS'
2871ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2872ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2873ac_compiler_gnu=$ac_cv_c_compiler_gnu
2874if 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.
2876set dummy ${ac_tool_prefix}gcc; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002877{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002878$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002879if test "${ac_cv_prog_CC+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01002880 $as_echo_n "(cached) " >&6
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002881else
2882 if test -n "$CC"; then
2883 ac_cv_prog_CC="$CC" # Let the user override the test.
2884else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002885as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2886for as_dir in $PATH
2887do
2888 IFS=$as_save_IFS
2889 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002890 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01002891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002892 ac_cv_prog_CC="${ac_tool_prefix}gcc"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002894 break 2
2895 fi
2896done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002897 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002898IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002899
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002900fi
2901fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002902CC=$ac_cv_prog_CC
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002903if test -n "$CC"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002905$as_echo "$CC" >&6; }
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002906else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002908$as_echo "no" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002909fi
2910
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002911
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002912fi
2913if test -z "$ac_cv_prog_CC"; then
2914 ac_ct_CC=$CC
2915 # Extract the first word of "gcc", so it can be a program name with args.
2916set dummy gcc; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002918$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002919if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01002920 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002921else
2922 if test -n "$ac_ct_CC"; then
2923 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2924else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002925as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2926for as_dir in $PATH
2927do
2928 IFS=$as_save_IFS
2929 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002930 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01002931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002932 ac_cv_prog_ac_ct_CC="gcc"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002934 break 2
2935 fi
2936done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002937 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002938IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002939
2940fi
2941fi
2942ac_ct_CC=$ac_cv_prog_ac_ct_CC
2943if test -n "$ac_ct_CC"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002945$as_echo "$ac_ct_CC" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002946else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002948$as_echo "no" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002949fi
2950
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002951 if test "x$ac_ct_CC" = x; then
2952 CC=""
2953 else
2954 case $cross_compiling:$ac_tool_warned in
2955yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002956{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002957$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002958ac_tool_warned=yes ;;
2959esac
2960 CC=$ac_ct_CC
2961 fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002962else
2963 CC="$ac_cv_prog_CC"
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00002964fi
2965
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00002966if test -z "$CC"; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002967 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.
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002969set dummy ${ac_tool_prefix}cc; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002971$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002972if test "${ac_cv_prog_CC+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01002973 $as_echo_n "(cached) " >&6
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00002974else
2975 if test -n "$CC"; then
2976 ac_cv_prog_CC="$CC" # Let the user override the test.
2977else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002978as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2979for as_dir in $PATH
2980do
2981 IFS=$as_save_IFS
2982 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002983 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01002984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002985 ac_cv_prog_CC="${ac_tool_prefix}cc"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00002987 break 2
2988 fi
2989done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002990 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02002991IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002992
2993fi
2994fi
2995CC=$ac_cv_prog_CC
2996if test -n "$CC"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02002997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01002998$as_echo "$CC" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00002999else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003001$as_echo "no" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003002fi
3003
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003004
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003005 fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003006fi
3007if test -z "$CC"; then
3008 # Extract the first word of "cc", so it can be a program name with args.
3009set dummy cc; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003010{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003011$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003012if test "${ac_cv_prog_CC+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003013 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003014else
3015 if test -n "$CC"; then
3016 ac_cv_prog_CC="$CC" # Let the user override the test.
3017else
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00003018 ac_prog_rejected=no
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003019as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3020for as_dir in $PATH
3021do
3022 IFS=$as_save_IFS
3023 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003024 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01003025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003026 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3027 ac_prog_rejected=yes
3028 continue
3029 fi
3030 ac_cv_prog_CC="cc"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003032 break 2
3033 fi
3034done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003035 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003036IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003037
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00003038if 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
3041 shift
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003042 if test $# != 0; then
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00003043 # 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.
3046 shift
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003047 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00003048 fi
3049fi
3050fi
3051fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003052CC=$ac_cv_prog_CC
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00003053if test -n "$CC"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003055$as_echo "$CC" >&6; }
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00003056else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003058$as_echo "no" >&6; }
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00003059fi
3060
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003061
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003062fi
3063if test -z "$CC"; then
3064 if test -n "$ac_tool_prefix"; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003065 for ac_prog in cl.exe
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003066 do
3067 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3068set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003069{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003070$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003071if test "${ac_cv_prog_CC+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003072 $as_echo_n "(cached) " >&6
Eric Pouech18ad24a2000-01-16 22:16:33 +00003073else
3074 if test -n "$CC"; then
3075 ac_cv_prog_CC="$CC" # Let the user override the test.
3076else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003077as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3078for as_dir in $PATH
3079do
3080 IFS=$as_save_IFS
3081 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003082 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01003083 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003084 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003086 break 2
3087 fi
3088done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003089 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003090IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003091
Eric Pouech18ad24a2000-01-16 22:16:33 +00003092fi
3093fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003094CC=$ac_cv_prog_CC
Eric Pouech18ad24a2000-01-16 22:16:33 +00003095if test -n "$CC"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003097$as_echo "$CC" >&6; }
Eric Pouech18ad24a2000-01-16 22:16:33 +00003098else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003100$as_echo "no" >&6; }
Alexandre Julliardb817f4f1996-03-14 18:08:34 +00003101fi
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003102
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003103
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003104 test -n "$CC" && break
3105 done
3106fi
3107if test -z "$CC"; then
3108 ac_ct_CC=$CC
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003109 for ac_prog in cl.exe
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003110do
3111 # Extract the first word of "$ac_prog", so it can be a program name with args.
3112set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003113{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003114$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003115if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003116 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003117else
3118 if test -n "$ac_ct_CC"; then
3119 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3120else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003121as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3122for as_dir in $PATH
3123do
3124 IFS=$as_save_IFS
3125 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003126 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01003127 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003128 ac_cv_prog_ac_ct_CC="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003130 break 2
3131 fi
3132done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003133 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003134IFS=$as_save_IFS
Alexandre Julliardda0cfb31996-12-01 17:17:47 +00003135
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003136fi
3137fi
3138ac_ct_CC=$ac_cv_prog_ac_ct_CC
3139if test -n "$ac_ct_CC"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003141$as_echo "$ac_ct_CC" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003142else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003144$as_echo "no" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003145fi
Alexandre Julliardda0cfb31996-12-01 17:17:47 +00003146
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003147
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003148 test -n "$ac_ct_CC" && break
3149done
Eric Pouech18ad24a2000-01-16 22:16:33 +00003150
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003151 if test "x$ac_ct_CC" = x; then
3152 CC=""
3153 else
3154 case $cross_compiling:$ac_tool_warned in
3155yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003156{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003157$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003158ac_tool_warned=yes ;;
3159esac
3160 CC=$ac_ct_CC
3161 fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003162fi
3163
3164fi
3165
Alexandre Julliarddaa28862002-04-11 21:54:01 +00003166
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003167test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003169as_fn_error "no acceptable C compiler found in \$PATH
3170See \`config.log' for more details." "$LINENO" 5; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003171
3172# Provide some information about the compiler.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003173$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003174set X $ac_compile
3175ac_compiler=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003176for ac_option in --version -v -V -qversion; do
3177 { { ac_try="$ac_compiler $ac_option >&5"
Jeremy White0ebeb532006-06-20 13:18:41 +02003178case "(($ac_try" in
3179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3180 *) ac_try_echo=$ac_try;;
3181esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003182eval 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
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003185 ac_status=$?
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003186 if test -s conftest.err; then
3187 sed '10a\
3188... rest of stderr output deleted ...
3189 10q' conftest.err >conftest.er1
3190 cat conftest.er1 >&5
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003191 fi
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003192 rm -f conftest.er1 conftest.err
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3194 test $ac_status = 0; }
3195done
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003196
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003197cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00003198/* end confdefs.h. */
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003199
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003200int
3201main ()
3202{
3203
3204 ;
3205 return 0;
3206}
3207_ACEOF
3208ac_clean_files_save=$ac_clean_files
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003209ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003210# Try to create an executable without -o first, disregard a.out.
3211# It will help us diagnose broken compilers, and finding out an intuition
3212# of exeext.
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003213{ $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; }
Alexandre Julliardabf50482008-10-31 12:56:53 +01003215ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3216
3217# The possible output files:
3218ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3219
Jeremy White0ebeb532006-06-20 13:18:41 +02003220ac_rmfiles=
3221for ac_file in $ac_files
3222do
3223 case $ac_file in
Alexandre Julliardabf50482008-10-31 12:56:53 +01003224 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
Jeremy White0ebeb532006-06-20 13:18:41 +02003225 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3226 esac
3227done
3228rm -f $ac_rmfiles
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003229
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003230if { { ac_try="$ac_link_default"
Jeremy White0ebeb532006-06-20 13:18:41 +02003231case "(($ac_try" in
3232 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3233 *) ac_try_echo=$ac_try;;
3234esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003235eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3236$as_echo "$ac_try_echo"; } >&5
Jeremy White0ebeb532006-06-20 13:18:41 +02003237 (eval "$ac_link_default") 2>&5
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003238 ac_status=$?
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003239 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3240 test $ac_status = 0; }; then :
Jeremy White0ebeb532006-06-20 13:18:41 +02003241 # 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
3245# Autoconf.
Alexandre Julliard78bd1942006-08-14 20:42:56 +02003246for ac_file in $ac_files ''
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00003247do
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003248 test -f "$ac_file" || continue
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003249 case $ac_file in
Alexandre Julliardabf50482008-10-31 12:56:53 +01003250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
Jeremy White0ebeb532006-06-20 13:18:41 +02003251 ;;
3252 [ab].out )
3253 # We found the default executable, but exeext='' is most
3254 # certainly right.
3255 break;;
3256 *.* )
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003257 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
Jeremy White0ebeb532006-06-20 13:18:41 +02003258 then :; else
3259 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3260 fi
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
3265 # actually working.
3266 break;;
3267 * )
3268 break;;
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003269 esac
3270done
Jeremy White0ebeb532006-06-20 13:18:41 +02003271test "$ac_cv_exeext" = no && ac_cv_exeext=
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003272
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003273else
Alexandre Julliard78bd1942006-08-14 20:42:56 +02003274 ac_file=''
3275fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003276if test -z "$ac_file"; then :
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3278$as_echo "no" >&6; }
3279$as_echo "$as_me: failed program was:" >&5
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00003280sed 's/^/| /' conftest.$ac_ext >&5
3281
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003282{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003284{ as_fn_set_status 77
3285as_fn_error "C compiler cannot create executables
3286See \`config.log' for more details." "$LINENO" 5; }; }
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003287else
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3289$as_echo "yes" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003290fi
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003291{ $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; }
Jeremy White0ebeb532006-06-20 13:18:41 +02003295ac_exeext=$ac_cv_exeext
Jeremy White0ebeb532006-06-20 13:18:41 +02003296
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003297rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
Jeremy White0ebeb532006-06-20 13:18:41 +02003298ac_clean_files=$ac_clean_files_save
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003299{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003300$as_echo_n "checking for suffix of executables... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003301if { { ac_try="$ac_link"
Jeremy White0ebeb532006-06-20 13:18:41 +02003302case "(($ac_try" in
3303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3304 *) ac_try_echo=$ac_try;;
3305esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003306eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3307$as_echo "$ac_try_echo"; } >&5
Jeremy White0ebeb532006-06-20 13:18:41 +02003308 (eval "$ac_link") 2>&5
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003309 ac_status=$?
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003310 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3311 test $ac_status = 0; }; then :
Jeremy White0ebeb532006-06-20 13:18:41 +02003312 # 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
3315# `rm'.
3316for ac_file in conftest.exe conftest conftest.*; do
3317 test -f "$ac_file" || continue
3318 case $ac_file in
Alexandre Julliardabf50482008-10-31 12:56:53 +01003319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
Jeremy White0ebeb532006-06-20 13:18:41 +02003320 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3321 break;;
3322 * ) break;;
3323 esac
3324done
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003325else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003326 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003327$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003328as_fn_error "cannot compute suffix of executables: cannot compile and link
3329See \`config.log' for more details." "$LINENO" 5; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003330fi
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003331rm -f conftest conftest$ac_cv_exeext
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003332{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003333$as_echo "$ac_cv_exeext" >&6; }
Jeremy White0ebeb532006-06-20 13:18:41 +02003334
3335rm -f conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003336EXEEXT=$ac_cv_exeext
3337ac_exeext=$EXEEXT
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003338cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3339/* end confdefs.h. */
3340#include <stdio.h>
3341int
3342main ()
3343{
3344FILE *f = fopen ("conftest.out", "w");
3345 return ferror (f) || fclose (f) != 0;
3346
3347 ;
3348 return 0;
3349}
3350_ACEOF
3351ac_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; }
3356if test "$cross_compiling" != yes; then
3357 { { ac_try="$ac_link"
3358case "(($ac_try" in
3359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3360 *) ac_try_echo=$ac_try;;
3361esac
3362eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3363$as_echo "$ac_try_echo"; } >&5
3364 (eval "$ac_link") 2>&5
3365 ac_status=$?
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;;
3372esac
3373eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3374$as_echo "$ac_try_echo"; } >&5
3375 (eval "$ac_try") 2>&5
3376 ac_status=$?
3377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3378 test $ac_status = 0; }; }; then
3379 cross_compiling=no
3380 else
3381 if test "$cross_compiling" = maybe; then
3382 cross_compiling=yes
3383 else
3384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3385$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3386as_fn_error "cannot run C compiled programs.
3387If you meant to cross compile, use \`--host'.
3388See \`config.log' for more details." "$LINENO" 5; }
3389 fi
3390 fi
3391fi
3392{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3393$as_echo "$cross_compiling" >&6; }
3394
3395rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3396ac_clean_files=$ac_clean_files_save
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003397{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003398$as_echo_n "checking for suffix of object files... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003399if test "${ac_cv_objext+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003400 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003401else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Jeremy White0ebeb532006-06-20 13:18:41 +02003403/* end confdefs.h. */
3404
3405int
3406main ()
3407{
3408
3409 ;
3410 return 0;
3411}
3412_ACEOF
3413rm -f conftest.o conftest.obj
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003414if { { ac_try="$ac_compile"
Jeremy White0ebeb532006-06-20 13:18:41 +02003415case "(($ac_try" in
3416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3417 *) ac_try_echo=$ac_try;;
3418esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003419eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3420$as_echo "$ac_try_echo"; } >&5
Jeremy White0ebeb532006-06-20 13:18:41 +02003421 (eval "$ac_compile") 2>&5
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003422 ac_status=$?
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003423 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3424 test $ac_status = 0; }; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003425 for ac_file in conftest.o conftest.obj conftest.*; do
3426 test -f "$ac_file" || continue;
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003427 case $ac_file in
Alexandre Julliardabf50482008-10-31 12:56:53 +01003428 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003429 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3430 break;;
3431 esac
3432done
3433else
Alexandre Julliardabf50482008-10-31 12:56:53 +01003434 $as_echo "$as_me: failed program was:" >&5
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00003435sed 's/^/| /' conftest.$ac_ext >&5
3436
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003437{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003438$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003439as_fn_error "cannot compute suffix of object files: cannot compile
3440See \`config.log' for more details." "$LINENO" 5; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003441fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003442rm -f conftest.$ac_cv_objext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003443fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003444{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003445$as_echo "$ac_cv_objext" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003446OBJEXT=$ac_cv_objext
3447ac_objext=$OBJEXT
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003448{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003449$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003450if test "${ac_cv_c_compiler_gnu+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003451 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003452else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00003454/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003455
3456int
3457main ()
3458{
3459#ifndef __GNUC__
3460 choke me
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003461#endif
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +00003462
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003463 ;
3464 return 0;
3465}
3466_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003467if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003468 ac_compiler_gnu=yes
Eric Pouech18ad24a2000-01-16 22:16:33 +00003469else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003470 ac_compiler_gnu=no
Eric Pouech18ad24a2000-01-16 22:16:33 +00003471fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003472rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003473ac_cv_c_compiler_gnu=$ac_compiler_gnu
Eric Pouech18ad24a2000-01-16 22:16:33 +00003474
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003475fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003476{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003477$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3478if test $ac_compiler_gnu = yes; then
3479 GCC=yes
3480else
3481 GCC=
3482fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003483ac_test_CFLAGS=${CFLAGS+set}
3484ac_save_CFLAGS=$CFLAGS
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003485{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003486$as_echo_n "checking whether $CC accepts -g... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003487if test "${ac_cv_prog_cc_g+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003488 $as_echo_n "(cached) " >&6
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003489else
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003490 ac_save_c_werror_flag=$ac_c_werror_flag
3491 ac_c_werror_flag=yes
3492 ac_cv_prog_cc_g=no
3493 CFLAGS="-g"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00003495/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003496
3497int
3498main ()
3499{
3500
3501 ;
3502 return 0;
3503}
3504_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003505if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliard7e6ae4b1996-12-08 19:25:27 +00003506 ac_cv_prog_cc_g=yes
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003507else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003508 CFLAGS=""
3509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003510/* end confdefs.h. */
3511
3512int
3513main ()
3514{
3515
3516 ;
3517 return 0;
3518}
3519_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003520if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003521
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003522else
3523 ac_c_werror_flag=$ac_save_c_werror_flag
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003524 CFLAGS="-g"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003526/* end confdefs.h. */
3527
3528int
3529main ()
3530{
3531
3532 ;
3533 return 0;
3534}
3535_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003536if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003537 ac_cv_prog_cc_g=yes
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003538fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003539rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003540fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003541rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003542fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003544 ac_c_werror_flag=$ac_save_c_werror_flag
3545fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003546{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003547$as_echo "$ac_cv_prog_cc_g" >&6; }
Eric Pouech18ad24a2000-01-16 22:16:33 +00003548if test "$ac_test_CFLAGS" = set; then
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003549 CFLAGS=$ac_save_CFLAGS
Eric Pouech18ad24a2000-01-16 22:16:33 +00003550elif test $ac_cv_prog_cc_g = yes; then
3551 if test "$GCC" = yes; then
Alexandre Julliardda0cfb31996-12-01 17:17:47 +00003552 CFLAGS="-g -O2"
3553 else
Eric Pouech18ad24a2000-01-16 22:16:33 +00003554 CFLAGS="-g"
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003555 fi
3556else
Eric Pouech18ad24a2000-01-16 22:16:33 +00003557 if test "$GCC" = yes; then
3558 CFLAGS="-O2"
3559 else
3560 CFLAGS=
3561 fi
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00003562fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003563{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003564$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003565if test "${ac_cv_prog_cc_c89+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003566 $as_echo_n "(cached) " >&6
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003567else
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003568 ac_cv_prog_cc_c89=no
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003569ac_save_CC=$CC
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003570cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00003571/* end confdefs.h. */
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003572#include <stdarg.h>
3573#include <stdio.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. */
3577struct buf { int x; };
3578FILE * (*rcsopen) (struct buf *, struct stat *, int);
3579static char *e (p, i)
3580 char **p;
3581 int i;
3582{
3583 return p[i];
3584}
3585static char *f (char * (*g) (char **, int), char **p, ...)
3586{
3587 char *s;
3588 va_list v;
3589 va_start (v,p);
3590 s = g (p, va_arg (v,int));
3591 va_end (v);
3592 return s;
3593}
Alexandre Julliard875927f2004-01-02 01:55:29 +00003594
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
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003598 as 'x'. The following induces an error, until -std is added to get
Alexandre Julliard875927f2004-01-02 01:55:29 +00003599 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
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003601 that's true only with -std. */
Alexandre Julliard875927f2004-01-02 01:55:29 +00003602int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3603
Alexandre Julliardf5f37a82006-06-27 16:41:43 +02003604/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3605 inside strings and character constants. */
3606#define FOO(x) 'x'
3607int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3608
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003609int test (int i, double x);
3610struct s1 {int (*f) (int a);};
3611struct s2 {int (*f) (double a);};
3612int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3613int argc;
3614char **argv;
3615int
3616main ()
3617{
3618return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3619 ;
3620 return 0;
3621}
3622_ACEOF
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003623for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3624 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003625do
3626 CC="$ac_save_CC $ac_arg"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003627 if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003628 ac_cv_prog_cc_c89=$ac_arg
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003629fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003630rm -f core conftest.err conftest.$ac_objext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003631 test "x$ac_cv_prog_cc_c89" != "xno" && break
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003632done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003633rm -f conftest.$ac_ext
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003634CC=$ac_save_CC
3635
3636fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003637# AC_CACHE_VAL
3638case "x$ac_cv_prog_cc_c89" in
3639 x)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003641$as_echo "none needed" >&6; } ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003642 xno)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003644$as_echo "unsupported" >&6; } ;;
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003645 *)
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003646 CC="$CC $ac_cv_prog_cc_c89"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003648$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003649esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003650if test "x$ac_cv_prog_cc_c89" != xno; then :
Alexandre Julliard11af04e2002-10-10 03:48:04 +00003651
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003652fi
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00003653
Alexandre Julliardf5818d22002-02-14 19:47:29 +00003654ac_ext=c
3655ac_cpp='$CPP $CPPFLAGS'
3656ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3657ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3658ac_compiler_gnu=$ac_cv_c_compiler_gnu
3659
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003660ac_ext=cpp
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003661ac_cpp='$CXXCPP $CPPFLAGS'
3662ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3663ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3664ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003665if test -z "$CXX"; then
3666 if test -n "$CCC"; then
3667 CXX=$CCC
3668 else
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
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003671 do
3672 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3673set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003674{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003675$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003676if test "${ac_cv_prog_CXX+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003677 $as_echo_n "(cached) " >&6
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003678else
3679 if test -n "$CXX"; then
3680 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3681else
3682as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683for as_dir in $PATH
3684do
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003687 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01003688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003689 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003691 break 2
3692 fi
3693done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003694 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003695IFS=$as_save_IFS
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003696
3697fi
3698fi
3699CXX=$ac_cv_prog_CXX
3700if test -n "$CXX"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003702$as_echo "$CXX" >&6; }
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003703else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003705$as_echo "no" >&6; }
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003706fi
3707
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003708
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003709 test -n "$CXX" && break
3710 done
3711fi
3712if test -z "$CXX"; then
3713 ac_ct_CXX=$CXX
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003714 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003715do
3716 # Extract the first word of "$ac_prog", so it can be a program name with args.
3717set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003719$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003720if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003721 $as_echo_n "(cached) " >&6
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003722else
3723 if test -n "$ac_ct_CXX"; then
3724 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3725else
3726as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3727for as_dir in $PATH
3728do
3729 IFS=$as_save_IFS
3730 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003731 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01003732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003733 ac_cv_prog_ac_ct_CXX="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003734 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003735 break 2
3736 fi
3737done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003738 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003739IFS=$as_save_IFS
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003740
3741fi
3742fi
3743ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3744if test -n "$ac_ct_CXX"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003746$as_echo "$ac_ct_CXX" >&6; }
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003747else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003749$as_echo "no" >&6; }
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003750fi
3751
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003752
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003753 test -n "$ac_ct_CXX" && break
3754done
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003755
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003756 if test "x$ac_ct_CXX" = x; then
3757 CXX="g++"
3758 else
3759 case $cross_compiling:$ac_tool_warned in
3760yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003761{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003762$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003763ac_tool_warned=yes ;;
3764esac
3765 CXX=$ac_ct_CXX
3766 fi
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003767fi
3768
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003769 fi
3770fi
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003771# Provide some information about the compiler.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003772$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003773set X $ac_compile
3774ac_compiler=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003775for ac_option in --version -v -V -qversion; do
3776 { { ac_try="$ac_compiler $ac_option >&5"
Jeremy White0ebeb532006-06-20 13:18:41 +02003777case "(($ac_try" in
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3780esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003781eval 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
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003784 ac_status=$?
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003785 if test -s conftest.err; then
3786 sed '10a\
3787... rest of stderr output deleted ...
3788 10q' conftest.err >conftest.er1
3789 cat conftest.er1 >&5
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003790 fi
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +01003791 rm -f conftest.er1 conftest.err
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003792 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3793 test $ac_status = 0; }
3794done
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003795
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003796{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003797$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003798if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003799 $as_echo_n "(cached) " >&6
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003800else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003802/* end confdefs.h. */
3803
3804int
3805main ()
3806{
3807#ifndef __GNUC__
3808 choke me
3809#endif
3810
3811 ;
3812 return 0;
3813}
3814_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003815if ac_fn_cxx_try_compile "$LINENO"; then :
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003816 ac_compiler_gnu=yes
3817else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003818 ac_compiler_gnu=no
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003819fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003820rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003821ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3822
3823fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003824{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003825$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3826if test $ac_compiler_gnu = yes; then
3827 GXX=yes
3828else
3829 GXX=
3830fi
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003831ac_test_CXXFLAGS=${CXXFLAGS+set}
3832ac_save_CXXFLAGS=$CXXFLAGS
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003833{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003834$as_echo_n "checking whether $CXX accepts -g... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003835if test "${ac_cv_prog_cxx_g+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003836 $as_echo_n "(cached) " >&6
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003837else
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003838 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3839 ac_cxx_werror_flag=yes
3840 ac_cv_prog_cxx_g=no
3841 CXXFLAGS="-g"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003843/* end confdefs.h. */
3844
3845int
3846main ()
3847{
3848
3849 ;
3850 return 0;
3851}
3852_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003853if ac_fn_cxx_try_compile "$LINENO"; then :
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003854 ac_cv_prog_cxx_g=yes
3855else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003856 CXXFLAGS=""
3857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003858/* end confdefs.h. */
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003859
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003860int
3861main ()
3862{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003863
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003864 ;
3865 return 0;
3866}
3867_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003868if ac_fn_cxx_try_compile "$LINENO"; then :
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003869
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003870else
3871 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003872 CXXFLAGS="-g"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003874/* end confdefs.h. */
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003875
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003876int
3877main ()
3878{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003879
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003880 ;
3881 return 0;
3882}
3883_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003884if ac_fn_cxx_try_compile "$LINENO"; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003885 ac_cv_prog_cxx_g=yes
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003886fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003887rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003888fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003890fi
Jeremy White0ebeb532006-06-20 13:18:41 +02003891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003892 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3893fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003895$as_echo "$ac_cv_prog_cxx_g" >&6; }
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003896if test "$ac_test_CXXFLAGS" = set; then
3897 CXXFLAGS=$ac_save_CXXFLAGS
3898elif test $ac_cv_prog_cxx_g = yes; then
3899 if test "$GXX" = yes; then
3900 CXXFLAGS="-g -O2"
3901 else
3902 CXXFLAGS="-g"
3903 fi
3904else
3905 if test "$GXX" = yes; then
3906 CXXFLAGS="-O2"
3907 else
3908 CXXFLAGS=
3909 fi
3910fi
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003911ac_ext=c
3912ac_cpp='$CPP $CPPFLAGS'
3913ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3914ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3915ac_compiler_gnu=$ac_cv_c_compiler_gnu
3916
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003917if 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.
3919set dummy ${ac_tool_prefix}cpp; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003921$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003922if test "${ac_cv_prog_CPPBIN+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003923 $as_echo_n "(cached) " >&6
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003924else
Alexandre Julliarda631ef62004-03-03 20:30:46 +00003925 if test -n "$CPPBIN"; then
3926 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003927else
3928as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3929for as_dir in $PATH
3930do
3931 IFS=$as_save_IFS
3932 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003933 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01003934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarda631ef62004-03-03 20:30:46 +00003935 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003937 break 2
3938 fi
3939done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003940 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003941IFS=$as_save_IFS
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003942
3943fi
3944fi
Alexandre Julliarda631ef62004-03-03 20:30:46 +00003945CPPBIN=$ac_cv_prog_CPPBIN
3946if test -n "$CPPBIN"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003948$as_echo "$CPPBIN" >&6; }
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003949else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003951$as_echo "no" >&6; }
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00003952fi
3953
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003954
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003955fi
Alexandre Julliarda631ef62004-03-03 20:30:46 +00003956if test -z "$ac_cv_prog_CPPBIN"; then
3957 ac_ct_CPPBIN=$CPPBIN
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003958 # Extract the first word of "cpp", so it can be a program name with args.
3959set dummy cpp; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003960{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003961$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003962if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01003963 $as_echo_n "(cached) " >&6
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003964else
Alexandre Julliarda631ef62004-03-03 20:30:46 +00003965 if test -n "$ac_ct_CPPBIN"; then
3966 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003967else
3968as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3969for as_dir in $PATH
3970do
3971 IFS=$as_save_IFS
3972 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003973 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01003974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarda631ef62004-03-03 20:30:46 +00003975 ac_cv_prog_ac_ct_CPPBIN="cpp"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003977 break 2
3978 fi
3979done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003980 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003981IFS=$as_save_IFS
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003982
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003983fi
3984fi
Alexandre Julliarda631ef62004-03-03 20:30:46 +00003985ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3986if test -n "$ac_ct_CPPBIN"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003988$as_echo "$ac_ct_CPPBIN" >&6; }
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003989else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01003991$as_echo "no" >&6; }
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00003992fi
3993
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02003994 if test "x$ac_ct_CPPBIN" = x; then
3995 CPPBIN="cpp"
3996 else
3997 case $cross_compiling:$ac_tool_warned in
3998yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02003999{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004000$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004001ac_tool_warned=yes ;;
4002esac
4003 CPPBIN=$ac_ct_CPPBIN
4004 fi
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00004005else
Alexandre Julliarda631ef62004-03-03 20:30:46 +00004006 CPPBIN="$ac_cv_prog_CPPBIN"
Alexandre Julliard3e61ef72004-03-02 06:48:48 +00004007fi
4008
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00004009
Alexandre Julliard1aea4ef2009-08-27 13:35:46 +02004010cat >>confdefs.h <<_ACEOF
4011#define EXEEXT "$ac_exeext"
4012_ACEOF
4013
4014
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004015case $host in
Ken Thomases42664332009-05-01 22:59:52 -05004016 *-darwin*)
Alexandre Julliard39a75d32009-08-13 19:45:31 +02004017 if test "x$enable_win64" = "xyes"
Ken Thomases42664332009-05-01 22:59:52 -05004018 then
4019 CC="$CC -m64"
4020 CXX="$CXX -m64"
4021 LD="${LD:-ld} -arch x86_64"
4022 AS="${AS:-as} -arch x86_64"
4023 host_cpu="x86_64"
4024 notice_platform="64-bit "
4025 TARGETFLAGS="-m64"
4026
4027 else
4028 CC="$CC -m32"
4029 CXX="$CXX -m32"
4030 LD="${LD:-ld} -arch i386"
4031 AS="${AS:-as} -arch i386"
4032 host_cpu="i386"
4033 notice_platform="32-bit "
4034 TARGETFLAGS="-m32"
4035
4036 enable_win16=${enable_win16:-yes}
4037 fi
4038 ;;
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004039 x86_64*)
Alexandre Julliard6b4ed0f2009-01-12 19:29:43 +01004040 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004041 then
4042 CC="$CC -m32"
4043 CXX="$CXX -m32"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004045$as_echo_n "checking whether $CC works... " >&6; }
4046
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004047cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004048/* end confdefs.h. */
4049
4050int
4051main ()
4052{
4053
4054 ;
4055 return 0;
4056}
4057_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004058if ac_fn_c_try_link "$LINENO"; then :
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004060$as_echo "yes" >&6; }
4061else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004063$as_echo "no" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004064 as_fn_error "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004065fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004066rm -f core conftest.err conftest.$ac_objext \
4067 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004068 LD="${LD:-ld} -m elf_i386"
4069 AS="${AS:-as} --32"
4070 host_cpu="i386"
4071 notice_platform="32-bit "
Alexandre Julliard07f77c42009-01-15 21:17:51 +01004072 TARGETFLAGS="-m32"
4073
Alexandre Julliard9981f4c2009-02-26 15:00:12 +01004074 enable_win16=${enable_win16:-yes}
Alexandre Julliard07f77c42009-01-15 21:17:51 +01004075 else
Alexandre Julliard8812d242009-06-14 11:19:54 +02004076 if test "x${GCC}" = "xyes"
4077 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
Alexandre Julliard8812d242009-06-14 11:19:54 +02004079$as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard8812d242009-06-14 11:19:54 +02004081/* end confdefs.h. */
4082#include <stdarg.h>
4083int
4084main ()
4085{
4086void func(__builtin_ms_va_list *args);
4087 ;
4088 return 0;
4089}
4090_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004091if ac_fn_c_try_compile "$LINENO"; then :
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Alexandre Julliard8812d242009-06-14 11:19:54 +02004093$as_echo "yes" >&6; }
4094else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliard8812d242009-06-14 11:19:54 +02004096$as_echo "no" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004097 as_fn_error "You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
Alexandre Julliard8812d242009-06-14 11:19:54 +02004098fi
Alexandre Julliard8812d242009-06-14 11:19:54 +02004099rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4100 fi
Alexandre Julliard07f77c42009-01-15 21:17:51 +01004101 TARGETFLAGS="-m64"
4102
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004103 fi
4104 ;;
Alexandre Julliard391fce62009-04-02 12:59:52 +02004105 *-mingw32*|*-cygwin*)
Alexandre Julliard9981f4c2009-02-26 15:00:12 +01004106 enable_win16=${enable_win16:-no}
Alexandre Goujonac0a38c2010-03-01 21:39:40 +01004107 CFLAGS="$CFLAGS -D_WIN32"
Alexandre Julliard9981f4c2009-02-26 15:00:12 +01004108 ;;
4109 i[3456789]86*)
4110 enable_win16=${enable_win16:-yes}
4111 ;;
Alexandre Julliarddfa66db2009-01-12 15:25:44 +01004112esac
4113
Alexandre Julliard9981f4c2009-02-26 15:00:12 +01004114enable_win16=${enable_win16:-no}
Alexandre Julliard776820e2009-02-23 17:46:33 +01004115
Alexandre Julliard95081552010-02-09 19:08:17 +01004116enable_winetest=${enable_winetest:-$enable_tests}
4117
Alexandre Julliard39a75d32009-08-13 19:45:31 +02004118if test -n "$with_wine64"
4119then
4120 if test "x$enable_win64" = "xyes"
4121 then
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
4124 fi
Alexandre Julliard90647772009-08-13 19:48:42 +02004125 WOW64_DISABLE=\#
4126
Alexandre Julliard39a75d32009-08-13 19:45:31 +02004127 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"
4134fi
4135
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004137$as_echo_n "checking for the directory containing the Wine tools... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004138if test "${wine_cv_toolsdir+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004139 $as_echo_n "(cached) " >&6
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00004140else
Alexandre Julliard39a75d32009-08-13 19:45:31 +02004141 wine_cv_toolsdir="$with_wine_tools"
4142 if test -z "$with_wine_tools"; then
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00004143 if test "$cross_compiling" = "yes"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004144 as_fn_error "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
Alexandre Julliard39a75d32009-08-13 19:45:31 +02004145 elif test -n "$with_wine64"; then
4146 wine_cv_toolsdir="$with_wine64"
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00004147 fi
Alexandre Julliard39a75d32009-08-13 19:45:31 +02004148 fi
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
4153 /*) ;;
4154 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$wine_cv_toolsdir" ;;
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00004155 esac
4156 else
Alexandre Julliard39a75d32009-08-13 19:45:31 +02004157 as_fn_error "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00004158 fi
4159fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004160{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004161$as_echo "$wine_cv_toolsdir" >&6; }
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00004162TOOLSDIR=$wine_cv_toolsdir
4163
Alexandre Julliard4d135d92009-02-16 13:08:44 +01004164if test -n "$host_alias" -a "$host_alias" != "$build_alias"
Alexandre Julliard424cb272008-12-26 17:54:50 +01004165then
Alexandre Julliard0fea4a52009-02-12 10:28:23 +01004166 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
Alexandre Julliard424cb272008-12-26 17:54:50 +01004167
4168fi
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +00004169
Alexandre Julliard40916272007-03-08 13:19:50 +01004170for ac_prog in flex
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004171do
4172 # Extract the first word of "$ac_prog", so it can be a program name with args.
4173set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004174{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004175$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004176if test "${ac_cv_prog_FLEX+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004177 $as_echo_n "(cached) " >&6
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004178else
Alexandre Julliard40916272007-03-08 13:19:50 +01004179 if test -n "$FLEX"; then
4180 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004181else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004182as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183for as_dir in $PATH
4184do
4185 IFS=$as_save_IFS
4186 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004187 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliard40916272007-03-08 13:19:50 +01004189 ac_cv_prog_FLEX="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004191 break 2
4192 fi
4193done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004194 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004195IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004196
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004197fi
4198fi
Alexandre Julliard40916272007-03-08 13:19:50 +01004199FLEX=$ac_cv_prog_FLEX
4200if test -n "$FLEX"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004202$as_echo "$FLEX" >&6; }
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004203else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004205$as_echo "no" >&6; }
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004206fi
4207
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004208
Alexandre Julliard40916272007-03-08 13:19:50 +01004209 test -n "$FLEX" && break
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004210done
Alexandre Julliard40916272007-03-08 13:19:50 +01004211test -n "$FLEX" || FLEX="none"
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004212
Alexandre Julliard40916272007-03-08 13:19:50 +01004213if test "$FLEX" = "none"
Marcus Meissnerb53bb412000-07-23 13:41:51 +00004214then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004215 as_fn_error "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
Marcus Meissnerb53bb412000-07-23 13:41:51 +00004216fi
Michael Stefaniucce307332009-12-29 18:07:02 +01004217{ $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; }
4219cat >conftest.l <<EOF
4220%top{
4221#include "prediluvian.h"
4222}
4223%%
4224EOF
4225if $FLEX -t conftest.l >/dev/null 2>&1
4226then
4227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4228$as_echo "yes" >&6; }
4229else
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
4233fi
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004234
Mike McCormackc068f672004-03-16 03:11:39 +00004235for ac_prog in bison
4236do
4237 # Extract the first word of "$ac_prog", so it can be a program name with args.
4238set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004239{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004240$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004241if test "${ac_cv_prog_BISON+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004242 $as_echo_n "(cached) " >&6
Mike McCormackc068f672004-03-16 03:11:39 +00004243else
4244 if test -n "$BISON"; then
4245 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4246else
4247as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4248for as_dir in $PATH
4249do
4250 IFS=$as_save_IFS
4251 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004252 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Mike McCormackc068f672004-03-16 03:11:39 +00004254 ac_cv_prog_BISON="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Mike McCormackc068f672004-03-16 03:11:39 +00004256 break 2
4257 fi
4258done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004259 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004260IFS=$as_save_IFS
Mike McCormackc068f672004-03-16 03:11:39 +00004261
4262fi
4263fi
4264BISON=$ac_cv_prog_BISON
4265if test -n "$BISON"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004267$as_echo "$BISON" >&6; }
Mike McCormackc068f672004-03-16 03:11:39 +00004268else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004270$as_echo "no" >&6; }
Mike McCormackc068f672004-03-16 03:11:39 +00004271fi
4272
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004273
Mike McCormackc068f672004-03-16 03:11:39 +00004274 test -n "$BISON" && break
4275done
4276test -n "$BISON" || BISON="none"
4277
4278if test "$BISON" = "none"
4279then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004280 as_fn_error "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
Mike McCormackc068f672004-03-16 03:11:39 +00004281fi
4282
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004283if test -n "$ac_tool_prefix"; then
Francois Gouget86bd0462008-06-26 14:05:57 +02004284 for ac_prog in ar gar
4285 do
4286 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4287set dummy $ac_tool_prefix$ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004288{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004289$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004290if test "${ac_cv_prog_AR+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004291 $as_echo_n "(cached) " >&6
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004292else
4293 if test -n "$AR"; then
4294 ac_cv_prog_AR="$AR" # Let the user override the test.
4295else
4296as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4297for as_dir in $PATH
4298do
4299 IFS=$as_save_IFS
4300 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004301 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004302 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Francois Gouget86bd0462008-06-26 14:05:57 +02004303 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004305 break 2
4306 fi
4307done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004308 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004309IFS=$as_save_IFS
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004310
4311fi
4312fi
4313AR=$ac_cv_prog_AR
4314if test -n "$AR"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004316$as_echo "$AR" >&6; }
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004317else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004319$as_echo "no" >&6; }
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004320fi
4321
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004322
Francois Gouget86bd0462008-06-26 14:05:57 +02004323 test -n "$AR" && break
4324 done
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004325fi
Francois Gouget86bd0462008-06-26 14:05:57 +02004326if test -z "$AR"; then
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004327 ac_ct_AR=$AR
Francois Gouget86bd0462008-06-26 14:05:57 +02004328 for ac_prog in ar gar
4329do
4330 # Extract the first word of "$ac_prog", so it can be a program name with args.
4331set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004333$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004334if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004335 $as_echo_n "(cached) " >&6
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004336else
4337 if test -n "$ac_ct_AR"; then
4338 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4339else
4340as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341for as_dir in $PATH
4342do
4343 IFS=$as_save_IFS
4344 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004345 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004346 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Francois Gouget86bd0462008-06-26 14:05:57 +02004347 ac_cv_prog_ac_ct_AR="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004349 break 2
4350 fi
4351done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004352 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004353IFS=$as_save_IFS
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004354
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004355fi
4356fi
4357ac_ct_AR=$ac_cv_prog_ac_ct_AR
4358if test -n "$ac_ct_AR"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004360$as_echo "$ac_ct_AR" >&6; }
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004361else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004363$as_echo "no" >&6; }
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004364fi
4365
Francois Gouget86bd0462008-06-26 14:05:57 +02004366
4367 test -n "$ac_ct_AR" && break
4368done
4369
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004370 if test "x$ac_ct_AR" = x; then
4371 AR="ar"
4372 else
4373 case $cross_compiling:$ac_tool_warned in
4374yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004375{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004376$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004377ac_tool_warned=yes ;;
4378esac
4379 AR=$ac_ct_AR
4380 fi
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004381fi
4382
Rob Shearman0c694d72008-03-04 15:53:41 +00004383ARFLAGS=rc
4384
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004385if 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.
4387set dummy ${ac_tool_prefix}ranlib; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004388{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004389$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004390if test "${ac_cv_prog_RANLIB+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004391 $as_echo_n "(cached) " >&6
Alexandre Julliardff8331e1995-09-18 11:19:54 +00004392else
4393 if test -n "$RANLIB"; then
4394 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4395else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004396as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4397for as_dir in $PATH
4398do
4399 IFS=$as_save_IFS
4400 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004401 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004403 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004405 break 2
4406 fi
4407done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004408 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004409IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004410
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004411fi
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004412fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004413RANLIB=$ac_cv_prog_RANLIB
Alexandre Julliardff8331e1995-09-18 11:19:54 +00004414if test -n "$RANLIB"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004416$as_echo "$RANLIB" >&6; }
Alexandre Julliardff8331e1995-09-18 11:19:54 +00004417else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004419$as_echo "no" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004420fi
4421
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004422
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004423fi
4424if 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.
4427set dummy ranlib; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004428{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004429$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004430if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004431 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004432else
4433 if test -n "$ac_ct_RANLIB"; then
4434 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4435else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004436as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437for as_dir in $PATH
4438do
4439 IFS=$as_save_IFS
4440 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004441 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004443 ac_cv_prog_ac_ct_RANLIB="ranlib"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004445 break 2
4446 fi
4447done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004448 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004449IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004450
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004451fi
4452fi
4453ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4454if test -n "$ac_ct_RANLIB"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004456$as_echo "$ac_ct_RANLIB" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004457else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004459$as_echo "no" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004460fi
4461
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004462 if test "x$ac_ct_RANLIB" = x; then
4463 RANLIB=":"
4464 else
4465 case $cross_compiling:$ac_tool_warned in
4466yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004467{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004468$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004469ac_tool_warned=yes ;;
4470esac
4471 RANLIB=$ac_ct_RANLIB
4472 fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004473else
4474 RANLIB="$ac_cv_prog_RANLIB"
Alexandre Julliardff8331e1995-09-18 11:19:54 +00004475fi
Alexandre Julliarde2991ea1995-07-29 13:09:43 +00004476
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004477if 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.
4479set dummy ${ac_tool_prefix}strip; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004480{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004481$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004482if test "${ac_cv_prog_STRIP+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004483 $as_echo_n "(cached) " >&6
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004484else
4485 if test -n "$STRIP"; then
4486 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4487else
4488as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489for as_dir in $PATH
4490do
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004493 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004495 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004497 break 2
4498 fi
4499done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004500 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004501IFS=$as_save_IFS
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004502
4503fi
4504fi
4505STRIP=$ac_cv_prog_STRIP
4506if test -n "$STRIP"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004508$as_echo "$STRIP" >&6; }
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004509else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004511$as_echo "no" >&6; }
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004512fi
4513
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004514
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004515fi
4516if test -z "$ac_cv_prog_STRIP"; then
4517 ac_ct_STRIP=$STRIP
4518 # Extract the first word of "strip", so it can be a program name with args.
4519set dummy strip; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004520{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004521$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004522if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004523 $as_echo_n "(cached) " >&6
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004524else
4525 if test -n "$ac_ct_STRIP"; then
4526 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4527else
4528as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4529for as_dir in $PATH
4530do
4531 IFS=$as_save_IFS
4532 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004533 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004535 ac_cv_prog_ac_ct_STRIP="strip"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004536 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004537 break 2
4538 fi
4539done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004540 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004541IFS=$as_save_IFS
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004542
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004543fi
4544fi
4545ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4546if test -n "$ac_ct_STRIP"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004548$as_echo "$ac_ct_STRIP" >&6; }
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004549else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004551$as_echo "no" >&6; }
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004552fi
4553
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004554 if test "x$ac_ct_STRIP" = x; then
4555 STRIP="strip"
4556 else
4557 case $cross_compiling:$ac_tool_warned in
4558yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004559{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004560$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004561ac_tool_warned=yes ;;
4562esac
4563 STRIP=$ac_ct_STRIP
4564 fi
Alexandre Julliardfc01b722002-05-12 03:16:39 +00004565else
4566 STRIP="$ac_cv_prog_STRIP"
4567fi
4568
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004569{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004570$as_echo_n "checking whether ln -s works... " >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004571LN_S=$as_ln_s
4572if test "$LN_S" = "ln -s"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004574$as_echo "yes" >&6; }
Alexandre Julliard641ee761997-08-04 16:34:36 +00004575else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004577$as_echo "no, using $LN_S" >&6; }
Alexandre Julliard641ee761997-08-04 16:34:36 +00004578fi
4579
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004580{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004581$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004582if test "${ac_cv_path_GREP+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004583 $as_echo_n "(cached) " >&6
Alexandre Julliardc6264912004-08-16 20:09:37 +00004584else
Alexandre Julliardabf50482008-10-31 12:56:53 +01004585 if test -z "$GREP"; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004586 ac_path_GREP_found=false
Alexandre Julliardabf50482008-10-31 12:56:53 +01004587 # Loop through the user's path and test for each of PROGNAME-LIST
4588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004589for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4590do
4591 IFS=$as_save_IFS
4592 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004593 for ac_prog in grep ggrep; do
Alexandre Julliardabf50482008-10-31 12:56:53 +01004594 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.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004598 # Check for GNU $ac_path_GREP
4599case `"$ac_path_GREP" --version 2>&1` in
4600*GNU*)
4601 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4602*)
4603 ac_count=0
Alexandre Julliardabf50482008-10-31 12:56:53 +01004604 $as_echo_n 0123456789 >"conftest.in"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004605 while :
4606 do
4607 cat "conftest.in" "conftest.in" >"conftest.tmp"
4608 mv "conftest.tmp" "conftest.in"
4609 cp "conftest.in" "conftest.nl"
Alexandre Julliardabf50482008-10-31 12:56:53 +01004610 $as_echo 'GREP' >> "conftest.nl"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004611 "$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
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004613 as_fn_arith $ac_count + 1 && ac_count=$as_val
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004614 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
Alexandre Julliardc6264912004-08-16 20:09:37 +00004618 fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004619 # 10*(2^10) chars as input seems more than enough
4620 test $ac_count -gt 10 && break
4621 done
Jeremy White0ebeb532006-06-20 13:18:41 +02004622 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004623esac
4624
Alexandre Julliardabf50482008-10-31 12:56:53 +01004625 $ac_path_GREP_found && break 3
4626 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004627 done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004628 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004629IFS=$as_save_IFS
Alexandre Julliardabf50482008-10-31 12:56:53 +01004630 if test -z "$ac_cv_path_GREP"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004631 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004632 fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004633else
4634 ac_cv_path_GREP=$GREP
4635fi
4636
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004637fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004639$as_echo "$ac_cv_path_GREP" >&6; }
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004640 GREP="$ac_cv_path_GREP"
4641
4642
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004644$as_echo_n "checking for egrep... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004645if test "${ac_cv_path_EGREP+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004646 $as_echo_n "(cached) " >&6
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004647else
4648 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4649 then ac_cv_path_EGREP="$GREP -E"
4650 else
Alexandre Julliardabf50482008-10-31 12:56:53 +01004651 if test -z "$EGREP"; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004652 ac_path_EGREP_found=false
Alexandre Julliardabf50482008-10-31 12:56:53 +01004653 # Loop through the user's path and test for each of PROGNAME-LIST
4654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004655for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4656do
4657 IFS=$as_save_IFS
4658 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004659 for ac_prog in egrep; do
Alexandre Julliardabf50482008-10-31 12:56:53 +01004660 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.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004664 # Check for GNU $ac_path_EGREP
4665case `"$ac_path_EGREP" --version 2>&1` in
4666*GNU*)
4667 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4668*)
4669 ac_count=0
Alexandre Julliardabf50482008-10-31 12:56:53 +01004670 $as_echo_n 0123456789 >"conftest.in"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004671 while :
4672 do
4673 cat "conftest.in" "conftest.in" >"conftest.tmp"
4674 mv "conftest.tmp" "conftest.in"
4675 cp "conftest.in" "conftest.nl"
Alexandre Julliardabf50482008-10-31 12:56:53 +01004676 $as_echo 'EGREP' >> "conftest.nl"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004677 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4678 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004679 as_fn_arith $ac_count + 1 && ac_count=$as_val
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004680 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
4684 fi
4685 # 10*(2^10) chars as input seems more than enough
4686 test $ac_count -gt 10 && break
4687 done
Jeremy White0ebeb532006-06-20 13:18:41 +02004688 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004689esac
4690
Alexandre Julliardabf50482008-10-31 12:56:53 +01004691 $ac_path_EGREP_found && break 3
4692 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004693 done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004694 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004695IFS=$as_save_IFS
Alexandre Julliardabf50482008-10-31 12:56:53 +01004696 if test -z "$ac_cv_path_EGREP"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004697 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004698 fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004699else
4700 ac_cv_path_EGREP=$EGREP
4701fi
4702
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004703 fi
4704fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004706$as_echo "$ac_cv_path_EGREP" >&6; }
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004707 EGREP="$ac_cv_path_EGREP"
Alexandre Julliardc6264912004-08-16 20:09:37 +00004708
4709
James Juranffe6b761999-06-12 08:21:57 +00004710# Extract the first word of "ldconfig", so it can be a program name with args.
4711set dummy ldconfig; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004712{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004713$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004714if test "${ac_cv_path_LDCONFIG+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004715 $as_echo_n "(cached) " >&6
James Juranffe6b761999-06-12 08:21:57 +00004716else
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004717 case $LDCONFIG in
4718 [\\/]* | ?:[\\/]*)
James Juranffe6b761999-06-12 08:21:57 +00004719 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
4720 ;;
4721 *)
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Bill Medland91372b32002-04-20 21:00:42 +00004723for as_dir in /sbin /usr/sbin $PATH
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004724do
4725 IFS=$as_save_IFS
4726 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004727 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004728 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004729 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004731 break 2
4732 fi
4733done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004734 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004735IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004736
Alexandre Julliard318f4ce2000-01-31 05:02:49 +00004737 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
James Juranffe6b761999-06-12 08:21:57 +00004738 ;;
4739esac
4740fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004741LDCONFIG=$ac_cv_path_LDCONFIG
James Juranffe6b761999-06-12 08:21:57 +00004742if test -n "$LDCONFIG"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004744$as_echo "$LDCONFIG" >&6; }
James Juranffe6b761999-06-12 08:21:57 +00004745else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004747$as_echo "no" >&6; }
James Juranffe6b761999-06-12 08:21:57 +00004748fi
4749
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004750
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004751# 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
4757# AIX /bin/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"
Alexandre Julliard875927f2004-01-02 01:55:29 +00004762# OS/2's system install, which has a completely different semantic
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004763# ./install, which can be erroneously created by make from ./install.sh.
Alexandre Julliardabf50482008-10-31 12:56:53 +01004764# Reject install programs that cannot install multiple files.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004765{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004766$as_echo_n "checking for a BSD-compatible install... " >&6; }
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004767if test -z "$INSTALL"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004768if test "${ac_cv_path_install+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004769 $as_echo_n "(cached) " >&6
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004770else
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772for as_dir in $PATH
4773do
4774 IFS=$as_save_IFS
4775 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004776 # Account for people who put trailing slashes in PATH elements.
4777case $as_dir/ in #((
4778 ./ | .// | /[cC]/* | \
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004779 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004780 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004781 /usr/ucb/* ) ;;
4782 *)
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
4785 # by default.
4786 for ac_prog in ginstall scoinst install; do
4787 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004788 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
Alexandre Julliard875927f2004-01-02 01:55:29 +00004789 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.
4792 :
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.
4796 :
4797 else
Alexandre Julliardabf50482008-10-31 12:56:53 +01004798 rm -rf conftest.one conftest.two conftest.dir
4799 echo one > conftest.one
4800 echo two > conftest.two
4801 mkdir conftest.dir
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
4806 then
4807 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4808 break 3
4809 fi
Alexandre Julliard875927f2004-01-02 01:55:29 +00004810 fi
4811 fi
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004812 done
4813 done
4814 ;;
4815esac
Alexandre Julliardabf50482008-10-31 12:56:53 +01004816
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004817 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004818IFS=$as_save_IFS
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004819
Alexandre Julliardabf50482008-10-31 12:56:53 +01004820rm -rf conftest.one conftest.two conftest.dir
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004821
4822fi
4823 if test "${ac_cv_path_install+set}" = set; then
4824 INSTALL=$ac_cv_path_install
4825 else
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004826 # As a last resort, use the slow shell script. Don't cache a
4827 # value for INSTALL within a source directory, because that will
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004828 # break other packages using the cache if that directory is
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004829 # removed, or if the value is a relative name.
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004830 INSTALL=$ac_install_sh
4831 fi
4832fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004833{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004834$as_echo "$INSTALL" >&6; }
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004835
4836# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4837# It thinks the first close brace ends the variable substitution.
4838test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4839
4840test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4841
4842test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4843
4844case "$INSTALL" in
Alexandre Julliard8418d8f2002-12-24 02:39:47 +00004845 [\\/$]* | ?:[\\/]* ) ;;
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00004846 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
4847esac
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004848
Patrik Stridvalla9be64e1999-07-31 17:39:44 +00004849for ac_prog in lclint lint
4850do
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004851 # Extract the first word of "$ac_prog", so it can be a program name with args.
Patrik Stridvalla9be64e1999-07-31 17:39:44 +00004852set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004854$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004855if test "${ac_cv_prog_LINT+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004856 $as_echo_n "(cached) " >&6
Patrik Stridvalla9be64e1999-07-31 17:39:44 +00004857else
4858 if test -n "$LINT"; then
4859 ac_cv_prog_LINT="$LINT" # Let the user override the test.
4860else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004861as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4862for as_dir in $PATH
4863do
4864 IFS=$as_save_IFS
4865 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004866 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004868 ac_cv_prog_LINT="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004870 break 2
4871 fi
4872done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004873 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004874IFS=$as_save_IFS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004875
Patrik Stridvalla9be64e1999-07-31 17:39:44 +00004876fi
4877fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004878LINT=$ac_cv_prog_LINT
Patrik Stridvalla9be64e1999-07-31 17:39:44 +00004879if test -n "$LINT"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004881$as_echo "$LINT" >&6; }
Patrik Stridvalla9be64e1999-07-31 17:39:44 +00004882else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004884$as_echo "no" >&6; }
Patrik Stridvalla9be64e1999-07-31 17:39:44 +00004885fi
4886
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004887
Alexandre Julliardf5818d22002-02-14 19:47:29 +00004888 test -n "$LINT" && break
Patrik Stridvalla9be64e1999-07-31 17:39:44 +00004889done
4890
4891if test "$LINT" = "lint"
4892then
4893 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4894 fi
4895
Alexandre Julliarddaa28862002-04-11 21:54:01 +00004896
4897
Huw Davies00acb5f2004-08-17 22:33:14 +00004898for ac_prog in fontforge
4899do
4900 # Extract the first word of "$ac_prog", so it can be a program name with args.
4901set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004902{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004903$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004904if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004905 $as_echo_n "(cached) " >&6
Huw Davies00acb5f2004-08-17 22:33:14 +00004906else
4907 if test -n "$FONTFORGE"; then
4908 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
4909else
4910as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4911for as_dir in $PATH
4912do
4913 IFS=$as_save_IFS
4914 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004915 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Huw Davies00acb5f2004-08-17 22:33:14 +00004917 ac_cv_prog_FONTFORGE="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Huw Davies00acb5f2004-08-17 22:33:14 +00004919 break 2
4920 fi
4921done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004922 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004923IFS=$as_save_IFS
Huw Davies00acb5f2004-08-17 22:33:14 +00004924
4925fi
4926fi
4927FONTFORGE=$ac_cv_prog_FONTFORGE
4928if test -n "$FONTFORGE"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004930$as_echo "$FONTFORGE" >&6; }
Huw Davies00acb5f2004-08-17 22:33:14 +00004931else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004933$as_echo "no" >&6; }
Huw Davies00acb5f2004-08-17 22:33:14 +00004934fi
4935
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004936
Huw Davies00acb5f2004-08-17 22:33:14 +00004937 test -n "$FONTFORGE" && break
4938done
4939test -n "$FONTFORGE" || FONTFORGE="false"
Dimitrie O. Paunb817a3c2003-10-09 04:33:20 +00004940
Mike McCormack90c75bd2005-08-08 18:36:53 +00004941for ac_prog in pkg-config
4942do
4943 # Extract the first word of "$ac_prog", so it can be a program name with args.
4944set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004945{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004946$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004947if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004948 $as_echo_n "(cached) " >&6
Mike McCormack90c75bd2005-08-08 18:36:53 +00004949else
4950 if test -n "$PKG_CONFIG"; then
4951 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
4952else
4953as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954for as_dir in $PATH
4955do
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004958 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01004959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Mike McCormack90c75bd2005-08-08 18:36:53 +00004960 ac_cv_prog_PKG_CONFIG="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Mike McCormack90c75bd2005-08-08 18:36:53 +00004962 break 2
4963 fi
4964done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004965 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004966IFS=$as_save_IFS
Mike McCormack90c75bd2005-08-08 18:36:53 +00004967
4968fi
4969fi
4970PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
4971if test -n "$PKG_CONFIG"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004973$as_echo "$PKG_CONFIG" >&6; }
Mike McCormack90c75bd2005-08-08 18:36:53 +00004974else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004976$as_echo "no" >&6; }
Mike McCormack90c75bd2005-08-08 18:36:53 +00004977fi
4978
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02004979
Mike McCormack90c75bd2005-08-08 18:36:53 +00004980 test -n "$PKG_CONFIG" && break
4981done
4982test -n "$PKG_CONFIG" || PKG_CONFIG="false"
4983
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01004984for ac_prog in rsvg
4985do
4986 # Extract the first word of "$ac_prog", so it can be a program name with args.
4987set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01004989$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02004990if test "${ac_cv_prog_RSVG+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01004991 $as_echo_n "(cached) " >&6
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01004992else
4993 if test -n "$RSVG"; then
4994 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
4995else
4996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997for as_dir in $PATH
4998do
4999 IFS=$as_save_IFS
5000 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005001 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005002 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"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005005 break 2
5006 fi
5007done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005008 done
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005009IFS=$as_save_IFS
5010
5011fi
5012fi
5013RSVG=$ac_cv_prog_RSVG
5014if test -n "$RSVG"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005016$as_echo "$RSVG" >&6; }
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005017else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005019$as_echo "no" >&6; }
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005020fi
5021
5022
5023 test -n "$RSVG" && break
5024done
5025test -n "$RSVG" || RSVG="false"
5026
5027for ac_prog in icotool
5028do
5029 # Extract the first word of "$ac_prog", so it can be a program name with args.
5030set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005031{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005032$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005033if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01005034 $as_echo_n "(cached) " >&6
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005035else
5036 if test -n "$ICOTOOL"; then
5037 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
5038else
5039as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040for as_dir in $PATH
5041do
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005044 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005045 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"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005048 break 2
5049 fi
5050done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005051 done
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005052IFS=$as_save_IFS
5053
5054fi
5055fi
5056ICOTOOL=$ac_cv_prog_ICOTOOL
5057if test -n "$ICOTOOL"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005059$as_echo "$ICOTOOL" >&6; }
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005060else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005062$as_echo "no" >&6; }
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005063fi
5064
5065
5066 test -n "$ICOTOOL" && break
5067done
5068test -n "$ICOTOOL" || ICOTOOL="false"
5069
5070
5071if test "${enable_maintainer_mode+set}" = set
5072then
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01005073 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
Alexandre Julliarddc4a4752008-03-20 16:09:18 +01005076fi
Dimitrie O. Paunb817a3c2003-10-09 04:33:20 +00005077
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005078case $host_cpu in
5079 *i[3456789]86*)
Alexandre Julliard3d08f5d2006-07-18 10:12:20 +02005080 # Extract the first word of "prelink", so it can be a program name with args.
5081set dummy prelink; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005082{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005083$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005084if test "${ac_cv_path_PRELINK+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01005085 $as_echo_n "(cached) " >&6
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005086else
Alexandre Julliard3d08f5d2006-07-18 10:12:20 +02005087 case $PRELINK in
5088 [\\/]* | ?:[\\/]*)
5089 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
5090 ;;
5091 *)
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005093for as_dir in /sbin /usr/sbin $PATH
5094do
5095 IFS=$as_save_IFS
5096 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005097 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01005098 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliard3d08f5d2006-07-18 10:12:20 +02005099 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005101 break 2
5102 fi
5103done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005104 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005105IFS=$as_save_IFS
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005106
Alexandre Julliard3d08f5d2006-07-18 10:12:20 +02005107 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
5108 ;;
5109esac
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005110fi
Alexandre Julliard3d08f5d2006-07-18 10:12:20 +02005111PRELINK=$ac_cv_path_PRELINK
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005112if test -n "$PRELINK"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005114$as_echo "$PRELINK" >&6; }
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005115else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005117$as_echo "no" >&6; }
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005118fi
5119
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005120
Alexandre Julliardadbb0982005-08-09 11:12:29 +00005121 ;;
5122esac
5123
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005124
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005125{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005126$as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005127if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01005128 $as_echo_n "(cached) " >&6
Alexandre Julliard902da691995-11-05 14:39:02 +00005129else
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005130 ac_check_lib_save_LIBS=$LIBS
Alexandre Julliard902da691995-11-05 14:39:02 +00005131LIBS="-li386 $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005132cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00005133/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005134
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005135/* 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. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005138#ifdef __cplusplus
5139extern "C"
5140#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005141char i386_set_ldt ();
5142int
5143main ()
5144{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005145return i386_set_ldt ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005146 ;
5147 return 0;
5148}
5149_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005150if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005151 ac_cv_lib_i386_i386_set_ldt=yes
Alexandre Julliard902da691995-11-05 14:39:02 +00005152else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005153 ac_cv_lib_i386_i386_set_ldt=no
Alexandre Julliard902da691995-11-05 14:39:02 +00005154fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005155rm -f core conftest.err conftest.$ac_objext \
5156 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005157LIBS=$ac_check_lib_save_LIBS
Alexandre Julliard902da691995-11-05 14:39:02 +00005158fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005159{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005160$as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005161if test "x$ac_cv_lib_i386_i386_set_ldt" = x""yes; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005162 cat >>confdefs.h <<_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005163#define HAVE_LIBI386 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005164_ACEOF
Alexandre Julliard02e90081998-01-04 17:49:09 +00005165
5166 LIBS="-li386 $LIBS"
5167
Alexandre Julliard02e90081998-01-04 17:49:09 +00005168fi
5169
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005171$as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005172if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01005173 $as_echo_n "(cached) " >&6
Todd Vierlingecc76691998-12-15 17:49:02 +00005174else
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005175 ac_check_lib_save_LIBS=$LIBS
Todd Vierlingecc76691998-12-15 17:49:02 +00005176LIBS="-lossaudio $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005177cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00005178/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005179
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005180/* 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. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005183#ifdef __cplusplus
5184extern "C"
5185#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005186char _oss_ioctl ();
5187int
5188main ()
5189{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005190return _oss_ioctl ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005191 ;
5192 return 0;
5193}
5194_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005195if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005196 ac_cv_lib_ossaudio__oss_ioctl=yes
Todd Vierlingecc76691998-12-15 17:49:02 +00005197else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005198 ac_cv_lib_ossaudio__oss_ioctl=no
Todd Vierlingecc76691998-12-15 17:49:02 +00005199fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005200rm -f core conftest.err conftest.$ac_objext \
5201 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005202LIBS=$ac_check_lib_save_LIBS
Todd Vierlingecc76691998-12-15 17:49:02 +00005203fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005205$as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005206if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x""yes; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005207 cat >>confdefs.h <<_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005208#define HAVE_LIBOSSAUDIO 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005209_ACEOF
Todd Vierlingecc76691998-12-15 17:49:02 +00005210
5211 LIBS="-lossaudio $LIBS"
5212
Todd Vierlingecc76691998-12-15 17:49:02 +00005213fi
5214
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005215
Alexandre Julliard82776022005-08-08 11:17:25 +00005216XLIB=""
Huw Daviese82dfab2004-08-04 19:10:26 +00005217
Huw Daviese82dfab2004-08-04 19:10:26 +00005218OPENGL_LIBS=""
Huw Daviese82dfab2004-08-04 19:10:26 +00005219
Rein Klazes7ff12562004-11-09 20:16:35 +00005220
Alexandre Julliard82776022005-08-08 11:17:25 +00005221
Eric Pouechbc56c4e2009-08-25 19:33:28 +02005222# Check whether --enable-largefile was given.
5223if test "${enable_largefile+set}" = set; then :
5224 enableval=$enable_largefile;
5225fi
5226
5227if test "$enable_largefile" != no; then
5228
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; }
5231if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5232 $as_echo_n "(cached) " >&6
5233else
5234 ac_cv_sys_largefile_CC=no
5235 if test "$GCC" != yes; then
5236 ac_save_CC=$CC
5237 while :; do
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)
5250 ? 1 : -1];
5251int
5252main ()
5253{
5254
5255 ;
5256 return 0;
5257}
5258_ACEOF
5259 if ac_fn_c_try_compile "$LINENO"; then :
5260 break
5261fi
5262rm -f core conftest.err conftest.$ac_objext
5263 CC="$CC -n32"
5264 if ac_fn_c_try_compile "$LINENO"; then :
5265 ac_cv_sys_largefile_CC=' -n32'; break
5266fi
5267rm -f core conftest.err conftest.$ac_objext
5268 break
5269 done
5270 CC=$ac_save_CC
5271 rm -f conftest.$ac_ext
5272 fi
5273fi
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
5278 fi
5279
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; }
5282if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5283 $as_echo_n "(cached) " >&6
5284else
5285 while :; do
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)
5296 ? 1 : -1];
5297int
5298main ()
5299{
5300
5301 ;
5302 return 0;
5303}
5304_ACEOF
5305if ac_fn_c_try_compile "$LINENO"; then :
5306 ac_cv_sys_file_offset_bits=no; break
5307fi
5308rm -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)
5320 ? 1 : -1];
5321int
5322main ()
5323{
5324
5325 ;
5326 return 0;
5327}
5328_ACEOF
5329if ac_fn_c_try_compile "$LINENO"; then :
5330 ac_cv_sys_file_offset_bits=64; break
5331fi
5332rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5333 ac_cv_sys_file_offset_bits=unknown
5334 break
5335done
5336fi
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; }
5339case $ac_cv_sys_file_offset_bits in #(
5340 no | unknown) ;;
5341 *)
5342cat >>confdefs.h <<_ACEOF
5343#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5344_ACEOF
5345;;
5346esac
5347rm -rf conftest*
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; }
5351if test "${ac_cv_sys_large_files+set}" = set; then :
5352 $as_echo_n "(cached) " >&6
5353else
5354 while :; do
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)
5365 ? 1 : -1];
5366int
5367main ()
5368{
5369
5370 ;
5371 return 0;
5372}
5373_ACEOF
5374if ac_fn_c_try_compile "$LINENO"; then :
5375 ac_cv_sys_large_files=no; break
5376fi
5377rm -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)
5389 ? 1 : -1];
5390int
5391main ()
5392{
5393
5394 ;
5395 return 0;
5396}
5397_ACEOF
5398if ac_fn_c_try_compile "$LINENO"; then :
5399 ac_cv_sys_large_files=1; break
5400fi
5401rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5402 ac_cv_sys_large_files=unknown
5403 break
5404done
5405fi
5406{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5407$as_echo "$ac_cv_sys_large_files" >&6; }
5408case $ac_cv_sys_large_files in #(
5409 no | unknown) ;;
5410 *)
5411cat >>confdefs.h <<_ACEOF
5412#define _LARGE_FILES $ac_cv_sys_large_files
5413_ACEOF
5414;;
5415esac
5416rm -rf conftest*
5417 fi
5418fi
5419
5420
Alexandre Julliard40664c02009-02-11 20:40:58 +01005421ac_ext=c
5422ac_cpp='$CPP $CPPFLAGS'
5423ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5424ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5425ac_compiler_gnu=$ac_cv_c_compiler_gnu
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005426{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01005427$as_echo_n "checking how to run the C preprocessor... " >&6; }
5428# On Suns, sometimes $CPP names a directory.
5429if test -n "$CPP" && test -d "$CPP"; then
5430 CPP=
5431fi
5432if test -z "$CPP"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005433 if test "${ac_cv_prog_CPP+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01005434 $as_echo_n "(cached) " >&6
5435else
5436 # Double quotes because CPP needs to be expanded
5437 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5438 do
5439 ac_preproc_ok=false
5440for ac_c_preproc_warn_flag in '' yes
5441do
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.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01005449/* end confdefs.h. */
5450#ifdef __STDC__
5451# include <limits.h>
5452#else
5453# include <assert.h>
5454#endif
5455 Syntax error
5456_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005457if ac_fn_c_try_cpp "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01005458
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005459else
Alexandre Julliard40664c02009-02-11 20:40:58 +01005460 # Broken: fails on valid input.
5461continue
5462fi
Alexandre Julliard40664c02009-02-11 20:40:58 +01005463rm -f conftest.err conftest.$ac_ext
5464
5465 # OK, works on sane cases. Now check whether nonexistent headers
5466 # can be detected and how.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01005468/* end confdefs.h. */
5469#include <ac_nonexistent.h>
5470_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005471if ac_fn_c_try_cpp "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01005472 # Broken: success on invalid input.
5473continue
5474else
Alexandre Julliard40664c02009-02-11 20:40:58 +01005475 # Passes both tests.
5476ac_preproc_ok=:
5477break
5478fi
Alexandre Julliard40664c02009-02-11 20:40:58 +01005479rm -f conftest.err conftest.$ac_ext
5480
5481done
5482# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5483rm -f conftest.err conftest.$ac_ext
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005484if $ac_preproc_ok; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01005485 break
5486fi
5487
5488 done
5489 ac_cv_prog_CPP=$CPP
5490
5491fi
5492 CPP=$ac_cv_prog_CPP
5493else
5494 ac_cv_prog_CPP=$CPP
5495fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005496{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01005497$as_echo "$CPP" >&6; }
5498ac_preproc_ok=false
5499for ac_c_preproc_warn_flag in '' yes
5500do
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.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01005508/* end confdefs.h. */
5509#ifdef __STDC__
5510# include <limits.h>
5511#else
5512# include <assert.h>
5513#endif
5514 Syntax error
5515_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005516if ac_fn_c_try_cpp "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01005517
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005518else
Alexandre Julliard40664c02009-02-11 20:40:58 +01005519 # Broken: fails on valid input.
5520continue
5521fi
Alexandre Julliard40664c02009-02-11 20:40:58 +01005522rm -f conftest.err conftest.$ac_ext
5523
5524 # OK, works on sane cases. Now check whether nonexistent headers
5525 # can be detected and how.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01005527/* end confdefs.h. */
5528#include <ac_nonexistent.h>
5529_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005530if ac_fn_c_try_cpp "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01005531 # Broken: success on invalid input.
5532continue
5533else
Alexandre Julliard40664c02009-02-11 20:40:58 +01005534 # Passes both tests.
5535ac_preproc_ok=:
5536break
5537fi
Alexandre Julliard40664c02009-02-11 20:40:58 +01005538rm -f conftest.err conftest.$ac_ext
5539
5540done
5541# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5542rm -f conftest.err conftest.$ac_ext
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005543if $ac_preproc_ok; then :
5544
Alexandre Julliard40664c02009-02-11 20:40:58 +01005545else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01005547$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005548as_fn_error "C preprocessor \"$CPP\" fails sanity check
5549See \`config.log' for more details." "$LINENO" 5; }
Alexandre Julliard40664c02009-02-11 20:40:58 +01005550fi
5551
5552ac_ext=c
5553ac_cpp='$CPP $CPPFLAGS'
5554ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5555ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5556ac_compiler_gnu=$ac_cv_c_compiler_gnu
5557
5558
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005559{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005560$as_echo_n "checking for ANSI C header files... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005561if test "${ac_cv_header_stdc+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01005562 $as_echo_n "(cached) " >&6
Marcus Meissner2d7be871999-12-05 23:06:40 +00005563else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00005565/* end confdefs.h. */
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005566#include <stdlib.h>
5567#include <stdarg.h>
5568#include <string.h>
5569#include <float.h>
5570
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00005571int
5572main ()
5573{
5574
5575 ;
5576 return 0;
5577}
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005578_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005579if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005580 ac_cv_header_stdc=yes
Alexandre Julliardf5818d22002-02-14 19:47:29 +00005581else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005582 ac_cv_header_stdc=no
Marcus Meissner2d7be871999-12-05 23:06:40 +00005583fi
Jeremy White0ebeb532006-06-20 13:18:41 +02005584rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005585
5586if test $ac_cv_header_stdc = yes; then
5587 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00005589/* end confdefs.h. */
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005590#include <string.h>
5591
5592_ACEOF
5593if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005594 $EGREP "memchr" >/dev/null 2>&1; then :
5595
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005596else
5597 ac_cv_header_stdc=no
Marcus Meissner2d7be871999-12-05 23:06:40 +00005598fi
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005599rm -f conftest*
5600
5601fi
5602
5603if test $ac_cv_header_stdc = yes; then
5604 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00005606/* end confdefs.h. */
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005607#include <stdlib.h>
5608
5609_ACEOF
5610if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005611 $EGREP "free" >/dev/null 2>&1; then :
5612
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005613else
5614 ac_cv_header_stdc=no
5615fi
5616rm -f conftest*
5617
5618fi
5619
5620if test $ac_cv_header_stdc = yes; then
5621 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005622 if test "$cross_compiling" = yes; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005623 :
5624else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00005626/* end confdefs.h. */
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005627#include <ctype.h>
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005628#include <stdlib.h>
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005629#if ((' ' & 0x0FF) == 0x020)
5630# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5631# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5632#else
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00005633# define ISLOWER(c) \
Alexandre Julliard875927f2004-01-02 01:55:29 +00005634 (('a' <= (c) && (c) <= 'i') \
5635 || ('j' <= (c) && (c) <= 'r') \
5636 || ('s' <= (c) && (c) <= 'z'))
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005637# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5638#endif
5639
5640#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5641int
5642main ()
5643{
5644 int i;
5645 for (i = 0; i < 256; i++)
5646 if (XOR (islower (i), ISLOWER (i))
Alexandre Julliard875927f2004-01-02 01:55:29 +00005647 || toupper (i) != TOUPPER (i))
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005648 return 2;
5649 return 0;
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005650}
5651_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005652if ac_fn_c_try_run "$LINENO"; then :
5653
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005654else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005655 ac_cv_header_stdc=no
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005656fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005657rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5658 conftest.$ac_objext conftest.beam conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005659fi
5660
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005661fi
5662fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005664$as_echo "$ac_cv_header_stdc" >&6; }
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005665if test $ac_cv_header_stdc = yes; then
5666
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005667$as_echo "#define STDC_HEADERS 1" >>confdefs.h
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005668
5669fi
5670
5671# On IRIX 5.3, sys/types and inttypes.h are conflicting.
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005672for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
Alexandre Julliard875927f2004-01-02 01:55:29 +00005673 inttypes.h stdint.h unistd.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005674do :
5675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5676ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5677"
5678eval as_val=\$$as_ac_Header
5679 if test "x$as_val" = x""yes; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005680 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01005681#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +00005682_ACEOF
5683
5684fi
5685
5686done
5687
5688
Rein Klazes7ff12562004-11-09 20:16:35 +00005689for ac_header in \
Chris Robinson862965f2009-08-25 03:26:35 -07005690 AL/al.h \
Emmanuel Maillard144a5352006-05-28 22:46:23 +02005691 AudioUnit/AudioUnit.h \
Pierre d'Herbemont08884512006-10-24 15:26:33 +02005692 Carbon/Carbon.h \
Emmanuel Maillard144a5352006-05-28 22:46:23 +02005693 CoreAudio/CoreAudio.h \
Alexandre Julliard66f45a52006-11-06 13:33:16 +01005694 DiskArbitration/DiskArbitration.h \
Phil Krylov0f6c0392005-07-01 19:15:26 +00005695 IOKit/IOKitLib.h \
Aric Stewart225a4942009-03-10 14:59:20 -05005696 IOKit/hid/IOHIDLib.h \
Ken Thomases0b08f192009-09-09 22:23:35 -05005697 OpenAL/al.h \
Eric Durbin020b0ef2008-06-24 22:45:51 -05005698 alias.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005699 alsa/asoundlib.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005700 arpa/inet.h \
5701 arpa/nameser.h \
Maarten Lankhorst888eaae2005-04-27 09:46:25 +00005702 asm/types.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005703 capi20.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005704 curses.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005705 direct.h \
Rob Shearman87175c62008-10-03 12:55:21 +01005706 dirent.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005707 dlfcn.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005708 elf.h \
5709 float.h \
Alexandre Julliard7d5e5652009-06-01 12:51:54 +02005710 fnmatch.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005711 fontconfig/fontconfig.h \
5712 getopt.h \
Alexandre Julliard46678dc2008-12-09 17:09:42 +01005713 grp.h \
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +02005714 gsm.h \
Maarten Lankhorstc186d8a2009-08-05 11:35:50 +02005715 gsm/gsm.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005716 ieeefp.h \
Alexandre Julliard801d9c32009-03-10 17:05:58 +01005717 inet/mib2.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005718 io.h \
5719 jack/jack.h \
5720 jpeglib.h \
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +01005721 kstat.h \
Hans Leidekkerea524de2005-07-15 16:39:42 +00005722 lber.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005723 lcms.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005724 lcms/lcms.h \
Hans Leidekkerea524de2005-07-15 16:39:42 +00005725 ldap.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005726 libaudioio.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005727 link.h \
5728 linux/cdrom.h \
5729 linux/compiler.h \
5730 linux/hdreg.h \
5731 linux/input.h \
5732 linux/ioctl.h \
5733 linux/joystick.h \
5734 linux/major.h \
5735 linux/param.h \
5736 linux/serial.h \
Francois Gougetda1a3522008-12-28 10:35:02 +01005737 linux/types.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005738 linux/ucdrom.h \
Ken Thomasesd35c0e82009-03-11 09:05:53 -05005739 mach-o/nlist.h \
Alexandre Julliard150b5dc2006-12-29 20:02:02 +01005740 mach/mach.h \
Emmanuel Maillard64c07782005-05-18 18:20:23 +00005741 mach/machine.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005742 machine/cpu.h \
Emmanuel Maillard64c07782005-05-18 18:20:23 +00005743 machine/limits.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005744 machine/soundcard.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005745 mntent.h \
Aric Stewartdb71d7c2009-08-19 09:37:48 -05005746 mpg123.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005747 ncurses.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005748 netdb.h \
5749 netinet/in.h \
5750 netinet/in_systm.h \
5751 netinet/tcp.h \
5752 netinet/tcp_fsm.h \
Robert Shearman1e5153c2005-12-01 11:18:43 +01005753 openssl/err.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005754 openssl/ssl.h \
Alexandre Julliard00302152007-07-02 19:54:00 +02005755 png.h \
Steven Edwards57279182005-03-04 12:38:36 +00005756 poll.h \
Albert Lee01b972d2009-11-20 18:35:26 -05005757 port.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005758 process.h \
5759 pthread.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005760 pwd.h \
5761 regex.h \
5762 sched.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005763 scsi/scsi.h \
5764 scsi/scsi_ioctl.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005765 scsi/sg.h \
5766 soundcard.h \
Austin English2d7ccb32009-06-13 18:01:24 -05005767 stdbool.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005768 stdint.h \
5769 strings.h \
Alexandre Julliard801d9c32009-03-10 17:05:58 +01005770 stropts.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005771 sys/asoundlib.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005772 sys/cdio.h \
5773 sys/elf32.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005774 sys/epoll.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005775 sys/errno.h \
Alexandre Julliardc8278922006-08-04 22:11:00 +02005776 sys/event.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005777 sys/exec_elf.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005778 sys/filio.h \
Alexandre Julliard61a70362009-06-26 15:45:03 +02005779 sys/inotify.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005780 sys/ioctl.h \
5781 sys/ipc.h \
Gerald Pfeiferebe04842005-08-22 09:33:37 +00005782 sys/limits.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005783 sys/link.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005784 sys/mman.h \
5785 sys/modem.h \
5786 sys/msg.h \
Hans Leidekker0844b702006-01-26 13:23:08 +01005787 sys/mtio.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005788 sys/param.h \
5789 sys/poll.h \
Alexandre Julliard9603ee02006-04-06 11:57:37 +02005790 sys/prctl.h \
Austin English94021a12009-01-20 17:42:53 -06005791 sys/protosw.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005792 sys/ptrace.h \
Mike McCormack0cd06262006-03-01 01:07:04 +09005793 sys/resource.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005794 sys/scsiio.h \
5795 sys/shm.h \
5796 sys/signal.h \
5797 sys/socket.h \
Mark Adams25696352007-07-10 23:39:21 -04005798 sys/socketvar.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005799 sys/sockio.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00005800 sys/soundcard.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005801 sys/statvfs.h \
5802 sys/strtio.h \
5803 sys/syscall.h \
Alexandre Julliard801d9c32009-03-10 17:05:58 +01005804 sys/tihdr.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005805 sys/time.h \
Austin English8b195912009-01-21 21:59:11 -06005806 sys/timeout.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005807 sys/times.h \
5808 sys/uio.h \
5809 sys/un.h \
Alexandre Julliard66eb4bd2008-12-09 19:33:06 +01005810 sys/utsname.h \
Rein Klazes7ff12562004-11-09 20:16:35 +00005811 sys/vm86.h \
5812 sys/wait.h \
5813 syscall.h \
5814 termios.h \
5815 unistd.h \
5816 utime.h \
John Reiser0a2c94e2008-07-24 13:31:53 -07005817 valgrind/memcheck.h \
Jacek Caban11ca05f2009-05-29 23:35:13 +02005818 valgrind/valgrind.h \
5819 zlib.h
Rein Klazes7ff12562004-11-09 20:16:35 +00005820
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005821do :
5822 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5823ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5824eval as_val=\$$as_ac_Header
5825 if test "x$as_val" = x""yes; then :
Rein Klazes7ff12562004-11-09 20:16:35 +00005826 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01005827#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Rein Klazes7ff12562004-11-09 20:16:35 +00005828_ACEOF
5829
5830fi
5831
5832done
5833
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005834{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005835$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005836if test "${ac_cv_header_stat_broken+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01005837 $as_echo_n "(cached) " >&6
Rein Klazes7ff12562004-11-09 20:16:35 +00005838else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Rein Klazes7ff12562004-11-09 20:16:35 +00005840/* end confdefs.h. */
5841#include <sys/types.h>
5842#include <sys/stat.h>
5843
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005844#if defined S_ISBLK && defined S_IFDIR
Phil Krylovf0ca5862006-11-05 23:03:46 +03005845extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
Rein Klazes7ff12562004-11-09 20:16:35 +00005846#endif
5847
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005848#if defined S_ISBLK && defined S_IFCHR
Phil Krylovf0ca5862006-11-05 23:03:46 +03005849extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
Rein Klazes7ff12562004-11-09 20:16:35 +00005850#endif
5851
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005852#if defined S_ISLNK && defined S_IFREG
Phil Krylovf0ca5862006-11-05 23:03:46 +03005853extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
Rein Klazes7ff12562004-11-09 20:16:35 +00005854#endif
5855
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02005856#if defined S_ISSOCK && defined S_IFREG
Phil Krylovf0ca5862006-11-05 23:03:46 +03005857extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
Rein Klazes7ff12562004-11-09 20:16:35 +00005858#endif
5859
5860_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005861if ac_fn_c_try_compile "$LINENO"; then :
Rein Klazes7ff12562004-11-09 20:16:35 +00005862 ac_cv_header_stat_broken=no
Phil Krylovf0ca5862006-11-05 23:03:46 +03005863else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005864 ac_cv_header_stat_broken=yes
Phil Krylovf0ca5862006-11-05 23:03:46 +03005865fi
Phil Krylovf0ca5862006-11-05 23:03:46 +03005866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Rein Klazes7ff12562004-11-09 20:16:35 +00005867fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005868{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01005869$as_echo "$ac_cv_header_stat_broken" >&6; }
Rein Klazes7ff12562004-11-09 20:16:35 +00005870if test $ac_cv_header_stat_broken = yes; then
5871
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005872$as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
Rein Klazes7ff12562004-11-09 20:16:35 +00005873
5874fi
5875
5876
5877
Austin English51094be2008-12-27 14:53:53 -06005878for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005879do :
5880 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5881ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
Francois Gouget9e67edf2008-03-06 12:34:48 +01005882 #ifdef HAVE_SYS_PARAM_H
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02005883 # include <sys/param.h>
5884 #endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005885"
5886eval as_val=\$$as_ac_Header
5887 if test "x$as_val" = x""yes; then :
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02005888 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01005889#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02005890_ACEOF
5891
5892fi
5893
5894done
5895
5896
Alexandre Julliarddfb308a2008-06-27 14:06:47 +02005897for ac_header in \
5898 netinet/ip.h \
5899 net/if.h \
5900 net/if_arp.h \
5901 net/if_dl.h \
5902 net/if_types.h \
5903 net/route.h \
5904 netinet/if_ether.h \
Austin English337067a2009-01-22 10:44:06 -06005905 netinet/if_inarp.h \
Alexandre Julliarddfb308a2008-06-27 14:06:47 +02005906 netinet/in_pcb.h \
5907 netinet/ip_icmp.h \
5908 netinet/ip_var.h \
5909 netinet/udp.h \
5910 netipx/ipx.h \
5911
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005912do :
5913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5914ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
Francois Gouget9e67edf2008-03-06 12:34:48 +01005915 #ifdef HAVE_SYS_SOCKET_H
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02005916 # include <sys/socket.h>
5917 #endif
Francois Gouget9e67edf2008-03-06 12:34:48 +01005918 #ifdef HAVE_SYS_SOCKETVAR_H
Ken Thomasesa609fee2007-10-19 16:18:17 -05005919 # include <sys/socketvar.h>
5920 #endif
Austin Englishbb3f2582009-01-26 23:34:42 -06005921 #ifdef HAVE_NET_ROUTE_H
5922 # include <net/route.h>
5923 #endif
Francois Gouget9e67edf2008-03-06 12:34:48 +01005924 #ifdef HAVE_NETINET_IN_H
Ken Thomasesffd78b12007-10-19 16:18:27 -05005925 # include <netinet/in.h>
5926 #endif
Austin English03173932009-01-23 13:29:42 -06005927 #ifdef HAVE_NETINET_IN_SYSTM_H
5928 # include <netinet/in_systm.h>
5929 #endif
Alexandre Julliardd7e846c2009-01-30 14:01:12 +01005930 #ifdef HAVE_NET_IF_H
5931 # include <net/if.h>
5932 #endif
Alexandre Julliarddfb308a2008-06-27 14:06:47 +02005933 #ifdef HAVE_NETINET_IP_H
5934 # include <netinet/ip.h>
5935 #endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005936"
5937eval as_val=\$$as_ac_Header
5938 if test "x$as_val" = x""yes; then :
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02005939 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01005940#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02005941_ACEOF
5942
5943fi
5944
5945done
5946
Mark Adams25696352007-07-10 23:39:21 -04005947
Austin English03173932009-01-23 13:29:42 -06005948for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005949do :
5950 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5951ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
Eric Durbin020b0ef2008-06-24 22:45:51 -05005952 #ifdef HAVE_ALIAS_H
5953 # include <alias.h>
5954 #endif
Francois Gouget9e67edf2008-03-06 12:34:48 +01005955 #ifdef HAVE_SYS_SOCKET_H
Mark Adams25696352007-07-10 23:39:21 -04005956 # include <sys/socket.h>
5957 #endif
Francois Gouget9e67edf2008-03-06 12:34:48 +01005958 #ifdef HAVE_SYS_SOCKETVAR_H
Mark Adams25696352007-07-10 23:39:21 -04005959 # include <sys/socketvar.h>
5960 #endif
Austin English53d3c462009-01-26 23:47:49 -06005961 #ifdef HAVE_SYS_TIMEOUT_H
5962 # include <sys/timeout.h>
5963 #endif
Francois Gouget9e67edf2008-03-06 12:34:48 +01005964 #ifdef HAVE_NETINET_IN_H
Mark Adams25696352007-07-10 23:39:21 -04005965 # include <netinet/in.h>
5966 #endif
Austin English03173932009-01-23 13:29:42 -06005967 #ifdef HAVE_NETINET_IN_SYSTM_H
5968 # include <netinet/in_systm.h>
5969 #endif
Alexandre Julliarddfb308a2008-06-27 14:06:47 +02005970 #ifdef HAVE_NETINET_IP_H
5971 # include <netinet/ip.h>
5972 #endif
Eric Durbin6d4eab92008-06-24 22:44:13 -05005973 #ifdef HAVE_NETINET_IP_VAR_H
5974 # include <netinet/ip_var.h>
5975 #endif
Eric Durbin020b0ef2008-06-24 22:45:51 -05005976 #ifdef HAVE_NETINET_IP_ICMP_H
5977 # include <netinet/ip_icmp.h>
5978 #endif
Eric Durbin6d4eab92008-06-24 22:44:13 -05005979 #ifdef HAVE_NETINET_UDP_H
5980 # include <netinet/udp.h>
5981 #endif
Mark Adams25696352007-07-10 23:39:21 -04005982 #ifdef HAVE_NETINET_TCP_H
5983 # include <netinet/tcp.h>
5984 #endif
Austin English03173932009-01-23 13:29:42 -06005985 #ifdef HAVE_NETINET_TCP_TIMER_H
5986 #include <netinet/tcp_timer.h>
5987 #endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02005988"
5989eval as_val=\$$as_ac_Header
5990 if test "x$as_val" = x""yes; then :
Mark Adams25696352007-07-10 23:39:21 -04005991 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01005992#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Mark Adams25696352007-07-10 23:39:21 -04005993_ACEOF
5994
5995fi
5996
5997done
5998
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02005999
Juan Lang0ce420d2009-08-12 09:14:16 -07006000for ac_header in linux/ipx.h linux/irda.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006001do :
Juan Lang0ce420d2009-08-12 09:14:16 -07006002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6003ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
Francois Gougetfaf05df2006-08-07 21:52:36 +02006004 #ifdef HAVE_ASM_TYPES_H
6005 # include <asm/types.h>
6006 #endif
Francois Gouget9e67edf2008-03-06 12:34:48 +01006007 #ifdef HAVE_SYS_SOCKET_H
Francois Gougetfaf05df2006-08-07 21:52:36 +02006008 # include <sys/socket.h>
6009 #endif
Francois Gougetda1a3522008-12-28 10:35:02 +01006010 #ifdef HAVE_LINUX_TYPES_H
6011 # include <linux/types.h>
6012 #endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006013"
Juan Lang0ce420d2009-08-12 09:14:16 -07006014eval as_val=\$$as_ac_Header
6015 if test "x$as_val" = x""yes; then :
Francois Gougetfaf05df2006-08-07 21:52:36 +02006016 cat >>confdefs.h <<_ACEOF
Juan Lang0ce420d2009-08-12 09:14:16 -07006017#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Francois Gougetfaf05df2006-08-07 21:52:36 +02006018_ACEOF
6019
6020fi
6021
6022done
6023
6024
Austin English2d7ccb32009-06-13 18:01:24 -05006025for ac_header in mach-o/dyld_images.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006026do :
6027 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
Austin English2d7ccb32009-06-13 18:01:24 -05006028 # include <stdbool.h>
6029 #endif
6030 #ifdef HAVE_STDINT_H
6031 # include <stdint.h>
6032 #endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006033"
6034if test "x$ac_cv_header_mach_o_dyld_images_h" = x""yes; then :
Austin English2d7ccb32009-06-13 18:01:24 -05006035 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006036#define HAVE_MACH_O_DYLD_IMAGES_H 1
Austin English2d7ccb32009-06-13 18:01:24 -05006037_ACEOF
6038
6039fi
6040
6041done
6042
6043
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006044for ac_header in resolv.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006045do :
6046 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
Francois Gouget9e67edf2008-03-06 12:34:48 +01006047 #ifdef HAVE_SYS_SOCKET_H
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006048 # include <sys/socket.h>
6049 #endif
Francois Gouget9e67edf2008-03-06 12:34:48 +01006050 #ifdef HAVE_NETINET_IN_H
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006051 # include <netinet/in.h>
6052 #endif
Francois Gouget9e67edf2008-03-06 12:34:48 +01006053 #ifdef HAVE_ARPA_NAMESER_H
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006054 # include <arpa/nameser.h>
6055 #endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006056"
6057if test "x$ac_cv_header_resolv_h" = x""yes; then :
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006058 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006059#define HAVE_RESOLV_H 1
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006060_ACEOF
6061
6062fi
6063
6064done
6065
6066
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006067for ac_header in ucontext.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006068do :
6069 ac_fn_c_check_header_compile "$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6070"
6071if test "x$ac_cv_header_ucontext_h" = x""yes; then :
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006072 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006073#define HAVE_UCONTEXT_H 1
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006074_ACEOF
6075
6076fi
6077
6078done
6079
6080
Tijl Coosemans60833da2007-08-08 00:25:24 +02006081for ac_header in sys/thr.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006082do :
6083 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
Francois Gouget9e67edf2008-03-06 12:34:48 +01006084#ifdef HAVE_UCONTEXT_H
Tijl Coosemans60833da2007-08-08 00:25:24 +02006085#include <ucontext.h>
6086#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006087"
6088if test "x$ac_cv_header_sys_thr_h" = x""yes; then :
Tijl Coosemans60833da2007-08-08 00:25:24 +02006089 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006090#define HAVE_SYS_THR_H 1
Tijl Coosemans60833da2007-08-08 00:25:24 +02006091_ACEOF
6092
6093fi
6094
6095done
6096
6097
Gerald Pfeifer4ff90b42006-08-21 20:00:20 +02006098for ac_header in pthread_np.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006099do :
6100 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
Gerald Pfeifer4ff90b42006-08-21 20:00:20 +02006101#include <pthread.h>
6102#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006103"
6104if test "x$ac_cv_header_pthread_np_h" = x""yes; then :
Gerald Pfeifer4ff90b42006-08-21 20:00:20 +02006105 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006106#define HAVE_PTHREAD_NP_H 1
Gerald Pfeifer4ff90b42006-08-21 20:00:20 +02006107_ACEOF
6108
6109fi
6110
6111done
6112
6113
Francois Gougetfaf05df2006-08-07 21:52:36 +02006114for ac_header in linux/videodev.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006115do :
6116 ac_fn_c_check_header_compile "$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006117#include <sys/time.h>
6118#endif
6119#include <sys/types.h>
6120#ifdef HAVE_ASM_TYPES_H
6121#include <asm/types.h>
6122#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006123"
6124if test "x$ac_cv_header_linux_videodev_h" = x""yes; then :
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006125 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006126#define HAVE_LINUX_VIDEODEV_H 1
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02006127_ACEOF
6128
6129fi
6130
6131done
6132
6133
Alexandre Julliardb079add2006-02-24 11:46:17 +01006134for ac_header in linux/capi.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006135do :
6136 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6137"
6138if test "x$ac_cv_header_linux_capi_h" = x""yes; then :
Alexandre Julliardb079add2006-02-24 11:46:17 +01006139 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006140#define HAVE_LINUX_CAPI_H 1
Alexandre Julliardb079add2006-02-24 11:46:17 +01006141_ACEOF
6142
6143fi
6144
6145done
6146
6147
6148
Alexandre Julliarda3097622007-07-02 17:27:48 +02006149DLLEXT=""
6150
6151DLLFLAGS="-D_REENTRANT"
6152
6153LDSHARED=""
6154
6155LDDLLFLAGS=""
6156
6157LIBEXT="so"
6158
6159IMPLIBEXT="def"
6160
6161LDRPATH_INSTALL=""
6162
6163LDRPATH_LOCAL=""
6164
Alexandre Julliard950a0f82010-01-26 21:10:14 +01006165STATIC_IMPLIBEXT="def.a"
Alexandre Julliarda3097622007-07-02 17:27:48 +02006166# Extract the first word of "ldd", so it can be a program name with args.
6167set dummy ldd; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006168{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006169$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006170if test "${ac_cv_path_LDD+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006171 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006172else
6173 case $LDD in
6174 [\\/]* | ?:[\\/]*)
6175 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
6176 ;;
6177 *)
6178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6179as_dummy="/sbin:/usr/sbin:$PATH"
6180for as_dir in $as_dummy
6181do
6182 IFS=$as_save_IFS
6183 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006184 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarda3097622007-07-02 17:27:48 +02006185 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6186 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarda3097622007-07-02 17:27:48 +02006188 break 2
6189 fi
6190done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006191 done
Alexandre Julliarda3097622007-07-02 17:27:48 +02006192IFS=$as_save_IFS
6193
6194 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
6195 ;;
6196esac
6197fi
6198LDD=$ac_cv_path_LDD
6199if test -n "$LDD"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006201$as_echo "$LDD" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006202else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006204$as_echo "no" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006205fi
6206
6207
6208
6209case $host_os in
6210 cygwin*|mingw32*)
6211 if test -n "$ac_tool_prefix"; then
6212 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6213set dummy ${ac_tool_prefix}dlltool; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006214{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006215$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006216if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006217 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006218else
6219 if test -n "$DLLTOOL"; then
6220 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6221else
6222as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6223for as_dir in $PATH
6224do
6225 IFS=$as_save_IFS
6226 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006227 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarda3097622007-07-02 17:27:48 +02006228 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6229 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006230 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarda3097622007-07-02 17:27:48 +02006231 break 2
6232 fi
6233done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006234 done
Alexandre Julliarda3097622007-07-02 17:27:48 +02006235IFS=$as_save_IFS
6236
6237fi
6238fi
6239DLLTOOL=$ac_cv_prog_DLLTOOL
6240if test -n "$DLLTOOL"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006242$as_echo "$DLLTOOL" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006243else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006245$as_echo "no" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006246fi
6247
6248
6249fi
6250if test -z "$ac_cv_prog_DLLTOOL"; then
6251 ac_ct_DLLTOOL=$DLLTOOL
6252 # Extract the first word of "dlltool", so it can be a program name with args.
6253set dummy dlltool; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006254{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006255$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006256if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006257 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006258else
6259 if test -n "$ac_ct_DLLTOOL"; then
6260 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6261else
6262as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263for as_dir in $PATH
6264do
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006267 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarda3097622007-07-02 17:27:48 +02006268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6269 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarda3097622007-07-02 17:27:48 +02006271 break 2
6272 fi
6273done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006274 done
Alexandre Julliarda3097622007-07-02 17:27:48 +02006275IFS=$as_save_IFS
6276
6277fi
6278fi
6279ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6280if test -n "$ac_ct_DLLTOOL"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006282$as_echo "$ac_ct_DLLTOOL" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006283else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006285$as_echo "no" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006286fi
6287
6288 if test "x$ac_ct_DLLTOOL" = x; then
6289 DLLTOOL="false"
6290 else
6291 case $cross_compiling:$ac_tool_warned in
6292yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006293{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006294$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliarda3097622007-07-02 17:27:48 +02006295ac_tool_warned=yes ;;
6296esac
6297 DLLTOOL=$ac_ct_DLLTOOL
6298 fi
6299else
6300 DLLTOOL="$ac_cv_prog_DLLTOOL"
6301fi
6302
6303 if test -n "$ac_tool_prefix"; then
6304 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6305set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006306{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006307$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006308if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006309 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006310else
6311 if test -n "$DLLWRAP"; then
6312 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
6313else
6314as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6315for as_dir in $PATH
6316do
6317 IFS=$as_save_IFS
6318 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006319 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarda3097622007-07-02 17:27:48 +02006320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6321 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarda3097622007-07-02 17:27:48 +02006323 break 2
6324 fi
6325done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006326 done
Alexandre Julliarda3097622007-07-02 17:27:48 +02006327IFS=$as_save_IFS
6328
6329fi
6330fi
6331DLLWRAP=$ac_cv_prog_DLLWRAP
6332if test -n "$DLLWRAP"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006334$as_echo "$DLLWRAP" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006335else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006337$as_echo "no" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006338fi
6339
6340
6341fi
6342if test -z "$ac_cv_prog_DLLWRAP"; then
6343 ac_ct_DLLWRAP=$DLLWRAP
6344 # Extract the first word of "dllwrap", so it can be a program name with args.
6345set dummy dllwrap; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006346{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006347$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006348if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006349 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006350else
6351 if test -n "$ac_ct_DLLWRAP"; then
6352 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
6353else
6354as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6355for as_dir in $PATH
6356do
6357 IFS=$as_save_IFS
6358 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006359 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarda3097622007-07-02 17:27:48 +02006360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6361 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarda3097622007-07-02 17:27:48 +02006363 break 2
6364 fi
6365done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006366 done
Alexandre Julliarda3097622007-07-02 17:27:48 +02006367IFS=$as_save_IFS
6368
6369fi
6370fi
6371ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
6372if test -n "$ac_ct_DLLWRAP"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006374$as_echo "$ac_ct_DLLWRAP" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006375else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006377$as_echo "no" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006378fi
6379
6380 if test "x$ac_ct_DLLWRAP" = x; then
6381 DLLWRAP="false"
6382 else
6383 case $cross_compiling:$ac_tool_warned in
6384yes:)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006385{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006386$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
Alexandre Julliarda3097622007-07-02 17:27:48 +02006387ac_tool_warned=yes ;;
6388esac
6389 DLLWRAP=$ac_ct_DLLWRAP
6390 fi
6391else
6392 DLLWRAP="$ac_cv_prog_DLLWRAP"
6393fi
6394
Alexandre Julliarda3097622007-07-02 17:27:48 +02006395 if test "$DLLWRAP" = "false"; then
6396 LIBEXT="a"
6397 else
6398 LIBEXT="dll"
6399 fi
6400 IMPLIBEXT="a"
Alexandre Julliard950a0f82010-01-26 21:10:14 +01006401 STATIC_IMPLIBEXT="a"
Alexandre Julliardec1ebfb2008-09-04 12:29:07 +02006402 enable_iphlpapi=${enable_iphlpapi:-no}
6403 enable_kernel32=${enable_kernel32:-no}
6404 enable_msvcrt=${enable_msvcrt:-no}
6405 enable_ntdll=${enable_ntdll:-no}
6406 enable_ws2_32=${enable_ws2_32:-no}
6407 enable_loader=${enable_loader:-no}
6408 enable_server=${enable_server:-no}
Alexandre Julliard40664c02009-02-11 20:40:58 +01006409 with_x=${with_x:-no}
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006410 with_pthread=${with_pthread:-no}
Alexandre Julliarda3097622007-07-02 17:27:48 +02006411 ;;
6412 darwin*|macosx*)
6413 DLLEXT=".so"
6414 LIBEXT="dylib"
6415 DLLFLAGS="$DLLFLAGS -fPIC"
6416 LDDLLFLAGS="-bundle -multiply_defined suppress"
6417 LIBWINE_LDFLAGS="-multiply_defined suppress"
6418 LDSHARED="\$(CC) -dynamiclib"
6419 STRIP="$STRIP -x"
6420 LDRPATH_LOCAL="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
Rob Shearman312a1db2007-11-26 22:57:35 +00006421 SECURITYLIB="-framework Security -framework CoreFoundation"
6422
6423 COREFOUNDATIONLIB="-framework CoreFoundation"
Alexandre Julliarda3097622007-07-02 17:27:48 +02006424
6425 IOKITLIB="-framework IOKit -framework CoreFoundation"
6426
Alexandre Julliard691bdbd2009-06-23 20:51:37 +02006427 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
Alexandre Julliarda3097622007-07-02 17:27:48 +02006428
6429 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6430 then
6431 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
6432
6433 fi
6434 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6435 then
6436 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6437
6438 fi
Ken Thomases0b08f192009-09-09 22:23:35 -05006439 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6440 then
6441 LIBOPENAL="-framework OpenAL"
6442
6443 ac_cv_lib_openal_alGetSource3i=yes
6444 fi
Alexandre Julliard81f8c032009-03-11 16:49:55 +01006445 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6446 then
6447 ac_save_LIBS="$LIBS"
6448 LIBS="$LIBS $IOKITLIB"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006449 for ac_func in IOHIDManagerCreate
6450do :
6451 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6452if test "x$ac_cv_func_IOHIDManagerCreate" = x""yes; then :
Alexandre Julliard81f8c032009-03-11 16:49:55 +01006453 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006454#define HAVE_IOHIDMANAGERCREATE 1
Alexandre Julliard81f8c032009-03-11 16:49:55 +01006455_ACEOF
6456
6457fi
6458done
6459
6460 LIBS="$ac_save_LIBS"
6461 fi
Alexandre Julliarda3097622007-07-02 17:27:48 +02006462 case $host_cpu in
6463 *powerpc*)
6464 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
6465 esac
6466 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6467 then
6468 CARBONLIB="-framework Carbon"
6469
Alexandre Julliarddbb535e2008-08-25 12:12:28 +02006470 enable_winequartz_drv=${enable_winequartz_drv:-yes}
Alexandre Julliarda3097622007-07-02 17:27:48 +02006471 fi
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006472 if test "x$enable_win16" = "xyes"
6473 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006475$as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006476 if test "$cross_compiling" = yes; then :
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006478$as_echo "cross-compiling, assuming yes" >&6; }
6479else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006481/* end confdefs.h. */
6482asm(".text\n"
6483 "bad:\tnop;nop\n"
6484 "good:\tnop;nop\n\t"
6485 ".globl _testfunc\n"
6486 "_testfunc:\tcallw good");
6487 extern void testfunc();
6488int
6489main ()
6490{
6491unsigned short *p = (unsigned short *)testfunc;
6492 return p[0] != 0xe866 || p[1] != 0xfffa
6493 ;
6494 return 0;
6495}
6496_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006497if ac_fn_c_try_run "$LINENO"; then :
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006499$as_echo "yes" >&6; }
6500else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006502$as_echo "no" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006503 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
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006504fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006505rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6506 conftest.$ac_objext conftest.beam conftest.$ac_ext
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006507fi
6508
Alexandre Julliardcc8eb6b2009-06-23 13:04:49 +02006509 fi
Alexandre Julliarda3097622007-07-02 17:27:48 +02006510 ;;
6511 *)
6512 DLLFLAGS="$DLLFLAGS -fPIC"
6513 DLLEXT=".so"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006515$as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006516if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006517 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006518else
6519 ac_wine_try_cflags_saved=$CFLAGS
6520CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006521cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6522/* end confdefs.h. */
Alexandre Julliarda3097622007-07-02 17:27:48 +02006523void myfunc() {}
6524_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006525if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006526 ac_cv_c_dll_gnuelf="yes"
6527else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006528 ac_cv_c_dll_gnuelf="no"
Alexandre Julliarda3097622007-07-02 17:27:48 +02006529fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006530rm -f core conftest.err conftest.$ac_objext \
6531 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006532CFLAGS=$ac_wine_try_cflags_saved
6533fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006534{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006535$as_echo "$ac_cv_c_dll_gnuelf" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006536 if test "$ac_cv_c_dll_gnuelf" = "yes"
6537 then
6538 LDSHARED="\$(CC) -shared"
6539 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006541$as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006542if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006543 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006544else
6545 ac_wine_try_cflags_saved=$CFLAGS
6546CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006547cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006548/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006549int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006550_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006551if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006552 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
6553else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006554 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
Alexandre Julliarda3097622007-07-02 17:27:48 +02006555fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006556rm -f core conftest.err conftest.$ac_objext \
6557 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006558CFLAGS=$ac_wine_try_cflags_saved
6559fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006561$as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006562if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006563 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6564else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006566$as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006567if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006568 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006569else
6570 ac_wine_try_cflags_saved=$CFLAGS
6571CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006573/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006574int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006575_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006576if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006577 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
6578else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006579 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
Alexandre Julliarda3097622007-07-02 17:27:48 +02006580fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006581rm -f core conftest.err conftest.$ac_objext \
6582 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006583CFLAGS=$ac_wine_try_cflags_saved
6584fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006586$as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006587if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006588 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6589fi
Alexandre Julliarda3097622007-07-02 17:27:48 +02006590fi
6591
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006593$as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006594if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006595 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006596else
6597 ac_wine_try_cflags_saved=$CFLAGS
6598CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006599cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006600/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006601int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006602_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006603if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006604 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
6605else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006606 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
Alexandre Julliarda3097622007-07-02 17:27:48 +02006607fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006608rm -f core conftest.err conftest.$ac_objext \
6609 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006610CFLAGS=$ac_wine_try_cflags_saved
6611fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006613$as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006614if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006615 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
6616fi
6617
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006618 { $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
Alexandre Julliardabf50482008-10-31 12:56:53 +01006619$as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006620if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006621 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006622else
6623 ac_wine_try_cflags_saved=$CFLAGS
6624CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006625cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006626/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006627int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006628_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006629if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006630 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=yes
6631else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006632 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini=no
Alexandre Julliarda3097622007-07-02 17:27:48 +02006633fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006634rm -f core conftest.err conftest.$ac_objext \
6635 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006636CFLAGS=$ac_wine_try_cflags_saved
6637fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006638{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006639$as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006640if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006641 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6642fi
6643
Alexandre Julliarda3097622007-07-02 17:27:48 +02006644 echo '{ global: *; };' >conftest.map
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006646$as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006647if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006648 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006649else
6650 ac_wine_try_cflags_saved=$CFLAGS
6651CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006652cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006653/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006654int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006655_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006656if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006657 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
6658else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006659 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
Alexandre Julliarda3097622007-07-02 17:27:48 +02006660fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006661rm -f core conftest.err conftest.$ac_objext \
6662 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006663CFLAGS=$ac_wine_try_cflags_saved
6664fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006665{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006666$as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006667if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006668 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6669fi
Alexandre Julliarda3097622007-07-02 17:27:48 +02006670 rm -f conftest.map
6671
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006673$as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006674if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006675 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006676else
6677 ac_wine_try_cflags_saved=$CFLAGS
6678CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006679cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006680/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006681int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006682_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006683if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006684 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
6685else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006686 ac_cv_cflags__fPIC__Wl___export_dynamic=no
Alexandre Julliarda3097622007-07-02 17:27:48 +02006687fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006688rm -f core conftest.err conftest.$ac_objext \
6689 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006690CFLAGS=$ac_wine_try_cflags_saved
6691fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006692{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006693$as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006694if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006695 LDEXECFLAGS="-Wl,--export-dynamic"
6696
6697fi
6698
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006699 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6700{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006701$as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006702if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006703 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006704else
6705 ac_wine_try_cflags_saved=$CFLAGS
6706CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006708/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006709int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006710_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006711if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006712 eval "$as_ac_var=yes"
6713else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006714 eval "$as_ac_var=no"
Alexandre Julliarda3097622007-07-02 17:27:48 +02006715fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006716rm -f core conftest.err conftest.$ac_objext \
6717 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006718CFLAGS=$ac_wine_try_cflags_saved
6719fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006720eval ac_res=\$$as_ac_var
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006722$as_echo "$ac_res" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006723if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006724 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6725 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6726else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006727 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6728{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006729$as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006730if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006731 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006732else
6733 ac_wine_try_cflags_saved=$CFLAGS
6734CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006735cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006736/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006737int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006738_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006739if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006740 eval "$as_ac_var=yes"
6741else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006742 eval "$as_ac_var=no"
Alexandre Julliarda3097622007-07-02 17:27:48 +02006743fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006744rm -f core conftest.err conftest.$ac_objext \
6745 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006746CFLAGS=$ac_wine_try_cflags_saved
6747fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006748eval ac_res=\$$as_ac_var
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006750$as_echo "$ac_res" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006751if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006752 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6753 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6754fi
Alexandre Julliarda3097622007-07-02 17:27:48 +02006755fi
6756
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006758$as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006759if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006760 $as_echo_n "(cached) " >&6
Tomas Carneckyf4077ae2007-07-30 22:38:55 +02006761else
6762 ac_wine_try_cflags_saved=$CFLAGS
6763CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006764cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Tomas Carneckyf4077ae2007-07-30 22:38:55 +02006765/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006766int main(int argc, char **argv) { return 0; }
Tomas Carneckyf4077ae2007-07-30 22:38:55 +02006767_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006768if ac_fn_c_try_link "$LINENO"; then :
Tomas Carneckyf4077ae2007-07-30 22:38:55 +02006769 ac_cv_cflags__Wl___enable_new_dtags=yes
6770else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006771 ac_cv_cflags__Wl___enable_new_dtags=no
Tomas Carneckyf4077ae2007-07-30 22:38:55 +02006772fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006773rm -f core conftest.err conftest.$ac_objext \
6774 conftest$ac_exeext conftest.$ac_ext
Tomas Carneckyf4077ae2007-07-30 22:38:55 +02006775CFLAGS=$ac_wine_try_cflags_saved
6776fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006777{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006778$as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006779if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
Tomas Carneckyf4077ae2007-07-30 22:38:55 +02006780 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6781fi
6782
Alexandre Julliarda3097622007-07-02 17:27:48 +02006783 case $host_cpu in
6784 *i[3456789]86* | x86_64)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006786$as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006787if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006788 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006789else
6790 ac_wine_try_cflags_saved=$CFLAGS
6791CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006792cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006793/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +01006794int main(int argc, char **argv) { return 0; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006795_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006796if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006797 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=yes
6798else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006799 ac_cv_cflags__Wl___section_start__interp_0x7bf00400=no
Alexandre Julliarda3097622007-07-02 17:27:48 +02006800fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006801rm -f core conftest.err conftest.$ac_objext \
6802 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006803CFLAGS=$ac_wine_try_cflags_saved
6804fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006805{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006806$as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006807if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006808 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6809fi
Alexandre Julliarda3097622007-07-02 17:27:48 +02006810 ;;
6811 esac
6812
6813 else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006815$as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006816if test "${ac_cv_c_dll_unixware+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006817 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006818else
6819 ac_wine_try_cflags_saved=$CFLAGS
6820CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006821cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6822/* end confdefs.h. */
Alexandre Julliarda3097622007-07-02 17:27:48 +02006823void myfunc() {}
6824_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006825if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006826 ac_cv_c_dll_unixware="yes"
6827else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006828 ac_cv_c_dll_unixware="no"
Alexandre Julliarda3097622007-07-02 17:27:48 +02006829fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006830rm -f core conftest.err conftest.$ac_objext \
6831 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006832CFLAGS=$ac_wine_try_cflags_saved
6833fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006834{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006835$as_echo "$ac_cv_c_dll_unixware" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006836 if test "$ac_cv_c_dll_unixware" = "yes"
6837 then
6838 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6839 LDDLLFLAGS="-Wl,-G,-B,symbolic"
6840
6841 else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006843$as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006844if test "${ac_cv_c_dll_hpux+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006845 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006846else
6847 ac_wine_try_cflags_saved=$CFLAGS
6848CFLAGS="$CFLAGS -shared"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6850/* end confdefs.h. */
Alexandre Julliarda3097622007-07-02 17:27:48 +02006851void myfunc() {}
6852_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006853if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda3097622007-07-02 17:27:48 +02006854 ac_cv_c_dll_hpux="yes"
6855else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006856 ac_cv_c_dll_hpux="no"
Alexandre Julliarda3097622007-07-02 17:27:48 +02006857fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006858rm -f core conftest.err conftest.$ac_objext \
6859 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda3097622007-07-02 17:27:48 +02006860CFLAGS=$ac_wine_try_cflags_saved
6861fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006862{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006863$as_echo "$ac_cv_c_dll_hpux" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006864 if test "$ac_cv_c_dll_hpux" = "yes"
6865 then
6866 LIBEXT="sl"
6867 DLLEXT=".sl"
6868 LDDLLFLAGS="-shared -fPIC"
6869 LDSHARED="\$(CC) -shared"
6870 fi
6871 fi
6872 fi
Alexandre Julliard9fb81982008-10-11 21:19:53 +02006873 ;;
6874esac
Alexandre Julliarda3097622007-07-02 17:27:48 +02006875
Alexandre Julliard9fb81982008-10-11 21:19:53 +02006876enable_winequartz_drv=${enable_winequartz_drv:-no}
Alexandre Julliarda3097622007-07-02 17:27:48 +02006877
Alexandre Julliard9fb81982008-10-11 21:19:53 +02006878if test "$LIBEXT" = "a"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006879 as_fn_error "could not find a way to build shared libraries.
Alexandre Julliard9fb81982008-10-11 21:19:53 +02006880It is currently not possible to build Wine without shared library
6881(.so) support to allow transparent switch between .so and .dll files.
6882If you are using Linux, you will need a newer binutils.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006883" "$LINENO" 5
Alexandre Julliard9fb81982008-10-11 21:19:53 +02006884fi
6885
6886if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
6887then
Alexandre Julliarda91fb212009-12-07 15:36:09 +01006888 case "$host_cpu" in
6889 i[3456789]86*)
6890 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 " ;;
6891 x86_64)
6892 ac_prefix_list="x86_64-pc-mingw32-gcc x86_64-w64-mingw32-gcc " ;;
6893 *)
6894 ac_prefix_list="" ;;
6895esac
6896for ac_prog in $ac_prefix_list
Alexandre Julliarda3097622007-07-02 17:27:48 +02006897do
6898 # Extract the first word of "$ac_prog", so it can be a program name with args.
6899set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006900{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006901$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006902if test "${ac_cv_prog_CROSSCC+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01006903 $as_echo_n "(cached) " >&6
Alexandre Julliarda3097622007-07-02 17:27:48 +02006904else
6905 if test -n "$CROSSCC"; then
6906 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
6907else
6908as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909for as_dir in $PATH
6910do
6911 IFS=$as_save_IFS
6912 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006913 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarda3097622007-07-02 17:27:48 +02006914 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6915 ac_cv_prog_CROSSCC="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarda3097622007-07-02 17:27:48 +02006917 break 2
6918 fi
6919done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006920 done
Alexandre Julliarda3097622007-07-02 17:27:48 +02006921IFS=$as_save_IFS
6922
6923fi
6924fi
6925CROSSCC=$ac_cv_prog_CROSSCC
6926if test -n "$CROSSCC"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006928$as_echo "$CROSSCC" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006929else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01006931$as_echo "no" >&6; }
Alexandre Julliarda3097622007-07-02 17:27:48 +02006932fi
6933
6934
6935 test -n "$CROSSCC" && break
6936done
6937test -n "$CROSSCC" || CROSSCC="false"
6938
Alexandre Julliard9fb81982008-10-11 21:19:53 +02006939 if test "$CROSSCC" != "false"
6940 then
6941 CROSSTEST="\$(CROSSTEST)"
6942
Alexandre Julliard72a95ff2009-06-22 14:50:51 +02006943 set x $CROSSCC
6944 shift
6945 target=""
6946 while test $# -ge 1
6947 do
6948 case "$1" in
6949 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
6950 esac
6951 shift
6952 done
6953 if test -n "$target"
6954 then
Alexandre Julliard1f254212010-01-23 20:26:49 +01006955 CROSSTARGET="$target"
Alexandre Julliarda2d88ab2009-05-30 17:08:06 +02006956
Alexandre Julliard72a95ff2009-06-22 14:50:51 +02006957 fi
Alexandre Julliarda3097622007-07-02 17:27:48 +02006958 fi
Alexandre Julliarda3097622007-07-02 17:27:48 +02006959fi
6960
6961
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006962if test "$ac_cv_header_pthread_h" = "yes"
6963then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006965$as_echo_n "checking for pthread_create in -lpthread... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006966if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006967 $as_echo_n "(cached) " >&6
6968else
6969 ac_check_lib_save_LIBS=$LIBS
6970LIBS="-lpthread $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006971cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006972/* end confdefs.h. */
6973
6974/* Override any GCC internal prototype to avoid an error.
6975 Use char because int might match the return type of a GCC
6976 builtin and then its argument prototype would still apply. */
6977#ifdef __cplusplus
6978extern "C"
6979#endif
6980char pthread_create ();
6981int
6982main ()
6983{
6984return pthread_create ();
6985 ;
6986 return 0;
6987}
6988_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006989if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006990 ac_cv_lib_pthread_pthread_create=yes
6991else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006992 ac_cv_lib_pthread_pthread_create=no
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006993fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006994rm -f core conftest.err conftest.$ac_objext \
6995 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006996LIBS=$ac_check_lib_save_LIBS
6997fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02006998{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01006999$as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007000if test "x$ac_cv_lib_pthread_pthread_create" = x""yes; then :
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01007001 LIBPTHREAD="-lpthread"
7002
7003fi
7004
7005fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007006if test "x$LIBPTHREAD" = "x"; then :
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01007007 case "x$with_pthread" in
7008 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007009 *) as_fn_error "pthread ${notice_platform}development files not found.
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01007010Wine cannot support threads without libpthread.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007011Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
Alexandre Julliardc891f6b2009-02-11 20:41:50 +01007012esac
7013fi
7014
7015
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007016{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007017$as_echo_n "checking for X... " >&6; }
7018
7019
7020# Check whether --with-x was given.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007021if test "${with_x+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007022 withval=$with_x;
7023fi
7024
7025# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7026if test "x$with_x" = xno; then
7027 # The user explicitly disabled X.
7028 have_x=disabled
7029else
7030 case $x_includes,$x_libraries in #(
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007031 *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #(
7032 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007033 $as_echo_n "(cached) " >&6
7034else
7035 # One or both of the vars are not set, and there is no cached value.
7036ac_x_includes=no ac_x_libraries=no
7037rm -f -r conftest.dir
7038if mkdir conftest.dir; then
7039 cd conftest.dir
7040 cat >Imakefile <<'_ACEOF'
7041incroot:
7042 @echo incroot='${INCROOT}'
7043usrlibdir:
7044 @echo usrlibdir='${USRLIBDIR}'
7045libdir:
7046 @echo libdir='${LIBDIR}'
7047_ACEOF
7048 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
7049 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7050 for ac_var in incroot usrlibdir libdir; do
7051 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7052 done
7053 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7054 for ac_extension in a so sl dylib la dll; do
7055 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7056 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7057 ac_im_usrlibdir=$ac_im_libdir; break
7058 fi
7059 done
7060 # Screen out bogus values from the imake configuration. They are
7061 # bogus both because they are the default anyway, and because
7062 # using them would break gcc on systems where it needs fixed includes.
7063 case $ac_im_incroot in
7064 /usr/include) ac_x_includes= ;;
7065 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
7066 esac
7067 case $ac_im_usrlibdir in
7068 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
7069 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
7070 esac
7071 fi
7072 cd ..
7073 rm -f -r conftest.dir
7074fi
7075
7076# Standard set of common directories for X headers.
7077# Check X11 before X11Rn because it is often a symlink to the current release.
7078ac_x_header_dirs='
7079/usr/X11/include
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007080/usr/X11R7/include
Alexandre Julliard40664c02009-02-11 20:40:58 +01007081/usr/X11R6/include
7082/usr/X11R5/include
7083/usr/X11R4/include
7084
7085/usr/include/X11
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007086/usr/include/X11R7
Alexandre Julliard40664c02009-02-11 20:40:58 +01007087/usr/include/X11R6
7088/usr/include/X11R5
7089/usr/include/X11R4
7090
7091/usr/local/X11/include
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007092/usr/local/X11R7/include
Alexandre Julliard40664c02009-02-11 20:40:58 +01007093/usr/local/X11R6/include
7094/usr/local/X11R5/include
7095/usr/local/X11R4/include
7096
7097/usr/local/include/X11
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007098/usr/local/include/X11R7
Alexandre Julliard40664c02009-02-11 20:40:58 +01007099/usr/local/include/X11R6
7100/usr/local/include/X11R5
7101/usr/local/include/X11R4
7102
7103/usr/X386/include
7104/usr/x386/include
7105/usr/XFree86/include/X11
7106
7107/usr/include
7108/usr/local/include
7109/usr/unsupported/include
7110/usr/athena/include
7111/usr/local/x11r5/include
7112/usr/lpp/Xamples/include
7113
7114/usr/openwin/include
7115/usr/openwin/share/include'
7116
7117if test "$ac_x_includes" = no; then
7118 # Guess where to find include files, by looking for Xlib.h.
7119 # First, try using that file with no special directory specified.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007121/* end confdefs.h. */
7122#include <X11/Xlib.h>
7123_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007124if ac_fn_c_try_cpp "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007125 # We can compile using X headers with no special include directory.
7126ac_x_includes=
7127else
Alexandre Julliard40664c02009-02-11 20:40:58 +01007128 for ac_dir in $ac_x_header_dirs; do
7129 if test -r "$ac_dir/X11/Xlib.h"; then
7130 ac_x_includes=$ac_dir
7131 break
7132 fi
7133done
7134fi
Alexandre Julliard40664c02009-02-11 20:40:58 +01007135rm -f conftest.err conftest.$ac_ext
7136fi # $ac_x_includes = no
7137
7138if test "$ac_x_libraries" = no; then
7139 # Check for the libraries.
7140 # See if we find them without any special options.
7141 # Don't add to $LIBS permanently.
7142 ac_save_LIBS=$LIBS
7143 LIBS="-lX11 $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007145/* end confdefs.h. */
7146#include <X11/Xlib.h>
7147int
7148main ()
7149{
7150XrmInitialize ()
7151 ;
7152 return 0;
7153}
7154_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007155if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007156 LIBS=$ac_save_LIBS
7157# We can link X programs with no special library path.
7158ac_x_libraries=
7159else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007160 LIBS=$ac_save_LIBS
Alexandre Julliard40664c02009-02-11 20:40:58 +01007161for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7162do
7163 # Don't even attempt the hair of trying to link an X program!
7164 for ac_extension in a so sl dylib la dll; do
7165 if test -r "$ac_dir/libX11.$ac_extension"; then
7166 ac_x_libraries=$ac_dir
7167 break 2
7168 fi
7169 done
7170done
7171fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007172rm -f core conftest.err conftest.$ac_objext \
7173 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007174fi # $ac_x_libraries = no
7175
7176case $ac_x_includes,$ac_x_libraries in #(
7177 no,* | *,no | *\'*)
7178 # Didn't find X, or a directory has "'" in its name.
7179 ac_cv_have_x="have_x=no";; #(
7180 *)
7181 # Record where we found X for the cache.
7182 ac_cv_have_x="have_x=yes\
7183 ac_x_includes='$ac_x_includes'\
7184 ac_x_libraries='$ac_x_libraries'"
7185esac
7186fi
7187;; #(
7188 *) have_x=yes;;
7189 esac
7190 eval "$ac_cv_have_x"
7191fi # $with_x != no
7192
7193if test "$have_x" != yes; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007195$as_echo "$have_x" >&6; }
7196 no_x=yes
7197else
7198 # If each of the values was on the command line, it overrides each guess.
7199 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
7200 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
7201 # Update the cache value to reflect the command line values.
7202 ac_cv_have_x="have_x=yes\
7203 ac_x_includes='$x_includes'\
7204 ac_x_libraries='$x_libraries'"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007206$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7207fi
7208
7209if test "$no_x" = yes; then
7210 # Not all programs may use this symbol, but it does not hurt to define it.
7211
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007212$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
Alexandre Julliard40664c02009-02-11 20:40:58 +01007213
7214 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
7215else
7216 if test -n "$x_includes"; then
7217 X_CFLAGS="$X_CFLAGS -I$x_includes"
7218 fi
7219
7220 # It would also be nice to do this for all -L options, not just this one.
7221 if test -n "$x_libraries"; then
7222 X_LIBS="$X_LIBS -L$x_libraries"
7223 # For Solaris; some versions of Sun CC require a space after -R and
7224 # others require no space. Words are not sufficient . . . .
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007226$as_echo_n "checking whether -R must be followed by a space... " >&6; }
7227 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
7228 ac_xsave_c_werror_flag=$ac_c_werror_flag
7229 ac_c_werror_flag=yes
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007231/* end confdefs.h. */
7232
7233int
7234main ()
7235{
7236
7237 ;
7238 return 0;
7239}
7240_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007241if ac_fn_c_try_link "$LINENO"; then :
7242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007243$as_echo "no" >&6; }
7244 X_LIBS="$X_LIBS -R$x_libraries"
7245else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007246 LIBS="$ac_xsave_LIBS -R $x_libraries"
7247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007248/* end confdefs.h. */
7249
7250int
7251main ()
7252{
7253
7254 ;
7255 return 0;
7256}
7257_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007258if ac_fn_c_try_link "$LINENO"; then :
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007260$as_echo "yes" >&6; }
7261 X_LIBS="$X_LIBS -R $x_libraries"
7262else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007264$as_echo "neither works" >&6; }
7265fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007266rm -f core conftest.err conftest.$ac_objext \
7267 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007268fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007269rm -f core conftest.err conftest.$ac_objext \
7270 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007271 ac_c_werror_flag=$ac_xsave_c_werror_flag
7272 LIBS=$ac_xsave_LIBS
7273 fi
7274
7275 # Check for system-dependent libraries X programs must link with.
7276 # Do this before checking for the system-independent R6 libraries
7277 # (-lICE), since we may need -lsocket or whatever for X linking.
7278
7279 if test "$ISC" = yes; then
7280 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
7281 else
7282 # Martyn Johnson says this is needed for Ultrix, if the X
7283 # libraries were built with DECnet support. And Karl Berry says
7284 # the Alpha needs dnet_stub (dnet does not exist).
7285 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007287/* end confdefs.h. */
7288
7289/* Override any GCC internal prototype to avoid an error.
7290 Use char because int might match the return type of a GCC
7291 builtin and then its argument prototype would still apply. */
7292#ifdef __cplusplus
7293extern "C"
7294#endif
7295char XOpenDisplay ();
7296int
7297main ()
7298{
7299return XOpenDisplay ();
7300 ;
7301 return 0;
7302}
7303_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007304if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007305
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007306else
7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007308$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007309if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007310 $as_echo_n "(cached) " >&6
7311else
7312 ac_check_lib_save_LIBS=$LIBS
7313LIBS="-ldnet $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007314cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007315/* end confdefs.h. */
7316
7317/* Override any GCC internal prototype to avoid an error.
7318 Use char because int might match the return type of a GCC
7319 builtin and then its argument prototype would still apply. */
7320#ifdef __cplusplus
7321extern "C"
7322#endif
7323char dnet_ntoa ();
7324int
7325main ()
7326{
7327return dnet_ntoa ();
7328 ;
7329 return 0;
7330}
7331_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007332if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007333 ac_cv_lib_dnet_dnet_ntoa=yes
7334else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007335 ac_cv_lib_dnet_dnet_ntoa=no
Alexandre Julliard40664c02009-02-11 20:40:58 +01007336fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007337rm -f core conftest.err conftest.$ac_objext \
7338 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007339LIBS=$ac_check_lib_save_LIBS
7340fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007341{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007342$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007343if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007344 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
7345fi
7346
7347 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007349$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007350if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007351 $as_echo_n "(cached) " >&6
7352else
7353 ac_check_lib_save_LIBS=$LIBS
7354LIBS="-ldnet_stub $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007355cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007356/* end confdefs.h. */
7357
7358/* Override any GCC internal prototype to avoid an error.
7359 Use char because int might match the return type of a GCC
7360 builtin and then its argument prototype would still apply. */
7361#ifdef __cplusplus
7362extern "C"
7363#endif
7364char dnet_ntoa ();
7365int
7366main ()
7367{
7368return dnet_ntoa ();
7369 ;
7370 return 0;
7371}
7372_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007373if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007374 ac_cv_lib_dnet_stub_dnet_ntoa=yes
7375else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007376 ac_cv_lib_dnet_stub_dnet_ntoa=no
Alexandre Julliard40664c02009-02-11 20:40:58 +01007377fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007378rm -f core conftest.err conftest.$ac_objext \
7379 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007380LIBS=$ac_check_lib_save_LIBS
7381fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007382{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007383$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007384if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007385 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
7386fi
7387
7388 fi
7389fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007390rm -f core conftest.err conftest.$ac_objext \
7391 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007392 LIBS="$ac_xsave_LIBS"
7393
7394 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7395 # to get the SysV transport functions.
7396 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7397 # needs -lnsl.
7398 # The nsl library prevents programs from opening the X display
7399 # on Irix 5.2, according to T.E. Dickey.
7400 # The functions gethostbyname, getservbyname, and inet_addr are
7401 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007402 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7403if test "x$ac_cv_func_gethostbyname" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007404
Alexandre Julliard40664c02009-02-11 20:40:58 +01007405fi
7406
Alexandre Julliard40664c02009-02-11 20:40:58 +01007407 if test $ac_cv_func_gethostbyname = no; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007409$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007410if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007411 $as_echo_n "(cached) " >&6
7412else
7413 ac_check_lib_save_LIBS=$LIBS
7414LIBS="-lnsl $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007415cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007416/* end confdefs.h. */
7417
7418/* Override any GCC internal prototype to avoid an error.
7419 Use char because int might match the return type of a GCC
7420 builtin and then its argument prototype would still apply. */
7421#ifdef __cplusplus
7422extern "C"
7423#endif
7424char gethostbyname ();
7425int
7426main ()
7427{
7428return gethostbyname ();
7429 ;
7430 return 0;
7431}
7432_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007433if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007434 ac_cv_lib_nsl_gethostbyname=yes
7435else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007436 ac_cv_lib_nsl_gethostbyname=no
Alexandre Julliard40664c02009-02-11 20:40:58 +01007437fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007438rm -f core conftest.err conftest.$ac_objext \
7439 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007440LIBS=$ac_check_lib_save_LIBS
7441fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007443$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007444if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007445 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7446fi
7447
7448 if test $ac_cv_lib_nsl_gethostbyname = no; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007450$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007451if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007452 $as_echo_n "(cached) " >&6
7453else
7454 ac_check_lib_save_LIBS=$LIBS
7455LIBS="-lbsd $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007456cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007457/* end confdefs.h. */
7458
7459/* Override any GCC internal prototype to avoid an error.
7460 Use char because int might match the return type of a GCC
7461 builtin and then its argument prototype would still apply. */
7462#ifdef __cplusplus
7463extern "C"
7464#endif
7465char gethostbyname ();
7466int
7467main ()
7468{
7469return gethostbyname ();
7470 ;
7471 return 0;
7472}
7473_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007474if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007475 ac_cv_lib_bsd_gethostbyname=yes
7476else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007477 ac_cv_lib_bsd_gethostbyname=no
Alexandre Julliard40664c02009-02-11 20:40:58 +01007478fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007479rm -f core conftest.err conftest.$ac_objext \
7480 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007481LIBS=$ac_check_lib_save_LIBS
7482fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007483{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007484$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007485if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007486 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
7487fi
7488
7489 fi
7490 fi
7491
7492 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7493 # socket/setsockopt and other routines are undefined under SCO ODT
7494 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7495 # on later versions), says Simon Leinen: it contains gethostby*
7496 # variants that don't use the name server (or something). -lsocket
7497 # must be given before -lnsl if both are needed. We assume that
7498 # if connect needs -lnsl, so does gethostbyname.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007499 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
7500if test "x$ac_cv_func_connect" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007501
Alexandre Julliard40664c02009-02-11 20:40:58 +01007502fi
7503
Alexandre Julliard40664c02009-02-11 20:40:58 +01007504 if test $ac_cv_func_connect = no; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007506$as_echo_n "checking for connect in -lsocket... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007507if test "${ac_cv_lib_socket_connect+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007508 $as_echo_n "(cached) " >&6
7509else
7510 ac_check_lib_save_LIBS=$LIBS
7511LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007512cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007513/* end confdefs.h. */
7514
7515/* Override any GCC internal prototype to avoid an error.
7516 Use char because int might match the return type of a GCC
7517 builtin and then its argument prototype would still apply. */
7518#ifdef __cplusplus
7519extern "C"
7520#endif
7521char connect ();
7522int
7523main ()
7524{
7525return connect ();
7526 ;
7527 return 0;
7528}
7529_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007530if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007531 ac_cv_lib_socket_connect=yes
7532else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007533 ac_cv_lib_socket_connect=no
Alexandre Julliard40664c02009-02-11 20:40:58 +01007534fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007535rm -f core conftest.err conftest.$ac_objext \
7536 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007537LIBS=$ac_check_lib_save_LIBS
7538fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007539{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007540$as_echo "$ac_cv_lib_socket_connect" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007541if test "x$ac_cv_lib_socket_connect" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007542 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
7543fi
7544
7545 fi
7546
7547 # Guillermo Gomez says -lposix is necessary on A/UX.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007548 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
7549if test "x$ac_cv_func_remove" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007550
Alexandre Julliard40664c02009-02-11 20:40:58 +01007551fi
7552
Alexandre Julliard40664c02009-02-11 20:40:58 +01007553 if test $ac_cv_func_remove = no; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007555$as_echo_n "checking for remove in -lposix... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007556if test "${ac_cv_lib_posix_remove+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007557 $as_echo_n "(cached) " >&6
7558else
7559 ac_check_lib_save_LIBS=$LIBS
7560LIBS="-lposix $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007561cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007562/* end confdefs.h. */
7563
7564/* Override any GCC internal prototype to avoid an error.
7565 Use char because int might match the return type of a GCC
7566 builtin and then its argument prototype would still apply. */
7567#ifdef __cplusplus
7568extern "C"
7569#endif
7570char remove ();
7571int
7572main ()
7573{
7574return remove ();
7575 ;
7576 return 0;
7577}
7578_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007579if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007580 ac_cv_lib_posix_remove=yes
7581else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007582 ac_cv_lib_posix_remove=no
Alexandre Julliard40664c02009-02-11 20:40:58 +01007583fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007584rm -f core conftest.err conftest.$ac_objext \
7585 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007586LIBS=$ac_check_lib_save_LIBS
7587fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007588{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007589$as_echo "$ac_cv_lib_posix_remove" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007590if test "x$ac_cv_lib_posix_remove" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007591 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
7592fi
7593
7594 fi
7595
7596 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007597 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
7598if test "x$ac_cv_func_shmat" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007599
Alexandre Julliard40664c02009-02-11 20:40:58 +01007600fi
7601
Alexandre Julliard40664c02009-02-11 20:40:58 +01007602 if test $ac_cv_func_shmat = no; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007604$as_echo_n "checking for shmat in -lipc... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007605if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007606 $as_echo_n "(cached) " >&6
7607else
7608 ac_check_lib_save_LIBS=$LIBS
7609LIBS="-lipc $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007610cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007611/* end confdefs.h. */
7612
7613/* Override any GCC internal prototype to avoid an error.
7614 Use char because int might match the return type of a GCC
7615 builtin and then its argument prototype would still apply. */
7616#ifdef __cplusplus
7617extern "C"
7618#endif
7619char shmat ();
7620int
7621main ()
7622{
7623return shmat ();
7624 ;
7625 return 0;
7626}
7627_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007628if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007629 ac_cv_lib_ipc_shmat=yes
7630else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007631 ac_cv_lib_ipc_shmat=no
Alexandre Julliard40664c02009-02-11 20:40:58 +01007632fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007633rm -f core conftest.err conftest.$ac_objext \
7634 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007635LIBS=$ac_check_lib_save_LIBS
7636fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007638$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007639if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007640 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
7641fi
7642
7643 fi
7644 fi
7645
7646 # Check for libraries that X11R6 Xt/Xaw programs need.
7647 ac_save_LDFLAGS=$LDFLAGS
7648 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
7649 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7650 # check for ICE first), but we must link in the order -lSM -lICE or
7651 # we get undefined symbols. So assume we have SM if we have ICE.
7652 # These have to be linked with before -lX11, unlike the other
7653 # libraries we check for below, so use a different variable.
7654 # John Interrante, Karl Berry
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007656$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007657if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007658 $as_echo_n "(cached) " >&6
7659else
7660 ac_check_lib_save_LIBS=$LIBS
7661LIBS="-lICE $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007662cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007663/* end confdefs.h. */
7664
7665/* Override any GCC internal prototype to avoid an error.
7666 Use char because int might match the return type of a GCC
7667 builtin and then its argument prototype would still apply. */
7668#ifdef __cplusplus
7669extern "C"
7670#endif
7671char IceConnectionNumber ();
7672int
7673main ()
7674{
7675return IceConnectionNumber ();
7676 ;
7677 return 0;
7678}
7679_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007680if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007681 ac_cv_lib_ICE_IceConnectionNumber=yes
7682else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007683 ac_cv_lib_ICE_IceConnectionNumber=no
Alexandre Julliard40664c02009-02-11 20:40:58 +01007684fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007685rm -f core conftest.err conftest.$ac_objext \
7686 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard40664c02009-02-11 20:40:58 +01007687LIBS=$ac_check_lib_save_LIBS
7688fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
Alexandre Julliard40664c02009-02-11 20:40:58 +01007690$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007691if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
Alexandre Julliard40664c02009-02-11 20:40:58 +01007692 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7693fi
7694
7695 LDFLAGS=$ac_save_LDFLAGS
7696
7697fi
7698
7699
Rein Klazes7ff12562004-11-09 20:16:35 +00007700if test "$have_x" = "yes"
7701then
Alexandre Julliardfd03c502009-08-17 15:11:08 +02007702 XLIB="-lX11"
Rein Klazes7ff12562004-11-09 20:16:35 +00007703 ac_save_CPPFLAGS="$CPPFLAGS"
7704 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7705
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007707$as_echo_n "checking for -lX11... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007708if test "${ac_cv_lib_soname_X11+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01007709 $as_echo_n "(cached) " >&6
Alexandre Julliarda8518542007-07-09 22:43:45 +02007710else
7711 ac_check_soname_save_LIBS=$LIBS
7712LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda8518542007-07-09 22:43:45 +02007714/* end confdefs.h. */
7715
7716/* Override any GCC internal prototype to avoid an error.
7717 Use char because int might match the return type of a GCC
7718 builtin and then its argument prototype would still apply. */
7719#ifdef __cplusplus
7720extern "C"
7721#endif
7722char XCreateWindow ();
7723int
7724main ()
7725{
7726return XCreateWindow ();
7727 ;
7728 return 0;
7729}
7730_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007731if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda8518542007-07-09 22:43:45 +02007732 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01007733 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliarda8518542007-07-09 22:43:45 +02007734 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'` ;;
7735 *) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7736 esac
Alexandre Julliarda8518542007-07-09 22:43:45 +02007737fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007738rm -f core conftest.err conftest.$ac_objext \
7739 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda8518542007-07-09 22:43:45 +02007740 LIBS=$ac_check_soname_save_LIBS
7741fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007742if test "x$ac_cv_lib_soname_X11" = "x"; then :
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007744$as_echo "not found" >&6; }
Alexandre Julliarda8518542007-07-09 22:43:45 +02007745
7746else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007748$as_echo "$ac_cv_lib_soname_X11" >&6; }
Alexandre Julliarda8518542007-07-09 22:43:45 +02007749
7750cat >>confdefs.h <<_ACEOF
7751#define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7752_ACEOF
7753
7754
7755fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007757$as_echo_n "checking for -lXext... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007758if test "${ac_cv_lib_soname_Xext+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01007759 $as_echo_n "(cached) " >&6
Alexandre Julliarda8518542007-07-09 22:43:45 +02007760else
7761 ac_check_soname_save_LIBS=$LIBS
7762LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarda8518542007-07-09 22:43:45 +02007764/* end confdefs.h. */
7765
7766/* Override any GCC internal prototype to avoid an error.
7767 Use char because int might match the return type of a GCC
7768 builtin and then its argument prototype would still apply. */
7769#ifdef __cplusplus
7770extern "C"
7771#endif
7772char XextCreateExtension ();
7773int
7774main ()
7775{
7776return XextCreateExtension ();
7777 ;
7778 return 0;
7779}
7780_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007781if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarda8518542007-07-09 22:43:45 +02007782 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01007783 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliarda8518542007-07-09 22:43:45 +02007784 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'` ;;
7785 *) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7786 esac
Alexandre Julliarda8518542007-07-09 22:43:45 +02007787fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007788rm -f core conftest.err conftest.$ac_objext \
7789 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarda8518542007-07-09 22:43:45 +02007790 LIBS=$ac_check_soname_save_LIBS
7791fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007792if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007794$as_echo "not found" >&6; }
Alexandre Julliarda8518542007-07-09 22:43:45 +02007795
7796else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007798$as_echo "$ac_cv_lib_soname_Xext" >&6; }
Alexandre Julliarda8518542007-07-09 22:43:45 +02007799
7800cat >>confdefs.h <<_ACEOF
7801#define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7802_ACEOF
7803
Alexandre Julliardfd03c502009-08-17 15:11:08 +02007804 XLIB="-lXext $XLIB"
Alexandre Julliarda8518542007-07-09 22:43:45 +02007805fi
7806
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007807 for ac_header in X11/Xlib.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00007808 X11/XKBlib.h \
7809 X11/Xutil.h \
Andrew Riedi23e2cb12007-03-22 12:06:19 -07007810 X11/Xcursor/Xcursor.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00007811 X11/extensions/shape.h \
7812 X11/extensions/XInput.h \
7813 X11/extensions/XShm.h \
Chris Robinson42584652007-09-22 18:19:08 -07007814 X11/extensions/Xcomposite.h \
Alexandre Julliard7d00b052006-10-23 13:46:34 +02007815 X11/extensions/Xinerama.h \
Alexandre Julliard73482142005-08-03 19:21:04 +00007816 X11/extensions/Xrandr.h \
7817 X11/extensions/Xrender.h \
André Hentschel7b285a42009-09-19 19:08:09 +02007818 X11/extensions/xf86vmode.h \
7819 X11/extensions/xf86vmproto.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007820do :
7821 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7822ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
Alexandre Julliard73482142005-08-03 19:21:04 +00007823# include <X11/Xlib.h>
7824#endif
7825#ifdef HAVE_X11_XUTIL_H
7826# include <X11/Xutil.h>
7827#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007828"
7829eval as_val=\$$as_ac_Header
7830 if test "x$as_val" = x""yes; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +00007831 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01007832#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +00007833_ACEOF
Alexandre Julliard255b4862003-10-15 04:09:55 +00007834
7835fi
7836
7837done
7838
7839
7840 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7841 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007843$as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007844if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01007845 $as_echo_n "(cached) " >&6
Patrik Stridvall24110281999-02-04 10:09:54 +00007846else
Alexandre Julliardf5818d22002-02-14 19:47:29 +00007847 ac_check_lib_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02007848LIBS="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007849cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00007850/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00007851
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02007852/* Override any GCC internal prototype to avoid an error.
7853 Use char because int might match the return type of a GCC
7854 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00007855#ifdef __cplusplus
7856extern "C"
7857#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00007858char XkbQueryExtension ();
7859int
7860main ()
7861{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02007862return XkbQueryExtension ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00007863 ;
7864 return 0;
7865}
7866_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007867if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +00007868 ac_cv_lib_X11_XkbQueryExtension=yes
Patrik Stridvall24110281999-02-04 10:09:54 +00007869else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007870 ac_cv_lib_X11_XkbQueryExtension=no
Patrik Stridvall24110281999-02-04 10:09:54 +00007871fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007872rm -f core conftest.err conftest.$ac_objext \
7873 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00007874LIBS=$ac_check_lib_save_LIBS
7875fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007877$as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007878if test "x$ac_cv_lib_X11_XkbQueryExtension" = x""yes; then :
Patrik Stridvall24110281999-02-04 10:09:54 +00007879
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007880$as_echo "#define HAVE_XKB 1" >>confdefs.h
Patrik Stridvall24110281999-02-04 10:09:54 +00007881
Patrik Stridvall24110281999-02-04 10:09:54 +00007882fi
7883
Alexandre Julliard255b4862003-10-15 04:09:55 +00007884 fi
Alexandre Julliarddaa28862002-04-11 21:54:01 +00007885
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007886 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
7887 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007889$as_echo_n "checking for -lXcursor... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007890if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01007891 $as_echo_n "(cached) " >&6
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007892else
7893 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02007894LIBS="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007896/* end confdefs.h. */
7897
7898/* Override any GCC internal prototype to avoid an error.
7899 Use char because int might match the return type of a GCC
7900 builtin and then its argument prototype would still apply. */
7901#ifdef __cplusplus
7902extern "C"
7903#endif
7904char XcursorImageLoadCursor ();
7905int
7906main ()
7907{
7908return XcursorImageLoadCursor ();
7909 ;
7910 return 0;
7911}
7912_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007913if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007914 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01007915 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007916 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'` ;;
7917 *) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7918 esac
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007919fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007920rm -f core conftest.err conftest.$ac_objext \
7921 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007922 LIBS=$ac_check_soname_save_LIBS
7923fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007924if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007926$as_echo "not found" >&6; }
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007927
7928else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007930$as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007931
7932cat >>confdefs.h <<_ACEOF
7933#define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
7934_ACEOF
7935
7936
7937fi
Alexandre Julliard19a988a2007-07-09 22:42:28 +02007938 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007939 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01007940 case "x$with_xcursor" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01007941 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01007942 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007943 *) as_fn_error "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
7944This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01007945esac
7946fi
7947
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007948 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
7949 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007951$as_echo_n "checking for -lXi... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007952if test "${ac_cv_lib_soname_Xi+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01007953 $as_echo_n "(cached) " >&6
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007954else
7955 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02007956LIBS="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007958/* end confdefs.h. */
7959
7960/* Override any GCC internal prototype to avoid an error.
7961 Use char because int might match the return type of a GCC
7962 builtin and then its argument prototype would still apply. */
7963#ifdef __cplusplus
7964extern "C"
7965#endif
7966char XOpenDevice ();
7967int
7968main ()
7969{
7970return XOpenDevice ();
7971 ;
7972 return 0;
7973}
7974_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007975if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007976 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01007977 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007978 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'` ;;
7979 *) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7980 esac
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007981fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007982rm -f core conftest.err conftest.$ac_objext \
7983 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007984 LIBS=$ac_check_soname_save_LIBS
7985fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007986if test "x$ac_cv_lib_soname_Xi" = "x"; then :
7987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007988$as_echo "not found" >&6; }
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007989
7990else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02007991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01007992$as_echo "$ac_cv_lib_soname_Xi" >&6; }
Alexandre Julliardd68d4332007-07-09 22:42:49 +02007993
7994cat >>confdefs.h <<_ACEOF
7995#define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
7996_ACEOF
7997
7998
7999fi
Alexandre Julliardd68d4332007-07-09 22:42:49 +02008000 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008001 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008002 case "x$with_xinput" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008003 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008004 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008005 *) as_fn_error "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8006This is an error since --with-xinput was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008007esac
8008fi
8009
Alexandre Julliard255b4862003-10-15 04:09:55 +00008010 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8011 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008013$as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008014if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008015 $as_echo_n "(cached) " >&6
Francois Jacques5b6879c2000-07-28 23:04:54 +00008016else
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008017 ac_check_lib_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008018LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008019cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00008020/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008021
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008022/* Override any GCC internal prototype to avoid an error.
8023 Use char because int might match the return type of a GCC
8024 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008025#ifdef __cplusplus
8026extern "C"
8027#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008028char XShmQueryExtension ();
8029int
8030main ()
8031{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008032return XShmQueryExtension ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008033 ;
8034 return 0;
8035}
8036_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008037if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008038 ac_cv_lib_Xext_XShmQueryExtension=yes
Francois Jacques5b6879c2000-07-28 23:04:54 +00008039else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008040 ac_cv_lib_Xext_XShmQueryExtension=no
Francois Jacques5b6879c2000-07-28 23:04:54 +00008041fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008042rm -f core conftest.err conftest.$ac_objext \
8043 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008044LIBS=$ac_check_lib_save_LIBS
8045fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008046{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008047$as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008048if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x""yes; then :
Francois Jacques5b6879c2000-07-28 23:04:54 +00008049
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008050$as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
Francois Jacques5b6879c2000-07-28 23:04:54 +00008051
Francois Jacques5b6879c2000-07-28 23:04:54 +00008052fi
8053
Alexandre Julliard255b4862003-10-15 04:09:55 +00008054 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008055 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008056 case "x$with_xshm" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008057 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008058 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008059 *) as_fn_error "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8060This is an error since --with-xshm was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008061esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008062fi
8063
Alexandre Julliard255b4862003-10-15 04:09:55 +00008064 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8065 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008067$as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008068if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008069 $as_echo_n "(cached) " >&6
Ove Kaavenc90fb252001-01-02 22:39:14 +00008070else
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008071 ac_check_lib_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008072LIBS="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008073cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00008074/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008075
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008076/* Override any GCC internal prototype to avoid an error.
8077 Use char because int might match the return type of a GCC
8078 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008079#ifdef __cplusplus
8080extern "C"
8081#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008082char XShapeQueryExtension ();
8083int
8084main ()
8085{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008086return XShapeQueryExtension ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008087 ;
8088 return 0;
8089}
8090_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008091if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008092 ac_cv_lib_Xext_XShapeQueryExtension=yes
Ove Kaavenc90fb252001-01-02 22:39:14 +00008093else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008094 ac_cv_lib_Xext_XShapeQueryExtension=no
Ove Kaavenc90fb252001-01-02 22:39:14 +00008095fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008096rm -f core conftest.err conftest.$ac_objext \
8097 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008098LIBS=$ac_check_lib_save_LIBS
8099fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008100{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008101$as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008102if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x""yes; then :
Ove Kaavenc90fb252001-01-02 22:39:14 +00008103
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008104$as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
Ove Kaavenc90fb252001-01-02 22:39:14 +00008105
Ove Kaavenc90fb252001-01-02 22:39:14 +00008106fi
8107
Alexandre Julliard255b4862003-10-15 04:09:55 +00008108 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008109 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008110 case "x$with_xshape" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008111 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008112 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008113 *) as_fn_error "XShape ${notice_platform}development files not found, XShape won't be supported.
8114This is an error since --with-xshape was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008115esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008116fi
8117
André Hentschel7b285a42009-09-19 19:08:09 +02008118 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
Alexandre Julliard255b4862003-10-15 04:09:55 +00008119 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008121$as_echo_n "checking for -lXxf86vm... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008122if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008123 $as_echo_n "(cached) " >&6
Patrik Stridvall24110281999-02-04 10:09:54 +00008124else
Francois Gougeta49beb42008-06-26 14:02:17 +02008125 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008126LIBS="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00008128/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008129
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008130/* Override any GCC internal prototype to avoid an error.
8131 Use char because int might match the return type of a GCC
8132 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008133#ifdef __cplusplus
8134extern "C"
8135#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008136char XF86VidModeQueryExtension ();
8137int
8138main ()
8139{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008140return XF86VidModeQueryExtension ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008141 ;
8142 return 0;
8143}
8144_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008145if ac_fn_c_try_link "$LINENO"; then :
Francois Gougeta49beb42008-06-26 14:02:17 +02008146 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01008147 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Francois Gougeta49beb42008-06-26 14:02:17 +02008148 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'` ;;
8149 *) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8150 esac
Patrik Stridvall24110281999-02-04 10:09:54 +00008151fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008152rm -f core conftest.err conftest.$ac_objext \
8153 conftest$ac_exeext conftest.$ac_ext
Francois Gougeta49beb42008-06-26 14:02:17 +02008154 LIBS=$ac_check_soname_save_LIBS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008155fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008156if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008158$as_echo "not found" >&6; }
Patrik Stridvall24110281999-02-04 10:09:54 +00008159
Francois Gougeta49beb42008-06-26 14:02:17 +02008160else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008162$as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
Francois Gougeta49beb42008-06-26 14:02:17 +02008163
8164cat >>confdefs.h <<_ACEOF
8165#define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
Alexandre Julliarddaa28862002-04-11 21:54:01 +00008166_ACEOF
John R. Sheetsf2b77cc2000-05-23 21:18:51 +00008167
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008168
Patrik Stridvall24110281999-02-04 10:09:54 +00008169fi
Alexandre Julliard255b4862003-10-15 04:09:55 +00008170 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008171 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
Francois Gougeta49beb42008-06-26 14:02:17 +02008172 case "x$with_xxf86vm" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008173 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008174 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008175 *) as_fn_error "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8176This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008177esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008178fi
8179
Alexandre Julliarda8518542007-07-09 22:43:45 +02008180 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"
Alexandre Julliard629639e2007-07-04 12:47:57 +02008181 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008183$as_echo_n "checking for -lXrender... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008184if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008185 $as_echo_n "(cached) " >&6
Alexandre Julliard629639e2007-07-04 12:47:57 +02008186else
8187 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008188LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard629639e2007-07-04 12:47:57 +02008190/* end confdefs.h. */
8191
8192/* Override any GCC internal prototype to avoid an error.
8193 Use char because int might match the return type of a GCC
8194 builtin and then its argument prototype would still apply. */
8195#ifdef __cplusplus
8196extern "C"
8197#endif
8198char XRenderQueryExtension ();
8199int
8200main ()
8201{
8202return XRenderQueryExtension ();
8203 ;
8204 return 0;
8205}
8206_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008207if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard629639e2007-07-04 12:47:57 +02008208 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01008209 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard629639e2007-07-04 12:47:57 +02008210 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'` ;;
8211 *) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8212 esac
Alexandre Julliard629639e2007-07-04 12:47:57 +02008213fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008214rm -f core conftest.err conftest.$ac_objext \
8215 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard629639e2007-07-04 12:47:57 +02008216 LIBS=$ac_check_soname_save_LIBS
8217fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008218if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008220$as_echo "not found" >&6; }
Alexandre Julliard629639e2007-07-04 12:47:57 +02008221
8222else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008224$as_echo "$ac_cv_lib_soname_Xrender" >&6; }
Alexandre Julliard629639e2007-07-04 12:47:57 +02008225
8226cat >>confdefs.h <<_ACEOF
8227#define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8228_ACEOF
8229
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008231$as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008232if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008233 $as_echo_n "(cached) " >&6
Alexandre Julliard629639e2007-07-04 12:47:57 +02008234else
8235 ac_check_lib_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008236LIBS="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008237cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard629639e2007-07-04 12:47:57 +02008238/* end confdefs.h. */
8239
8240/* Override any GCC internal prototype to avoid an error.
8241 Use char because int might match the return type of a GCC
8242 builtin and then its argument prototype would still apply. */
8243#ifdef __cplusplus
8244extern "C"
8245#endif
8246char XRenderSetPictureTransform ();
8247int
8248main ()
8249{
8250return XRenderSetPictureTransform ();
8251 ;
8252 return 0;
8253}
8254_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008255if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard629639e2007-07-04 12:47:57 +02008256 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8257else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008258 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
Alexandre Julliard629639e2007-07-04 12:47:57 +02008259fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008260rm -f core conftest.err conftest.$ac_objext \
8261 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard629639e2007-07-04 12:47:57 +02008262LIBS=$ac_check_lib_save_LIBS
8263fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008264{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008265$as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008266if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x""yes; then :
Alexandre Julliard629639e2007-07-04 12:47:57 +02008267
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008268$as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
Alexandre Julliard629639e2007-07-04 12:47:57 +02008269
8270fi
8271
8272fi
8273
Alexandre Julliard629639e2007-07-04 12:47:57 +02008274 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008275 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008276 case "x$with_xrender" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008277 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008278 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008279 *) as_fn_error "libxrender ${notice_platform}development files not found, XRender won't be supported.
8280This is an error since --with-xrender was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008281esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008282fi
8283
Alexandre Julliard629639e2007-07-04 12:47:57 +02008284 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
Alexandre Julliard255b4862003-10-15 04:09:55 +00008285 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alex Pasadyn8f174bc2003-10-15 03:28:04 +00008287/* end confdefs.h. */
Mike McCormackc7c9f932004-04-07 03:57:35 +00008288#include <X11/Xlib.h>
8289#include <X11/extensions/Xrandr.h>
Alex Pasadyn8f174bc2003-10-15 03:28:04 +00008290int
8291main ()
8292{
Mike McCormackc7c9f932004-04-07 03:57:35 +00008293static typeof(XRRSetScreenConfigAndRate) * func;
Alex Pasadyn8f174bc2003-10-15 03:28:04 +00008294 ;
8295 return 0;
8296}
8297_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008298if ac_fn_c_try_compile "$LINENO"; then :
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008300$as_echo_n "checking for -lXrandr... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008301if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008302 $as_echo_n "(cached) " >&6
Alexandre Julliardaf928ec2007-07-04 12:45:03 +02008303else
8304 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008305LIBS="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardaf928ec2007-07-04 12:45:03 +02008307/* end confdefs.h. */
8308
8309/* Override any GCC internal prototype to avoid an error.
8310 Use char because int might match the return type of a GCC
8311 builtin and then its argument prototype would still apply. */
8312#ifdef __cplusplus
8313extern "C"
8314#endif
8315char XRRQueryExtension ();
8316int
8317main ()
8318{
8319return XRRQueryExtension ();
8320 ;
8321 return 0;
8322}
8323_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008324if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardaf928ec2007-07-04 12:45:03 +02008325 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01008326 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardaf928ec2007-07-04 12:45:03 +02008327 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'` ;;
8328 *) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8329 esac
Alexandre Julliardaf928ec2007-07-04 12:45:03 +02008330fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008331rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardaf928ec2007-07-04 12:45:03 +02008333 LIBS=$ac_check_soname_save_LIBS
8334fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008335if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008337$as_echo "not found" >&6; }
Alexandre Julliardaf928ec2007-07-04 12:45:03 +02008338
8339else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008341$as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
Alexandre Julliardaf928ec2007-07-04 12:45:03 +02008342
8343cat >>confdefs.h <<_ACEOF
8344#define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8345_ACEOF
8346
8347
8348fi
Alex Pasadyn8f174bc2003-10-15 03:28:04 +00008349fi
Jeremy White0ebeb532006-06-20 13:18:41 +02008350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliard255b4862003-10-15 04:09:55 +00008351 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008352 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008353 case "x$with_xrandr" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008354 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008355 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008356 *) as_fn_error "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8357This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008358esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008359fi
8360
Alexandre Julliard7d00b052006-10-23 13:46:34 +02008361 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8362 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard7d00b052006-10-23 13:46:34 +02008364/* end confdefs.h. */
8365#include <X11/Xlib.h>
8366#include <X11/extensions/Xinerama.h>
8367int
8368main ()
8369{
8370static typeof(XineramaQueryScreens) * func;
8371 ;
8372 return 0;
8373}
8374_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008375if ac_fn_c_try_compile "$LINENO"; then :
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008377$as_echo_n "checking for -lXinerama... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008378if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008379 $as_echo_n "(cached) " >&6
Alexandre Julliard35d2fd72007-07-04 12:48:50 +02008380else
8381 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008382LIBS="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard35d2fd72007-07-04 12:48:50 +02008384/* end confdefs.h. */
8385
8386/* Override any GCC internal prototype to avoid an error.
8387 Use char because int might match the return type of a GCC
8388 builtin and then its argument prototype would still apply. */
8389#ifdef __cplusplus
8390extern "C"
8391#endif
8392char XineramaQueryScreens ();
8393int
8394main ()
8395{
8396return XineramaQueryScreens ();
8397 ;
8398 return 0;
8399}
8400_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008401if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard35d2fd72007-07-04 12:48:50 +02008402 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01008403 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard35d2fd72007-07-04 12:48:50 +02008404 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'` ;;
8405 *) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8406 esac
Alexandre Julliard35d2fd72007-07-04 12:48:50 +02008407fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008408rm -f core conftest.err conftest.$ac_objext \
8409 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard35d2fd72007-07-04 12:48:50 +02008410 LIBS=$ac_check_soname_save_LIBS
8411fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008412if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008414$as_echo "not found" >&6; }
Alexandre Julliard35d2fd72007-07-04 12:48:50 +02008415
8416else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008418$as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
Alexandre Julliard35d2fd72007-07-04 12:48:50 +02008419
8420cat >>confdefs.h <<_ACEOF
8421#define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8422_ACEOF
8423
8424
8425fi
Alexandre Julliard7d00b052006-10-23 13:46:34 +02008426fi
Alexandre Julliard7d00b052006-10-23 13:46:34 +02008427rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8428 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008429 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008430 case "x$with_xinerama" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008431 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008432 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008433 *) as_fn_error "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8434This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008435esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008436fi
8437
Chris Robinson42584652007-09-22 18:19:08 -07008438 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8439 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008441$as_echo_n "checking for -lXcomposite... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008442if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008443 $as_echo_n "(cached) " >&6
Chris Robinson42584652007-09-22 18:19:08 -07008444else
8445 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008446LIBS="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Chris Robinson42584652007-09-22 18:19:08 -07008448/* end confdefs.h. */
8449
8450/* Override any GCC internal prototype to avoid an error.
8451 Use char because int might match the return type of a GCC
8452 builtin and then its argument prototype would still apply. */
8453#ifdef __cplusplus
8454extern "C"
8455#endif
8456char XCompositeRedirectWindow ();
8457int
8458main ()
8459{
8460return XCompositeRedirectWindow ();
8461 ;
8462 return 0;
8463}
8464_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008465if ac_fn_c_try_link "$LINENO"; then :
Chris Robinson42584652007-09-22 18:19:08 -07008466 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01008467 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Chris Robinson42584652007-09-22 18:19:08 -07008468 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'` ;;
8469 *) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8470 esac
Chris Robinson42584652007-09-22 18:19:08 -07008471fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008472rm -f core conftest.err conftest.$ac_objext \
8473 conftest$ac_exeext conftest.$ac_ext
Chris Robinson42584652007-09-22 18:19:08 -07008474 LIBS=$ac_check_soname_save_LIBS
8475fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008476if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008478$as_echo "not found" >&6; }
Chris Robinson42584652007-09-22 18:19:08 -07008479
8480else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008482$as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
Chris Robinson42584652007-09-22 18:19:08 -07008483
8484cat >>confdefs.h <<_ACEOF
8485#define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8486_ACEOF
8487
8488
8489fi
Chris Robinson42584652007-09-22 18:19:08 -07008490 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008491 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008492 case "x$with_xcomposite" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008493 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008494 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008495 *) as_fn_error "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8496This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008497esac
Chris Robinson42584652007-09-22 18:19:08 -07008498fi
8499
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008500 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
Kusanagi Kouichi75e40222008-04-16 00:34:54 +09008501#include <X11/Xlib.h>
8502#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008503"
8504if test "x$ac_cv_member_XICCallback_callback" = x""yes; then :
Kusanagi Kouichi75e40222008-04-16 00:34:54 +09008505
8506cat >>confdefs.h <<_ACEOF
8507#define HAVE_XICCALLBACK_CALLBACK 1
8508_ACEOF
8509
8510
8511fi
8512
8513
Alexandre Julliard7d00b052006-10-23 13:46:34 +02008514
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008515 opengl_msg=""
8516 if test "x$with_opengl" != "xno"
Lionel Ulmerfbc15b12000-04-29 14:23:22 +00008517 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008518 for ac_header in GL/gl.h GL/glx.h GL/glu.h
8519do :
8520 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8521ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
Alexandre Julliard73482142005-08-03 19:21:04 +00008522# include <GL/glx.h>
8523#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008524"
8525eval as_val=\$$as_ac_Header
8526 if test "x$as_val" = x""yes; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +00008527 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01008528#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +00008529_ACEOF
8530
8531fi
8532
8533done
8534
Alexandre Julliard73482142005-08-03 19:21:04 +00008535 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8536 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008538$as_echo_n "checking for up-to-date OpenGL version... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008539if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008540 $as_echo_n "(cached) " >&6
Lionel Ulmer5c085701999-02-28 19:48:53 +00008541else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00008543/* end confdefs.h. */
Lionel Ulmer5c085701999-02-28 19:48:53 +00008544#include <GL/gl.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008545int
8546main ()
8547{
Lionel Ulmer5c085701999-02-28 19:48:53 +00008548GLenum test = GL_UNSIGNED_SHORT_5_6_5;
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008549 ;
8550 return 0;
8551}
8552_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008553if ac_fn_c_try_compile "$LINENO"; then :
Roderick Colenbranderbc66d7e2006-08-24 01:11:27 +02008554 wine_cv_opengl_header_version_OK="yes"
Lionel Ulmer5c085701999-02-28 19:48:53 +00008555else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008556 wine_cv_opengl_header_version_OK="no"
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008557fi
Jeremy White0ebeb532006-06-20 13:18:41 +02008558rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008559fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008561$as_echo "$wine_cv_opengl_header_version_OK" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008562
Alexandre Julliardcc6a08c2006-08-24 14:34:22 +02008563 if test "$wine_cv_opengl_header_version_OK" = "yes"
Lionel Ulmerfbc15b12000-04-29 14:23:22 +00008564 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008566$as_echo_n "checking for -lGL... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008567if test "${ac_cv_lib_soname_GL+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008568 $as_echo_n "(cached) " >&6
Patrik Stridvall24110281999-02-04 10:09:54 +00008569else
Alexandre Julliard31353e12007-07-04 12:44:12 +02008570 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008571LIBS="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00008573/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008574
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008575/* Override any GCC internal prototype to avoid an error.
8576 Use char because int might match the return type of a GCC
8577 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008578#ifdef __cplusplus
8579extern "C"
8580#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008581char glXCreateContext ();
8582int
8583main ()
8584{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008585return glXCreateContext ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008586 ;
8587 return 0;
8588}
8589_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008590if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard31353e12007-07-04 12:44:12 +02008591 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01008592 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard31353e12007-07-04 12:44:12 +02008593 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'` ;;
8594 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8595 esac
Patrik Stridvall24110281999-02-04 10:09:54 +00008596fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008597rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard31353e12007-07-04 12:44:12 +02008599 LIBS=$ac_check_soname_save_LIBS
Patrik Stridvall24110281999-02-04 10:09:54 +00008600fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008601if test "x$ac_cv_lib_soname_GL" = "x"; then :
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008603$as_echo "not found" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008605$as_echo_n "checking for -lGL... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008606if test "${ac_cv_lib_soname_GL+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008607 $as_echo_n "(cached) " >&6
Francois Gougetd701ee22007-12-18 10:17:20 +01008608else
8609 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008610LIBS="-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"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Francois Gougetd701ee22007-12-18 10:17:20 +01008612/* end confdefs.h. */
8613
8614/* Override any GCC internal prototype to avoid an error.
8615 Use char because int might match the return type of a GCC
8616 builtin and then its argument prototype would still apply. */
8617#ifdef __cplusplus
8618extern "C"
8619#endif
8620char glXCreateContext ();
8621int
8622main ()
8623{
8624return glXCreateContext ();
8625 ;
8626 return 0;
8627}
8628_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008629if ac_fn_c_try_link "$LINENO"; then :
Francois Gougetd701ee22007-12-18 10:17:20 +01008630 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01008631 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Francois Gougetd701ee22007-12-18 10:17:20 +01008632 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'` ;;
8633 *) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8634 esac
Francois Gougetd701ee22007-12-18 10:17:20 +01008635fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008636rm -f core conftest.err conftest.$ac_objext \
8637 conftest$ac_exeext conftest.$ac_ext
Francois Gougetd701ee22007-12-18 10:17:20 +01008638 LIBS=$ac_check_soname_save_LIBS
8639fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008640if test "x$ac_cv_lib_soname_GL" = "x"; then :
8641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008642$as_echo "not found" >&6; }
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008643 if test -f /usr/X11R6/lib/libGL.a
Francois Gougetd701ee22007-12-18 10:17:20 +01008644 then
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008645 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008646This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
Francois Gougetd701ee22007-12-18 10:17:20 +01008647 else
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008648 opengl_msg="No OpenGL library found on this system."
Francois Gougetd701ee22007-12-18 10:17:20 +01008649 fi
8650else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008652$as_echo "$ac_cv_lib_soname_GL" >&6; }
Francois Gougetd701ee22007-12-18 10:17:20 +01008653
8654cat >>confdefs.h <<_ACEOF
8655#define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8656_ACEOF
8657
8658 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"
Francois Gougetd701ee22007-12-18 10:17:20 +01008659
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008660$as_echo "#define HAVE_OPENGL 1" >>confdefs.h
Francois Gougetd701ee22007-12-18 10:17:20 +01008661
8662fi
Alexandre Julliard31353e12007-07-04 12:44:12 +02008663else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008665$as_echo "$ac_cv_lib_soname_GL" >&6; }
Alexandre Julliard31353e12007-07-04 12:44:12 +02008666
8667cat >>confdefs.h <<_ACEOF
8668#define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8669_ACEOF
8670
8671 OPENGL_LIBS="-lGL"
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008672
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008673$as_echo "#define HAVE_OPENGL 1" >>confdefs.h
Marcus Meissner6bb6d4c2000-08-09 22:21:08 +00008674
Alexandre Julliardc84c4782006-09-22 09:36:12 +02008675fi
Alexandre Julliardad798732008-05-01 13:29:02 +02008676 if test "$ac_cv_header_GL_glu_h" = "yes"
8677 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008679$as_echo_n "checking for -lGLU... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008680if test "${ac_cv_lib_soname_GLU+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008681 $as_echo_n "(cached) " >&6
Marcus Meissnerb63ab442001-06-08 19:02:57 +00008682else
Alexandre Julliardad798732008-05-01 13:29:02 +02008683 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008684LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00008686/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008687
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008688/* Override any GCC internal prototype to avoid an error.
8689 Use char because int might match the return type of a GCC
8690 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008691#ifdef __cplusplus
8692extern "C"
8693#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008694char gluLookAt ();
8695int
8696main ()
8697{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008698return gluLookAt ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008699 ;
8700 return 0;
8701}
8702_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008703if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardad798732008-05-01 13:29:02 +02008704 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01008705 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardad798732008-05-01 13:29:02 +02008706 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'` ;;
8707 *) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8708 esac
Marcus Meissnerb63ab442001-06-08 19:02:57 +00008709fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008710rm -f core conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardad798732008-05-01 13:29:02 +02008712 LIBS=$ac_check_soname_save_LIBS
Marcus Meissnerb63ab442001-06-08 19:02:57 +00008713fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008714if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008716$as_echo "not found" >&6; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +00008717
Alexandre Julliardad798732008-05-01 13:29:02 +02008718else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008720$as_echo "$ac_cv_lib_soname_GLU" >&6; }
Alexandre Julliardad798732008-05-01 13:29:02 +02008721
8722cat >>confdefs.h <<_ACEOF
8723#define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8724_ACEOF
8725
Alexandre Julliarddbb535e2008-08-25 12:12:28 +02008726
Alexandre Julliardad798732008-05-01 13:29:02 +02008727fi
Alexandre Julliardad798732008-05-01 13:29:02 +02008728 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008729 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
Alexandre Julliardad798732008-05-01 13:29:02 +02008730 case "x$with_glu" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008731 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
Alexandre Julliardad798732008-05-01 13:29:02 +02008732 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008733 *) as_fn_error "libGLU ${notice_platform}development files not found, GLU won't be supported.
8734This is an error since --with-glu was requested." "$LINENO" 5 ;;
Alexandre Julliardad798732008-05-01 13:29:02 +02008735esac
Marcus Meissnerb63ab442001-06-08 19:02:57 +00008736fi
Alexandre Julliardf9dec942007-07-10 15:14:15 +02008737 else
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008738 opengl_msg="Old Mesa headers detected. Consider upgrading your Mesa libraries."
Lionel Ulmerfbc15b12000-04-29 14:23:22 +00008739 fi
Roderick Colenbranderbc66d7e2006-08-24 01:11:27 +02008740 else
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008741 opengl_msg="OpenGL development headers not found."
Lionel Ulmerfbc15b12000-04-29 14:23:22 +00008742 fi
Alexandre Julliard8e9504d2008-09-24 13:11:11 +02008743 test -n "$opengl_msg" && enable_opengl32=${enable_opengl32:-no}
8744 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32=${enable_glu32:-no}
8745 else
8746 enable_opengl32=${enable_opengl32:-no}
8747 enable_glu32=${enable_glu32:-no}
Patrik Stridvall24110281999-02-04 10:09:54 +00008748 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008749 if test -n "$opengl_msg"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008750 case "x$with_opengl" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01008751 x) as_fn_append wine_warnings "|$opengl_msg
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008752OpenGL and Direct3D won't be supported." ;;
8753 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008754 *) as_fn_error "$opengl_msg
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008755OpenGL and Direct3D won't be supported.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008756This is an error since --with-opengl was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008757esac
8758fi
8759
Francois Gouget6f670b12002-10-10 17:54:27 +00008760 NASLIBS=""
8761
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008762 for ac_header in audio/audiolib.h
8763do :
8764 ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8765if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then :
Francois Gouget6f670b12002-10-10 17:54:27 +00008766 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008767#define HAVE_AUDIO_AUDIOLIB_H 1
Francois Gouget6f670b12002-10-10 17:54:27 +00008768_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008769 for ac_header in audio/soundlib.h
8770do :
8771 ac_fn_c_check_header_compile "$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8772"
8773if test "x$ac_cv_header_audio_soundlib_h" = x""yes; then :
Francois Gouget6f670b12002-10-10 17:54:27 +00008774 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008775#define HAVE_AUDIO_SOUNDLIB_H 1
Francois Gouget6f670b12002-10-10 17:54:27 +00008776_ACEOF
8777
8778fi
8779
8780done
8781
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008783$as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008784if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008785 $as_echo_n "(cached) " >&6
Francois Gouget6f670b12002-10-10 17:54:27 +00008786else
8787 ac_check_lib_save_LIBS=$LIBS
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008788LIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008789cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00008790/* end confdefs.h. */
Francois Gouget6f670b12002-10-10 17:54:27 +00008791
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008792/* Override any GCC internal prototype to avoid an error.
8793 Use char because int might match the return type of a GCC
8794 builtin and then its argument prototype would still apply. */
Francois Gouget6f670b12002-10-10 17:54:27 +00008795#ifdef __cplusplus
8796extern "C"
8797#endif
Francois Gouget6f670b12002-10-10 17:54:27 +00008798char AuCreateFlow ();
8799int
8800main ()
8801{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008802return AuCreateFlow ();
Francois Gouget6f670b12002-10-10 17:54:27 +00008803 ;
8804 return 0;
8805}
8806_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008807if ac_fn_c_try_link "$LINENO"; then :
Francois Gouget6f670b12002-10-10 17:54:27 +00008808 ac_cv_lib_audio_AuCreateFlow=yes
8809else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008810 ac_cv_lib_audio_AuCreateFlow=no
Francois Gouget6f670b12002-10-10 17:54:27 +00008811fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008812rm -f core conftest.err conftest.$ac_objext \
8813 conftest$ac_exeext conftest.$ac_ext
Francois Gouget6f670b12002-10-10 17:54:27 +00008814LIBS=$ac_check_lib_save_LIBS
8815fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008816{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008817$as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008818if test "x$ac_cv_lib_audio_AuCreateFlow" = x""yes; then :
Francois Gouget6f670b12002-10-10 17:54:27 +00008819
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008820$as_echo "#define HAVE_NAS 1" >>confdefs.h
Francois Gouget6f670b12002-10-10 17:54:27 +00008821
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008823$as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008824if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008825 $as_echo_n "(cached) " >&6
Gerald Pfeifer575d8942007-03-25 00:44:50 +01008826else
8827 ac_check_lib_save_LIBS=$LIBS
8828LIBS="-lXau $X_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008829cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Gerald Pfeifer575d8942007-03-25 00:44:50 +01008830/* end confdefs.h. */
8831
8832/* Override any GCC internal prototype to avoid an error.
8833 Use char because int might match the return type of a GCC
8834 builtin and then its argument prototype would still apply. */
8835#ifdef __cplusplus
8836extern "C"
8837#endif
8838char XauGetBestAuthByAddr ();
8839int
8840main ()
8841{
8842return XauGetBestAuthByAddr ();
8843 ;
8844 return 0;
8845}
8846_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008847if ac_fn_c_try_link "$LINENO"; then :
Gerald Pfeifer575d8942007-03-25 00:44:50 +01008848 ac_cv_lib_Xau_XauGetBestAuthByAddr=yes
8849else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008850 ac_cv_lib_Xau_XauGetBestAuthByAddr=no
Gerald Pfeifer575d8942007-03-25 00:44:50 +01008851fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008852rm -f core conftest.err conftest.$ac_objext \
8853 conftest$ac_exeext conftest.$ac_ext
Gerald Pfeifer575d8942007-03-25 00:44:50 +01008854LIBS=$ac_check_lib_save_LIBS
8855fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008856{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008857$as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008858if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x""yes; then :
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008859 NASLIBS="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
Gerald Pfeifer575d8942007-03-25 00:44:50 +01008860else
Alexandre Julliardfd03c502009-08-17 15:11:08 +02008861 NASLIBS="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
Gerald Pfeifer575d8942007-03-25 00:44:50 +01008862fi
8863
8864
Francois Gouget6f670b12002-10-10 17:54:27 +00008865fi
8866
8867fi
8868
8869done
8870
8871
Ove Kaaven1eb593c1999-02-14 09:34:46 +00008872 CPPFLAGS="$ac_save_CPPFLAGS"
Patrik Stridvallea584721998-11-01 16:22:07 +00008873else
8874 XLIB=""
8875 X_CFLAGS=""
8876 X_LIBS=""
Alexandre Julliarddbb535e2008-08-25 12:12:28 +02008877 enable_winex11_drv=${enable_winex11_drv:-no}
8878 enable_opengl32=${enable_opengl32:-no}
8879 enable_glu32=${enable_glu32:-no}
Patrik Stridvallea584721998-11-01 16:22:07 +00008880fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008881if test "x$XLIB" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008882 case "x$with_x" in
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008883 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008884 *) as_fn_error "X ${notice_platform}development files not found. Wine will be built
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008885without X support, which probably isn't what you want. You will need to install
Alexandre Julliardd2c8bfb2008-11-24 13:45:25 +01008886${notice_platform}development packages of Xlib/Xfree86 at the very least.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008887Use the --without-x option if you really want this." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008888esac
8889fi
8890
Alexandre Julliard902da691995-11-05 14:39:02 +00008891
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008892XML2LIBS=""
8893
8894XML2INCL=""
8895
Mike McCormackf3719a82005-09-03 09:39:38 +00008896XSLTINCL=""
8897
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008898if test "x$with_xml" != "xno"
Mike McCormack90c75bd2005-08-08 18:36:53 +00008899then
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008900 ac_save_CPPFLAGS="$CPPFLAGS"
8901 if test "$PKG_CONFIG" != "false"
8902 then
8903 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8904 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8905 else
8906 ac_xml_libs="`xml2-config --libs 2>/dev/null`"
8907 ac_xml_cflags="`xml2-config --cflags 2>/dev/null`"
8908 fi
8909 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008910 for ac_header in libxml/parser.h
8911do :
8912 ac_fn_c_check_header_mongrel "$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
8913if test "x$ac_cv_header_libxml_parser_h" = x""yes; then :
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008914 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008915#define HAVE_LIBXML_PARSER_H 1
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008916_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008918$as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008919if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008920 $as_echo_n "(cached) " >&6
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008921else
8922 ac_check_lib_save_LIBS=$LIBS
Mike McCormack90c75bd2005-08-08 18:36:53 +00008923LIBS="-lxml2 $ac_xml_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008924cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008925/* end confdefs.h. */
8926
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008927/* Override any GCC internal prototype to avoid an error.
8928 Use char because int might match the return type of a GCC
8929 builtin and then its argument prototype would still apply. */
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008930#ifdef __cplusplus
8931extern "C"
8932#endif
Mike McCormack90c75bd2005-08-08 18:36:53 +00008933char xmlParseMemory ();
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008934int
8935main ()
8936{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008937return xmlParseMemory ();
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008938 ;
8939 return 0;
8940}
8941_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008942if ac_fn_c_try_link "$LINENO"; then :
Mike McCormack90c75bd2005-08-08 18:36:53 +00008943 ac_cv_lib_xml2_xmlParseMemory=yes
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008944else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008945 ac_cv_lib_xml2_xmlParseMemory=no
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008946fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008947rm -f core conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008949LIBS=$ac_check_lib_save_LIBS
8950fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008951{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008952$as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008953if test "x$ac_cv_lib_xml2_xmlParseMemory" = x""yes; then :
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008954
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008955$as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008956
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01008957 XML2LIBS="$ac_xml_libs"
8958 XML2INCL="$ac_xml_cflags"
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00008959fi
8960
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008962$as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008963if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01008964 $as_echo_n "(cached) " >&6
Mike McCormack70adb8f2005-08-12 10:35:17 +00008965else
8966 ac_check_lib_save_LIBS=$LIBS
Mike McCormackf3719a82005-09-03 09:39:38 +00008967LIBS="-lxml2 $ac_xml_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008968cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Mike McCormack70adb8f2005-08-12 10:35:17 +00008969/* end confdefs.h. */
8970
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008971/* Override any GCC internal prototype to avoid an error.
8972 Use char because int might match the return type of a GCC
8973 builtin and then its argument prototype would still apply. */
Mike McCormack70adb8f2005-08-12 10:35:17 +00008974#ifdef __cplusplus
8975extern "C"
8976#endif
Mike McCormack70adb8f2005-08-12 10:35:17 +00008977char xmlReadMemory ();
8978int
8979main ()
8980{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02008981return xmlReadMemory ();
Mike McCormack70adb8f2005-08-12 10:35:17 +00008982 ;
8983 return 0;
8984}
8985_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008986if ac_fn_c_try_link "$LINENO"; then :
Mike McCormack70adb8f2005-08-12 10:35:17 +00008987 ac_cv_lib_xml2_xmlReadMemory=yes
8988else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008989 ac_cv_lib_xml2_xmlReadMemory=no
Mike McCormack70adb8f2005-08-12 10:35:17 +00008990fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008991rm -f core conftest.err conftest.$ac_objext \
8992 conftest$ac_exeext conftest.$ac_ext
Mike McCormack70adb8f2005-08-12 10:35:17 +00008993LIBS=$ac_check_lib_save_LIBS
8994fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008995{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01008996$as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008997if test "x$ac_cv_lib_xml2_xmlReadMemory" = x""yes; then :
Mike McCormack70adb8f2005-08-12 10:35:17 +00008998
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02008999$as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
Mike McCormack70adb8f2005-08-12 10:35:17 +00009000
9001fi
9002
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009004$as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009005if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009006 $as_echo_n "(cached) " >&6
Lei Zhang6a530ab2006-11-29 15:59:03 -08009007else
9008 ac_check_lib_save_LIBS=$LIBS
9009LIBS="-lxml2 $ac_xml_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009010cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Lei Zhang6a530ab2006-11-29 15:59:03 -08009011/* end confdefs.h. */
9012
9013/* Override any GCC internal prototype to avoid an error.
9014 Use char because int might match the return type of a GCC
9015 builtin and then its argument prototype would still apply. */
9016#ifdef __cplusplus
9017extern "C"
9018#endif
9019char xmlNewDocPI ();
9020int
9021main ()
9022{
9023return xmlNewDocPI ();
9024 ;
9025 return 0;
9026}
9027_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009028if ac_fn_c_try_link "$LINENO"; then :
Lei Zhang6a530ab2006-11-29 15:59:03 -08009029 ac_cv_lib_xml2_xmlNewDocPI=yes
9030else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009031 ac_cv_lib_xml2_xmlNewDocPI=no
Lei Zhang6a530ab2006-11-29 15:59:03 -08009032fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009033rm -f core conftest.err conftest.$ac_objext \
9034 conftest$ac_exeext conftest.$ac_ext
Lei Zhang6a530ab2006-11-29 15:59:03 -08009035LIBS=$ac_check_lib_save_LIBS
9036fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009037{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009038$as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009039if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x""yes; then :
Lei Zhang6a530ab2006-11-29 15:59:03 -08009040
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009041$as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
Lei Zhang6a530ab2006-11-29 15:59:03 -08009042
9043fi
9044
Mike McCormack70adb8f2005-08-12 10:35:17 +00009045
Mike McCormackdcc2d6c2005-08-02 11:29:04 +00009046fi
9047
9048done
9049
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009050 CPPFLAGS="$ac_save_CPPFLAGS"
9051fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009052if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009053 case "x$with_xml" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009054 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009055 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009056 *) as_fn_error "libxml2 ${notice_platform}development files not found, XML won't be supported.
9057This is an error since --with-xml was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009058esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02009059fi
9060
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009061if test "x$with_xslt" != "xno"
Emmanuel Maillard2a98b402007-06-22 02:58:39 +02009062then
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009063 if test "$PKG_CONFIG" != "false"
9064 then
9065 ac_xslt_libs="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9066 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9067 else
9068 ac_xslt_libs="`xslt-config --libs 2>/dev/null`"
9069 ac_xslt_cflags="`xslt-config --cflags 2>/dev/null`"
9070 fi
Lei Zhang9d7f7bf2008-04-17 13:00:22 -07009071 ac_save_CPPFLAGS="$CPPFLAGS"
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009072 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009073 for ac_header in libxslt/pattern.h libxslt/transform.h
9074do :
9075 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9076ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
Vincent Bérond7f64242005-09-15 09:39:09 +00009077# include <libxslt/pattern.h>
9078#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009079"
9080eval as_val=\$$as_ac_Header
9081 if test "x$as_val" = x""yes; then :
Mike McCormackf3719a82005-09-03 09:39:38 +00009082 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01009083#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Mike McCormackf3719a82005-09-03 09:39:38 +00009084_ACEOF
Lei Zhang9d7f7bf2008-04-17 13:00:22 -07009085
9086fi
9087
9088done
9089
9090 CPPFLAGS="$ac_save_CPPFLAGS"
9091 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9092 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
Francois Gouget3d384f12008-11-17 19:29:32 +01009094$as_echo_n "checking for -lxslt... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009095if test "${ac_cv_lib_soname_xslt+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009096 $as_echo_n "(cached) " >&6
Mike McCormackf3719a82005-09-03 09:39:38 +00009097else
Francois Gouget3d384f12008-11-17 19:29:32 +01009098 ac_check_soname_save_LIBS=$LIBS
Mike McCormackf3719a82005-09-03 09:39:38 +00009099LIBS="-lxslt $ac_xslt_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Mike McCormackf3719a82005-09-03 09:39:38 +00009101/* end confdefs.h. */
9102
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009103/* Override any GCC internal prototype to avoid an error.
9104 Use char because int might match the return type of a GCC
9105 builtin and then its argument prototype would still apply. */
Mike McCormackf3719a82005-09-03 09:39:38 +00009106#ifdef __cplusplus
9107extern "C"
9108#endif
Mike McCormackf3719a82005-09-03 09:39:38 +00009109char xsltCompilePattern ();
9110int
9111main ()
9112{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009113return xsltCompilePattern ();
Mike McCormackf3719a82005-09-03 09:39:38 +00009114 ;
9115 return 0;
9116}
9117_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009118if ac_fn_c_try_link "$LINENO"; then :
Francois Gouget3d384f12008-11-17 19:29:32 +01009119 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01009120 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Francois Gouget3d384f12008-11-17 19:29:32 +01009121 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'` ;;
9122 *) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9123 esac
Mike McCormackf3719a82005-09-03 09:39:38 +00009124fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009125rm -f core conftest.err conftest.$ac_objext \
9126 conftest$ac_exeext conftest.$ac_ext
Francois Gouget3d384f12008-11-17 19:29:32 +01009127 LIBS=$ac_check_soname_save_LIBS
Mike McCormackf3719a82005-09-03 09:39:38 +00009128fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009129if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Francois Gouget3d384f12008-11-17 19:29:32 +01009131$as_echo "not found" >&6; }
Mike McCormackf3719a82005-09-03 09:39:38 +00009132
Lei Zhang9d7f7bf2008-04-17 13:00:22 -07009133else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
Francois Gouget3d384f12008-11-17 19:29:32 +01009135$as_echo "$ac_cv_lib_soname_xslt" >&6; }
Lei Zhang9d7f7bf2008-04-17 13:00:22 -07009136
Francois Gouget3d384f12008-11-17 19:29:32 +01009137cat >>confdefs.h <<_ACEOF
9138#define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
Lei Zhang9d7f7bf2008-04-17 13:00:22 -07009139_ACEOF
Mike McCormackf3719a82005-09-03 09:39:38 +00009140
Francois Gouget3d384f12008-11-17 19:29:32 +01009141 XSLTINCL="$ac_xslt_cflags"
Lei Zhang9d7f7bf2008-04-17 13:00:22 -07009142fi
Lei Zhang9d7f7bf2008-04-17 13:00:22 -07009143 fi
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009144fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009145if test "x$ac_cv_lib_soname_xslt" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009146 case "x$with_xslt" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009147 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009148 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009149 *) as_fn_error "libxslt ${notice_platform}development files not found, xslt won't be supported.
9150This is an error since --with-xslt was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009151esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02009152fi
9153
Alexandre Julliard00068982006-04-18 16:47:53 +02009154HALINCL=""
9155
Francois Gouget295a0cd2009-01-09 20:22:22 +01009156if test "x$with_hal" != "xno"
Alexandre Julliard00068982006-04-18 16:47:53 +02009157then
9158 ac_save_CPPFLAGS="$CPPFLAGS"
Francois Gouget295a0cd2009-01-09 20:22:22 +01009159 if test "$PKG_CONFIG" != "false"
9160 then
9161 ac_hal_libs="`$PKG_CONFIG --libs hal 2>/dev/null`"
9162 ac_hal_cflags="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9163 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9164 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009165 for ac_header in dbus/dbus.h hal/libhal.h
9166do :
9167 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9168ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9169eval as_val=\$$as_ac_Header
9170 if test "x$as_val" = x""yes; then :
Alexandre Julliard00068982006-04-18 16:47:53 +02009171 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +01009172#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Alexandre Julliard00068982006-04-18 16:47:53 +02009173_ACEOF
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009174
9175fi
9176
9177done
9178
9179 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9180 then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009182$as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009183if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009184 $as_echo_n "(cached) " >&6
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009185else
9186 ac_check_lib_save_LIBS=$LIBS
9187LIBS="-ldbus-1 $ac_hal_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009188cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009189/* end confdefs.h. */
9190
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009191/* Override any GCC internal prototype to avoid an error.
9192 Use char because int might match the return type of a GCC
9193 builtin and then its argument prototype would still apply. */
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009194#ifdef __cplusplus
9195extern "C"
9196#endif
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009197char dbus_connection_close ();
9198int
9199main ()
9200{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009201return dbus_connection_close ();
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009202 ;
9203 return 0;
9204}
9205_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009206if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009207 ac_cv_lib_dbus_1_dbus_connection_close=yes
9208else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009209 ac_cv_lib_dbus_1_dbus_connection_close=no
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009210fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009211rm -f core conftest.err conftest.$ac_objext \
9212 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009213LIBS=$ac_check_lib_save_LIBS
9214fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009215{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009216$as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009217if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x""yes; then :
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009219$as_echo_n "checking for -lhal... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009220if test "${ac_cv_lib_soname_hal+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009221 $as_echo_n "(cached) " >&6
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009222else
9223 ac_check_soname_save_LIBS=$LIBS
9224LIBS="-lhal $ac_hal_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009226/* end confdefs.h. */
Alexandre Julliard00068982006-04-18 16:47:53 +02009227
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009228/* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9231#ifdef __cplusplus
9232extern "C"
9233#endif
9234char libhal_ctx_new ();
9235int
9236main ()
9237{
9238return libhal_ctx_new ();
9239 ;
9240 return 0;
9241}
9242_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009243if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009244 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01009245 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009246 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'` ;;
9247 *) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9248 esac
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009249fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009250rm -f core conftest.err conftest.$ac_objext \
9251 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009252 LIBS=$ac_check_soname_save_LIBS
9253fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009254if test "x$ac_cv_lib_soname_hal" = "x"; then :
9255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009256$as_echo "not found" >&6; }
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009257
9258else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009260$as_echo "$ac_cv_lib_soname_hal" >&6; }
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009261
9262cat >>confdefs.h <<_ACEOF
9263#define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
Alexandre Julliard00068982006-04-18 16:47:53 +02009264_ACEOF
9265
Alexandre Julliardc1099bb2007-07-02 17:28:33 +02009266 HALINCL="$ac_hal_cflags"
Alexandre Julliard00068982006-04-18 16:47:53 +02009267fi
Alexandre Julliard00068982006-04-18 16:47:53 +02009268fi
9269
Alexandre Julliardb18b9f32006-04-18 19:10:59 +02009270 fi
Alexandre Julliard00068982006-04-18 16:47:53 +02009271 CPPFLAGS="$ac_save_CPPFLAGS"
9272fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009273if test "x$ac_cv_lib_soname_hal" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009274 case "x$with_hal" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009275 x) as_fn_append wine_notices "|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009276 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009277 *) as_fn_error "libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9278This is an error since --with-hal was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009279esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02009280fi
9281
Francois Gouget295a0cd2009-01-09 20:22:22 +01009282if test "x$with_gnutls" != "xno"
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009283then
9284 ac_save_CPPFLAGS="$CPPFLAGS"
Francois Gouget295a0cd2009-01-09 20:22:22 +01009285 if test "$PKG_CONFIG" != "false"
9286 then
9287 ac_gnutls_libs="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9288 ac_gnutls_cflags="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9289 CPPFLAGS="$CPPFLAGS $ac_gnutls_cflags"
9290 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009291 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9292if test "x$ac_cv_header_gnutls_gnutls_h" = x""yes; then :
9293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Francois Gouget3aae9542008-10-24 11:24:58 +02009294/* end confdefs.h. */
9295#include <gnutls/gnutls.h>
9296int
9297main ()
9298{
Henri Verbeet8c4a2972008-12-30 09:45:20 +01009299typeof(gnutls_mac_get_key_size) *pfunc;
Francois Gouget3aae9542008-10-24 11:24:58 +02009300 ;
9301 return 0;
9302}
9303_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009304if ac_fn_c_try_compile "$LINENO"; then :
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009306$as_echo_n "checking for -lgnutls... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009307if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009308 $as_echo_n "(cached) " >&6
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009309else
9310 ac_check_soname_save_LIBS=$LIBS
9311LIBS="-lgnutls $ac_gnutls_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009313/* end confdefs.h. */
9314
9315/* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
9318#ifdef __cplusplus
9319extern "C"
9320#endif
9321char gnutls_global_init ();
9322int
9323main ()
9324{
9325return gnutls_global_init ();
9326 ;
9327 return 0;
9328}
9329_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009330if ac_fn_c_try_link "$LINENO"; then :
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009331 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01009332 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009333 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'` ;;
9334 *) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9335 esac
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009336fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009337rm -f core conftest.err conftest.$ac_objext \
9338 conftest$ac_exeext conftest.$ac_ext
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009339 LIBS=$ac_check_soname_save_LIBS
9340fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009341if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009343$as_echo "not found" >&6; }
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009344
9345else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009347$as_echo "$ac_cv_lib_soname_gnutls" >&6; }
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009348
9349cat >>confdefs.h <<_ACEOF
9350#define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9351_ACEOF
9352
9353 GNUTLSINCL="$ac_gnutls_cflags"
9354
9355fi
Francois Gouget3aae9542008-10-24 11:24:58 +02009356fi
Francois Gouget3aae9542008-10-24 11:24:58 +02009357rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009358fi
9359
9360
9361 CPPFLAGS="$ac_save_CPPFLAGS"
9362fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009363if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009364 case "x$with_gnutls" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009365 x) as_fn_append wine_notices "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009366 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009367 *) as_fn_error "libgnutls ${notice_platform}development files not found, no schannel support.
9368This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
Henri Verbeet874c9ef2008-09-22 22:13:19 +02009369esac
9370fi
9371
Alexandre Julliard48957682001-12-26 23:08:31 +00009372CURSESLIBS=""
Alexandre Julliard8f1d42e2006-12-16 17:01:37 +01009373if test "$ac_cv_header_ncurses_h" = "yes"
Patrik Stridvall5e5ad532000-04-23 20:02:46 +00009374then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009376$as_echo_n "checking for -lncurses... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009377if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009378 $as_echo_n "(cached) " >&6
Joseph Praneviche884f9c1999-01-03 16:14:34 +00009379else
Alexandre Julliardd0783772007-07-02 17:28:50 +02009380 ac_check_soname_save_LIBS=$LIBS
Joseph Praneviche884f9c1999-01-03 16:14:34 +00009381LIBS="-lncurses $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00009383/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009384
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009385/* Override any GCC internal prototype to avoid an error.
9386 Use char because int might match the return type of a GCC
9387 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009388#ifdef __cplusplus
9389extern "C"
9390#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009391char waddch ();
9392int
9393main ()
9394{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009395return waddch ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009396 ;
9397 return 0;
9398}
9399_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009400if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardd0783772007-07-02 17:28:50 +02009401 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01009402 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardd0783772007-07-02 17:28:50 +02009403 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'` ;;
9404 *) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9405 esac
Joseph Praneviche884f9c1999-01-03 16:14:34 +00009406fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009407rm -f core conftest.err conftest.$ac_objext \
9408 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardd0783772007-07-02 17:28:50 +02009409 LIBS=$ac_check_soname_save_LIBS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009410fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009411if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009413$as_echo "not found" >&6; }
Alexandre Julliardd0783772007-07-02 17:28:50 +02009414
9415else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009417$as_echo "$ac_cv_lib_soname_ncurses" >&6; }
Alexandre Julliardd0783772007-07-02 17:28:50 +02009418
9419cat >>confdefs.h <<_ACEOF
9420#define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9421_ACEOF
9422
9423 CURSESLIBS="-lncurses"
Alexandre Julliarddaa28862002-04-11 21:54:01 +00009424fi
Alexandre Julliard8f1d42e2006-12-16 17:01:37 +01009425elif test "$ac_cv_header_curses_h" = "yes"
9426then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009428$as_echo_n "checking for -lcurses... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009429if test "${ac_cv_lib_soname_curses+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009430 $as_echo_n "(cached) " >&6
Joseph Praneviche884f9c1999-01-03 16:14:34 +00009431else
Alexandre Julliardd0783772007-07-02 17:28:50 +02009432 ac_check_soname_save_LIBS=$LIBS
Joseph Praneviche884f9c1999-01-03 16:14:34 +00009433LIBS="-lcurses $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00009435/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009436
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009437/* Override any GCC internal prototype to avoid an error.
9438 Use char because int might match the return type of a GCC
9439 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009440#ifdef __cplusplus
9441extern "C"
9442#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009443char waddch ();
9444int
9445main ()
9446{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009447return waddch ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009448 ;
9449 return 0;
9450}
9451_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009452if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardd0783772007-07-02 17:28:50 +02009453 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01009454 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardd0783772007-07-02 17:28:50 +02009455 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'` ;;
9456 *) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9457 esac
Joseph Praneviche884f9c1999-01-03 16:14:34 +00009458fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009459rm -f core conftest.err conftest.$ac_objext \
9460 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardd0783772007-07-02 17:28:50 +02009461 LIBS=$ac_check_soname_save_LIBS
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009462fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009463if test "x$ac_cv_lib_soname_curses" = "x"; then :
9464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009465$as_echo "not found" >&6; }
Alexandre Julliardd0783772007-07-02 17:28:50 +02009466
9467else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009469$as_echo "$ac_cv_lib_soname_curses" >&6; }
Alexandre Julliardd0783772007-07-02 17:28:50 +02009470
9471cat >>confdefs.h <<_ACEOF
9472#define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9473_ACEOF
9474
9475 CURSESLIBS="-lcurses"
Joseph Praneviche884f9c1999-01-03 16:14:34 +00009476fi
Alexandre Julliard8f1d42e2006-12-16 17:01:37 +01009477fi
9478ac_save_LIBS="$LIBS"
9479LIBS="$LIBS $CURSESLIBS"
Alexandre Julliardf5f37a82006-06-27 16:41:43 +02009480for ac_func in mousemask
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009481do :
9482 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
9483if test "x$ac_cv_func_mousemask" = x""yes; then :
Alexandre Julliardf5f37a82006-06-27 16:41:43 +02009484 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009485#define HAVE_MOUSEMASK 1
Alexandre Julliardf5f37a82006-06-27 16:41:43 +02009486_ACEOF
9487
9488fi
9489done
9490
Alexandre Julliard8f1d42e2006-12-16 17:01:37 +01009491LIBS="$ac_save_LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009492if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009493 case "x$with_curses" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009494 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009495 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009496 *) as_fn_error "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9497This is an error since --with-curses was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009498esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02009499fi
9500
Francois Gouget3fe5d802009-01-14 14:16:06 +01009501if test "x$with_sane" != "xno"
9502then
9503 ac_save_CPPFLAGS="$CPPFLAGS"
9504 # Extract the first word of "sane-config", so it can be a program name with args.
Shi Quan He6b0720f2002-03-21 02:58:39 +00009505set dummy sane-config; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009506{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009507$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009508if test "${ac_cv_prog_sane_devel+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009509 $as_echo_n "(cached) " >&6
Shi Quan He6b0720f2002-03-21 02:58:39 +00009510else
9511 if test -n "$sane_devel"; then
9512 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9513else
Alexandre Julliarddaa28862002-04-11 21:54:01 +00009514as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9515for as_dir in $PATH
9516do
9517 IFS=$as_save_IFS
9518 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009519 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01009520 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliarddaa28862002-04-11 21:54:01 +00009521 ac_cv_prog_sane_devel="sane-config"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Alexandre Julliarddaa28862002-04-11 21:54:01 +00009523 break 2
9524 fi
9525done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009526 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009527IFS=$as_save_IFS
Shi Quan He6b0720f2002-03-21 02:58:39 +00009528
9529 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9530fi
9531fi
9532sane_devel=$ac_cv_prog_sane_devel
9533if test -n "$sane_devel"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009535$as_echo "$sane_devel" >&6; }
Shi Quan He6b0720f2002-03-21 02:58:39 +00009536else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009538$as_echo "no" >&6; }
Shi Quan He6b0720f2002-03-21 02:58:39 +00009539fi
9540
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009541
Francois Gouget3fe5d802009-01-14 14:16:06 +01009542 if test "$sane_devel" != "no"
9543 then
9544 ac_sane_incl="`$sane_devel --cflags`"
9545 ac_sane_libs="`$sane_devel --ldflags`"
9546 CPPFLAGS="$CPPFLAGS $ac_sane_incl"
9547 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009548 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9549if test "x$ac_cv_header_sane_sane_h" = x""yes; then :
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009551$as_echo_n "checking for -lsane... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009552if test "${ac_cv_lib_soname_sane+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009553 $as_echo_n "(cached) " >&6
Alexandre Julliard418e74b2007-07-02 19:42:13 +02009554else
9555 ac_check_soname_save_LIBS=$LIBS
Francois Gougeta9d7bab2008-07-20 22:41:41 +02009556LIBS="-lsane $ac_sane_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard418e74b2007-07-02 19:42:13 +02009558/* end confdefs.h. */
9559
9560/* Override any GCC internal prototype to avoid an error.
9561 Use char because int might match the return type of a GCC
9562 builtin and then its argument prototype would still apply. */
9563#ifdef __cplusplus
9564extern "C"
9565#endif
9566char sane_init ();
9567int
9568main ()
9569{
9570return sane_init ();
9571 ;
9572 return 0;
9573}
9574_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009575if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard418e74b2007-07-02 19:42:13 +02009576 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01009577 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard418e74b2007-07-02 19:42:13 +02009578 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'` ;;
9579 *) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9580 esac
Alexandre Julliard418e74b2007-07-02 19:42:13 +02009581fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009582rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard418e74b2007-07-02 19:42:13 +02009584 LIBS=$ac_check_soname_save_LIBS
9585fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009586if test "x$ac_cv_lib_soname_sane" = "x"; then :
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009588$as_echo "not found" >&6; }
Shi Quan He6b0720f2002-03-21 02:58:39 +00009589
9590else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009592$as_echo "$ac_cv_lib_soname_sane" >&6; }
Alexandre Julliard418e74b2007-07-02 19:42:13 +02009593
9594cat >>confdefs.h <<_ACEOF
9595#define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9596_ACEOF
9597
9598 SANEINCL="$ac_sane_incl"
9599
9600fi
Shi Quan He6b0720f2002-03-21 02:58:39 +00009601fi
9602
Alexandre Julliarddaa28862002-04-11 21:54:01 +00009603
Shi Quan He6b0720f2002-03-21 02:58:39 +00009604 CPPFLAGS="$ac_save_CPPFLAGS"
9605fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009606if test "x$ac_cv_lib_soname_sane" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009607 case "x$with_sane" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009608 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009609 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009610 *) as_fn_error "libsane ${notice_platform}development files not found, scanners won't be supported.
9611This is an error since --with-sane was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009612esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02009613fi
9614
Maarten Lankhorstbf6f0752010-01-28 23:27:12 +01009615if test "x$with_v4l" != "xno"
9616then
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9618$as_echo_n "checking for -lv4l1... " >&6; }
9619if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9620 $as_echo_n "(cached) " >&6
9621else
9622 ac_check_soname_save_LIBS=$LIBS
9623LIBS="-lv4l1 $LIBS"
9624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9625/* end confdefs.h. */
9626
9627/* Override any GCC internal prototype to avoid an error.
9628 Use char because int might match the return type of a GCC
9629 builtin and then its argument prototype would still apply. */
9630#ifdef __cplusplus
9631extern "C"
9632#endif
9633char v4l1_open ();
9634int
9635main ()
9636{
9637return v4l1_open ();
9638 ;
9639 return 0;
9640}
9641_ACEOF
9642if ac_fn_c_try_link "$LINENO"; then :
9643 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01009644 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Maarten Lankhorstbf6f0752010-01-28 23:27:12 +01009645 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'` ;;
9646 *) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9647 esac
9648fi
9649rm -f core conftest.err conftest.$ac_objext \
9650 conftest$ac_exeext conftest.$ac_ext
9651 LIBS=$ac_check_soname_save_LIBS
9652fi
9653if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9655$as_echo "not found" >&6; }
9656
9657else
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9659$as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9660
9661cat >>confdefs.h <<_ACEOF
9662#define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9663_ACEOF
9664
9665
9666fi
9667fi
9668if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9669 case "x$with_v4l" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009670 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
Maarten Lankhorstbf6f0752010-01-28 23:27:12 +01009671 xno) ;;
9672 *) as_fn_error "libv4l ${notice_platform}development files not found.
9673This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9674esac
9675fi
9676
Francois Gouget3fe5d802009-01-14 14:16:06 +01009677if test "x$with_gphoto" != "xno"
9678then
9679 ac_save_CPPFLAGS="$CPPFLAGS"
9680 # Extract the first word of "gphoto2-config", so it can be a program name with args.
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009681set dummy gphoto2-config; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009682{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009683$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009684if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009685 $as_echo_n "(cached) " >&6
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009686else
9687 if test -n "$gphoto2_devel"; then
9688 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
9689else
9690as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9691for as_dir in $PATH
9692do
9693 IFS=$as_save_IFS
9694 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009695 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01009696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009697 ac_cv_prog_gphoto2_devel="gphoto2-config"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009699 break 2
9700 fi
9701done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009702 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009703IFS=$as_save_IFS
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009704
9705 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
9706fi
9707fi
9708gphoto2_devel=$ac_cv_prog_gphoto2_devel
9709if test -n "$gphoto2_devel"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009711$as_echo "$gphoto2_devel" >&6; }
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009712else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009714$as_echo "no" >&6; }
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009715fi
9716
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009717
Francois Gouget3fe5d802009-01-14 14:16:06 +01009718 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009719set dummy gphoto2-port-config; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009720{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009721$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009722if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009723 $as_echo_n "(cached) " >&6
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009724else
9725 if test -n "$gphoto2port_devel"; then
9726 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
9727else
9728as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9729for as_dir in $PATH
9730do
9731 IFS=$as_save_IFS
9732 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009733 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01009734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009735 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009737 break 2
9738 fi
9739done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009740 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009741IFS=$as_save_IFS
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009742
9743 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
9744fi
9745fi
9746gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
9747if test -n "$gphoto2port_devel"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009749$as_echo "$gphoto2port_devel" >&6; }
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009750else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009752$as_echo "no" >&6; }
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009753fi
9754
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009755
Francois Gouget3fe5d802009-01-14 14:16:06 +01009756 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
9757 then
9758 ac_gphoto2_incl="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
9759 ac_gphoto2_libs=""
9760 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
9761 do
9762 case "$i" in
9763 -L/usr/lib|-L/usr/lib64) ;;
9764 -L*|-l*) ac_gphoto2_libs="$ac_gphoto2_libs $i";;
9765 esac
9766 done
9767 CPPFLAGS="$CPPFLAGS $ac_gphoto2_incl"
9768 fi
Shunichi Fuji4bf77d62009-01-20 15:24:46 +09009769 ac_gphoto2_libs=${ac_gphoto2_libs:-"-lgphoto2"}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009770 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
9771if test "x$ac_cv_header_gphoto2_camera_h" = x""yes; then :
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009773$as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009774if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009775 $as_echo_n "(cached) " >&6
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009776else
9777 ac_check_lib_save_LIBS=$LIBS
Francois Gouget4bc03fe2008-07-21 17:10:45 +02009778LIBS="-lgphoto2 $ac_gphoto2_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009779cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009780/* end confdefs.h. */
9781
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009782/* Override any GCC internal prototype to avoid an error.
9783 Use char because int might match the return type of a GCC
9784 builtin and then its argument prototype would still apply. */
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009785#ifdef __cplusplus
9786extern "C"
9787#endif
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009788char gp_camera_new ();
9789int
9790main ()
9791{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009792return gp_camera_new ();
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009793 ;
9794 return 0;
9795}
9796_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009797if ac_fn_c_try_link "$LINENO"; then :
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009798 ac_cv_lib_gphoto2_gp_camera_new=yes
9799else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009800 ac_cv_lib_gphoto2_gp_camera_new=no
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009801fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009802rm -f core conftest.err conftest.$ac_objext \
9803 conftest$ac_exeext conftest.$ac_ext
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009804LIBS=$ac_check_lib_save_LIBS
9805fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009806{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009807$as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009808if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x""yes; then :
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009809
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009810$as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009811
Alexandre Julliardf9dec942007-07-10 15:14:15 +02009812 GPHOTO2LIBS="$ac_gphoto2_libs"
9813
9814 GPHOTO2INCL="$ac_gphoto2_incl"
9815
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009816fi
9817
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009818fi
9819
9820
Marcus Meissner40e7ef32006-05-08 20:09:37 +02009821 CPPFLAGS="$ac_save_CPPFLAGS"
9822fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009823if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009824 case "x$with_gphoto" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009825 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009826 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009827 *) as_fn_error "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
9828This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009829esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02009830fi
9831
9832
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02009833RESOLVLIBS=""
9834
9835if test "$ac_cv_header_resolv_h" = "yes"
9836then
Alexandre Julliard4a9a3d72008-12-26 19:36:27 +01009837 ac_save_LIBS="$LIBS"
9838 LIBS="$LIBS -lresolv"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02009840/* end confdefs.h. */
Rob Shearmanba349212009-01-02 12:12:06 +00009841#ifdef HAVE_NETINET_IN_H
9842#include <netinet/in.h>
9843#endif
Alexandre Julliard4a9a3d72008-12-26 19:36:27 +01009844#include <resolv.h>
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02009845int
9846main ()
9847{
Alexandre Julliard4a9a3d72008-12-26 19:36:27 +01009848res_init();
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02009849 ;
9850 return 0;
9851}
9852_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009853if ac_fn_c_try_link "$LINENO"; then :
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02009854
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009855$as_echo "#define HAVE_RESOLV 1" >>confdefs.h
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02009856
9857 RESOLVLIBS="-lresolv"
9858fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009859rm -f core conftest.err conftest.$ac_objext \
9860 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard4a9a3d72008-12-26 19:36:27 +01009861 LIBS="$ac_save_LIBS"
Hans Leidekker2d6d4e92006-04-09 18:36:01 +02009862fi
9863
Hans Leidekkerd3447022005-07-15 10:09:43 +00009864LCMSLIBS=""
9865
9866if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9867then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009869$as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009870if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009871 $as_echo_n "(cached) " >&6
Hans Leidekkerd3447022005-07-15 10:09:43 +00009872else
9873 ac_check_lib_save_LIBS=$LIBS
9874LIBS="-llcms $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009875cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Hans Leidekkerd3447022005-07-15 10:09:43 +00009876/* end confdefs.h. */
9877
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009878/* Override any GCC internal prototype to avoid an error.
9879 Use char because int might match the return type of a GCC
9880 builtin and then its argument prototype would still apply. */
Hans Leidekkerd3447022005-07-15 10:09:43 +00009881#ifdef __cplusplus
9882extern "C"
9883#endif
Hans Leidekkerd3447022005-07-15 10:09:43 +00009884char cmsOpenProfileFromFile ();
9885int
9886main ()
9887{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009888return cmsOpenProfileFromFile ();
Hans Leidekkerd3447022005-07-15 10:09:43 +00009889 ;
9890 return 0;
9891}
9892_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009893if ac_fn_c_try_link "$LINENO"; then :
Hans Leidekkerd3447022005-07-15 10:09:43 +00009894 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
9895else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009896 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
Hans Leidekkerd3447022005-07-15 10:09:43 +00009897fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009898rm -f core conftest.err conftest.$ac_objext \
9899 conftest$ac_exeext conftest.$ac_ext
Hans Leidekkerd3447022005-07-15 10:09:43 +00009900LIBS=$ac_check_lib_save_LIBS
9901fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009902{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009903$as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009904if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x""yes; then :
Hans Leidekkerd3447022005-07-15 10:09:43 +00009905
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009906$as_echo "#define HAVE_LCMS 1" >>confdefs.h
Hans Leidekkerd3447022005-07-15 10:09:43 +00009907
9908 LCMSLIBS="-llcms"
9909fi
9910
9911fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009912if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009913 case "x$with_cms" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +01009914 x) as_fn_append wine_notices "|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009915 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009916 *) as_fn_error "liblcms ${notice_platform}development files not found, Color Management won't be supported.
9917This is an error since --with-cms was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +01009918esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +02009919fi
9920
Francois Gouget3fe5d802009-01-14 14:16:06 +01009921if test "x$with_freetype" != "xno"
9922then
9923 for ac_prog in freetype-config freetype2-config
Alexandre Julliard24a55f32007-07-09 22:43:20 +02009924do
9925 # Extract the first word of "$ac_prog", so it can be a program name with args.
9926set dummy $ac_prog; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009928$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009929if test "${ac_cv_prog_ft_devel+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009930 $as_echo_n "(cached) " >&6
Mike McCormackd9ef88c2006-07-24 15:24:44 +09009931else
9932 if test -n "$ft_devel"; then
9933 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9934else
9935as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9936for as_dir in $PATH
9937do
9938 IFS=$as_save_IFS
9939 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009940 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +01009941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Alexandre Julliard24a55f32007-07-09 22:43:20 +02009942 ac_cv_prog_ft_devel="$ac_prog"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Mike McCormackd9ef88c2006-07-24 15:24:44 +09009944 break 2
9945 fi
9946done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009947 done
Mike McCormackd9ef88c2006-07-24 15:24:44 +09009948IFS=$as_save_IFS
9949
Mike McCormackd9ef88c2006-07-24 15:24:44 +09009950fi
9951fi
9952ft_devel=$ac_cv_prog_ft_devel
9953if test -n "$ft_devel"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009955$as_echo "$ft_devel" >&6; }
Mike McCormackd9ef88c2006-07-24 15:24:44 +09009956else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009958$as_echo "no" >&6; }
Mike McCormackd9ef88c2006-07-24 15:24:44 +09009959fi
9960
9961
Alexandre Julliard24a55f32007-07-09 22:43:20 +02009962 test -n "$ft_devel" && break
9963done
Francois Gouget3fe5d802009-01-14 14:16:06 +01009964test -n "$ft_devel" || ft_devel="no"
Alexandre Julliard24a55f32007-07-09 22:43:20 +02009965
Francois Gouget3fe5d802009-01-14 14:16:06 +01009966 if test "$ft_devel" != "no"
9967 then
9968 ac_freetype_incl=`$ft_devel --cflags`
9969 ac_freetype_libs=`$ft_devel --libs`
9970 fi
Shunichi Fuji4bf77d62009-01-20 15:24:46 +09009971 ac_freetype_libs=${ac_freetype_libs:-"-lfreetype"}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +01009973$as_echo_n "checking for -lfreetype... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009974if test "${ac_cv_lib_soname_freetype+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +01009975 $as_echo_n "(cached) " >&6
Mike McCormackd9ef88c2006-07-24 15:24:44 +09009976else
Alexandre Julliard24a55f32007-07-09 22:43:20 +02009977 ac_check_soname_save_LIBS=$LIBS
9978LIBS="-lfreetype $ac_freetype_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +00009980/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009981
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009982/* Override any GCC internal prototype to avoid an error.
9983 Use char because int might match the return type of a GCC
9984 builtin and then its argument prototype would still apply. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009985#ifdef __cplusplus
9986extern "C"
9987#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009988char FT_Init_FreeType ();
9989int
9990main ()
9991{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +02009992return FT_Init_FreeType ();
Alexandre Julliardf5818d22002-02-14 19:47:29 +00009993 ;
9994 return 0;
9995}
9996_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +02009997if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard24a55f32007-07-09 22:43:20 +02009998 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +01009999 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard24a55f32007-07-09 22:43:20 +020010000 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'` ;;
10001 *) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10002 esac
Ian Pilcher563598d2001-05-16 20:56:05 +000010003fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010004rm -f core conftest.err conftest.$ac_objext \
10005 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard24a55f32007-07-09 22:43:20 +020010006 LIBS=$ac_check_soname_save_LIBS
Ian Pilcher563598d2001-05-16 20:56:05 +000010007fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010008if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010010$as_echo "not found" >&6; }
Alexandre Julliard24a55f32007-07-09 22:43:20 +020010011 ft_lib=no
Ian Pilcher563598d2001-05-16 20:56:05 +000010012else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010014$as_echo "$ac_cv_lib_soname_freetype" >&6; }
Alexandre Julliard24a55f32007-07-09 22:43:20 +020010015
10016cat >>confdefs.h <<_ACEOF
10017#define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10018_ACEOF
10019
10020 ft_lib=yes
Ian Pilcher563598d2001-05-16 20:56:05 +000010021fi
Alexandre Julliard24a55f32007-07-09 22:43:20 +020010022 if test "$ft_lib" = "yes"
Marcus Meissnerd28955d2001-05-31 21:35:15 +000010023 then
Ian Pilcher40432fe2001-06-06 21:05:23 +000010024 ac_save_CPPFLAGS="$CPPFLAGS"
Alexandre Julliard24a55f32007-07-09 22:43:20 +020010025 CPPFLAGS="$ac_freetype_incl $CPPFLAGS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010026 for ac_header in ft2build.h \
Rein Klazese617a9c2003-11-19 02:18:13 +000010027 freetype/freetype.h \
Ian Pilcher40432fe2001-06-06 21:05:23 +000010028 freetype/ftglyph.h \
Dmitry Timoshkovb0d15902007-09-20 19:10:31 +090010029 freetype/fttypes.h \
Ian Pilcher40432fe2001-06-06 21:05:23 +000010030 freetype/tttables.h \
Ian Pilcher40432fe2001-06-06 21:05:23 +000010031 freetype/ftsnames.h \
Huw D M Davies814654e2001-09-12 20:21:06 +000010032 freetype/ttnameid.h \
Huw D M Davies4e2024e2001-10-23 20:06:32 +000010033 freetype/ftoutln.h \
Huw Daviesc2217182004-06-16 20:06:26 +000010034 freetype/ftwinfnt.h \
Huw Davies603d21c2006-01-24 10:57:35 +010010035 freetype/ftmodapi.h \
ByeongSik Jeon028617b2008-12-10 23:50:44 +090010036 freetype/ftlcdfil.h \
Huw D M Davies4e2024e2001-10-23 20:06:32 +000010037 freetype/internal/sfnt.h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010038do :
10039 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10040ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
Francois Gouget9e67edf2008-03-06 12:34:48 +010010041 # include <ft2build.h>
Rein Klazes9c269172003-11-20 04:17:33 +000010042 #endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010043"
10044eval as_val=\$$as_ac_Header
10045 if test "x$as_val" = x""yes; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +000010046 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010010047#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000010048_ACEOF
10049
10050fi
10051
Ian Pilcher40432fe2001-06-06 21:05:23 +000010052done
10053
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000010055/* end confdefs.h. */
Alexandre Julliard18d75732002-01-29 03:02:50 +000010056#include <ft2build.h>
10057 #include <freetype/fttrigon.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +000010058_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010059if ac_fn_c_try_cpp "$LINENO"; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +000010060
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010061$as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
Alexandre Julliard18d75732002-01-29 03:02:50 +000010062
Huw D M Daviesc1d38132002-02-08 17:09:50 +000010063 wine_cv_fttrigon=yes
Alexandre Julliard18d75732002-01-29 03:02:50 +000010064else
Huw D M Daviesc1d38132002-02-08 17:09:50 +000010065 wine_cv_fttrigon=no
Alexandre Julliard18d75732002-01-29 03:02:50 +000010066fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +000010067rm -f conftest.err conftest.$ac_ext
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010068 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10069"
10070if test "x$ac_cv_type_FT_TrueTypeEngineType" = x""yes; then :
Huw Daviesd8a6c272006-02-22 12:24:25 +000010071
10072cat >>confdefs.h <<_ACEOF
10073#define HAVE_FT_TRUETYPEENGINETYPE 1
10074_ACEOF
10075
10076
10077fi
10078
Huw Davies35bca772006-04-12 12:14:27 +010010079 ac_save_CFLAGS="$CFLAGS"
Alexandre Julliard24a55f32007-07-09 22:43:20 +020010080 CFLAGS="$CFLAGS $ac_freetype_libs"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010081 for ac_func in FT_Load_Sfnt_Table
10082do :
10083 ac_fn_c_check_func "$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10084if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x""yes; then :
Huw Davies35bca772006-04-12 12:14:27 +010010085 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010086#define HAVE_FT_LOAD_SFNT_TABLE 1
Huw Davies35bca772006-04-12 12:14:27 +010010087_ACEOF
10088
10089fi
10090done
10091
10092 CFLAGS="$ac_save_CFLAGS"
Ian Pilcher40432fe2001-06-06 21:05:23 +000010093 CPPFLAGS="$ac_save_CPPFLAGS"
Huw D M Daviesc1d38132002-02-08 17:09:50 +000010094 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
Huw D M Davies9b1d3722002-01-29 17:09:28 +000010095 then
Alexandre Julliardf5818d22002-02-14 19:47:29 +000010096
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010097$as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
Huw D M Davies9b1d3722002-01-29 17:09:28 +000010098
Alexandre Julliard24a55f32007-07-09 22:43:20 +020010099 FREETYPELIBS="$ac_freetype_libs"
10100
10101 FREETYPEINCL="$ac_freetype_incl"
10102
Huw D M Davies9b1d3722002-01-29 17:09:28 +000010103 fi
Ian Pilcher563598d2001-05-16 20:56:05 +000010104 fi
10105fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010106if test "x$FREETYPELIBS" = "x"; then :
Alexandre Julliarda20c0e12008-05-21 14:55:53 +020010107 case "x$with_freetype" in
10108 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010109 *) as_fn_error "FreeType ${notice_platform}development files not found. Fonts will not be built.
10110Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
Alexandre Julliarda20c0e12008-05-21 14:55:53 +020010111esac
Huw Davies00acb5f2004-08-17 22:33:14 +000010112fi
Alexandre Julliard6de0af12008-08-25 14:41:03 +020010113test "x$FREETYPELIBS" = "x" && enable_fonts=${enable_fonts:-no}
Alexandre Julliarda20c0e12008-05-21 14:55:53 +020010114
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010115{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010116$as_echo_n "checking for parport header/ppdev.h... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010117if test "${ac_cv_c_ppdev+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010118 $as_echo_n "(cached) " >&6
Pavel Roskin94d99641998-12-26 11:52:51 +000010119else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000010121/* end confdefs.h. */
Uwe Bonnes6509fa92001-06-26 21:06:07 +000010122#include <linux/ppdev.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +000010123int
10124main ()
10125{
Uwe Bonnes6509fa92001-06-26 21:06:07 +000010126ioctl (1,PPCLAIM,0)
Alexandre Julliardf5818d22002-02-14 19:47:29 +000010127 ;
10128 return 0;
10129}
10130_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010131if ac_fn_c_try_compile "$LINENO"; then :
Uwe Bonnes6509fa92001-06-26 21:06:07 +000010132 ac_cv_c_ppdev="yes"
10133else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010134 ac_cv_c_ppdev="no"
Uwe Bonnes6509fa92001-06-26 21:06:07 +000010135fi
Jeremy White0ebeb532006-06-20 13:18:41 +020010136rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +000010137fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010139$as_echo "$ac_cv_c_ppdev" >&6; }
Uwe Bonnes6509fa92001-06-26 21:06:07 +000010140if test "$ac_cv_c_ppdev" = "yes"
10141then
Alexandre Julliardf5818d22002-02-14 19:47:29 +000010142
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010143$as_echo "#define HAVE_PPDEV 1" >>confdefs.h
Uwe Bonnes6509fa92001-06-26 21:06:07 +000010144
10145fi
10146
Alexandre Julliard2d1a6272006-02-11 20:54:06 +010010147ac_wine_check_funcs_save_LIBS="$LIBS"
Alexandre Julliard821ab862003-11-12 22:44:56 +000010148LIBS="$LIBS $LIBPTHREAD"
Emmanuel Maillardd110e1f2004-07-21 03:06:03 +000010149for ac_func in \
Tijl Coosemansfc8172f2006-08-05 23:31:07 +020010150 pthread_attr_get_np \
Emmanuel Maillardd110e1f2004-07-21 03:06:03 +000010151 pthread_getattr_np \
10152 pthread_get_stackaddr_np \
Alexandre Julliard2d1a6272006-02-11 20:54:06 +010010153 pthread_get_stacksize_np
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010154do :
10155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10156ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
10157eval as_val=\$$as_ac_var
10158 if test "x$as_val" = x""yes; then :
Alexandre Julliard821ab862003-11-12 22:44:56 +000010159 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010010160#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
Alexandre Julliard821ab862003-11-12 22:44:56 +000010161_ACEOF
10162
10163fi
10164done
10165
Alexandre Julliard2d1a6272006-02-11 20:54:06 +010010166LIBS="$ac_wine_check_funcs_save_LIBS"
Alexandre Julliard821ab862003-11-12 22:44:56 +000010167
Jacek Caban11ca05f2009-05-29 23:35:13 +020010168if test "$ac_cv_header_zlib_h" = "yes"
10169then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
Jacek Caban11ca05f2009-05-29 23:35:13 +020010171$as_echo_n "checking for inflate in -lz... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010172if test "${ac_cv_lib_z_inflate+set}" = set; then :
Jacek Caban11ca05f2009-05-29 23:35:13 +020010173 $as_echo_n "(cached) " >&6
10174else
10175 ac_check_lib_save_LIBS=$LIBS
10176LIBS="-lz $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010177cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Jacek Caban11ca05f2009-05-29 23:35:13 +020010178/* end confdefs.h. */
10179
10180/* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10183#ifdef __cplusplus
10184extern "C"
10185#endif
10186char inflate ();
10187int
10188main ()
10189{
10190return inflate ();
10191 ;
10192 return 0;
10193}
10194_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010195if ac_fn_c_try_link "$LINENO"; then :
Jacek Caban11ca05f2009-05-29 23:35:13 +020010196 ac_cv_lib_z_inflate=yes
10197else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010198 ac_cv_lib_z_inflate=no
Jacek Caban11ca05f2009-05-29 23:35:13 +020010199fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010200rm -f core conftest.err conftest.$ac_objext \
10201 conftest$ac_exeext conftest.$ac_ext
Jacek Caban11ca05f2009-05-29 23:35:13 +020010202LIBS=$ac_check_lib_save_LIBS
10203fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010204{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
Jacek Caban11ca05f2009-05-29 23:35:13 +020010205$as_echo "$ac_cv_lib_z_inflate" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010206if test "x$ac_cv_lib_z_inflate" = x""yes; then :
Jacek Caban11ca05f2009-05-29 23:35:13 +020010207
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010208$as_echo "#define HAVE_ZLIB 1" >>confdefs.h
Jacek Caban11ca05f2009-05-29 23:35:13 +020010209
10210 ZLIB="-lz"
10211
10212fi
10213
10214fi
10215
Francois Gouget3fe5d802009-01-14 14:16:06 +010010216if test "x$with_esd" != xno
10217then
10218 save_CFLAGS="$CFLAGS"
10219 # Extract the first word of "esd-config", so it can be a program name with args.
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010220set dummy esd-config; ac_word=$2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010221{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010222$as_echo_n "checking for $ac_word... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010223if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010224 $as_echo_n "(cached) " >&6
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010225else
10226 case $ESDCONFIG in
10227 [\\/]* | ?:[\\/]*)
10228 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
10229 ;;
10230 *)
10231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10232for as_dir in $PATH
10233do
10234 IFS=$as_save_IFS
10235 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010236 for ac_exec_ext in '' $ac_executable_extensions; do
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010010237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010238 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010240 break 2
10241 fi
10242done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010243 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010244IFS=$as_save_IFS
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010245
Francois Gouget3fe5d802009-01-14 14:16:06 +010010246 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG="no"
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010247 ;;
10248esac
10249fi
10250ESDCONFIG=$ac_cv_path_ESDCONFIG
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010251if test -n "$ESDCONFIG"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010253$as_echo "$ESDCONFIG" >&6; }
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010254else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010256$as_echo "no" >&6; }
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010257fi
10258
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010259
Francois Gouget3fe5d802009-01-14 14:16:06 +010010260 if test "x$ESDCONFIG" != "xno"
10261 then
10262 ac_esd_incl=""
10263 for i in `$ESDCONFIG --cflags`
10264 do
10265 case "$i" in
10266 -I*) ac_esd_incl="$ac_esd_incl $i";;
10267 esac
10268 done
10269 ac_esd_libs=`$ESDCONFIG --libs`
10270 CFLAGS="$CFLAGS $ac_esd_incl"
10271 fi
Shunichi Fuji4bf77d62009-01-20 15:24:46 +090010272 ac_esd_libs=${ac_esd_libs:-"-lesd"}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010273 ac_fn_c_check_header_mongrel "$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10274if test "x$ac_cv_header_esd_h" = x""yes; then :
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010276$as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010277if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010278 $as_echo_n "(cached) " >&6
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010279else
10280 ac_check_lib_save_LIBS=$LIBS
Francois Gougete9b1a402008-07-21 23:41:21 +020010281LIBS="-lesd $ac_esd_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010282cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010283/* end confdefs.h. */
10284
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010285/* Override any GCC internal prototype to avoid an error.
10286 Use char because int might match the return type of a GCC
10287 builtin and then its argument prototype would still apply. */
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010288#ifdef __cplusplus
10289extern "C"
10290#endif
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010291char esd_open_sound ();
10292int
10293main ()
10294{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010295return esd_open_sound ();
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010296 ;
10297 return 0;
10298}
10299_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010300if ac_fn_c_try_link "$LINENO"; then :
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010301 ac_cv_lib_esd_esd_open_sound=yes
10302else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010303 ac_cv_lib_esd_esd_open_sound=no
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010304fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010305rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010307LIBS=$ac_check_lib_save_LIBS
10308fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010309{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010310$as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010311if test "x$ac_cv_lib_esd_esd_open_sound" = x""yes; then :
Francois Gougete9b1a402008-07-21 23:41:21 +020010312 ESDINCL="$ac_esd_incl"
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010313
Francois Gouget3fe5d802009-01-14 14:16:06 +010010314 ESDLIBS="$ac_esd_libs"
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010315
10316
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010317$as_echo "#define HAVE_ESD 1" >>confdefs.h
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010318
10319fi
10320
Francois Gouget3fe5d802009-01-14 14:16:06 +010010321fi
10322
10323
Peter Åstrand7a15eb92005-08-03 15:53:26 +000010324 CFLAGS="$save_CFLAGS"
10325fi
10326
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010327ALSALIBS=""
10328
Marco Pietrobono0e79a412002-08-29 01:51:31 +000010329if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010330then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010332$as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010333if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010334 $as_echo_n "(cached) " >&6
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010335else
10336 ac_check_lib_save_LIBS=$LIBS
10337LIBS="-lasound $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010338cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000010339/* end confdefs.h. */
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010340
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010341/* Override any GCC internal prototype to avoid an error.
10342 Use char because int might match the return type of a GCC
10343 builtin and then its argument prototype would still apply. */
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010344#ifdef __cplusplus
10345extern "C"
10346#endif
Vincent Béron151015f2005-01-10 13:26:33 +000010347char snd_pcm_hw_params_get_access ();
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010348int
10349main ()
10350{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010351return snd_pcm_hw_params_get_access ();
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010352 ;
10353 return 0;
10354}
10355_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010356if ac_fn_c_try_link "$LINENO"; then :
Vincent Béron151015f2005-01-10 13:26:33 +000010357 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010358else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010359 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010360fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010361rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010363LIBS=$ac_check_lib_save_LIBS
10364fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010366$as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010367if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x""yes; then :
10368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Vincent Béron151015f2005-01-10 13:26:33 +000010369/* end confdefs.h. */
10370#ifdef HAVE_ALSA_ASOUNDLIB_H
10371#include <alsa/asoundlib.h>
10372#elif defined(HAVE_SYS_ASOUNDLIB_H)
10373#include <sys/asoundlib.h>
10374#endif
10375int
10376main ()
10377{
10378int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10379 ;
10380 return 0;
10381}
10382_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010383if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010384
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010385$as_echo "#define HAVE_ALSA 1" >>confdefs.h
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010386
Vincent Béron151015f2005-01-10 13:26:33 +000010387 ALSALIBS="-lasound"
Vincent Béron151015f2005-01-10 13:26:33 +000010388fi
Jeremy White0ebeb532006-06-20 13:18:41 +020010389rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardf92b7c02002-06-28 18:31:01 +000010390fi
10391
10392fi
10393
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010394AUDIOIOLIBS=""
10395
Alexandre Julliard73482142005-08-03 19:21:04 +000010396if test "$ac_cv_header_libaudioio_h" = "yes"
10397then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010399$as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010400if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010401 $as_echo_n "(cached) " >&6
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010402else
10403 ac_check_lib_save_LIBS=$LIBS
10404LIBS="-laudioio $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010405cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000010406/* end confdefs.h. */
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010407
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010408/* Override any GCC internal prototype to avoid an error.
10409 Use char because int might match the return type of a GCC
10410 builtin and then its argument prototype would still apply. */
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010411#ifdef __cplusplus
10412extern "C"
10413#endif
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010414char AudioIOGetVersion ();
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010415int
10416main ()
10417{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010418return AudioIOGetVersion ();
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010419 ;
10420 return 0;
10421}
10422_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010423if ac_fn_c_try_link "$LINENO"; then :
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010424 ac_cv_lib_audioio_AudioIOGetVersion=yes
10425else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010426 ac_cv_lib_audioio_AudioIOGetVersion=no
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010427fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010428rm -f core conftest.err conftest.$ac_objext \
10429 conftest$ac_exeext conftest.$ac_ext
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010430LIBS=$ac_check_lib_save_LIBS
10431fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010432{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010433$as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010434if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x""yes; then :
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010435 AUDIOIOLIBS="-laudioio"
10436
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010437$as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010438
10439fi
10440
10441fi
10442
Robert Lunnon2a91e3f2002-08-01 18:22:38 +000010443
Alexandre Julliard73482142005-08-03 19:21:04 +000010444if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10445then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010447$as_echo_n "checking for -lcapi20... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010448if test "${ac_cv_lib_soname_capi20+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010449 $as_echo_n "(cached) " >&6
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010450else
Alexandre Julliard3336e9b2007-07-02 17:29:17 +020010451 ac_check_soname_save_LIBS=$LIBS
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010452LIBS="-lcapi20 $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010454/* end confdefs.h. */
10455
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010456/* Override any GCC internal prototype to avoid an error.
10457 Use char because int might match the return type of a GCC
10458 builtin and then its argument prototype would still apply. */
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010459#ifdef __cplusplus
10460extern "C"
10461#endif
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010462char capi20_register ();
10463int
10464main ()
10465{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020010466return capi20_register ();
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010467 ;
10468 return 0;
10469}
10470_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010471if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard3336e9b2007-07-02 17:29:17 +020010472 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010473 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard3336e9b2007-07-02 17:29:17 +020010474 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'` ;;
10475 *) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10476 esac
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010477fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010478rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard3336e9b2007-07-02 17:29:17 +020010480 LIBS=$ac_check_soname_save_LIBS
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010481fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010482if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010484$as_echo "not found" >&6; }
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010485
Alexandre Julliard3336e9b2007-07-02 17:29:17 +020010486else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010488$as_echo "$ac_cv_lib_soname_capi20" >&6; }
Alexandre Julliard3336e9b2007-07-02 17:29:17 +020010489
10490cat >>confdefs.h <<_ACEOF
10491#define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010492_ACEOF
10493
Alexandre Julliard3336e9b2007-07-02 17:29:17 +020010494
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010495fi
Alexandre Julliard00fdd9f2003-11-06 00:26:43 +000010496fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010497if test "x$ac_cv_lib_soname_capi20" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010498 case "x$with_capi" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010010499 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010500 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010501 *) as_fn_error "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10502This is an error since --with-capi was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010503esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +020010504fi
10505
Francois Gouget289ea332008-07-24 16:09:07 +020010506CUPSINCL=""
10507
10508if test "x$with_cups" != "xno"
Alexandre Julliard702d3552007-07-02 17:30:44 +020010509then
Francois Gouget289ea332008-07-24 16:09:07 +020010510 ac_save_CPPFLAGS="$CPPFLAGS"
10511 ac_cups_cflags=`cups-config --cflags 2>/dev/null`
Alexandre Julliarda991a562008-07-28 12:04:46 +020010512 ac_cups_libs=`cups-config --ldflags 2>/dev/null`
Francois Gouget289ea332008-07-24 16:09:07 +020010513 CPPFLAGS="$CPPFLAGS $ac_cups_cflags"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010514 for ac_header in cups/cups.h
10515do :
10516 ac_fn_c_check_header_mongrel "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10517if test "x$ac_cv_header_cups_cups_h" = x""yes; then :
Francois Gouget289ea332008-07-24 16:09:07 +020010518 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010519#define HAVE_CUPS_CUPS_H 1
Francois Gouget289ea332008-07-24 16:09:07 +020010520_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010522$as_echo_n "checking for -lcups... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010523if test "${ac_cv_lib_soname_cups+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010524 $as_echo_n "(cached) " >&6
Alexandre Julliard702d3552007-07-02 17:30:44 +020010525else
10526 ac_check_soname_save_LIBS=$LIBS
Francois Gouget289ea332008-07-24 16:09:07 +020010527LIBS="-lcups $ac_cups_libs $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard702d3552007-07-02 17:30:44 +020010529/* end confdefs.h. */
10530
10531/* Override any GCC internal prototype to avoid an error.
10532 Use char because int might match the return type of a GCC
10533 builtin and then its argument prototype would still apply. */
10534#ifdef __cplusplus
10535extern "C"
10536#endif
10537char cupsGetDefault ();
10538int
10539main ()
10540{
10541return cupsGetDefault ();
10542 ;
10543 return 0;
10544}
10545_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010546if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard702d3552007-07-02 17:30:44 +020010547 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010548 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard702d3552007-07-02 17:30:44 +020010549 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'` ;;
10550 *) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10551 esac
Alexandre Julliard702d3552007-07-02 17:30:44 +020010552fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010553rm -f core conftest.err conftest.$ac_objext \
10554 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard702d3552007-07-02 17:30:44 +020010555 LIBS=$ac_check_soname_save_LIBS
10556fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010557if test "x$ac_cv_lib_soname_cups" = "x"; then :
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010559$as_echo "not found" >&6; }
Alexandre Julliard702d3552007-07-02 17:30:44 +020010560
10561else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010563$as_echo "$ac_cv_lib_soname_cups" >&6; }
Alexandre Julliard702d3552007-07-02 17:30:44 +020010564
10565cat >>confdefs.h <<_ACEOF
10566#define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10567_ACEOF
10568
Francois Gouget289ea332008-07-24 16:09:07 +020010569 CUPSINCL="$ac_cups_cflags"
10570fi
Alexandre Julliard702d3552007-07-02 17:30:44 +020010571fi
10572
Francois Gouget289ea332008-07-24 16:09:07 +020010573done
10574
10575 CPPFLAGS="$ac_save_CPPFLAGS"
Alexandre Julliard702d3552007-07-02 17:30:44 +020010576fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010577if test "x$ac_cv_lib_soname_cups" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010578 case "x$with_cups" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010010579 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010580 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010581 *) as_fn_error "libcups ${notice_platform}development files not found, CUPS won't be supported.
10582This is an error since --with-cups was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010583esac
Alexandre Julliardf9dec942007-07-10 15:14:15 +020010584fi
10585
Alexandre Julliard34200c32007-07-02 17:31:19 +020010586if test "$ac_cv_header_jack_jack_h" = "yes"
10587then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010589$as_echo_n "checking for -ljack... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010590if test "${ac_cv_lib_soname_jack+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010591 $as_echo_n "(cached) " >&6
Alexandre Julliard34200c32007-07-02 17:31:19 +020010592else
10593 ac_check_soname_save_LIBS=$LIBS
10594LIBS="-ljack $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard34200c32007-07-02 17:31:19 +020010596/* end confdefs.h. */
10597
10598/* Override any GCC internal prototype to avoid an error.
10599 Use char because int might match the return type of a GCC
10600 builtin and then its argument prototype would still apply. */
10601#ifdef __cplusplus
10602extern "C"
10603#endif
10604char jack_client_new ();
10605int
10606main ()
10607{
10608return jack_client_new ();
10609 ;
10610 return 0;
10611}
10612_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010613if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard34200c32007-07-02 17:31:19 +020010614 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010615 dll) ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Francois Gouget90a6fb02008-07-11 17:47:23 +020010616 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'` ;;
10617 *) 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'` ;;
Alexandre Julliard34200c32007-07-02 17:31:19 +020010618 esac
Alexandre Julliard34200c32007-07-02 17:31:19 +020010619fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010620rm -f core conftest.err conftest.$ac_objext \
10621 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard34200c32007-07-02 17:31:19 +020010622 LIBS=$ac_check_soname_save_LIBS
10623fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010624if test "x$ac_cv_lib_soname_jack" = "x"; then :
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010626$as_echo "not found" >&6; }
Alexandre Julliard34200c32007-07-02 17:31:19 +020010627
10628else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010630$as_echo "$ac_cv_lib_soname_jack" >&6; }
Alexandre Julliard34200c32007-07-02 17:31:19 +020010631
10632cat >>confdefs.h <<_ACEOF
10633#define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
10634_ACEOF
10635
10636
10637fi
Alexandre Julliard34200c32007-07-02 17:31:19 +020010638fi
10639
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010640if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10641then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010643$as_echo_n "checking for -lfontconfig... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010644if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010645 $as_echo_n "(cached) " >&6
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010646else
10647 ac_check_soname_save_LIBS=$LIBS
10648LIBS="-lfontconfig $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010650/* end confdefs.h. */
10651
10652/* Override any GCC internal prototype to avoid an error.
10653 Use char because int might match the return type of a GCC
10654 builtin and then its argument prototype would still apply. */
10655#ifdef __cplusplus
10656extern "C"
10657#endif
10658char FcInit ();
10659int
10660main ()
10661{
10662return FcInit ();
10663 ;
10664 return 0;
10665}
10666_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010667if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010668 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010669 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010670 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'` ;;
10671 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10672 esac
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010673fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010674rm -f core conftest.err conftest.$ac_objext \
10675 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010676 LIBS=$ac_check_soname_save_LIBS
10677fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010678if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010680$as_echo "not found" >&6; }
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010681
10682else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010684$as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010685
10686cat >>confdefs.h <<_ACEOF
10687#define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10688_ACEOF
10689
10690
10691fi
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010692elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
Alexandre Julliard5c076732007-10-17 17:04:01 +020010693then
10694 ac_save_CPPFLAGS="$CPPFLAGS"
10695 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10696 $as_unset ac_cv_header_fontconfig_fontconfig_h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010697 for ac_header in fontconfig/fontconfig.h
10698do :
10699 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
10700if test "x$ac_cv_header_fontconfig_fontconfig_h" = x""yes; then :
Alexandre Julliard5c076732007-10-17 17:04:01 +020010701 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010702#define HAVE_FONTCONFIG_FONTCONFIG_H 1
Alexandre Julliard5c076732007-10-17 17:04:01 +020010703_ACEOF
10704
10705fi
10706
10707done
10708
10709 CPPFLAGS="$ac_save_CPPFLAGS"
10710 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10711 then
10712 FONTCONFIGINCL="$X_CFLAGS"
10713
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010715$as_echo_n "checking for -lfontconfig... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010716if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010717 $as_echo_n "(cached) " >&6
Alexandre Julliard5c076732007-10-17 17:04:01 +020010718else
10719 ac_check_soname_save_LIBS=$LIBS
10720LIBS="-lfontconfig $X_LIBS $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard5c076732007-10-17 17:04:01 +020010722/* end confdefs.h. */
10723
10724/* Override any GCC internal prototype to avoid an error.
10725 Use char because int might match the return type of a GCC
10726 builtin and then its argument prototype would still apply. */
10727#ifdef __cplusplus
10728extern "C"
10729#endif
10730char FcInit ();
10731int
10732main ()
10733{
10734return FcInit ();
10735 ;
10736 return 0;
10737}
10738_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010739if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard5c076732007-10-17 17:04:01 +020010740 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010741 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard5c076732007-10-17 17:04:01 +020010742 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'` ;;
10743 *) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10744 esac
Alexandre Julliard5c076732007-10-17 17:04:01 +020010745fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010746rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard5c076732007-10-17 17:04:01 +020010748 LIBS=$ac_check_soname_save_LIBS
10749fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010750if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010752$as_echo "not found" >&6; }
Alexandre Julliard5c076732007-10-17 17:04:01 +020010753
10754else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010756$as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
Alexandre Julliard5c076732007-10-17 17:04:01 +020010757
10758cat >>confdefs.h <<_ACEOF
10759#define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10760_ACEOF
10761
10762
10763fi
Alexandre Julliard5c076732007-10-17 17:04:01 +020010764 fi
Alexandre Julliardccd5f282007-07-02 17:31:48 +020010765fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010766if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010767 case "x$with_fontconfig" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010010768 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010769 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010770 *) as_fn_error "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
10771This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010772esac
Alexandre Julliard7f674962007-07-10 15:22:18 +020010773fi
10774
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010775if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
10776then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010778$as_echo_n "checking for -lssl... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010779if test "${ac_cv_lib_soname_ssl+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010780 $as_echo_n "(cached) " >&6
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010781else
10782 ac_check_soname_save_LIBS=$LIBS
10783LIBS="-lssl $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010785/* end confdefs.h. */
10786
10787/* Override any GCC internal prototype to avoid an error.
10788 Use char because int might match the return type of a GCC
10789 builtin and then its argument prototype would still apply. */
10790#ifdef __cplusplus
10791extern "C"
10792#endif
10793char SSL_library_init ();
10794int
10795main ()
10796{
10797return SSL_library_init ();
10798 ;
10799 return 0;
10800}
10801_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010802if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010803 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010804 dll) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010805 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'` ;;
10806 *) ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10807 esac
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010808fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010809rm -f core conftest.err conftest.$ac_objext \
10810 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010811 LIBS=$ac_check_soname_save_LIBS
10812fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010813if test "x$ac_cv_lib_soname_ssl" = "x"; then :
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010815$as_echo "not found" >&6; }
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010816
10817else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010819$as_echo "$ac_cv_lib_soname_ssl" >&6; }
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010820
10821cat >>confdefs.h <<_ACEOF
10822#define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
10823_ACEOF
10824
10825
10826fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010828$as_echo_n "checking for -lcrypto... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010829if test "${ac_cv_lib_soname_crypto+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010830 $as_echo_n "(cached) " >&6
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010831else
10832 ac_check_soname_save_LIBS=$LIBS
10833LIBS="-lcrypto $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010835/* end confdefs.h. */
10836
10837/* Override any GCC internal prototype to avoid an error.
10838 Use char because int might match the return type of a GCC
10839 builtin and then its argument prototype would still apply. */
10840#ifdef __cplusplus
10841extern "C"
10842#endif
10843char BIO_new_socket ();
10844int
10845main ()
10846{
10847return BIO_new_socket ();
10848 ;
10849 return 0;
10850}
10851_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010852if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010853 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010854 dll) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010855 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'` ;;
10856 *) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10857 esac
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010858fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010859rm -f core conftest.err conftest.$ac_objext \
10860 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010861 LIBS=$ac_check_soname_save_LIBS
10862fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010863if test "x$ac_cv_lib_soname_crypto" = "x"; then :
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010865$as_echo "not found" >&6; }
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010866
10867else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010869$as_echo "$ac_cv_lib_soname_crypto" >&6; }
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010870
10871cat >>confdefs.h <<_ACEOF
10872#define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
10873_ACEOF
10874
10875
10876fi
Alexandre Julliardf91909b2007-07-02 17:32:09 +020010877fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010878if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010879 case "x$with_openssl" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010010880 x) as_fn_append wine_warnings "|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010881 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010882 *) as_fn_error "OpenSSL ${notice_platform}development files not found, SSL won't be supported.
10883This is an error since --with-openssl was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010010884esac
Alexandre Julliard7f674962007-07-10 15:22:18 +020010885fi
10886
Maarten Lankhorstc186d8a2009-08-05 11:35:50 +020010887if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010888then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010890$as_echo_n "checking for -lgsm... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010891if test "${ac_cv_lib_soname_gsm+set}" = set; then :
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010892 $as_echo_n "(cached) " >&6
10893else
10894 ac_check_soname_save_LIBS=$LIBS
10895LIBS="-lgsm $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010897/* end confdefs.h. */
10898
10899/* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10902#ifdef __cplusplus
10903extern "C"
10904#endif
10905char gsm_create ();
10906int
10907main ()
10908{
10909return gsm_create ();
10910 ;
10911 return 0;
10912}
10913_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010914if ac_fn_c_try_link "$LINENO"; then :
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010915 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010916 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010917 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'` ;;
10918 *) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10919 esac
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010920fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010921rm -f core conftest.err conftest.$ac_objext \
10922 conftest$ac_exeext conftest.$ac_ext
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010923 LIBS=$ac_check_soname_save_LIBS
10924fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010925if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010927$as_echo "not found" >&6; }
10928
10929else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010931$as_echo "$ac_cv_lib_soname_gsm" >&6; }
10932
10933cat >>confdefs.h <<_ACEOF
10934#define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
10935_ACEOF
10936
10937
10938fi
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010939fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010940if test "x$ac_cv_lib_soname_gsm" = "x"; then :
Alexandre Julliard6ce32e02009-08-19 15:53:04 +020010941 case "x$with_gsm" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010010942 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010943 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010944 *) as_fn_error "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
Alexandre Julliard6ce32e02009-08-19 15:53:04 +020010945This is an error since --with-gsm was requested." "$LINENO" 5 ;;
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020010946esac
10947fi
10948
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010949if test "$ac_cv_header_jpeglib_h" = "yes"
10950then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010952$as_echo_n "checking for -ljpeg... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010953if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010010954 $as_echo_n "(cached) " >&6
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010955else
10956 ac_check_soname_save_LIBS=$LIBS
10957LIBS="-ljpeg $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010959/* end confdefs.h. */
10960
10961/* Override any GCC internal prototype to avoid an error.
10962 Use char because int might match the return type of a GCC
10963 builtin and then its argument prototype would still apply. */
10964#ifdef __cplusplus
10965extern "C"
10966#endif
10967char jpeg_start_decompress ();
10968int
10969main ()
10970{
10971return jpeg_start_decompress ();
10972 ;
10973 return 0;
10974}
10975_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010976if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010977 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010010978 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010979 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'` ;;
10980 *) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10981 esac
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010982fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010983rm -f core conftest.err conftest.$ac_objext \
10984 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010985 LIBS=$ac_check_soname_save_LIBS
10986fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010987if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010989$as_echo "not found" >&6; }
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010990
10991else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020010992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010010993$as_echo "$ac_cv_lib_soname_jpeg" >&6; }
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020010994
10995cat >>confdefs.h <<_ACEOF
10996#define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
10997_ACEOF
10998
10999
11000fi
Alexandre Julliardd0fddf42007-07-02 19:53:14 +020011001fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011002if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010011003 case "x$with_jpeg" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010011004 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010011005 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011006 *) as_fn_error "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11007This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010011008esac
Alexandre Julliard7f674962007-07-10 15:22:18 +020011009fi
11010
Alexandre Julliard00302152007-07-02 19:54:00 +020011011if test "$ac_cv_header_png_h" = "yes"
11012then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011014$as_echo_n "checking for -lpng... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011015if test "${ac_cv_lib_soname_png+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011016 $as_echo_n "(cached) " >&6
Alexandre Julliard00302152007-07-02 19:54:00 +020011017else
11018 ac_check_soname_save_LIBS=$LIBS
Austin Englishfe8879e2008-12-28 19:10:19 -060011019LIBS="-lpng -lm -lz $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard00302152007-07-02 19:54:00 +020011021/* end confdefs.h. */
11022
11023/* Override any GCC internal prototype to avoid an error.
11024 Use char because int might match the return type of a GCC
11025 builtin and then its argument prototype would still apply. */
11026#ifdef __cplusplus
11027extern "C"
11028#endif
11029char png_create_read_struct ();
11030int
11031main ()
11032{
11033return png_create_read_struct ();
11034 ;
11035 return 0;
11036}
11037_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011038if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard00302152007-07-02 19:54:00 +020011039 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010011040 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard00302152007-07-02 19:54:00 +020011041 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'` ;;
11042 *) 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'` ;;
11043 esac
Alexandre Julliard00302152007-07-02 19:54:00 +020011044fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011045rm -f core conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard00302152007-07-02 19:54:00 +020011047 LIBS=$ac_check_soname_save_LIBS
11048fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011049if test "x$ac_cv_lib_soname_png" = "x"; then :
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011051$as_echo "not found" >&6; }
Alexandre Julliard00302152007-07-02 19:54:00 +020011052
11053else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011055$as_echo "$ac_cv_lib_soname_png" >&6; }
Alexandre Julliard00302152007-07-02 19:54:00 +020011056
11057cat >>confdefs.h <<_ACEOF
11058#define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11059_ACEOF
11060
11061
11062fi
Marcus Meissner615e0e62010-02-27 23:13:21 +010011063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11064$as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11065if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11066 $as_echo_n "(cached) " >&6
11067else
11068 ac_check_lib_save_LIBS=$LIBS
11069LIBS="-lpng -lm -lz $LIBS"
11070cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11071/* end confdefs.h. */
11072
11073/* Override any GCC internal prototype to avoid an error.
11074 Use char because int might match the return type of a GCC
11075 builtin and then its argument prototype would still apply. */
11076#ifdef __cplusplus
11077extern "C"
11078#endif
11079char png_set_expand_gray_1_2_4_to_8 ();
11080int
11081main ()
11082{
11083return png_set_expand_gray_1_2_4_to_8 ();
11084 ;
11085 return 0;
11086}
11087_ACEOF
11088if ac_fn_c_try_link "$LINENO"; then :
11089 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11090else
11091 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11092fi
11093rm -f core conftest.err conftest.$ac_objext \
11094 conftest$ac_exeext conftest.$ac_ext
11095LIBS=$ac_check_lib_save_LIBS
11096fi
11097{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11098$as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11099if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11100
11101$as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11102
11103
11104fi
11105
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011106elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11107then
11108 ac_save_CPPFLAGS="$CPPFLAGS"
11109 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11110 $as_unset ac_cv_header_png_h
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011111 for ac_header in png.h
11112do :
11113 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11114if test "x$ac_cv_header_png_h" = x""yes; then :
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011115 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011116#define HAVE_PNG_H 1
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011117_ACEOF
11118
11119fi
11120
11121done
11122
11123 CPPFLAGS="$ac_save_CPPFLAGS"
11124 if test "$ac_cv_header_png_h" = "yes"
11125 then
11126 PNGINCL="$X_CFLAGS"
11127
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011129$as_echo_n "checking for -lpng... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011130if test "${ac_cv_lib_soname_png+set}" = set; then :
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011131 $as_echo_n "(cached) " >&6
11132else
11133 ac_check_soname_save_LIBS=$LIBS
11134LIBS="-lpng $X_LIBS -lm -lz $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011136/* end confdefs.h. */
11137
11138/* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11141#ifdef __cplusplus
11142extern "C"
11143#endif
11144char png_create_read_struct ();
11145int
11146main ()
11147{
11148return png_create_read_struct ();
11149 ;
11150 return 0;
11151}
11152_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011153if ac_fn_c_try_link "$LINENO"; then :
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011154 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010011155 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011156 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'` ;;
11157 *) 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'` ;;
11158 esac
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011159fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011160rm -f core conftest.err conftest.$ac_objext \
11161 conftest$ac_exeext conftest.$ac_ext
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011162 LIBS=$ac_check_soname_save_LIBS
11163fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011164if test "x$ac_cv_lib_soname_png" = "x"; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011166$as_echo "not found" >&6; }
11167
11168else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011170$as_echo "$ac_cv_lib_soname_png" >&6; }
11171
11172cat >>confdefs.h <<_ACEOF
11173#define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11174_ACEOF
11175
11176
11177fi
Marcus Meissner615e0e62010-02-27 23:13:21 +010011178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11179$as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11180if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11181 $as_echo_n "(cached) " >&6
11182else
11183 ac_check_lib_save_LIBS=$LIBS
11184LIBS="-lpng $X_LIBS -lm -lz $LIBS"
11185cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11186/* end confdefs.h. */
11187
11188/* Override any GCC internal prototype to avoid an error.
11189 Use char because int might match the return type of a GCC
11190 builtin and then its argument prototype would still apply. */
11191#ifdef __cplusplus
11192extern "C"
11193#endif
11194char png_set_expand_gray_1_2_4_to_8 ();
11195int
11196main ()
11197{
11198return png_set_expand_gray_1_2_4_to_8 ();
11199 ;
11200 return 0;
11201}
11202_ACEOF
11203if ac_fn_c_try_link "$LINENO"; then :
11204 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=yes
11205else
11206 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8=no
11207fi
11208rm -f core conftest.err conftest.$ac_objext \
11209 conftest$ac_exeext conftest.$ac_ext
11210LIBS=$ac_check_lib_save_LIBS
11211fi
11212{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11213$as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11214if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x""yes; then :
11215 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11216
11217fi
11218
Joerg-Cyril.Hoehle@t-systems.com85b61892009-05-23 12:39:50 +020011219 fi
Alexandre Julliard00302152007-07-02 19:54:00 +020011220fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011221if test "x$ac_cv_lib_soname_png" = "x"; then :
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010011222 case "x$with_png" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010011223 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010011224 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011225 *) as_fn_error "libpng ${notice_platform}development files not found, PNG won't be supported.
11226This is an error since --with-png was requested." "$LINENO" 5 ;;
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010011227esac
Alexandre Julliard7f674962007-07-10 15:22:18 +020011228fi
11229
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011230if test "$ac_cv_header_mpg123_h" = "yes"
11231then
Alexandre Julliard7bf8d052009-08-29 12:20:25 +020011232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11233$as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11234if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011235 $as_echo_n "(cached) " >&6
11236else
11237 ac_check_lib_save_LIBS=$LIBS
11238LIBS="-lmpg123 $LIBS"
11239cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240/* end confdefs.h. */
11241
11242/* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245#ifdef __cplusplus
11246extern "C"
11247#endif
Alexandre Julliard7bf8d052009-08-29 12:20:25 +020011248char mpg123_feed ();
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011249int
11250main ()
11251{
Alexandre Julliard7bf8d052009-08-29 12:20:25 +020011252return mpg123_feed ();
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011253 ;
11254 return 0;
11255}
11256_ACEOF
11257if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard7bf8d052009-08-29 12:20:25 +020011258 ac_cv_lib_mpg123_mpg123_feed=yes
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011259else
Alexandre Julliard7bf8d052009-08-29 12:20:25 +020011260 ac_cv_lib_mpg123_mpg123_feed=no
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011261fi
11262rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264LIBS=$ac_check_lib_save_LIBS
11265fi
Alexandre Julliard7bf8d052009-08-29 12:20:25 +020011266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11267$as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11268if test "x$ac_cv_lib_mpg123_mpg123_feed" = x""yes; then :
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011269 LIBMPG123="-lmpg123"
11270
11271fi
11272
11273fi
Alexandre Julliardfcd561b2009-08-29 21:11:41 +020011274if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes; then :
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011275 case "x$with_mpg123" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010011276 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011277 xno) ;;
Alexandre Julliard7bf8d052009-08-29 12:20:25 +020011278 *) as_fn_error "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011279This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11280esac
11281fi
Alexandre Julliardfcd561b2009-08-29 21:11:41 +020011282test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_winemp3_acm=${enable_winemp3_acm:-no}
Aric Stewartdb71d7c2009-08-19 09:37:48 -050011283
Chris Robinson862965f2009-08-25 03:26:35 -070011284if test "$ac_cv_header_AL_al_h" = "yes"
11285then
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alGetSource3i in -lopenal" >&5
11287$as_echo_n "checking for alGetSource3i in -lopenal... " >&6; }
11288if test "${ac_cv_lib_openal_alGetSource3i+set}" = set; then :
11289 $as_echo_n "(cached) " >&6
11290else
11291 ac_check_lib_save_LIBS=$LIBS
11292LIBS="-lopenal $LIBS"
11293cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11294/* end confdefs.h. */
11295
11296/* Override any GCC internal prototype to avoid an error.
11297 Use char because int might match the return type of a GCC
11298 builtin and then its argument prototype would still apply. */
11299#ifdef __cplusplus
11300extern "C"
11301#endif
11302char alGetSource3i ();
11303int
11304main ()
11305{
11306return alGetSource3i ();
11307 ;
11308 return 0;
11309}
11310_ACEOF
11311if ac_fn_c_try_link "$LINENO"; then :
11312 ac_cv_lib_openal_alGetSource3i=yes
11313else
11314 ac_cv_lib_openal_alGetSource3i=no
11315fi
11316rm -f core conftest.err conftest.$ac_objext \
11317 conftest$ac_exeext conftest.$ac_ext
11318LIBS=$ac_check_lib_save_LIBS
11319fi
11320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openal_alGetSource3i" >&5
11321$as_echo "$ac_cv_lib_openal_alGetSource3i" >&6; }
11322if test "x$ac_cv_lib_openal_alGetSource3i" = x""yes; then :
11323 LIBOPENAL="-lopenal"
11324
11325fi
11326
11327fi
11328if test "x$ac_cv_lib_openal_alGetSource3i" != xyes; then :
11329 case "x$with_openal" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010011330 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
Chris Robinson862965f2009-08-25 03:26:35 -070011331 xno) ;;
11332 *) as_fn_error "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11333This is an error since --with-openal was requested." "$LINENO" 5 ;;
11334esac
11335fi
11336test "x$ac_cv_lib_openal_alGetSource3i" = xyes || enable_openal32=${enable_openal32:-no}
11337
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011338if test "$ac_cv_header_kstat_h" = "yes"
11339then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011341$as_echo_n "checking for kstat_open in -lkstat... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011342if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011343 $as_echo_n "(cached) " >&6
11344else
11345 ac_check_lib_save_LIBS=$LIBS
11346LIBS="-lkstat $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011347cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011348/* end confdefs.h. */
11349
11350/* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11353#ifdef __cplusplus
11354extern "C"
11355#endif
11356char kstat_open ();
11357int
11358main ()
11359{
11360return kstat_open ();
11361 ;
11362 return 0;
11363}
11364_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011365if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011366 ac_cv_lib_kstat_kstat_open=yes
11367else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011368 ac_cv_lib_kstat_kstat_open=no
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011369fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011370rm -f core conftest.err conftest.$ac_objext \
11371 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011372LIBS=$ac_check_lib_save_LIBS
11373fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011374{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011375$as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011376if test "x$ac_cv_lib_kstat_kstat_open" = x""yes; then :
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011377
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011378$as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
Alexandre Julliardde1d7fb2009-03-05 18:45:32 +010011379
11380 LIBKSTAT="-lkstat"
11381
11382fi
11383
11384fi
11385
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011387$as_echo_n "checking for -lodbc... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011388if test "${ac_cv_lib_soname_odbc+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011389 $as_echo_n "(cached) " >&6
Alexandre Julliard84f8ab62008-01-07 17:16:29 +010011390else
11391 ac_check_soname_save_LIBS=$LIBS
11392LIBS="-lodbc $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard84f8ab62008-01-07 17:16:29 +010011394/* end confdefs.h. */
11395
11396/* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399#ifdef __cplusplus
11400extern "C"
11401#endif
11402char SQLConnect ();
11403int
11404main ()
11405{
11406return SQLConnect ();
11407 ;
11408 return 0;
11409}
11410_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011411if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard84f8ab62008-01-07 17:16:29 +010011412 case "$LIBEXT" in
Alexandre Goujon2b05c842010-03-01 21:39:39 +010011413 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
Alexandre Julliard84f8ab62008-01-07 17:16:29 +010011414 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'` ;;
11415 *) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11416 esac
Alexandre Julliard84f8ab62008-01-07 17:16:29 +010011417fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011418rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard84f8ab62008-01-07 17:16:29 +010011420 LIBS=$ac_check_soname_save_LIBS
11421fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011422if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011424$as_echo "not found" >&6; }
Alexandre Julliard84f8ab62008-01-07 17:16:29 +010011425 cat >>confdefs.h <<_ACEOF
11426#define SONAME_LIBODBC "libodbc.$LIBEXT"
11427_ACEOF
11428
11429else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011431$as_echo "$ac_cv_lib_soname_odbc" >&6; }
Alexandre Julliard84f8ab62008-01-07 17:16:29 +010011432
11433cat >>confdefs.h <<_ACEOF
11434#define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11435_ACEOF
11436
11437
11438fi
11439
Francois Gouget3089a9f2008-07-31 18:59:50 +020011440if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010011441 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
11442 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
11443 "$ac_cv_header_soundcard_h" != "yes" -a \
11444 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
11445then
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010011446 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
Alexandre Julliardf9dec942007-07-10 15:14:15 +020011447fi
11448
11449
Alexandre Julliardfc094232003-04-14 21:46:41 +000011450EXTRACFLAGS=""
11451
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011452if test "x${GCC}" = "xyes"
11453then
Hans Leidekkerd17b2322004-01-06 21:37:44 +000011454 EXTRACFLAGS="-Wall -pipe"
Mike McCormackc509bc42003-02-25 04:01:58 +000011455
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011457$as_echo_n "checking for gcc strength-reduce bug... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011458if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011459 $as_echo_n "(cached) " >&6
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011460else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011461 if test "$cross_compiling" = yes; then :
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011462 ac_cv_c_gcc_strength_bug="yes"
11463else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000011465/* end confdefs.h. */
Alexandre Julliardad356de2007-06-08 20:23:16 +020011466int L[4] = {0,1,2,3};
11467int
11468main ()
11469{
11470static int Array[3];
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011471 unsigned int B = 3;
11472 int i;
Alexandre Julliardd2e1c1a1996-03-09 16:12:43 +000011473 for(i=0; i<B; i++) Array[i] = i - 3;
Eric Pouech5aee80f2000-11-11 00:31:39 +000011474 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11475 L[i] = 4;
Alexandre Julliard95251a72009-02-16 12:46:58 +010011476 return (Array[1] != -2 || L[2] != 3)
Alexandre Julliardad356de2007-06-08 20:23:16 +020011477 ;
11478 return 0;
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011479}
Alexandre Julliardf5818d22002-02-14 19:47:29 +000011480_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011481if ac_fn_c_try_run "$LINENO"; then :
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011482 ac_cv_c_gcc_strength_bug="no"
11483else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011484 ac_cv_c_gcc_strength_bug="yes"
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011485fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011486rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
11487 conftest.$ac_objext conftest.beam conftest.$ac_ext
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011488fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020011489
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011490fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011491{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011492$as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011493 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11494 then
Alexandre Julliardfc094232003-04-14 21:46:41 +000011495 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011496 fi
Alexandre Julliardf9b94cb2000-12-06 03:50:22 +000011497
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011499$as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011500if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011501 $as_echo_n "(cached) " >&6
Alexandre Julliard6538cb42008-09-22 11:51:02 +020011502else
11503 ac_wine_try_cflags_saved=$CFLAGS
11504CFLAGS="$CFLAGS -fno-builtin"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011505cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard6538cb42008-09-22 11:51:02 +020011506/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +010011507int main(int argc, char **argv) { return 0; }
Alexandre Julliard6538cb42008-09-22 11:51:02 +020011508_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011509if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard6538cb42008-09-22 11:51:02 +020011510 ac_cv_cflags__fno_builtin=yes
11511else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011512 ac_cv_cflags__fno_builtin=no
Alexandre Julliard6538cb42008-09-22 11:51:02 +020011513fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011514rm -f core conftest.err conftest.$ac_objext \
11515 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard6538cb42008-09-22 11:51:02 +020011516CFLAGS=$ac_wine_try_cflags_saved
11517fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011518{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011519$as_echo "$ac_cv_cflags__fno_builtin" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011520if test $ac_cv_cflags__fno_builtin = yes; then :
Alexandre Julliard6538cb42008-09-22 11:51:02 +020011521 BUILTINFLAG="-fno-builtin"
11522
11523fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011525$as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011526if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011527 $as_echo_n "(cached) " >&6
Alexandre Julliardefca0f62003-07-24 00:09:51 +000011528else
11529 ac_wine_try_cflags_saved=$CFLAGS
11530CFLAGS="$CFLAGS -fno-strict-aliasing"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011531cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardefca0f62003-07-24 00:09:51 +000011532/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +010011533int main(int argc, char **argv) { return 0; }
Alexandre Julliardefca0f62003-07-24 00:09:51 +000011534_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011535if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard182d1502006-08-25 13:22:33 +020011536 ac_cv_cflags__fno_strict_aliasing=yes
Alexandre Julliardefca0f62003-07-24 00:09:51 +000011537else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011538 ac_cv_cflags__fno_strict_aliasing=no
Alexandre Julliardefca0f62003-07-24 00:09:51 +000011539fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011540rm -f core conftest.err conftest.$ac_objext \
11541 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardefca0f62003-07-24 00:09:51 +000011542CFLAGS=$ac_wine_try_cflags_saved
11543fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011544{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011545$as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011546if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
Alexandre Julliard182d1502006-08-25 13:22:33 +020011547 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11548fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011550$as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011551if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011552 $as_echo_n "(cached) " >&6
Alexandre Julliardf8cb48b2005-09-12 10:14:00 +000011553else
11554 ac_wine_try_cflags_saved=$CFLAGS
11555CFLAGS="$CFLAGS -Wdeclaration-after-statement"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011556cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardf8cb48b2005-09-12 10:14:00 +000011557/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +010011558int main(int argc, char **argv) { return 0; }
Alexandre Julliardf8cb48b2005-09-12 10:14:00 +000011559_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011560if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard182d1502006-08-25 13:22:33 +020011561 ac_cv_cflags__Wdeclaration_after_statement=yes
Alexandre Julliardf8cb48b2005-09-12 10:14:00 +000011562else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011563 ac_cv_cflags__Wdeclaration_after_statement=no
Alexandre Julliardf8cb48b2005-09-12 10:14:00 +000011564fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011565rm -f core conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf8cb48b2005-09-12 10:14:00 +000011567CFLAGS=$ac_wine_try_cflags_saved
11568fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011569{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011570$as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011571if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
Alexandre Julliard182d1502006-08-25 13:22:33 +020011572 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
11573fi
Alexandre Julliard295806f2009-10-07 13:46:06 +020011574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11575$as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11576if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
11577 $as_echo_n "(cached) " >&6
11578else
11579 ac_wine_try_cflags_saved=$CFLAGS
11580CFLAGS="$CFLAGS -Wstrict-prototypes"
11581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11582/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +010011583int main(int argc, char **argv) { return 0; }
Alexandre Julliard295806f2009-10-07 13:46:06 +020011584_ACEOF
11585if ac_fn_c_try_link "$LINENO"; then :
11586 ac_cv_cflags__Wstrict_prototypes=yes
11587else
11588 ac_cv_cflags__Wstrict_prototypes=no
11589fi
11590rm -f core conftest.err conftest.$ac_objext \
11591 conftest$ac_exeext conftest.$ac_ext
11592CFLAGS=$ac_wine_try_cflags_saved
11593fi
11594{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
11595$as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
11596if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
11597 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
11598fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011600$as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011601if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011602 $as_echo_n "(cached) " >&6
Gerald Pfeifer701ef1d2008-01-28 01:28:59 +010011603else
11604 ac_wine_try_cflags_saved=$CFLAGS
11605CFLAGS="$CFLAGS -Wtype-limits"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011606cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Gerald Pfeifer701ef1d2008-01-28 01:28:59 +010011607/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +010011608int main(int argc, char **argv) { return 0; }
Gerald Pfeifer701ef1d2008-01-28 01:28:59 +010011609_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011610if ac_fn_c_try_link "$LINENO"; then :
Gerald Pfeifer701ef1d2008-01-28 01:28:59 +010011611 ac_cv_cflags__Wtype_limits=yes
11612else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011613 ac_cv_cflags__Wtype_limits=no
Gerald Pfeifer701ef1d2008-01-28 01:28:59 +010011614fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011615rm -f core conftest.err conftest.$ac_objext \
11616 conftest$ac_exeext conftest.$ac_ext
Gerald Pfeifer701ef1d2008-01-28 01:28:59 +010011617CFLAGS=$ac_wine_try_cflags_saved
11618fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011619{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011620$as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011621if test $ac_cv_cflags__Wtype_limits = yes; then :
Gerald Pfeifer701ef1d2008-01-28 01:28:59 +010011622 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
11623fi
Gerald Pfeifereae58292010-01-02 15:13:43 +010011624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
11625$as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
11626if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11628else
11629 ac_wine_try_cflags_saved=$CFLAGS
11630CFLAGS="$CFLAGS -Wwrite-strings"
11631cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11632/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +010011633int main(int argc, char **argv) { return 0; }
Gerald Pfeifereae58292010-01-02 15:13:43 +010011634_ACEOF
11635if ac_fn_c_try_link "$LINENO"; then :
11636 ac_cv_cflags__Wwrite_strings=yes
11637else
11638 ac_cv_cflags__Wwrite_strings=no
11639fi
11640rm -f core conftest.err conftest.$ac_objext \
11641 conftest$ac_exeext conftest.$ac_ext
11642CFLAGS=$ac_wine_try_cflags_saved
11643fi
11644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
11645$as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
11646if test $ac_cv_cflags__Wwrite_strings = yes; then :
11647 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
11648fi
Gerald Pfeifer701ef1d2008-01-28 01:28:59 +010011649
Alexandre Julliard4d52d372003-03-24 19:33:20 +000011650 saved_CFLAGS="$CFLAGS"
Mike McCormackc509bc42003-02-25 04:01:58 +000011651 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011653$as_echo_n "checking for broken string.h that generates warnings... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011654if test "${ac_cv_c_string_h_warnings+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011655 $as_echo_n "(cached) " >&6
Mike McCormackc509bc42003-02-25 04:01:58 +000011656else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Mike McCormackc509bc42003-02-25 04:01:58 +000011658/* end confdefs.h. */
11659#include <string.h>
11660int
11661main ()
11662{
11663
11664 ;
11665 return 0;
11666}
11667_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011668if ac_fn_c_try_compile "$LINENO"; then :
Mike McCormackc509bc42003-02-25 04:01:58 +000011669 ac_cv_c_string_h_warnings=no
11670else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011671 ac_cv_c_string_h_warnings=yes
Mike McCormackc509bc42003-02-25 04:01:58 +000011672fi
Jeremy White0ebeb532006-06-20 13:18:41 +020011673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Mike McCormackc509bc42003-02-25 04:01:58 +000011674fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011675{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011676$as_echo "$ac_cv_c_string_h_warnings" >&6; }
Alexandre Julliard4d52d372003-03-24 19:33:20 +000011677 CFLAGS="$saved_CFLAGS"
Mike McCormackc509bc42003-02-25 04:01:58 +000011678 if test "$ac_cv_c_string_h_warnings" = "no"
11679 then
Alexandre Julliardfc094232003-04-14 21:46:41 +000011680 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
Mike McCormackc509bc42003-02-25 04:01:58 +000011681 fi
Alexandre Julliard12753c52009-10-02 14:39:49 +020011682
11683 if test "${enable_maintainer_mode+set}" = set
11684 then
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
11686$as_echo_n "checking whether the compiler supports -Werror... " >&6; }
11687if test "${ac_cv_cflags__Werror+set}" = set; then :
11688 $as_echo_n "(cached) " >&6
11689else
11690 ac_wine_try_cflags_saved=$CFLAGS
11691CFLAGS="$CFLAGS -Werror"
11692cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693/* end confdefs.h. */
Yann Droneaud5d3eacd2010-03-04 11:43:17 +010011694int main(int argc, char **argv) { return 0; }
Alexandre Julliard12753c52009-10-02 14:39:49 +020011695_ACEOF
11696if ac_fn_c_try_link "$LINENO"; then :
11697 ac_cv_cflags__Werror=yes
11698else
11699 ac_cv_cflags__Werror=no
11700fi
11701rm -f core conftest.err conftest.$ac_objext \
11702 conftest$ac_exeext conftest.$ac_ext
11703CFLAGS=$ac_wine_try_cflags_saved
11704fi
11705{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
11706$as_echo "$ac_cv_cflags__Werror" >&6; }
11707if test $ac_cv_cflags__Werror = yes; then :
11708 EXTRACFLAGS="$EXTRACFLAGS -Werror"
11709fi
11710 fi
Stefan Dösingerfdac5e52009-09-12 14:08:53 +020011711
11712 saved_CFLAGS="$CFLAGS"
11713 CFLAGS="$CFLAGS -Werror"
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
11715$as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
11716if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
11717 $as_echo_n "(cached) " >&6
11718else
11719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11720/* end confdefs.h. */
11721int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
11722int
11723main ()
11724{
11725
11726 ;
11727 return 0;
11728}
11729_ACEOF
11730if ac_fn_c_try_compile "$LINENO"; then :
11731 ac_cv_have_ms_hook_prologue="yes"
11732else
11733 ac_cv_have_ms_hook_prologue="no"
11734fi
11735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11736fi
11737{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
11738$as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
11739 CFLAGS="$saved_CFLAGS"
11740 if test "$ac_cv_have_ms_hook_prologue" = "yes"
11741 then
11742
11743$as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
11744
11745 else
11746 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
11747
11748 fi
Alexandre Julliard4f8c37b1996-01-14 18:12:01 +000011749fi
11750
Alexandre Julliarddaa28862002-04-11 21:54:01 +000011751
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011753$as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011754if test "${ac_cv_c_extern_prefix+set}" = set; then :
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011755 $as_echo_n "(cached) " >&6
11756else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011758/* end confdefs.h. */
11759extern int ac_test;
11760int
11761main ()
11762{
11763asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
11764 ;
11765 return 0;
11766}
11767_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011768if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011769 ac_cv_c_extern_prefix="yes"
11770else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011771 ac_cv_c_extern_prefix="no"
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011772fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011773rm -f core conftest.err conftest.$ac_objext \
11774 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011775fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011776{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011777$as_echo "$ac_cv_c_extern_prefix" >&6; }
11778
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011779case $host_cpu in
11780 *i[3456789]86*)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011782$as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011783if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011784 $as_echo_n "(cached) " >&6
11785else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011787/* end confdefs.h. */
11788#ifndef _MSC_VER
11789#define __stdcall __attribute__((__stdcall__))
11790#endif
11791int __stdcall ac_test(int i) { return i; }
11792int
11793main ()
11794{
11795asm("jmp _ac_test@4"); if (ac_test(1)) return 1
11796 ;
11797 return 0;
11798}
11799_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011800if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011801 ac_cv_c_stdcall_suffix="yes"
11802else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011803 ac_cv_c_stdcall_suffix="no"
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011804fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011805rm -f core conftest.err conftest.$ac_objext \
11806 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011807fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011808{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011809$as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
11810 *) ac_cv_c_stdcall_suffix="no" ;;
11811esac
11812
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011813
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011814if test "$ac_cv_c_extern_prefix" = "yes"
11815then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011816 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011817
11818 asm_name_prefix="_"
11819else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011820 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011821
11822 asm_name_prefix=""
11823fi
11824
11825
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011826if test "$ac_cv_c_stdcall_suffix" = "yes"
11827then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011828 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011829
11830else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011831 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
Alexandre Julliard9cebf092009-06-14 11:24:20 +020011832
11833fi
11834
11835
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011837$as_echo_n "checking how to define a function in assembly code... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011838if test "${ac_cv_asm_func_def+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011839 $as_echo_n "(cached) " >&6
Dimitrie O. Paunc77cbbc2000-11-27 23:32:55 +000011840else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000011842/* end confdefs.h. */
Dimitrie O. Paunc77cbbc2000-11-27 23:32:55 +000011843
Alexandre Julliardf5818d22002-02-14 19:47:29 +000011844int
11845main ()
11846{
Alexandre Julliardad356de2007-06-08 20:23:16 +020011847asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
Alexandre Julliardf5818d22002-02-14 19:47:29 +000011848 ;
11849 return 0;
11850}
11851_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011852if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011853 ac_cv_asm_func_def=".def"
Dimitrie O. Paunc77cbbc2000-11-27 23:32:55 +000011854else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000011856/* end confdefs.h. */
Gregg Mattinson57807fa2002-07-20 20:17:13 +000011857
Gregg Mattinson57807fa2002-07-20 20:17:13 +000011858int
11859main ()
11860{
Alexandre Julliardad356de2007-06-08 20:23:16 +020011861asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
Gregg Mattinson57807fa2002-07-20 20:17:13 +000011862 ;
11863 return 0;
11864}
11865_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011866if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011867 ac_cv_asm_func_def=".type @function"
Gregg Mattinson57807fa2002-07-20 20:17:13 +000011868else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000011870/* end confdefs.h. */
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011871
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011872int
11873main ()
11874{
Alexandre Julliardad356de2007-06-08 20:23:16 +020011875asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011876 ;
11877 return 0;
11878}
11879_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011880if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011881 ac_cv_asm_func_def=".type 2"
11882else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011883 ac_cv_asm_func_def="unknown"
Gregg Mattinson57807fa2002-07-20 20:17:13 +000011884fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011885rm -f core conftest.err conftest.$ac_objext \
11886 conftest$ac_exeext conftest.$ac_ext
Gregg Mattinson57807fa2002-07-20 20:17:13 +000011887fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011888rm -f core conftest.err conftest.$ac_objext \
11889 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011890fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011891rm -f core conftest.err conftest.$ac_objext \
11892 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011893fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011894{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010011895$as_echo "$ac_cv_asm_func_def" >&6; }
Gregg Mattinson57807fa2002-07-20 20:17:13 +000011896
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011897
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011898case "$ac_cv_asm_func_def" in
11899 ".def")
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011900 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011901
Alexandre Julliardea9cf9e2009-06-14 16:03:46 +020011902 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011903 ".type @function")
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011904 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011905
Alexandre Julliardea9cf9e2009-06-14 16:03:46 +020011906 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011907 ".type 2")
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011908 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011909
Alexandre Julliardea9cf9e2009-06-14 16:03:46 +020011910 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011911 *)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011912 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011913
11914 asm_func_header="" ;;
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011915esac
Gregg Mattinson57807fa2002-07-20 20:17:13 +000011916
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011917{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011918$as_echo_n "checking whether asm() works outside of functions... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011919if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010011920 $as_echo_n "(cached) " >&6
Alexandre Julliard8cc3a5e1996-08-11 15:49:51 +000011921else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000011923/* end confdefs.h. */
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011924asm(".text\n\t.long 0");
Alexandre Julliardf5818d22002-02-14 19:47:29 +000011925int
11926main ()
11927{
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011928
11929 ;
11930 return 0;
11931}
11932_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011933if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011934 ac_cv_c_asm_outside_funcs="yes"
11935else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011936 ac_cv_c_asm_outside_funcs="no"
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011937fi
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011938rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11939fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011940{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011941$as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
11942
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011943{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011944$as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011945if test "${ac_cv_c_dot_previous+set}" = set; then :
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011946 $as_echo_n "(cached) " >&6
11947else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011949/* end confdefs.h. */
11950
11951int
11952main ()
11953{
11954asm(".text\nac_test:\t.long 0\n\t.previous");
Alexandre Julliardf5818d22002-02-14 19:47:29 +000011955 ;
11956 return 0;
11957}
11958_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011959if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011960 ac_cv_c_dot_previous="yes"
Alexandre Julliard8cc3a5e1996-08-11 15:49:51 +000011961else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011962 ac_cv_c_dot_previous="no"
Alexandre Julliard8cc3a5e1996-08-11 15:49:51 +000011963fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011964rm -f core conftest.err conftest.$ac_objext \
11965 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard8cc3a5e1996-08-11 15:49:51 +000011966fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011967{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011968$as_echo "$ac_cv_c_dot_previous" >&6; }
Alexandre Julliard84555cc2002-07-22 20:51:02 +000011969
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011970{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020011971$as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011972if test "${ac_cv_c_cfi_support+set}" = set; then :
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020011973 $as_echo_n "(cached) " >&6
11974else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020011976/* end confdefs.h. */
11977asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
11978int
11979main ()
11980{
11981
11982 ;
11983 return 0;
11984}
11985_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011986if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020011987 ac_cv_c_cfi_support="yes"
11988else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011989 ac_cv_c_cfi_support="no"
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020011990fi
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020011991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11992fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020011993{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020011994$as_echo "$ac_cv_c_cfi_support" >&6; }
11995
Alexandre Julliardea9cf9e2009-06-14 16:03:46 +020011996asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
Alexandre Julliard857f1e02009-06-11 16:32:42 +020011997asm_func_trailer=""
11998if test "$ac_cv_c_dot_previous" = "yes"
Alexandre Julliard8cc3a5e1996-08-11 15:49:51 +000011999then
Alexandre Julliard857f1e02009-06-11 16:32:42 +020012000 asm_func_trailer="\\n\\t.previous"
12001fi
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020012002if test "$ac_cv_c_cfi_support" = "yes"
12003then
12004 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
12005 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
Alexandre Julliarde1f0a0d2009-06-25 11:49:21 +020012006
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012007$as_echo "#define __ASM_CFI(str) str" >>confdefs.h
Alexandre Julliarde1f0a0d2009-06-25 11:49:21 +020012008
12009else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012010 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
Alexandre Julliarde1f0a0d2009-06-25 11:49:21 +020012011
Alexandre Julliardccea0ae2009-06-11 19:46:19 +020012012fi
12013
Alexandre Julliard857f1e02009-06-11 16:32:42 +020012014asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
12015
12016
Alexandre Julliard857f1e02009-06-11 16:32:42 +020012017if test "$ac_cv_c_asm_outside_funcs" = "yes"
12018then
12019 cat >>confdefs.h <<_ACEOF
Alexandre Julliardea9cf9e2009-06-14 16:03:46 +020012020#define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
Alexandre Julliard84555cc2002-07-22 20:51:02 +000012021_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012022
Alexandre Julliard84555cc2002-07-22 20:51:02 +000012023else
Alexandre Julliard857f1e02009-06-11 16:32:42 +020012024 cat >>confdefs.h <<_ACEOF
Alexandre Julliardea9cf9e2009-06-14 16:03:46 +020012025#define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012026_ACEOF
Alexandre Julliard8cc3a5e1996-08-11 15:49:51 +000012027
12028fi
12029
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012030$as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
Alexandre Julliardea9cf9e2009-06-14 16:03:46 +020012031
12032
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012033$as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
Alexandre Julliardea9cf9e2009-06-14 16:03:46 +020012034
12035
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012036
Alexandre Julliard3a0233d2007-07-02 14:38:04 +020012037LDPATH=""
12038
Alexandre Julliardfc01b722002-05-12 03:16:39 +000012039case $build_os in
12040 cygwin*|mingw32*)
Alexandre Julliardb860c4a2009-09-01 22:36:13 +020012041 TOOLSEXT=".exe"
12042
Alexandre Julliardeb8a40c2006-07-11 19:33:22 +020012043 LDPATH="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
Alexandre Julliard3a0233d2007-07-02 14:38:04 +020012044 ;;
Pierre d'Herbemont794bf0f2003-11-25 03:31:26 +000012045 darwin*|macosx*)
Alexandre Julliard3a0233d2007-07-02 14:38:04 +020012046 ;;
Alexandre Julliardfc01b722002-05-12 03:16:39 +000012047 *)
Alexandre Julliardeb8a40c2006-07-11 19:33:22 +020012048 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
Alexandre Julliard3a0233d2007-07-02 14:38:04 +020012049 ;;
Alexandre Julliardfc01b722002-05-12 03:16:39 +000012050esac
12051
Alexandre Julliard7bf07d12002-08-03 00:25:59 +000012052case $host_os in
12053 mingw32*)
Alexandre Julliard546839f2003-11-11 00:48:21 +000012054 CRTLIBS="-lmsvcrt"
Steven Edwardsc91ae452004-09-03 18:57:19 +000012055
Alexandre Julliarddc1a9f12008-12-22 17:36:18 +010012056 SOCKETLIBS="-L\$(TOPOBJDIR)/dlls/ws2_32 -lws2_32"
Steven Edwardsc91ae452004-09-03 18:57:19 +000012057
12058 ;;
Alexandre Julliard546839f2003-11-11 00:48:21 +000012059esac
12060
Alexandre Julliard3e6eab32009-08-13 19:54:31 +020012061MAIN_BINARY="wine"
12062
12063test -z "$with_wine64" || MAIN_BINARY="wine32"
12064
Alexandre Julliardf4a19c82009-03-10 18:22:38 +010012065case $host_cpu in
Alexandre Julliard2cdfd4d2006-02-18 15:03:51 +010012066 *i[3456789]86*)
12067 case $host_os in
Austin English5e185962009-10-28 19:51:17 -050012068 linux*)
Alexandre Julliardf4a19c82009-03-10 18:22:38 +010012069 EXTRA_BINARIES="wine-preloader"
Tijl Coosemans9f5c69c2007-08-24 15:46:36 +020012070 ;;
Alexandre Julliard2cdfd4d2006-02-18 15:03:51 +010012071 esac
Emmanuel Maillard3bc8d2e2004-07-19 20:11:10 +000012072 ;;
Alexandre Julliard7bf07d12002-08-03 00:25:59 +000012073esac
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012074
12075
Alexandre Julliard95251a72009-02-16 12:46:58 +010012076ac_save_CFLAGS="$CFLAGS"
12077CFLAGS="$CFLAGS $BUILTINFLAG"
Patrik Stridvall1bb94031999-05-08 15:47:44 +000012078for ac_func in \
Patrik Stridvall81ecb522002-03-11 05:08:14 +000012079 _pclose \
12080 _popen \
Steven Edwards0a8e15a2002-05-10 01:33:40 +000012081 _snprintf \
Alexandre Julliardc45bbad2003-04-01 00:12:02 +000012082 _spawnvp \
Bang Jun-youngff96bd62007-10-15 17:09:12 +090012083 _strdup \
Patrik Stridvall81ecb522002-03-11 05:08:14 +000012084 _stricmp \
12085 _strnicmp \
Rob Shearmane9f5bce2008-03-03 21:48:18 +000012086 _strtoi64 \
12087 _strtoui64 \
Steven Edwardsbe514b92003-01-14 19:35:03 +000012088 _vsnprintf \
Alexandre Julliardf9e5b0f2006-01-14 17:22:03 +010012089 asctime_r \
Steven Edwardsb9627c12002-05-05 21:03:44 +000012090 chsize \
Alexandre Julliarde533e972006-08-15 12:11:30 +020012091 dlopen \
Alexandre Julliard969f57c2004-09-23 04:48:24 +000012092 epoll_create \
Hans Leidekkerc3de6ef2004-10-19 23:53:26 +000012093 ffs \
Jon Griffithsd6deb6d2000-11-27 01:37:28 +000012094 finite \
Alexandre Julliard7d5e5652009-06-01 12:51:54 +020012095 fnmatch \
Hans Leidekkerbed38422004-10-14 03:08:57 +000012096 fork \
Jon Griffithsd6deb6d2000-11-27 01:37:28 +000012097 fpclass \
Alexandre Julliarde77c9be2004-04-06 03:33:25 +000012098 fstatfs \
12099 fstatvfs \
Steven Edwardsb9627c12002-05-05 21:03:44 +000012100 ftruncate \
Alexandre Julliarda1fe8b42004-03-27 01:48:52 +000012101 futimes \
Robert Lunnonc0cb4d32005-05-07 14:53:38 +000012102 futimesat \
Alexandre Julliarda9f214c2006-11-13 15:42:48 +010012103 getdirentries \
Dimitrie O. Paun647c1a32002-12-10 19:16:24 +000012104 getopt_long \
Patrik Stridvall1bb94031999-05-08 15:47:44 +000012105 getpagesize \
Alexandre Julliard142dab82002-07-01 18:17:30 +000012106 getpwuid \
Alexandre Julliardb2d937d2003-11-12 03:16:00 +000012107 gettid \
Alexandre Julliard8d7b8e52003-03-23 20:11:45 +000012108 gettimeofday \
Steven Edwardse7c3ab12004-10-04 20:45:49 +000012109 getuid \
Alexandre Julliardc8278922006-08-04 22:11:00 +020012110 kqueue \
Alexandre Julliard27bb3112000-11-29 17:48:06 +000012111 lstat \
Patrik Stridvall1bb94031999-05-08 15:47:44 +000012112 memmove \
Hidenori Takeshimaa85b0a62000-11-25 23:54:12 +000012113 mmap \
Patrik Stridvall81ecb522002-03-11 05:08:14 +000012114 pclose \
Alexandre Julliard6f68b772009-07-01 12:13:34 +020012115 pipe2 \
Alexandre Julliard10892602006-08-15 11:41:59 +020012116 poll \
Patrik Stridvall81ecb522002-03-11 05:08:14 +000012117 popen \
Albert Lee01b972d2009-11-20 18:35:26 -050012118 port_create \
Alexandre Julliard9603ee02006-04-06 11:57:37 +020012119 prctl \
Steven Edwardsb9627c12002-05-05 21:03:44 +000012120 pread \
Alexandre Julliardf1a0de92002-01-07 21:00:27 +000012121 pwrite \
Rob Shearman87175c62008-10-03 12:55:21 +010012122 readdir \
Alexandre Julliarde2930742004-01-08 05:07:05 +000012123 readlink \
Juan Lang474b2e42009-09-29 09:17:30 -070012124 sched_setaffinity \
Jeremy White08c0f692004-10-09 02:26:29 +000012125 sched_yield \
Patrik Stridvallb9010211999-11-13 22:23:35 +000012126 select \
Gerald Pfeifer39f67272008-01-20 21:23:08 +010012127 setproctitle \
Paul Millardf10b7d2006-07-16 15:06:28 +010012128 setrlimit \
Patrik Stridvallb9010211999-11-13 22:23:35 +000012129 settimeofday \
Patrik Stridvall1bb94031999-05-08 15:47:44 +000012130 sigaltstack \
Paul Millar10a6c562004-12-07 17:19:54 +000012131 sigprocmask \
Steven Edwards0a8e15a2002-05-10 01:33:40 +000012132 snprintf \
Pavel Roskin7add08a2003-09-24 18:54:40 +000012133 spawnvp \
Patrik Stridvallb9010211999-11-13 22:23:35 +000012134 statfs \
Alexandre Julliard13af4892004-03-05 21:03:46 +000012135 statvfs \
Alexandre Julliard3b96efc1999-09-04 14:36:02 +000012136 strcasecmp \
Bang Jun-youngff96bd62007-10-15 17:09:12 +090012137 strdup \
Patrik Stridvall1bb94031999-05-08 15:47:44 +000012138 strerror \
Alexandre Julliard3b96efc1999-09-04 14:36:02 +000012139 strncasecmp \
Louis Lenders6c04a182006-12-17 17:56:50 +000012140 strtold \
Rob Shearmane9f5bce2008-03-03 21:48:18 +000012141 strtoll \
12142 strtoull \
Alexandre Julliard0fbd5562008-12-22 10:47:16 +010012143 symlink \
Patrik Stridvall1bb94031999-05-08 15:47:44 +000012144 tcgetattr \
Tijl Coosemans0c4f1522007-08-23 14:12:37 +020012145 thr_kill2 \
Patrik Stridvall1bb94031999-05-08 15:47:44 +000012146 timegm \
12147 usleep \
Steven Edwardsbe514b92003-01-14 19:35:03 +000012148 vsnprintf \
Patrik Stridvall1bb94031999-05-08 15:47:44 +000012149 wait4 \
12150 waitpid \
12151
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012152do :
12153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12154ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12155eval as_val=\$$as_ac_var
12156 if test "x$as_val" = x""yes; then :
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012157 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010012158#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012159_ACEOF
Alexandre Julliard7e6ae4b1996-12-08 19:25:27 +000012160
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012161fi
12162done
12163
Alexandre Julliard95251a72009-02-16 12:46:58 +010012164CFLAGS="$ac_save_CFLAGS"
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012165
Alexandre Julliarde533e972006-08-15 12:11:30 +020012166if test "$ac_cv_func_dlopen" = no
12167then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012169$as_echo_n "checking for dlopen in -ldl... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012170if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012171 $as_echo_n "(cached) " >&6
Alexandre Julliarde533e972006-08-15 12:11:30 +020012172else
12173 ac_check_lib_save_LIBS=$LIBS
12174LIBS="-ldl $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012175cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde533e972006-08-15 12:11:30 +020012176/* end confdefs.h. */
12177
12178/* Override any GCC internal prototype to avoid an error.
12179 Use char because int might match the return type of a GCC
12180 builtin and then its argument prototype would still apply. */
12181#ifdef __cplusplus
12182extern "C"
12183#endif
12184char dlopen ();
12185int
12186main ()
12187{
12188return dlopen ();
12189 ;
12190 return 0;
12191}
12192_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012193if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliarde533e972006-08-15 12:11:30 +020012194 ac_cv_lib_dl_dlopen=yes
12195else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012196 ac_cv_lib_dl_dlopen=no
Alexandre Julliarde533e972006-08-15 12:11:30 +020012197fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012198rm -f core conftest.err conftest.$ac_objext \
12199 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliarde533e972006-08-15 12:11:30 +020012200LIBS=$ac_check_lib_save_LIBS
12201fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012202{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012203$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012204if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
12205 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
Alexandre Julliarde533e972006-08-15 12:11:30 +020012206 LIBDL="-ldl"
12207
12208fi
12209
12210fi
12211ac_wine_check_funcs_save_LIBS="$LIBS"
12212LIBS="$LIBS $LIBDL"
Alexandre Julliarde533e972006-08-15 12:11:30 +020012213for ac_func in dladdr
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012214do :
12215 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
12216if test "x$ac_cv_func_dladdr" = x""yes; then :
Alexandre Julliarde533e972006-08-15 12:11:30 +020012217 cat >>confdefs.h <<_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012218#define HAVE_DLADDR 1
Alexandre Julliarde533e972006-08-15 12:11:30 +020012219_ACEOF
12220
12221fi
12222done
12223
12224LIBS="$ac_wine_check_funcs_save_LIBS"
12225
Alexandre Julliard10892602006-08-15 11:41:59 +020012226if test "$ac_cv_func_poll" = no
12227then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012229$as_echo_n "checking for poll in -lpoll... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012230if test "${ac_cv_lib_poll_poll+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012231 $as_echo_n "(cached) " >&6
Alexandre Julliard10892602006-08-15 11:41:59 +020012232else
12233 ac_check_lib_save_LIBS=$LIBS
12234LIBS="-lpoll $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012235cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard10892602006-08-15 11:41:59 +020012236/* end confdefs.h. */
12237
12238/* Override any GCC internal prototype to avoid an error.
12239 Use char because int might match the return type of a GCC
12240 builtin and then its argument prototype would still apply. */
12241#ifdef __cplusplus
12242extern "C"
12243#endif
12244char poll ();
12245int
12246main ()
12247{
12248return poll ();
12249 ;
12250 return 0;
12251}
12252_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012253if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard10892602006-08-15 11:41:59 +020012254 ac_cv_lib_poll_poll=yes
12255else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012256 ac_cv_lib_poll_poll=no
Alexandre Julliard10892602006-08-15 11:41:59 +020012257fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012258rm -f core conftest.err conftest.$ac_objext \
12259 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliard10892602006-08-15 11:41:59 +020012260LIBS=$ac_check_lib_save_LIBS
12261fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012262{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012263$as_echo "$ac_cv_lib_poll_poll" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012264if test "x$ac_cv_lib_poll_poll" = x""yes; then :
12265 $as_echo "#define HAVE_POLL 1" >>confdefs.h
Alexandre Julliard10892602006-08-15 11:41:59 +020012266 LIBPOLL="-lpoll"
12267
12268fi
12269
12270fi
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012271
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012272{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012273$as_echo_n "checking for library containing gethostbyname... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012274if test "${ac_cv_search_gethostbyname+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012275 $as_echo_n "(cached) " >&6
Alexandre Julliarde533e972006-08-15 12:11:30 +020012276else
Alexandre Julliard28710412007-04-23 16:31:58 +020012277 ac_func_search_save_LIBS=$LIBS
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012278cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde533e972006-08-15 12:11:30 +020012279/* end confdefs.h. */
12280
12281/* Override any GCC internal prototype to avoid an error.
12282 Use char because int might match the return type of a GCC
12283 builtin and then its argument prototype would still apply. */
12284#ifdef __cplusplus
12285extern "C"
12286#endif
12287char gethostbyname ();
12288int
12289main ()
12290{
12291return gethostbyname ();
12292 ;
12293 return 0;
12294}
12295_ACEOF
Alexandre Julliard28710412007-04-23 16:31:58 +020012296for ac_lib in '' nsl; do
12297 if test -z "$ac_lib"; then
12298 ac_res="none required"
12299 else
12300 ac_res=-l$ac_lib
12301 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12302 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012303 if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012304 ac_cv_search_gethostbyname=$ac_res
Alexandre Julliarde533e972006-08-15 12:11:30 +020012305fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012306rm -f core conftest.err conftest.$ac_objext \
12307 conftest$ac_exeext
12308 if test "${ac_cv_search_gethostbyname+set}" = set; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012309 break
Alexandre Julliarde533e972006-08-15 12:11:30 +020012310fi
Alexandre Julliard28710412007-04-23 16:31:58 +020012311done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012312if test "${ac_cv_search_gethostbyname+set}" = set; then :
12313
Alexandre Julliard28710412007-04-23 16:31:58 +020012314else
12315 ac_cv_search_gethostbyname=no
12316fi
12317rm conftest.$ac_ext
12318LIBS=$ac_func_search_save_LIBS
12319fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012320{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012321$as_echo "$ac_cv_search_gethostbyname" >&6; }
Alexandre Julliard28710412007-04-23 16:31:58 +020012322ac_res=$ac_cv_search_gethostbyname
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012323if test "$ac_res" != no; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012324 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
Alexandre Julliarde533e972006-08-15 12:11:30 +020012325
12326fi
12327
Alexandre Julliarde533e972006-08-15 12:11:30 +020012328
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012329{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012330$as_echo_n "checking for library containing connect... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012331if test "${ac_cv_search_connect+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012332 $as_echo_n "(cached) " >&6
Alexandre Julliarde533e972006-08-15 12:11:30 +020012333else
Alexandre Julliard28710412007-04-23 16:31:58 +020012334 ac_func_search_save_LIBS=$LIBS
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012335cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde533e972006-08-15 12:11:30 +020012336/* end confdefs.h. */
12337
12338/* Override any GCC internal prototype to avoid an error.
12339 Use char because int might match the return type of a GCC
12340 builtin and then its argument prototype would still apply. */
12341#ifdef __cplusplus
12342extern "C"
12343#endif
12344char connect ();
12345int
12346main ()
12347{
12348return connect ();
12349 ;
12350 return 0;
12351}
12352_ACEOF
Alexandre Julliard28710412007-04-23 16:31:58 +020012353for ac_lib in '' socket; do
12354 if test -z "$ac_lib"; then
12355 ac_res="none required"
12356 else
12357 ac_res=-l$ac_lib
12358 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12359 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012360 if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012361 ac_cv_search_connect=$ac_res
Alexandre Julliarde533e972006-08-15 12:11:30 +020012362fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012363rm -f core conftest.err conftest.$ac_objext \
12364 conftest$ac_exeext
12365 if test "${ac_cv_search_connect+set}" = set; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012366 break
Alexandre Julliarde533e972006-08-15 12:11:30 +020012367fi
Alexandre Julliard28710412007-04-23 16:31:58 +020012368done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012369if test "${ac_cv_search_connect+set}" = set; then :
12370
Alexandre Julliard28710412007-04-23 16:31:58 +020012371else
12372 ac_cv_search_connect=no
12373fi
12374rm conftest.$ac_ext
12375LIBS=$ac_func_search_save_LIBS
12376fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012377{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012378$as_echo "$ac_cv_search_connect" >&6; }
Alexandre Julliard28710412007-04-23 16:31:58 +020012379ac_res=$ac_cv_search_connect
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012380if test "$ac_res" != no; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012381 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
Alexandre Julliarde533e972006-08-15 12:11:30 +020012382
12383fi
12384
Alexandre Julliarde533e972006-08-15 12:11:30 +020012385
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012386{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012387$as_echo_n "checking for library containing inet_aton... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012388if test "${ac_cv_search_inet_aton+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012389 $as_echo_n "(cached) " >&6
Alexandre Julliarde533e972006-08-15 12:11:30 +020012390else
Alexandre Julliard28710412007-04-23 16:31:58 +020012391 ac_func_search_save_LIBS=$LIBS
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012392cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde533e972006-08-15 12:11:30 +020012393/* end confdefs.h. */
12394
12395/* Override any GCC internal prototype to avoid an error.
12396 Use char because int might match the return type of a GCC
12397 builtin and then its argument prototype would still apply. */
12398#ifdef __cplusplus
12399extern "C"
12400#endif
12401char inet_aton ();
12402int
12403main ()
12404{
12405return inet_aton ();
12406 ;
12407 return 0;
12408}
12409_ACEOF
Alexandre Julliard28710412007-04-23 16:31:58 +020012410for ac_lib in '' resolv; do
12411 if test -z "$ac_lib"; then
12412 ac_res="none required"
12413 else
12414 ac_res=-l$ac_lib
12415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
12416 fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012417 if ac_fn_c_try_link "$LINENO"; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012418 ac_cv_search_inet_aton=$ac_res
Alexandre Julliarde533e972006-08-15 12:11:30 +020012419fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012420rm -f core conftest.err conftest.$ac_objext \
12421 conftest$ac_exeext
12422 if test "${ac_cv_search_inet_aton+set}" = set; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012423 break
Alexandre Julliarde533e972006-08-15 12:11:30 +020012424fi
Alexandre Julliard28710412007-04-23 16:31:58 +020012425done
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012426if test "${ac_cv_search_inet_aton+set}" = set; then :
12427
Alexandre Julliard28710412007-04-23 16:31:58 +020012428else
12429 ac_cv_search_inet_aton=no
12430fi
12431rm conftest.$ac_ext
12432LIBS=$ac_func_search_save_LIBS
12433fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012434{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012435$as_echo "$ac_cv_search_inet_aton" >&6; }
Alexandre Julliard28710412007-04-23 16:31:58 +020012436ac_res=$ac_cv_search_inet_aton
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012437if test "$ac_res" != no; then :
Alexandre Julliard28710412007-04-23 16:31:58 +020012438 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
Alexandre Julliarde533e972006-08-15 12:11:30 +020012439
12440fi
12441
Alexandre Julliarde533e972006-08-15 12:11:30 +020012442
Ben Taylor41c59962007-04-23 13:41:42 +000012443for ac_func in \
12444 getaddrinfo \
12445 getnameinfo \
12446 getnetbyname \
12447 getprotobyname \
12448 getprotobynumber \
12449 getservbyport \
12450 inet_network \
Austin English06566912009-03-28 00:13:09 -050012451 inet_ntop \
12452 inet_pton \
Ben Taylor41c59962007-04-23 13:41:42 +000012453 sendmsg \
Alexandre Julliard98bec052009-03-26 11:07:28 +010012454 socketpair \
Ben Taylor41c59962007-04-23 13:41:42 +000012455
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012456do :
12457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12458ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12459eval as_val=\$$as_ac_var
12460 if test "x$as_val" = x""yes; then :
Ben Taylor41c59962007-04-23 13:41:42 +000012461 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010012462#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
Ben Taylor41c59962007-04-23 13:41:42 +000012463_ACEOF
12464
12465fi
12466done
12467
12468
Francois Gougetbcba2702008-07-10 12:36:06 +020012469LDAPLIBS=""
12470
12471if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12472then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012473 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
12474"
12475if test "x$ac_cv_type_LDAPSortKey" = x""yes; then :
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012477$as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012478if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012479 $as_echo_n "(cached) " >&6
Francois Gougetbcba2702008-07-10 12:36:06 +020012480else
12481 ac_check_lib_save_LIBS=$LIBS
12482LIBS="-lldap_r $LIBPTHREAD $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012483cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Francois Gougetbcba2702008-07-10 12:36:06 +020012484/* end confdefs.h. */
12485
12486/* Override any GCC internal prototype to avoid an error.
12487 Use char because int might match the return type of a GCC
12488 builtin and then its argument prototype would still apply. */
12489#ifdef __cplusplus
12490extern "C"
12491#endif
12492char ldap_initialize ();
12493int
12494main ()
12495{
12496return ldap_initialize ();
12497 ;
12498 return 0;
12499}
12500_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012501if ac_fn_c_try_link "$LINENO"; then :
Francois Gougetbcba2702008-07-10 12:36:06 +020012502 ac_cv_lib_ldap_r_ldap_initialize=yes
12503else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012504 ac_cv_lib_ldap_r_ldap_initialize=no
Francois Gougetbcba2702008-07-10 12:36:06 +020012505fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012506rm -f core conftest.err conftest.$ac_objext \
12507 conftest$ac_exeext conftest.$ac_ext
Francois Gougetbcba2702008-07-10 12:36:06 +020012508LIBS=$ac_check_lib_save_LIBS
12509fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012510{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012511$as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012512if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x""yes; then :
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012514$as_echo_n "checking for ber_init in -llber... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012515if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012516 $as_echo_n "(cached) " >&6
Francois Gougetbcba2702008-07-10 12:36:06 +020012517else
12518 ac_check_lib_save_LIBS=$LIBS
12519LIBS="-llber $LIBPTHREAD $LIBS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012520cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Francois Gougetbcba2702008-07-10 12:36:06 +020012521/* end confdefs.h. */
12522
12523/* Override any GCC internal prototype to avoid an error.
12524 Use char because int might match the return type of a GCC
12525 builtin and then its argument prototype would still apply. */
12526#ifdef __cplusplus
12527extern "C"
12528#endif
12529char ber_init ();
12530int
12531main ()
12532{
12533return ber_init ();
12534 ;
12535 return 0;
12536}
12537_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012538if ac_fn_c_try_link "$LINENO"; then :
Francois Gougetbcba2702008-07-10 12:36:06 +020012539 ac_cv_lib_lber_ber_init=yes
12540else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012541 ac_cv_lib_lber_ber_init=no
Francois Gougetbcba2702008-07-10 12:36:06 +020012542fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012543rm -f core conftest.err conftest.$ac_objext \
12544 conftest$ac_exeext conftest.$ac_ext
Francois Gougetbcba2702008-07-10 12:36:06 +020012545LIBS=$ac_check_lib_save_LIBS
12546fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012548$as_echo "$ac_cv_lib_lber_ber_init" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012549if test "x$ac_cv_lib_lber_ber_init" = x""yes; then :
Francois Gougetbcba2702008-07-10 12:36:06 +020012550
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012551$as_echo "#define HAVE_LDAP 1" >>confdefs.h
Francois Gougetbcba2702008-07-10 12:36:06 +020012552
12553 LDAPLIBS="-lldap_r -llber"
12554fi
12555
12556fi
12557
12558fi
12559
12560 ac_wine_check_funcs_save_LIBS="$LIBS"
12561LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
Francois Gougetbcba2702008-07-10 12:36:06 +020012562for ac_func in \
12563 ldap_count_references \
12564 ldap_first_reference \
12565 ldap_next_reference \
12566 ldap_parse_reference \
12567 ldap_parse_sort_control \
12568 ldap_parse_sortresponse_control \
12569 ldap_parse_vlv_control \
12570 ldap_parse_vlvresponse_control
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012571do :
12572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12573ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12574eval as_val=\$$as_ac_var
12575 if test "x$as_val" = x""yes; then :
Francois Gougetbcba2702008-07-10 12:36:06 +020012576 cat >>confdefs.h <<_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010012577#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
Francois Gougetbcba2702008-07-10 12:36:06 +020012578_ACEOF
12579
12580fi
12581done
12582
12583LIBS="$ac_wine_check_funcs_save_LIBS"
12584fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012585if test "x$LDAPLIBS" = "x"; then :
Francois Gougetbcba2702008-07-10 12:36:06 +020012586 case "x$with_ldap" in
Alexandre Julliard0dc503b2010-02-11 20:25:47 +010012587 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
Francois Gougetbcba2702008-07-10 12:36:06 +020012588 xno) ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012589 *) as_fn_error "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
12590This is an error since --with-ldap was requested." "$LINENO" 5 ;;
Francois Gougetbcba2702008-07-10 12:36:06 +020012591esac
12592fi
12593
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012594{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
Alexandre Julliard921e6622008-12-22 10:39:11 +010012595$as_echo_n "checking whether mkdir takes only one argument... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012596if test "${wine_cv_one_arg_mkdir+set}" = set; then :
Alexandre Julliard921e6622008-12-22 10:39:11 +010012597 $as_echo_n "(cached) " >&6
12598else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliard921e6622008-12-22 10:39:11 +010012600/* end confdefs.h. */
12601#include <sys/stat.h>
12602int
12603main ()
12604{
12605mkdir("foo");
12606 ;
12607 return 0;
12608}
12609_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012610if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliard921e6622008-12-22 10:39:11 +010012611 wine_cv_one_arg_mkdir=yes
12612else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012613 wine_cv_one_arg_mkdir=no
Alexandre Julliard921e6622008-12-22 10:39:11 +010012614fi
Alexandre Julliard921e6622008-12-22 10:39:11 +010012615rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12616fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012617{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
Alexandre Julliard921e6622008-12-22 10:39:11 +010012618$as_echo "$wine_cv_one_arg_mkdir" >&6; }
12619if test "$wine_cv_one_arg_mkdir" = "yes"
12620then
12621
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012622$as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
Alexandre Julliard921e6622008-12-22 10:39:11 +010012623
12624fi
12625
Ben Taylor41c59962007-04-23 13:41:42 +000012626
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012627{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012628$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012629if test "${ac_cv_c_const+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012630 $as_echo_n "(cached) " >&6
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012631else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000012633/* end confdefs.h. */
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012634
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012635int
12636main ()
12637{
12638/* FIXME: Include the comments suggested by Paul. */
12639#ifndef __cplusplus
12640 /* Ultrix mips cc rejects this. */
12641 typedef int charset[2];
Phil Krylovf0ca5862006-11-05 23:03:46 +030012642 const charset cs;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012643 /* SunOS 4.1.1 cc rejects this. */
Phil Krylovf0ca5862006-11-05 23:03:46 +030012644 char const *const *pcpcc;
12645 char **ppc;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012646 /* NEC SVR4.0.2 mips cc rejects this. */
12647 struct point {int x, y;};
12648 static struct point const zero = {0,0};
12649 /* AIX XL C 1.02.0.0 rejects this.
12650 It does not let you subtract one const X* pointer from another in
12651 an arm of an if-expression whose if-part is not a constant
12652 expression */
12653 const char *g = "string";
Phil Krylovf0ca5862006-11-05 23:03:46 +030012654 pcpcc = &g + (g ? g-g : 0);
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012655 /* HPUX 7.0 cc rejects these. */
Phil Krylovf0ca5862006-11-05 23:03:46 +030012656 ++pcpcc;
12657 ppc = (char**) pcpcc;
12658 pcpcc = (char const *const *) ppc;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012659 { /* SCO 3.2v4 cc rejects this. */
12660 char *t;
12661 char const *s = 0 ? (char *) 0 : (char const *) 0;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012662
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012663 *t++ = 0;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020012664 if (s) return 0;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012665 }
12666 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12667 int x[] = {25, 17};
12668 const int *foo = &x[0];
12669 ++foo;
12670 }
12671 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12672 typedef const int *iptr;
12673 iptr p = 0;
12674 ++p;
12675 }
12676 { /* AIX XL C 1.02.0.0 rejects this saying
12677 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12678 struct s { int j; const int *ap[3]; };
12679 struct s *b; b->j = 5;
12680 }
12681 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12682 const int foo = 10;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020012683 if (!foo) return 0;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012684 }
Phil Krylovf0ca5862006-11-05 23:03:46 +030012685 return !cs[0] && !zero.x;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012686#endif
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012687
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012688 ;
12689 return 0;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012690}
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012691_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012692if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012693 ac_cv_c_const=yes
12694else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012695 ac_cv_c_const=no
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012696fi
Jeremy White0ebeb532006-06-20 13:18:41 +020012697rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012698fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012699{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012700$as_echo "$ac_cv_c_const" >&6; }
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012701if test $ac_cv_c_const = no; then
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012702
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012703$as_echo "#define const /**/" >>confdefs.h
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012704
12705fi
12706
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012707{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012708$as_echo_n "checking for inline... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012709if test "${ac_cv_c_inline+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012710 $as_echo_n "(cached) " >&6
Marcus Meissner1a8bbd71999-04-26 14:58:58 +000012711else
12712 ac_cv_c_inline=no
12713for ac_kw in inline __inline__ __inline; do
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000012715/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012716#ifndef __cplusplus
Alexandre Julliard11af04e2002-10-10 03:48:04 +000012717typedef int foo_t;
12718static $ac_kw foo_t static_foo () {return 0; }
12719$ac_kw foo_t foo () {return 0; }
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012720#endif
Marcus Meissner1a8bbd71999-04-26 14:58:58 +000012721
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012722_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012723if ac_fn_c_try_compile "$LINENO"; then :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020012724 ac_cv_c_inline=$ac_kw
Marcus Meissner1a8bbd71999-04-26 14:58:58 +000012725fi
Jeremy White0ebeb532006-06-20 13:18:41 +020012726rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020012727 test "$ac_cv_c_inline" != no && break
Marcus Meissner1a8bbd71999-04-26 14:58:58 +000012728done
12729
12730fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012731{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012732$as_echo "$ac_cv_c_inline" >&6; }
Alexandre Julliard875927f2004-01-02 01:55:29 +000012733
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012734case $ac_cv_c_inline in
Marcus Meissner1a8bbd71999-04-26 14:58:58 +000012735 inline | yes) ;;
Alexandre Julliard875927f2004-01-02 01:55:29 +000012736 *)
12737 case $ac_cv_c_inline in
12738 no) ac_val=;;
12739 *) ac_val=$ac_cv_c_inline;;
12740 esac
12741 cat >>confdefs.h <<_ACEOF
12742#ifndef __cplusplus
12743#define inline $ac_val
12744#endif
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012745_ACEOF
Alexandre Julliard875927f2004-01-02 01:55:29 +000012746 ;;
Marcus Meissner1a8bbd71999-04-26 14:58:58 +000012747esac
12748
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012749ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
12750if test "x$ac_cv_type_mode_t" = x""yes; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012751
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012752cat >>confdefs.h <<_ACEOF
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012753#define HAVE_MODE_T 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012754_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012755
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012756
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012757fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012758ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12759if test "x$ac_cv_type_off_t" = x""yes; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012760
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012761cat >>confdefs.h <<_ACEOF
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012762#define HAVE_OFF_T 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012763_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012764
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012765
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012766fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012767ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12768if test "x$ac_cv_type_pid_t" = x""yes; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012769
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012770cat >>confdefs.h <<_ACEOF
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012771#define HAVE_PID_T 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012772_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012773
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012774
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012775fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012776ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12777if test "x$ac_cv_type_size_t" = x""yes; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012778
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012779cat >>confdefs.h <<_ACEOF
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012780#define HAVE_SIZE_T 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012781_ACEOF
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012782
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012783
12784fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012785ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12786if test "x$ac_cv_type_ssize_t" = x""yes; then :
Alexandre Julliard5769d1d2002-04-26 19:05:15 +000012787
12788cat >>confdefs.h <<_ACEOF
12789#define HAVE_SSIZE_T 1
12790_ACEOF
12791
12792
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000012793fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012794ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
12795if test "x$ac_cv_type_long_long" = x""yes; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012796
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012797cat >>confdefs.h <<_ACEOF
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +000012798#define HAVE_LONG_LONG 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012799_ACEOF
Alexandre Julliardc7c217b1998-04-13 12:21:30 +000012800
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012801
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +000012802fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012803ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
12804if test "x$ac_cv_type_fsblkcnt_t" = x""yes; then :
Alexandre Julliard13af4892004-03-05 21:03:46 +000012805
12806cat >>confdefs.h <<_ACEOF
12807#define HAVE_FSBLKCNT_T 1
12808_ACEOF
12809
12810
12811fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012812ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
12813if test "x$ac_cv_type_fsfilcnt_t" = x""yes; then :
Alexandre Julliard13af4892004-03-05 21:03:46 +000012814
12815cat >>confdefs.h <<_ACEOF
12816#define HAVE_FSFILCNT_T 1
12817_ACEOF
12818
12819
12820fi
Dimitrie O. Paunf41c2b22004-03-02 02:23:26 +000012821
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012822ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
Alexandre Julliardabf50482008-10-31 12:56:53 +010012823#include <signal.h>
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012824"
12825if test "x$ac_cv_type_sigset_t" = x""yes; then :
Paul Millar10a6c562004-12-07 17:19:54 +000012826
12827cat >>confdefs.h <<_ACEOF
12828#define HAVE_SIGSET_T 1
12829_ACEOF
12830
12831
12832fi
12833
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012834ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
12835"
12836if test "x$ac_cv_type_request_sense" = x""yes; then :
Gerald Pfeiferb8b15f32005-07-10 17:42:46 +000012837
12838cat >>confdefs.h <<_ACEOF
12839#define HAVE_REQUEST_SENSE 1
12840_ACEOF
12841
12842
12843fi
12844
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012845
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012846ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
Austin English68f2db22009-01-29 08:28:37 -060012847#ifdef HAVE_SYS_SOCKET_H
12848#include <sys/socket.h>
12849#endif
12850#ifdef HAVE_SYS_SOCKETVAR_H
12851#include <sys/socketvar.h>
12852#endif
12853#ifdef HAVE_NET_ROUTE_H
12854#include <net/route.h>
12855#endif
12856#ifdef HAVE_NETINET_IN_H
12857#include <netinet/in.h>
12858#endif
12859#ifdef HAVE_NETINET_IN_SYSTM_H
12860#include <netinet/in_systm.h>
12861#endif
12862#ifdef HAVE_NETINET_IP_H
12863#include <netinet/ip.h>
12864#endif
12865#ifdef HAVE_NETINET_IN_PCB_H
12866#include <netinet/in_pcb.h>
12867#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012868"
12869if test "x$ac_cv_type_struct_xinpgen" = x""yes; then :
Austin English68f2db22009-01-29 08:28:37 -060012870
12871cat >>confdefs.h <<_ACEOF
12872#define HAVE_STRUCT_XINPGEN 1
12873_ACEOF
12874
12875
12876fi
12877
12878
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012879ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
Daniel Remenake491e8f2005-07-29 14:18:58 +000012880#include <linux/input.h>
12881#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012882"
12883if test "x$ac_cv_member_struct_ff_effect_direction" = x""yes; then :
Daniel Remenake491e8f2005-07-29 14:18:58 +000012884
12885cat >>confdefs.h <<_ACEOF
12886#define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
12887_ACEOF
12888
12889
12890fi
12891
12892
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012893{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012894$as_echo_n "checking for sigaddset... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012895if test "${wine_cv_have_sigaddset+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012896 $as_echo_n "(cached) " >&6
Paul Millar10a6c562004-12-07 17:19:54 +000012897else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Paul Millar10a6c562004-12-07 17:19:54 +000012899/* end confdefs.h. */
12900#include <signal.h>
12901int
12902main ()
12903{
12904sigset_t set; sigaddset(&set,SIGTERM);
12905 ;
12906 return 0;
12907}
12908_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012909if ac_fn_c_try_link "$LINENO"; then :
Paul Millar10a6c562004-12-07 17:19:54 +000012910 wine_cv_have_sigaddset=yes
12911else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012912 wine_cv_have_sigaddset=no
Paul Millar10a6c562004-12-07 17:19:54 +000012913fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012914rm -f core conftest.err conftest.$ac_objext \
12915 conftest$ac_exeext conftest.$ac_ext
Paul Millar10a6c562004-12-07 17:19:54 +000012916fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012917{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012918$as_echo "$wine_cv_have_sigaddset" >&6; }
Paul Millar10a6c562004-12-07 17:19:54 +000012919if test "$wine_cv_have_sigaddset" = "yes"
12920then
12921
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012922$as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
Paul Millar10a6c562004-12-07 17:19:54 +000012923
12924fi
12925
Alexandre Julliarddaa28862002-04-11 21:54:01 +000012926
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012927{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012928$as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012929if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012930 $as_echo_n "(cached) " >&6
Rein Klazesff7a61f2000-09-24 19:41:57 +000012931else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000012933/* end confdefs.h. */
Rein Klazesff7a61f2000-09-24 19:41:57 +000012934#include <netdb.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012935int
12936main ()
12937{
Rein Klazesff7a61f2000-09-24 19:41:57 +000012938
Ken Thomases20d9bad2007-10-19 16:18:51 -050012939 char *name=0;
Rein Klazesff7a61f2000-09-24 19:41:57 +000012940 struct hostent he;
12941 struct hostent *result;
Ken Thomases20d9bad2007-10-19 16:18:51 -050012942 char *buf=0;
Rein Klazesff7a61f2000-09-24 19:41:57 +000012943 int bufsize=0;
12944 int res,errnr;
Ken Thomases20d9bad2007-10-19 16:18:51 -050012945 char *addr=0;
Rein Klazesff7a61f2000-09-24 19:41:57 +000012946 int addrlen=0;
12947 int addrtype=0;
12948 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
12949 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012950
12951 ;
12952 return 0;
12953}
12954_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012955if ac_fn_c_try_link "$LINENO"; then :
Rein Klazesff7a61f2000-09-24 19:41:57 +000012956 wine_cv_linux_gethostbyname_r_6=yes
12957else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012958 wine_cv_linux_gethostbyname_r_6=no
Rein Klazesff7a61f2000-09-24 19:41:57 +000012959
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012960fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012961rm -f core conftest.err conftest.$ac_objext \
12962 conftest$ac_exeext conftest.$ac_ext
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012963
12964fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012965{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012966$as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
Rein Klazesff7a61f2000-09-24 19:41:57 +000012967 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
12968 then
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012969
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012970$as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
Rein Klazesff7a61f2000-09-24 19:41:57 +000012971
12972 fi
12973
Marcus Meissner028e9a11999-08-04 15:07:56 +000012974if test "$ac_cv_header_linux_joystick_h" = "yes"
Alexandre Julliarddadf78f1998-05-17 17:13:43 +000012975then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010012977$as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012978if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010012979 $as_echo_n "(cached) " >&6
Alexandre Julliarddadf78f1998-05-17 17:13:43 +000012980else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020012981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000012982/* end confdefs.h. */
Alexandre Julliarddadf78f1998-05-17 17:13:43 +000012983
Marcus Meissner028e9a11999-08-04 15:07:56 +000012984 #include <sys/ioctl.h>
Marcus Meissner7c434992007-04-12 12:12:05 +020012985 #include <sys/types.h>
Marcus Meissner028e9a11999-08-04 15:07:56 +000012986 #include <linux/joystick.h>
12987
12988 struct js_event blub;
Marcus Meissner605a9c31999-11-04 02:04:01 +000012989 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
12990 #error "no 2.2 header"
12991 #endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012992
12993int
12994main ()
12995{
Marcus Meissner028e9a11999-08-04 15:07:56 +000012996/*empty*/
Alexandre Julliardf5818d22002-02-14 19:47:29 +000012997 ;
12998 return 0;
12999}
13000_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013001if ac_fn_c_try_compile "$LINENO"; then :
Marcus Meissner028e9a11999-08-04 15:07:56 +000013002 wine_cv_linux_joystick_22_api=yes
13003else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013004 wine_cv_linux_joystick_22_api=no
Marcus Meissner028e9a11999-08-04 15:07:56 +000013005fi
Jeremy White0ebeb532006-06-20 13:18:41 +020013006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
Marcus Meissner028e9a11999-08-04 15:07:56 +000013007
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013008fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013009{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013010$as_echo "$wine_cv_linux_joystick_22_api" >&6; }
Rein Klazes87d224a2000-04-24 17:33:49 +000013011 if test "$wine_cv_linux_joystick_22_api" = "yes"
Marcus Meissner028e9a11999-08-04 15:07:56 +000013012 then
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013013
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013014$as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
Marcus Meissner028e9a11999-08-04 15:07:56 +000013015
13016 fi
13017fi
13018
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013019
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013020ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013021#ifdef HAVE_SYS_PARAM_H
13022# include <sys/param.h>
13023#endif
Robert Millan55b74482006-02-06 21:53:27 +010013024#ifdef HAVE_SYS_MOUNT_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013025# include <sys/mount.h>
Robert Millan55b74482006-02-06 21:53:27 +010013026#endif
13027#ifdef HAVE_SYS_VFS_H
13028# include <sys/vfs.h>
13029#endif
13030#ifdef HAVE_SYS_STATFS_H
13031# include <sys/statfs.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013032#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013033"
13034if test "x$ac_cv_member_struct_statfs_f_bfree" = x""yes; then :
Alexandre Julliarddadf78f1998-05-17 17:13:43 +000013035
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013036cat >>confdefs.h <<_ACEOF
13037#define HAVE_STRUCT_STATFS_F_BFREE 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013038_ACEOF
Alexandre Julliarddadf78f1998-05-17 17:13:43 +000013039
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013040
Alexandre Julliarddadf78f1998-05-17 17:13:43 +000013041fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013042ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013043#ifdef HAVE_SYS_PARAM_H
13044# include <sys/param.h>
13045#endif
Robert Millan55b74482006-02-06 21:53:27 +010013046#ifdef HAVE_SYS_MOUNT_H
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013047# include <sys/mount.h>
Robert Millan55b74482006-02-06 21:53:27 +010013048#endif
13049#ifdef HAVE_SYS_VFS_H
13050# include <sys/vfs.h>
13051#endif
13052#ifdef HAVE_SYS_STATFS_H
13053# include <sys/statfs.h>
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013054#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013055"
13056if test "x$ac_cv_member_struct_statfs_f_bavail" = x""yes; then :
Patrik Stridvall09da9662001-07-08 22:30:50 +000013057
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013058cat >>confdefs.h <<_ACEOF
13059#define HAVE_STRUCT_STATFS_F_BAVAIL 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013060_ACEOF
Patrik Stridvall09da9662001-07-08 22:30:50 +000013061
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013062
Patrik Stridvall09da9662001-07-08 22:30:50 +000013063fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013064ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
Alexandre Julliard13af4892004-03-05 21:03:46 +000013065#ifdef HAVE_SYS_PARAM_H
13066# include <sys/param.h>
13067#endif
Robert Millan55b74482006-02-06 21:53:27 +010013068#ifdef HAVE_SYS_MOUNT_H
Alexandre Julliard13af4892004-03-05 21:03:46 +000013069# include <sys/mount.h>
Robert Millan55b74482006-02-06 21:53:27 +010013070#endif
13071#ifdef HAVE_SYS_VFS_H
13072# include <sys/vfs.h>
13073#endif
13074#ifdef HAVE_SYS_STATFS_H
13075# include <sys/statfs.h>
Alexandre Julliard13af4892004-03-05 21:03:46 +000013076#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013077"
13078if test "x$ac_cv_member_struct_statfs_f_frsize" = x""yes; then :
Alexandre Julliard13af4892004-03-05 21:03:46 +000013079
13080cat >>confdefs.h <<_ACEOF
13081#define HAVE_STRUCT_STATFS_F_FRSIZE 1
13082_ACEOF
13083
13084
13085fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013086ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
Alexandre Julliard13af4892004-03-05 21:03:46 +000013087#ifdef HAVE_SYS_PARAM_H
13088# include <sys/param.h>
13089#endif
Robert Millan55b74482006-02-06 21:53:27 +010013090#ifdef HAVE_SYS_MOUNT_H
Alexandre Julliard13af4892004-03-05 21:03:46 +000013091# include <sys/mount.h>
Robert Millan55b74482006-02-06 21:53:27 +010013092#endif
13093#ifdef HAVE_SYS_VFS_H
13094# include <sys/vfs.h>
13095#endif
13096#ifdef HAVE_SYS_STATFS_H
13097# include <sys/statfs.h>
Alexandre Julliard13af4892004-03-05 21:03:46 +000013098#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013099"
13100if test "x$ac_cv_member_struct_statfs_f_ffree" = x""yes; then :
Alexandre Julliard13af4892004-03-05 21:03:46 +000013101
13102cat >>confdefs.h <<_ACEOF
13103#define HAVE_STRUCT_STATFS_F_FFREE 1
13104_ACEOF
13105
13106
13107fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013108ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
Alexandre Julliard13af4892004-03-05 21:03:46 +000013109#ifdef HAVE_SYS_PARAM_H
13110# include <sys/param.h>
13111#endif
Robert Millan55b74482006-02-06 21:53:27 +010013112#ifdef HAVE_SYS_MOUNT_H
Alexandre Julliard13af4892004-03-05 21:03:46 +000013113# include <sys/mount.h>
Robert Millan55b74482006-02-06 21:53:27 +010013114#endif
13115#ifdef HAVE_SYS_VFS_H
13116# include <sys/vfs.h>
13117#endif
13118#ifdef HAVE_SYS_STATFS_H
13119# include <sys/statfs.h>
Alexandre Julliard13af4892004-03-05 21:03:46 +000013120#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013121"
13122if test "x$ac_cv_member_struct_statfs_f_favail" = x""yes; then :
Alexandre Julliard13af4892004-03-05 21:03:46 +000013123
13124cat >>confdefs.h <<_ACEOF
13125#define HAVE_STRUCT_STATFS_F_FAVAIL 1
13126_ACEOF
13127
13128
13129fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013130ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
Alexandre Julliardb859a682004-03-07 03:16:43 +000013131#ifdef HAVE_SYS_PARAM_H
13132# include <sys/param.h>
13133#endif
Robert Millan55b74482006-02-06 21:53:27 +010013134#ifdef HAVE_SYS_MOUNT_H
Alexandre Julliardb859a682004-03-07 03:16:43 +000013135# include <sys/mount.h>
Robert Millan55b74482006-02-06 21:53:27 +010013136#endif
13137#ifdef HAVE_SYS_VFS_H
13138# include <sys/vfs.h>
13139#endif
13140#ifdef HAVE_SYS_STATFS_H
13141# include <sys/statfs.h>
Alexandre Julliardb859a682004-03-07 03:16:43 +000013142#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013143"
13144if test "x$ac_cv_member_struct_statfs_f_namelen" = x""yes; then :
Alexandre Julliardb859a682004-03-07 03:16:43 +000013145
13146cat >>confdefs.h <<_ACEOF
13147#define HAVE_STRUCT_STATFS_F_NAMELEN 1
13148_ACEOF
13149
13150
13151fi
Alexandre Julliard13af4892004-03-05 21:03:46 +000013152
13153
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013154ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
Alexandre Julliard13af4892004-03-05 21:03:46 +000013155#include <sys/statvfs.h>
13156#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013157"
13158if test "x$ac_cv_member_struct_statvfs_f_blocks" = x""yes; then :
Alexandre Julliard13af4892004-03-05 21:03:46 +000013159
13160cat >>confdefs.h <<_ACEOF
13161#define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13162_ACEOF
13163
13164
13165fi
Patrik Stridvall09da9662001-07-08 22:30:50 +000013166
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013167
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013168ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
Patrik Stridvall63ae7fe2002-11-08 19:34:52 +000013169#ifdef HAVE_SYS_SOCKET_H
13170# include <sys/socket.h>
13171#endif
13172#ifdef HAVE_SYS_UN_H
13173# include <sys/un.h>
13174#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013175"
13176if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x""yes; then :
Juergen Lock2d33ab92000-02-13 16:03:29 +000013177
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013178cat >>confdefs.h <<_ACEOF
13179#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013180_ACEOF
Juergen Lock2d33ab92000-02-13 16:03:29 +000013181
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013182
13183fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013184ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013185#ifdef HAVE_SYS_SOCKET_H
13186# include <sys/socket.h>
13187#endif
13188#ifdef HAVE_SYS_UN_H
13189# include <sys/un.h>
13190#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013191"
13192if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013193
13194cat >>confdefs.h <<_ACEOF
13195#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13196_ACEOF
13197
13198
13199fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013200ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013201#ifdef HAVE_SYS_SOCKET_H
13202# include <sys/socket.h>
13203#endif
13204#ifdef HAVE_SYS_UN_H
13205# include <sys/un.h>
13206#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013207"
13208if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x""yes; then :
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013209
13210cat >>confdefs.h <<_ACEOF
13211#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13212_ACEOF
13213
13214
Juergen Lock2d33ab92000-02-13 16:03:29 +000013215fi
13216
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013217
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013218ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
Dmitry Timoshkovea64a362005-06-27 12:07:49 +000013219#ifdef HAVE_SCSI_SG_H
13220#include <scsi/sg.h>
13221#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013222"
13223if test "x$ac_cv_member_scsireq_t_cmd" = x""yes; then :
Dmitry Timoshkovea64a362005-06-27 12:07:49 +000013224
13225cat >>confdefs.h <<_ACEOF
13226#define HAVE_SCSIREQ_T_CMD 1
13227_ACEOF
13228
13229
13230fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013231ac_fn_c_check_member "$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
Dmitry Timoshkovea64a362005-06-27 12:07:49 +000013232#ifdef HAVE_SCSI_SG_H
13233#include <scsi/sg.h>
13234#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013235"
13236if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x""yes; then :
Dmitry Timoshkovea64a362005-06-27 12:07:49 +000013237
13238cat >>confdefs.h <<_ACEOF
13239#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13240_ACEOF
13241
13242
13243fi
13244
13245
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013246ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13247"
13248if test "x$ac_cv_member_siginfo_t_si_fd" = x""yes; then :
Alexandre Julliard5537dbb2003-03-28 00:36:12 +000013249
13250cat >>confdefs.h <<_ACEOF
13251#define HAVE_SIGINFO_T_SI_FD 1
13252_ACEOF
13253
13254
13255fi
13256
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013257
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013258ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
Gerald Pfeifer36bdc642006-02-05 13:51:03 +010013259#ifdef HAVE_SYS_MTIO_H
13260#include <sys/mtio.h>
13261#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013262"
13263if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x""yes; then :
Gerald Pfeifer36bdc642006-02-05 13:51:03 +010013264
13265cat >>confdefs.h <<_ACEOF
13266#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13267_ACEOF
13268
13269
13270fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013271ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
Gerald Pfeifer36bdc642006-02-05 13:51:03 +010013272#ifdef HAVE_SYS_MTIO_H
13273#include <sys/mtio.h>
13274#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013275"
13276if test "x$ac_cv_member_struct_mtget_mt_gstat" = x""yes; then :
Gerald Pfeifer36bdc642006-02-05 13:51:03 +010013277
13278cat >>confdefs.h <<_ACEOF
13279#define HAVE_STRUCT_MTGET_MT_GSTAT 1
13280_ACEOF
13281
13282
13283fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013284ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
Gerald Pfeifer571d9fb2006-02-06 20:59:44 +010013285#ifdef HAVE_SYS_MTIO_H
13286#include <sys/mtio.h>
13287#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013288"
13289if test "x$ac_cv_member_struct_mtget_mt_blkno" = x""yes; then :
Gerald Pfeifer571d9fb2006-02-06 20:59:44 +010013290
13291cat >>confdefs.h <<_ACEOF
13292#define HAVE_STRUCT_MTGET_MT_BLKNO 1
13293_ACEOF
13294
13295
13296fi
Gerald Pfeifer36bdc642006-02-05 13:51:03 +010013297
13298
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013299ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
Alexandre Julliarddb89a542003-04-20 02:56:14 +000013300#include <getopt.h>
13301#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013302"
13303if test "x$ac_cv_member_struct_option_name" = x""yes; then :
Alexandre Julliarddb89a542003-04-20 02:56:14 +000013304
13305cat >>confdefs.h <<_ACEOF
13306#define HAVE_STRUCT_OPTION_NAME 1
13307_ACEOF
13308
13309
13310fi
13311
13312
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013313ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13314if test "x$ac_cv_member_struct_stat_st_blocks" = x""yes; then :
Pavel Roskind6507192003-10-03 03:28:40 +000013315
13316cat >>confdefs.h <<_ACEOF
13317#define HAVE_STRUCT_STAT_ST_BLOCKS 1
13318_ACEOF
13319
13320
13321fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013322ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13323if test "x$ac_cv_member_struct_stat_st_mtim" = x""yes; then :
Michael Karcheraf2d2742008-08-17 19:03:44 +020013324
13325cat >>confdefs.h <<_ACEOF
13326#define HAVE_STRUCT_STAT_ST_MTIM 1
13327_ACEOF
13328
13329
13330fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013331ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13332if test "x$ac_cv_member_struct_stat_st_ctim" = x""yes; then :
Michael Karcheraf2d2742008-08-17 19:03:44 +020013333
13334cat >>confdefs.h <<_ACEOF
13335#define HAVE_STRUCT_STAT_ST_CTIM 1
13336_ACEOF
13337
13338
13339fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013340ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13341if test "x$ac_cv_member_struct_stat_st_atim" = x""yes; then :
Michael Karcheraf2d2742008-08-17 19:03:44 +020013342
13343cat >>confdefs.h <<_ACEOF
13344#define HAVE_STRUCT_STAT_ST_ATIM 1
13345_ACEOF
13346
13347
13348fi
Pavel Roskind6507192003-10-03 03:28:40 +000013349
13350
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013351ac_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
Vitaly Lipatov40a6a742006-02-20 15:33:09 +030013352#include <sys/types.h>
13353#endif
13354#ifdef HAVE_NETINET_IN_H
13355#include <netinet/in.h>
13356#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013357"
13358if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x""yes; then :
Vitaly Lipatov40a6a742006-02-20 15:33:09 +030013359
13360cat >>confdefs.h <<_ACEOF
13361#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13362_ACEOF
13363
13364
13365fi
13366
13367
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013368ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
Alexandre Julliard788e30f2006-05-31 14:43:21 +020013369#include <sys/types.h>
13370#endif
13371#ifdef HAVE_NETINET_IN_H
13372# include <netinet/in.h>
13373#endif
13374#ifdef HAVE_ARPA_NAMESER_H
13375# include <arpa/nameser.h>
13376#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013377"
13378if test "x$ac_cv_member_ns_msg__msg_ptr" = x""yes; then :
Alexandre Julliard788e30f2006-05-31 14:43:21 +020013379
13380cat >>confdefs.h <<_ACEOF
13381#define HAVE_NS_MSG__MSG_PTR 1
13382_ACEOF
13383
13384
13385fi
13386
13387
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013388ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
Austin Englishac0252d2009-01-30 10:18:10 -060013389#include <sys/types.h>
13390#endif
13391#ifdef HAVE_ALIAS_H
13392#include <alias.h>
13393#endif
13394#ifdef HAVE_SYS_SOCKET_H
13395#include <sys/socket.h>
13396#endif
13397#ifdef HAVE_SYS_SOCKETVAR_H
13398#include <sys/socketvar.h>
13399#endif
13400#ifdef HAVE_SYS_TIMEOUT_H
13401#include <sys/timeout.h>
13402#endif
13403#ifdef HAVE_NETINET_IN_H
13404#include <netinet/in.h>
13405#endif
13406#ifdef HAVE_NETINET_IN_SYSTM_H
13407#include <netinet/in_systm.h>
13408#endif
13409#ifdef HAVE_NETINET_IP_H
13410#include <netinet/ip.h>
13411#endif
13412#ifdef HAVE_NETINET_IP_VAR_H
13413#include <netinet/ip_var.h>
13414#endif
13415#ifdef HAVE_NETINET_IP_ICMP_H
13416#include <netinet/ip_icmp.h>
13417#endif
13418#ifdef HAVE_NETINET_ICMP_VAR
13419#include <netinet/icmp_var.h>
13420#endif
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013421"
13422if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x""yes; then :
Austin Englishac0252d2009-01-30 10:18:10 -060013423
13424cat >>confdefs.h <<_ACEOF
13425#define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13426_ACEOF
13427
13428
13429fi
13430
13431
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013432{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013433$as_echo_n "checking for timezone variable... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013434if test "${ac_cv_have_timezone+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013435 $as_echo_n "(cached) " >&6
Phil Krylov6618b032005-05-24 11:52:46 +000013436else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Phil Krylov6618b032005-05-24 11:52:46 +000013438/* end confdefs.h. */
13439#include <time.h>
13440int
13441main ()
13442{
Alexandre Julliardff2bd662006-08-25 13:23:29 +020013443timezone = 1
Phil Krylov6618b032005-05-24 11:52:46 +000013444 ;
13445 return 0;
13446}
13447_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013448if ac_fn_c_try_link "$LINENO"; then :
Phil Krylov6618b032005-05-24 11:52:46 +000013449 ac_cv_have_timezone="yes"
13450else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013451 ac_cv_have_timezone="no"
Phil Krylov6618b032005-05-24 11:52:46 +000013452fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013453rm -f core conftest.err conftest.$ac_objext \
13454 conftest$ac_exeext conftest.$ac_ext
Phil Krylov6618b032005-05-24 11:52:46 +000013455fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013456{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013457$as_echo "$ac_cv_have_timezone" >&6; }
Phil Krylov6618b032005-05-24 11:52:46 +000013458if test "$ac_cv_have_timezone" = "yes"
13459then
13460
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013461$as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
Phil Krylov6618b032005-05-24 11:52:46 +000013462
13463fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013465$as_echo_n "checking for daylight variable... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013466if test "${ac_cv_have_daylight+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013467 $as_echo_n "(cached) " >&6
Phil Krylov6618b032005-05-24 11:52:46 +000013468else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Phil Krylov6618b032005-05-24 11:52:46 +000013470/* end confdefs.h. */
13471#include <time.h>
13472int
13473main ()
13474{
Alexandre Julliardff2bd662006-08-25 13:23:29 +020013475daylight = 1
Phil Krylov6618b032005-05-24 11:52:46 +000013476 ;
13477 return 0;
13478}
13479_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013480if ac_fn_c_try_link "$LINENO"; then :
Phil Krylov6618b032005-05-24 11:52:46 +000013481 ac_cv_have_daylight="yes"
13482else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013483 ac_cv_have_daylight="no"
Phil Krylov6618b032005-05-24 11:52:46 +000013484fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013485rm -f core conftest.err conftest.$ac_objext \
13486 conftest$ac_exeext conftest.$ac_ext
Phil Krylov6618b032005-05-24 11:52:46 +000013487fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013488{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013489$as_echo "$ac_cv_have_daylight" >&6; }
Phil Krylov6618b032005-05-24 11:52:46 +000013490if test "$ac_cv_have_daylight" = "yes"
13491then
13492
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013493$as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
Phil Krylov6618b032005-05-24 11:52:46 +000013494
13495fi
13496
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013497{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013498$as_echo_n "checking for isinf... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013499if test "${ac_cv_have_isinf+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013500 $as_echo_n "(cached) " >&6
Petr Sumbera4992b652008-04-29 17:08:53 +020013501else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Petr Sumbera4992b652008-04-29 17:08:53 +020013503/* end confdefs.h. */
13504#include <math.h>
13505int
13506main ()
13507{
Francois Gouget2fef93a2008-06-26 15:59:05 +020013508float f = 0.0; int i=isinf(f)
Petr Sumbera4992b652008-04-29 17:08:53 +020013509 ;
13510 return 0;
13511}
13512_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013513if ac_fn_c_try_link "$LINENO"; then :
Petr Sumbera4992b652008-04-29 17:08:53 +020013514 ac_cv_have_isinf="yes"
13515else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013516 ac_cv_have_isinf="no"
Petr Sumbera4992b652008-04-29 17:08:53 +020013517fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013518rm -f core conftest.err conftest.$ac_objext \
13519 conftest$ac_exeext conftest.$ac_ext
Petr Sumbera4992b652008-04-29 17:08:53 +020013520fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013521{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013522$as_echo "$ac_cv_have_isinf" >&6; }
Petr Sumbera4992b652008-04-29 17:08:53 +020013523if test "$ac_cv_have_isinf" = "yes"
13524then
13525
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013526$as_echo "#define HAVE_ISINF 1" >>confdefs.h
Petr Sumbera4992b652008-04-29 17:08:53 +020013527
13528fi
13529
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013530{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013531$as_echo_n "checking for isnan... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013532if test "${ac_cv_have_isnan+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013533 $as_echo_n "(cached) " >&6
Jacek Caban1715dcb2008-10-14 16:06:49 -050013534else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Jacek Caban1715dcb2008-10-14 16:06:49 -050013536/* end confdefs.h. */
13537#include <math.h>
13538int
13539main ()
13540{
13541float f = 0.0; int i=isnan(f)
13542 ;
13543 return 0;
13544}
13545_ACEOF
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013546if ac_fn_c_try_link "$LINENO"; then :
Jacek Caban1715dcb2008-10-14 16:06:49 -050013547 ac_cv_have_isnan="yes"
13548else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013549 ac_cv_have_isnan="no"
Jacek Caban1715dcb2008-10-14 16:06:49 -050013550fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013551rm -f core conftest.err conftest.$ac_objext \
13552 conftest$ac_exeext conftest.$ac_ext
Jacek Caban1715dcb2008-10-14 16:06:49 -050013553fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013554{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013555$as_echo "$ac_cv_have_isnan" >&6; }
Jacek Caban1715dcb2008-10-14 16:06:49 -050013556if test "$ac_cv_have_isnan" = "yes"
13557then
13558
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013559$as_echo "#define HAVE_ISNAN 1" >>confdefs.h
Jacek Caban1715dcb2008-10-14 16:06:49 -050013560
13561fi
13562
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013563
Alexandre Julliardfc01b722002-05-12 03:16:39 +000013564case $host_cpu in
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013565 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013566$as_echo_n "checking whether we need to define __i386__... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013567if test "${ac_cv_cpp_def___i386__+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013568 $as_echo_n "(cached) " >&6
Juergen Lock2d33ab92000-02-13 16:03:29 +000013569else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000013571/* end confdefs.h. */
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013572#ifndef __i386__
Alexandre Julliard51d46ba1999-05-08 16:05:27 +000013573yes
13574#endif
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013575_ACEOF
Alexandre Julliard51d46ba1999-05-08 16:05:27 +000013576if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013577 $EGREP "yes" >/dev/null 2>&1; then :
Alexandre Julliard05783b52002-12-11 00:21:55 +000013578 ac_cv_cpp_def___i386__=yes
Alexandre Julliard51d46ba1999-05-08 16:05:27 +000013579else
Alexandre Julliard05783b52002-12-11 00:21:55 +000013580 ac_cv_cpp_def___i386__=no
Alexandre Julliard51d46ba1999-05-08 16:05:27 +000013581fi
13582rm -f conftest*
13583
13584fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013585{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013586$as_echo "$ac_cv_cpp_def___i386__" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013587if test $ac_cv_cpp_def___i386__ = yes; then :
Alexandre Julliard05783b52002-12-11 00:21:55 +000013588 CFLAGS="$CFLAGS -D__i386__"
13589 LINTFLAGS="$LINTFLAGS -D__i386__"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013590fi ;;
13591 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013592$as_echo_n "checking whether we need to define __x86_64__... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013593if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013594 $as_echo_n "(cached) " >&6
Alexandre Julliarde3be5642005-09-09 09:30:02 +000013595else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde3be5642005-09-09 09:30:02 +000013597/* end confdefs.h. */
13598#ifndef __x86_64__
13599yes
13600#endif
13601_ACEOF
13602if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013603 $EGREP "yes" >/dev/null 2>&1; then :
Alexandre Julliarde3be5642005-09-09 09:30:02 +000013604 ac_cv_cpp_def___x86_64__=yes
13605else
13606 ac_cv_cpp_def___x86_64__=no
13607fi
13608rm -f conftest*
13609
13610fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013611{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013612$as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013613if test $ac_cv_cpp_def___x86_64__ = yes; then :
Alexandre Julliarde3be5642005-09-09 09:30:02 +000013614 CFLAGS="$CFLAGS -D__x86_64__"
13615 LINTFLAGS="$LINTFLAGS -D__x86_64__"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013616fi ;;
13617 *alpha*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013618$as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013619if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013620 $as_echo_n "(cached) " >&6
Steven Edwards69b67862002-12-10 22:48:48 +000013621else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000013623/* end confdefs.h. */
Steven Edwards69b67862002-12-10 22:48:48 +000013624#ifndef __ALPHA__
13625yes
13626#endif
13627_ACEOF
13628if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013629 $EGREP "yes" >/dev/null 2>&1; then :
Alexandre Julliard05783b52002-12-11 00:21:55 +000013630 ac_cv_cpp_def___ALPHA__=yes
Steven Edwards69b67862002-12-10 22:48:48 +000013631else
Alexandre Julliard05783b52002-12-11 00:21:55 +000013632 ac_cv_cpp_def___ALPHA__=no
Steven Edwards69b67862002-12-10 22:48:48 +000013633fi
13634rm -f conftest*
13635
13636fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013637{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013638$as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013639if test $ac_cv_cpp_def___ALPHA__ = yes; then :
Alexandre Julliard05783b52002-12-11 00:21:55 +000013640 CFLAGS="$CFLAGS -D__ALPHA__"
13641 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013642fi ;;
13643 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013644$as_echo_n "checking whether we need to define __sparc__... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013645if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013646 $as_echo_n "(cached) " >&6
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013647else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000013649/* end confdefs.h. */
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013650#ifndef __sparc__
13651yes
13652#endif
13653_ACEOF
13654if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013655 $EGREP "yes" >/dev/null 2>&1; then :
Alexandre Julliard05783b52002-12-11 00:21:55 +000013656 ac_cv_cpp_def___sparc__=yes
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013657else
Alexandre Julliard05783b52002-12-11 00:21:55 +000013658 ac_cv_cpp_def___sparc__=no
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013659fi
13660rm -f conftest*
13661
13662fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013663{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013664$as_echo "$ac_cv_cpp_def___sparc__" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013665if test $ac_cv_cpp_def___sparc__ = yes; then :
Alexandre Julliard05783b52002-12-11 00:21:55 +000013666 CFLAGS="$CFLAGS -D__sparc__"
13667 LINTFLAGS="$LINTFLAGS -D__sparc__"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013668fi ;;
13669 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013670$as_echo_n "checking whether we need to define __powerpc__... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013671if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013672 $as_echo_n "(cached) " >&6
Pierre d'Herbemontb64b7de2003-07-16 23:37:22 +000013673else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Pierre d'Herbemontb64b7de2003-07-16 23:37:22 +000013675/* end confdefs.h. */
13676#ifndef __powerpc__
13677yes
13678#endif
13679_ACEOF
13680if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013681 $EGREP "yes" >/dev/null 2>&1; then :
Pierre d'Herbemontb64b7de2003-07-16 23:37:22 +000013682 ac_cv_cpp_def___powerpc__=yes
13683else
13684 ac_cv_cpp_def___powerpc__=no
13685fi
13686rm -f conftest*
13687
13688fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013689{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013690$as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013691if test $ac_cv_cpp_def___powerpc__ = yes; then :
Pierre d'Herbemontb64b7de2003-07-16 23:37:22 +000013692 CFLAGS="$CFLAGS -D__powerpc__"
13693 LINTFLAGS="$LINTFLAGS -D__powerpc__"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013694fi ;;
Alexandre Julliard05783b52002-12-11 00:21:55 +000013695esac
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013696
13697case $host_vendor in
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013698 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013699$as_echo_n "checking whether we need to define __sun__... " >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013700if test "${ac_cv_cpp_def___sun__+set}" = set; then :
Alexandre Julliardabf50482008-10-31 12:56:53 +010013701 $as_echo_n "(cached) " >&6
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013702else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000013704/* end confdefs.h. */
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013705#ifndef __sun__
13706yes
13707#endif
13708_ACEOF
13709if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013710 $EGREP "yes" >/dev/null 2>&1; then :
Alexandre Julliard05783b52002-12-11 00:21:55 +000013711 ac_cv_cpp_def___sun__=yes
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013712else
Alexandre Julliard05783b52002-12-11 00:21:55 +000013713 ac_cv_cpp_def___sun__=no
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013714fi
13715rm -f conftest*
13716
13717fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013718{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010013719$as_echo "$ac_cv_cpp_def___sun__" >&6; }
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013720if test $ac_cv_cpp_def___sun__ = yes; then :
Alexandre Julliard05783b52002-12-11 00:21:55 +000013721 CFLAGS="$CFLAGS -D__sun__"
13722 LINTFLAGS="$LINTFLAGS -D__sun__"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020013723fi ;;
Alexandre Julliard05783b52002-12-11 00:21:55 +000013724esac
Gregg Mattinson57807fa2002-07-20 20:17:13 +000013725
13726
Alexandre Julliard32ab8952006-09-14 09:38:16 +020013727DEPENDENCIES="### Dependencies:
Alexandre Julliard9644d1d2010-02-08 20:58:00 +010013728\$(OBJS) \$(CROSSOBJS): \$(IDL_GEN_HEADERS) \$(BISON_SRCS:.y=.tab.h)
Alexandre Julliard12c19622006-10-16 17:20:37 +020013729\$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
Alexandre Julliardda191222008-04-24 22:13:57 +020013730\$(RC_SRCS:.rc=.res): \$(IDL_TLB_SRCS:.idl=.tlb)
Alexandre Julliard32ab8952006-09-14 09:38:16 +020013731\$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
13732\$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
13733
13734
Alexandre Julliarda360e932008-08-20 16:02:37 +020013735ALL_MAKERULES=""
13736
Alexandre Julliard7d020c92010-02-03 13:12:12 +010013737ALL_SYMLINKS=""
13738
Alexandre Julliarda360e932008-08-20 16:02:37 +020013739ALL_MAKEFILE_DEPENDS="# Makefile dependencies"
13740
Alexandre Julliardd5addea2010-02-08 21:27:54 +010013741ALL_WINETEST_DEPENDS="# Test binaries"
13742
Alexandre Julliarda360e932008-08-20 16:02:37 +020013743
Alexandre Julliard52c400e2010-02-10 19:57:02 +010013744ALL_DIRS=""
13745
Alexandre Julliard6de0af12008-08-25 14:41:03 +020013746ALL_TOP_DIRS=""
13747
Alexandre Julliard49163da2008-08-25 12:02:27 +020013748ALL_DLL_DIRS=""
13749
Alexandre Julliard4d3b0202010-02-08 20:47:07 +010013750ALL_TOOL_DIRS=""
13751
Alexandre Julliard10e4edd2010-02-10 10:55:23 +010013752ALL_STATICLIB_DIRS=""
Alexandre Julliard49163da2008-08-25 12:02:27 +020013753
Alexandre Julliardb6c275b2010-01-26 20:40:12 +010013754ALL_STATIC_LIBS=""
13755
Alexandre Julliard950a0f82010-01-26 21:10:14 +010013756ALL_IMPORT_LIBS=""
13757
Alexandre Julliard94636872010-02-10 19:33:39 +010013758ALL_INSTALL_DIRS=""
13759
Alexandre Julliard49163da2008-08-25 12:02:27 +020013760ALL_TEST_DIRS=""
13761
Alexandre Julliard454fb3c2010-02-08 21:29:13 +010013762ALL_TEST_BINARIES=""
13763
Alexandre Julliard4051eaf2008-08-25 12:14:54 +020013764ALL_PROGRAM_DIRS=""
13765
Alexandre Julliard4051eaf2008-08-25 12:14:54 +020013766ALL_PROGRAM_BIN_INSTALL_DIRS=""
13767
Alexandre Julliard49163da2008-08-25 12:02:27 +020013768
Alexandre Julliarddaa28862002-04-11 21:54:01 +000013769
13770
Alexandre Julliardc4704c22006-09-22 09:33:00 +020013771ac_config_commands="$ac_config_commands include/stamp-h"
13772
13773
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013774wine_fn_append_file ()
13775{
13776 as_fn_append $1 " \\$as_nl $2"
13777}
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013778
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013779wine_fn_append_rule ()
13780{
13781 as_fn_append $1 "$as_nl$2"
13782}
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013783
13784wine_fn_config_makefile ()
13785{
13786 ac_dir=$1
13787 ac_deps=$2
13788 wine_fn_append_file ALL_DIRS $ac_dir
13789 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13790"\$(RECURSE_TARGETS:%=$ac_dir/%) $ac_dir: $ac_dir/Makefile
13791$ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status $ac_deps
13792 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
13793}
13794
13795wine_fn_config_lib ()
13796{
13797 ac_name=$1
13798 wine_fn_append_file ALL_STATIC_LIBS dlls/$ac_name/lib$ac_name.a
13799 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13800"dlls/$ac_name/__install__ dlls/$ac_name/__install-dev__: dlls/$ac_name
13801dlls/$ac_name dlls/$ac_name/lib$ac_name.cross.a: tools/widl tools/winebuild tools/winegcc include
13802dlls/$ac_name/lib$ac_name.cross.a: dlls/$ac_name/Makefile dummy
13803 @cd dlls/$ac_name && \$(MAKE) lib$ac_name.cross.a"
13804}
13805
13806wine_fn_config_test ()
13807{
13808 ac_dir=$1
13809 ac_name=$2
13810 wine_fn_append_file ALL_TEST_BINARIES $ac_name.exe
13811 wine_fn_append_rule ALL_WINETEST_DEPENDS \
13812"$ac_name.exe: \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT
13813 cp \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
13814$ac_name.rc:
13815 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
13816$ac_name.res: $ac_name.rc $ac_name.exe"
13817 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir: __builddeps__"
13818 wine_fn_append_rule ALL_MAKEFILE_DEPENDS "$ac_dir/__crosstest__: __buildcrossdeps__"
13819}
Alexandre Julliarda6320522010-02-03 13:14:03 +010013820ac_config_links="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013821test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "dlls/wineps.drv/generic.ppd"
Alexandre Julliardce122962010-02-03 13:13:16 +010013822ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013823test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/marlett.ttf"
Alexandre Julliardce122962010-02-03 13:13:16 +010013824ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013825test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/symbol.ttf"
Alexandre Julliardce122962010-02-03 13:13:16 +010013826ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013827test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/tahoma.ttf"
Alexandre Julliardce122962010-02-03 13:13:16 +010013828ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013829test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS "fonts/tahomabd.ttf"
Alexandre Julliard7d020c92010-02-03 13:12:12 +010013830ac_config_links="$ac_config_links wine:tools/winewrapper"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013831wine_fn_append_file ALL_SYMLINKS "wine"
Alexandre Julliard7d020c92010-02-03 13:12:12 +010013832
Alexandre Julliard7dfc4472006-10-20 12:25:29 +020013833ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
Alexandre Julliard89118562002-03-27 21:13:40 +000013834
Alexandre Julliard7dfc4472006-10-20 12:25:29 +020013835ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
Alexandre Julliard89118562002-03-27 21:13:40 +000013836
Alexandre Julliard1c60e3b2006-09-12 16:10:51 +020013837ac_config_commands="$ac_config_commands dlls/kernel32/nls"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013838
Alexandre Julliardb8a2e3b2006-11-16 14:49:25 +010013839ac_config_commands="$ac_config_commands dlls/user32/resources"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013840
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020013841ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013842
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020013843ac_config_commands="$ac_config_commands include/wine"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000013844
Alexandre Julliard87a2f8d2000-04-09 18:20:25 +000013845
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013846wine_fn_append_file ALL_MAKERULES "Make.rules"
13847wine_fn_append_rule ALL_MAKEFILE_DEPENDS "Make.rules: Make.rules.in config.status"
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +000013848MAKE_RULES=Make.rules
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013849ac_config_files="$ac_config_files Make.rules"
13850
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013851wine_fn_append_file ALL_MAKERULES "Maketest.rules"
13852wine_fn_append_rule ALL_MAKEFILE_DEPENDS "Maketest.rules: Maketest.rules.in Make.rules config.status"
Alexandre Julliardcb1fc8f2010-02-10 11:18:58 +010013853MAKE_TEST_RULES=Maketest.rules
13854ac_config_files="$ac_config_files Maketest.rules"
13855
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013856wine_fn_append_file ALL_MAKERULES "dlls/Makedll.rules"
13857wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules config.status"
Alexandre Julliarda360e932008-08-20 16:02:37 +020013858MAKE_DLL_RULES=dlls/Makedll.rules
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013859ac_config_files="$ac_config_files dlls/Makedll.rules"
13860
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013861wine_fn_append_file ALL_MAKERULES "dlls/Makeimplib.rules"
13862wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules config.status"
Alexandre Julliarda360e932008-08-20 16:02:37 +020013863MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013864ac_config_files="$ac_config_files dlls/Makeimplib.rules"
13865
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013866wine_fn_append_file ALL_MAKERULES "programs/Makeprog.rules"
13867wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules config.status"
Alexandre Julliarda360e932008-08-20 16:02:37 +020013868MAKE_PROG_RULES=programs/Makeprog.rules
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013869ac_config_files="$ac_config_files programs/Makeprog.rules"
13870
Alexandre Julliarda360e932008-08-20 16:02:37 +020013871
Alexandre Julliard1784adc2010-02-23 13:44:55 +010013872wine_fn_append_rule ALL_MAKEFILE_DEPENDS "Makefile: Makefile.in Make.rules config.status"
Alexandre Julliard64362ac2010-02-23 13:33:52 +010013873ac_config_files="$ac_config_files Makefile"
Alexandre Julliarda360e932008-08-20 16:02:37 +020013874
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013875wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/acledit dlls/acledit/__install__ dlls/acledit/__install-lib__ dlls/acledit/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013876wine_fn_config_makefile dlls/acledit "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013877test "x$enable_acledit" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/acledit"
Eric Pouech0da02fb2007-04-16 09:22:03 +020013878
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013879wine_fn_append_file ALL_IMPORT_LIBS "dlls/aclui/libaclui.$IMPLIBEXT"
13880wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/aclui/libaclui.$IMPLIBEXT dlls/aclui/libaclui.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013881dlls/aclui/libaclui.$IMPLIBEXT dlls/aclui/libaclui.cross.a: dlls/aclui/aclui.spec dlls/aclui/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013882 @cd dlls/aclui && \$(MAKE) \`basename \$@\`
13883dlls/aclui dlls/aclui/__install__ dlls/aclui/__install-lib__ dlls/aclui/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013884wine_fn_config_makefile dlls/aclui "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013885test "x$enable_aclui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/aclui"
Nikolay Sivov3406c9d2009-01-20 20:02:51 +030013886
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013887wine_fn_append_file ALL_IMPORT_LIBS "dlls/activeds/libactiveds.$IMPLIBEXT"
13888wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/activeds/libactiveds.$IMPLIBEXT dlls/activeds/libactiveds.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013889dlls/activeds/libactiveds.$IMPLIBEXT dlls/activeds/libactiveds.cross.a: dlls/activeds/activeds.spec dlls/activeds/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013890 @cd dlls/activeds && \$(MAKE) \`basename \$@\`
13891dlls/activeds dlls/activeds/__install__ dlls/activeds/__install-lib__ dlls/activeds/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013892wine_fn_config_makefile dlls/activeds "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013893test "x$enable_activeds" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/activeds"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013894
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013895wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/actxprxy dlls/actxprxy/__install__ dlls/actxprxy/__install-lib__ dlls/actxprxy/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013896wine_fn_config_makefile dlls/actxprxy "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013897test "x$enable_actxprxy" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/actxprxy"
Rob Shearmane8c7c062007-12-07 16:02:30 +000013898
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013899wine_fn_config_lib adsiid
13900wine_fn_config_makefile dlls/adsiid "dlls/Makeimplib.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013901test "x$enable_adsiid" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/adsiid"
Rob Shearman76e08962008-03-06 15:01:34 +000013902
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013903wine_fn_append_file ALL_IMPORT_LIBS "dlls/advapi32/libadvapi32.$IMPLIBEXT"
13904wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/advapi32/libadvapi32.$IMPLIBEXT dlls/advapi32/libadvapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013905dlls/advapi32/libadvapi32.$IMPLIBEXT dlls/advapi32/libadvapi32.cross.a: dlls/advapi32/advapi32.spec dlls/advapi32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013906 @cd dlls/advapi32 && \$(MAKE) \`basename \$@\`
13907dlls/advapi32 dlls/advapi32/__install__ dlls/advapi32/__install-lib__ dlls/advapi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013908wine_fn_config_makefile dlls/advapi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013909test "x$enable_advapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/advapi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013910
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013911wine_fn_config_test dlls/advapi32/tests advapi32_test
13912wine_fn_config_makefile dlls/advapi32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013913test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/advapi32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013914
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013915wine_fn_append_file ALL_IMPORT_LIBS "dlls/advpack/libadvpack.$IMPLIBEXT"
13916wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/advpack/libadvpack.$IMPLIBEXT dlls/advpack/libadvpack.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013917dlls/advpack/libadvpack.$IMPLIBEXT dlls/advpack/libadvpack.cross.a: dlls/advpack/advpack.spec dlls/advpack/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013918 @cd dlls/advpack && \$(MAKE) \`basename \$@\`
13919dlls/advpack dlls/advpack/__install__ dlls/advpack/__install-lib__ dlls/advpack/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013920wine_fn_config_makefile dlls/advpack "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013921test "x$enable_advpack" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/advpack"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013922
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013923wine_fn_config_test dlls/advpack/tests advpack_test
13924wine_fn_config_makefile dlls/advpack/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013925test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/advpack/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013926
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013927wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/amstream dlls/amstream/__install__ dlls/amstream/__install-lib__ dlls/amstream/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013928wine_fn_config_makefile dlls/amstream "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013929test "x$enable_amstream" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/amstream"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013930
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013931wine_fn_config_test dlls/amstream/tests amstream_test
13932wine_fn_config_makefile dlls/amstream/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013933test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/amstream/tests"
Christian Costab5dbbd42009-04-13 10:07:35 +020013934
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013935wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/appwiz.cpl dlls/appwiz.cpl/__install__ dlls/appwiz.cpl/__install-lib__ dlls/appwiz.cpl/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013936wine_fn_config_makefile dlls/appwiz.cpl "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013937test "x$enable_appwiz_cpl" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/appwiz.cpl"
Owen Rudgef4e64892008-07-24 21:57:28 +010013938
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013939wine_fn_append_file ALL_IMPORT_LIBS "dlls/atl/libatl.$IMPLIBEXT"
13940wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/atl/libatl.$IMPLIBEXT dlls/atl/libatl.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013941dlls/atl/libatl.$IMPLIBEXT dlls/atl/libatl.cross.a: dlls/atl/atl.spec dlls/atl/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013942 @cd dlls/atl && \$(MAKE) \`basename \$@\`
13943dlls/atl dlls/atl/__install__ dlls/atl/__install-lib__ dlls/atl/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013944wine_fn_config_makefile dlls/atl "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013945test "x$enable_atl" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/atl"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013946
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013947wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/authz dlls/authz/__install__ dlls/authz/__install-lib__ dlls/authz/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013948wine_fn_config_makefile dlls/authz "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013949test "x$enable_authz" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/authz"
Austin English78cffc62009-01-27 23:01:17 -060013950
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013951wine_fn_append_file ALL_IMPORT_LIBS "dlls/avicap32/libavicap32.$IMPLIBEXT"
13952wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avicap32/libavicap32.$IMPLIBEXT dlls/avicap32/libavicap32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013953dlls/avicap32/libavicap32.$IMPLIBEXT dlls/avicap32/libavicap32.cross.a: dlls/avicap32/avicap32.spec dlls/avicap32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013954 @cd dlls/avicap32 && \$(MAKE) \`basename \$@\`
13955dlls/avicap32 dlls/avicap32/__install__ dlls/avicap32/__install-lib__ dlls/avicap32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013956wine_fn_config_makefile dlls/avicap32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013957test "x$enable_avicap32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/avicap32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013958
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013959wine_fn_append_file ALL_IMPORT_LIBS "dlls/avifil32/libavifil32.$IMPLIBEXT"
13960wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avifil32/libavifil32.$IMPLIBEXT dlls/avifil32/libavifil32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013961dlls/avifil32/libavifil32.$IMPLIBEXT dlls/avifil32/libavifil32.cross.a: dlls/avifil32/avifil32.spec dlls/avifil32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013962 @cd dlls/avifil32 && \$(MAKE) \`basename \$@\`
13963dlls/avifil32 dlls/avifil32/__install__ dlls/avifil32/__install-lib__ dlls/avifil32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013964wine_fn_config_makefile dlls/avifil32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013965test "x$enable_avifil32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/avifil32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013966
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013967wine_fn_config_test dlls/avifil32/tests avifil32_test
13968wine_fn_config_makefile dlls/avifil32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013969test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/avifil32/tests"
Detlef Riekenberga6020442010-01-10 17:37:36 +010013970
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013971wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avifile.dll16 dlls/avifile.dll16/__install__ dlls/avifile.dll16/__install-lib__ dlls/avifile.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013972wine_fn_config_makefile dlls/avifile.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013973test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/avifile.dll16"
Alexandre Julliardb91cf322009-03-24 16:56:58 +010013974
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013975wine_fn_append_file ALL_IMPORT_LIBS "dlls/avrt/libavrt.$IMPLIBEXT"
13976wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/avrt/libavrt.$IMPLIBEXT dlls/avrt/libavrt.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013977dlls/avrt/libavrt.$IMPLIBEXT dlls/avrt/libavrt.cross.a: dlls/avrt/avrt.spec dlls/avrt/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013978 @cd dlls/avrt && \$(MAKE) \`basename \$@\`
13979dlls/avrt dlls/avrt/__install__ dlls/avrt/__install-lib__ dlls/avrt/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013980wine_fn_config_makefile dlls/avrt "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013981test "x$enable_avrt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/avrt"
Maarten Lankhorst77d0ece2009-11-10 20:40:03 +010013982
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013983wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/bcrypt dlls/bcrypt/__install__ dlls/bcrypt/__install-lib__ dlls/bcrypt/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013984wine_fn_config_makefile dlls/bcrypt "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013985test "x$enable_bcrypt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/bcrypt"
Henri Verbeet5c898502009-03-30 11:24:55 +020013986
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013987wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/browseui dlls/browseui/__install__ dlls/browseui/__install-lib__ dlls/browseui/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013988wine_fn_config_makefile dlls/browseui "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013989test "x$enable_browseui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/browseui"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013990
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010013991wine_fn_config_test dlls/browseui/tests browseui_test
13992wine_fn_config_makefile dlls/browseui/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013993test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/browseui/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010013994
Alexandre Julliard2de10c42010-02-11 23:23:45 +010013995wine_fn_append_file ALL_IMPORT_LIBS "dlls/cabinet/libcabinet.$IMPLIBEXT"
13996wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cabinet/libcabinet.$IMPLIBEXT dlls/cabinet/libcabinet.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010013997dlls/cabinet/libcabinet.$IMPLIBEXT dlls/cabinet/libcabinet.cross.a: dlls/cabinet/cabinet.spec dlls/cabinet/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010013998 @cd dlls/cabinet && \$(MAKE) \`basename \$@\`
13999dlls/cabinet dlls/cabinet/__install__ dlls/cabinet/__install-lib__ dlls/cabinet/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014000wine_fn_config_makefile dlls/cabinet "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014001test "x$enable_cabinet" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cabinet"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014002
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014003wine_fn_config_test dlls/cabinet/tests cabinet_test
14004wine_fn_config_makefile dlls/cabinet/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014005test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/cabinet/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014006
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014007wine_fn_append_file ALL_IMPORT_LIBS "dlls/capi2032/libcapi2032.$IMPLIBEXT"
14008wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/capi2032/libcapi2032.$IMPLIBEXT dlls/capi2032/libcapi2032.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014009dlls/capi2032/libcapi2032.$IMPLIBEXT dlls/capi2032/libcapi2032.cross.a: dlls/capi2032/capi2032.spec dlls/capi2032/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014010 @cd dlls/capi2032 && \$(MAKE) \`basename \$@\`
14011dlls/capi2032 dlls/capi2032/__install__ dlls/capi2032/__install-lib__ dlls/capi2032/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014012wine_fn_config_makefile dlls/capi2032 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014013test "x$enable_capi2032" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/capi2032"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014014
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014015wine_fn_append_file ALL_IMPORT_LIBS "dlls/cards/libcards.$IMPLIBEXT"
14016wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cards/libcards.$IMPLIBEXT dlls/cards/libcards.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014017dlls/cards/libcards.$IMPLIBEXT dlls/cards/libcards.cross.a: dlls/cards/cards.spec dlls/cards/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014018 @cd dlls/cards && \$(MAKE) \`basename \$@\`
14019dlls/cards dlls/cards/__install__ dlls/cards/__install-lib__ dlls/cards/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014020wine_fn_config_makefile dlls/cards "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014021test "x$enable_cards" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cards"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014022
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014023wine_fn_append_file ALL_IMPORT_LIBS "dlls/cfgmgr32/libcfgmgr32.$IMPLIBEXT"
14024wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cfgmgr32/libcfgmgr32.$IMPLIBEXT dlls/cfgmgr32/libcfgmgr32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014025dlls/cfgmgr32/libcfgmgr32.$IMPLIBEXT dlls/cfgmgr32/libcfgmgr32.cross.a: dlls/cfgmgr32/cfgmgr32.spec dlls/cfgmgr32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014026 @cd dlls/cfgmgr32 && \$(MAKE) \`basename \$@\`
14027dlls/cfgmgr32 dlls/cfgmgr32/__install__ dlls/cfgmgr32/__install-lib__ dlls/cfgmgr32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014028wine_fn_config_makefile dlls/cfgmgr32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014029test "x$enable_cfgmgr32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cfgmgr32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014030
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014031wine_fn_append_file ALL_IMPORT_LIBS "dlls/clusapi/libclusapi.$IMPLIBEXT"
14032wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/clusapi/libclusapi.$IMPLIBEXT dlls/clusapi/libclusapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014033dlls/clusapi/libclusapi.$IMPLIBEXT dlls/clusapi/libclusapi.cross.a: dlls/clusapi/clusapi.spec dlls/clusapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014034 @cd dlls/clusapi && \$(MAKE) \`basename \$@\`
14035dlls/clusapi dlls/clusapi/__install__ dlls/clusapi/__install-lib__ dlls/clusapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014036wine_fn_config_makefile dlls/clusapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014037test "x$enable_clusapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/clusapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014038
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014039wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comcat dlls/comcat/__install__ dlls/comcat/__install-lib__ dlls/comcat/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014040wine_fn_config_makefile dlls/comcat "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014041test "x$enable_comcat" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/comcat"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014042
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014043wine_fn_config_test dlls/comcat/tests comcat_test
14044wine_fn_config_makefile dlls/comcat/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014045test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/comcat/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014046
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014047wine_fn_append_file ALL_IMPORT_LIBS "dlls/comctl32/libcomctl32.$IMPLIBEXT"
14048wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comctl32/libcomctl32.$IMPLIBEXT dlls/comctl32/libcomctl32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014049dlls/comctl32/libcomctl32.$IMPLIBEXT dlls/comctl32/libcomctl32.cross.a: dlls/comctl32/comctl32.spec dlls/comctl32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014050 @cd dlls/comctl32 && \$(MAKE) \`basename \$@\`
14051dlls/comctl32 dlls/comctl32/__install__ dlls/comctl32/__install-lib__ dlls/comctl32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014052wine_fn_config_makefile dlls/comctl32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014053test "x$enable_comctl32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/comctl32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014054
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014055wine_fn_config_test dlls/comctl32/tests comctl32_test
14056wine_fn_config_makefile dlls/comctl32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014057test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/comctl32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014058
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014059wine_fn_append_file ALL_IMPORT_LIBS "dlls/comdlg32/libcomdlg32.$IMPLIBEXT"
14060wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comdlg32/libcomdlg32.$IMPLIBEXT dlls/comdlg32/libcomdlg32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014061dlls/comdlg32/libcomdlg32.$IMPLIBEXT dlls/comdlg32/libcomdlg32.cross.a: dlls/comdlg32/comdlg32.spec dlls/comdlg32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014062 @cd dlls/comdlg32 && \$(MAKE) \`basename \$@\`
14063dlls/comdlg32 dlls/comdlg32/__install__ dlls/comdlg32/__install-lib__ dlls/comdlg32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014064wine_fn_config_makefile dlls/comdlg32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014065test "x$enable_comdlg32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/comdlg32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014066
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014067wine_fn_config_test dlls/comdlg32/tests comdlg32_test
14068wine_fn_config_makefile dlls/comdlg32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014069test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/comdlg32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014070
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014071wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/comm.drv16 dlls/comm.drv16/__install__ dlls/comm.drv16/__install-lib__ dlls/comm.drv16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014072wine_fn_config_makefile dlls/comm.drv16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014073test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/comm.drv16"
Alexandre Julliard41600a82009-03-04 14:22:24 +010014074
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014075wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/commdlg.dll16 dlls/commdlg.dll16/__install__ dlls/commdlg.dll16/__install-lib__ dlls/commdlg.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014076wine_fn_config_makefile dlls/commdlg.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014077test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/commdlg.dll16"
Alexandre Julliard910f3312009-11-12 21:14:18 +010014078
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014079wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/compobj.dll16 dlls/compobj.dll16/__install__ dlls/compobj.dll16/__install-lib__ dlls/compobj.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014080wine_fn_config_makefile dlls/compobj.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014081test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/compobj.dll16"
Alexandre Julliard6b40f642009-03-11 17:12:32 +010014082
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014083wine_fn_append_file ALL_IMPORT_LIBS "dlls/compstui/libcompstui.$IMPLIBEXT"
14084wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/compstui/libcompstui.$IMPLIBEXT dlls/compstui/libcompstui.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014085dlls/compstui/libcompstui.$IMPLIBEXT dlls/compstui/libcompstui.cross.a: dlls/compstui/compstui.spec dlls/compstui/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014086 @cd dlls/compstui && \$(MAKE) \`basename \$@\`
14087dlls/compstui dlls/compstui/__install__ dlls/compstui/__install-lib__ dlls/compstui/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014088wine_fn_config_makefile dlls/compstui "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014089test "x$enable_compstui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/compstui"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014090
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014091wine_fn_append_file ALL_IMPORT_LIBS "dlls/credui/libcredui.$IMPLIBEXT"
14092wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/credui/libcredui.$IMPLIBEXT dlls/credui/libcredui.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014093dlls/credui/libcredui.$IMPLIBEXT dlls/credui/libcredui.cross.a: dlls/credui/credui.spec dlls/credui/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014094 @cd dlls/credui && \$(MAKE) \`basename \$@\`
14095dlls/credui dlls/credui/__install__ dlls/credui/__install-lib__ dlls/credui/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014096wine_fn_config_makefile dlls/credui "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014097test "x$enable_credui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/credui"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014098
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014099wine_fn_config_test dlls/credui/tests credui_test
14100wine_fn_config_makefile dlls/credui/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014101test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/credui/tests"
Rob Shearmane1465912007-10-24 16:17:36 +010014102
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014103wine_fn_append_file ALL_IMPORT_LIBS "dlls/crtdll/libcrtdll.$IMPLIBEXT"
14104wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/crtdll/libcrtdll.$IMPLIBEXT dlls/crtdll/libcrtdll.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014105dlls/crtdll/libcrtdll.$IMPLIBEXT dlls/crtdll/libcrtdll.cross.a: dlls/crtdll/crtdll.spec dlls/crtdll/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014106 @cd dlls/crtdll && \$(MAKE) \`basename \$@\`
14107dlls/crtdll dlls/crtdll/__install__ dlls/crtdll/__install-lib__ dlls/crtdll/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014108wine_fn_config_makefile dlls/crtdll "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014109test "x$enable_crtdll" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/crtdll"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014110
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014111wine_fn_append_file ALL_IMPORT_LIBS "dlls/crypt32/libcrypt32.$IMPLIBEXT"
14112wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/crypt32/libcrypt32.$IMPLIBEXT dlls/crypt32/libcrypt32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014113dlls/crypt32/libcrypt32.$IMPLIBEXT dlls/crypt32/libcrypt32.cross.a: dlls/crypt32/crypt32.spec dlls/crypt32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014114 @cd dlls/crypt32 && \$(MAKE) \`basename \$@\`
14115dlls/crypt32 dlls/crypt32/__install__ dlls/crypt32/__install-lib__ dlls/crypt32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014116wine_fn_config_makefile dlls/crypt32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014117test "x$enable_crypt32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/crypt32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014118
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014119wine_fn_config_test dlls/crypt32/tests crypt32_test
14120wine_fn_config_makefile dlls/crypt32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014121test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/crypt32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014122
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014123wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptdlg dlls/cryptdlg/__install__ dlls/cryptdlg/__install-lib__ dlls/cryptdlg/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014124wine_fn_config_makefile dlls/cryptdlg "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014125test "x$enable_cryptdlg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cryptdlg"
Maarten Lankhorstf9308212008-02-17 18:20:32 -080014126
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014127wine_fn_append_file ALL_IMPORT_LIBS "dlls/cryptdll/libcryptdll.$IMPLIBEXT"
14128wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptdll/libcryptdll.$IMPLIBEXT dlls/cryptdll/libcryptdll.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014129dlls/cryptdll/libcryptdll.$IMPLIBEXT dlls/cryptdll/libcryptdll.cross.a: dlls/cryptdll/cryptdll.spec dlls/cryptdll/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014130 @cd dlls/cryptdll && \$(MAKE) \`basename \$@\`
14131dlls/cryptdll dlls/cryptdll/__install__ dlls/cryptdll/__install-lib__ dlls/cryptdll/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014132wine_fn_config_makefile dlls/cryptdll "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014133test "x$enable_cryptdll" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cryptdll"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014134
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014135wine_fn_append_file ALL_IMPORT_LIBS "dlls/cryptnet/libcryptnet.$IMPLIBEXT"
14136wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptnet/libcryptnet.$IMPLIBEXT dlls/cryptnet/libcryptnet.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014137dlls/cryptnet/libcryptnet.$IMPLIBEXT dlls/cryptnet/libcryptnet.cross.a: dlls/cryptnet/cryptnet.spec dlls/cryptnet/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014138 @cd dlls/cryptnet && \$(MAKE) \`basename \$@\`
14139dlls/cryptnet dlls/cryptnet/__install__ dlls/cryptnet/__install-lib__ dlls/cryptnet/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014140wine_fn_config_makefile dlls/cryptnet "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014141test "x$enable_cryptnet" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cryptnet"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014142
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014143wine_fn_config_test dlls/cryptnet/tests cryptnet_test
14144wine_fn_config_makefile dlls/cryptnet/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014145test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/cryptnet/tests"
Juan Lang322bcdd2007-10-18 10:28:32 -070014146
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014147wine_fn_append_file ALL_IMPORT_LIBS "dlls/cryptui/libcryptui.$IMPLIBEXT"
14148wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/cryptui/libcryptui.$IMPLIBEXT dlls/cryptui/libcryptui.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014149dlls/cryptui/libcryptui.$IMPLIBEXT dlls/cryptui/libcryptui.cross.a: dlls/cryptui/cryptui.spec dlls/cryptui/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014150 @cd dlls/cryptui && \$(MAKE) \`basename \$@\`
14151dlls/cryptui dlls/cryptui/__install__ dlls/cryptui/__install-lib__ dlls/cryptui/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014152wine_fn_config_makefile dlls/cryptui "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014153test "x$enable_cryptui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/cryptui"
Juan Lang2016c632008-04-10 11:16:01 -070014154
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014155wine_fn_config_test dlls/cryptui/tests cryptui_test
14156wine_fn_config_makefile dlls/cryptui/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014157test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/cryptui/tests"
Juan Lang7e0e1a12008-10-24 14:34:27 -070014158
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014159wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ctapi32 dlls/ctapi32/__install__ dlls/ctapi32/__install-lib__ dlls/ctapi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014160wine_fn_config_makefile dlls/ctapi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014161test "x$enable_ctapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ctapi32"
Christian Eggersf89c6de2007-11-02 13:46:18 +010014162
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014163wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ctl3d.dll16 dlls/ctl3d.dll16/__install__ dlls/ctl3d.dll16/__install-lib__ dlls/ctl3d.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014164wine_fn_config_makefile dlls/ctl3d.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014165test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ctl3d.dll16"
Alexandre Julliard9a19d8a2009-03-23 20:31:01 +010014166
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014167wine_fn_append_file ALL_IMPORT_LIBS "dlls/ctl3d32/libctl3d32.$IMPLIBEXT"
14168wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ctl3d32/libctl3d32.$IMPLIBEXT dlls/ctl3d32/libctl3d32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014169dlls/ctl3d32/libctl3d32.$IMPLIBEXT dlls/ctl3d32/libctl3d32.cross.a: dlls/ctl3d32/ctl3d32.spec dlls/ctl3d32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014170 @cd dlls/ctl3d32 && \$(MAKE) \`basename \$@\`
14171dlls/ctl3d32 dlls/ctl3d32/__install__ dlls/ctl3d32/__install-lib__ dlls/ctl3d32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014172wine_fn_config_makefile dlls/ctl3d32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014173test "x$enable_ctl3d32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ctl3d32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014174
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014175wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ctl3dv2.dll16 dlls/ctl3dv2.dll16/__install__ dlls/ctl3dv2.dll16/__install-lib__ dlls/ctl3dv2.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014176wine_fn_config_makefile dlls/ctl3dv2.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014177test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ctl3dv2.dll16"
Alexandre Julliard9a19d8a2009-03-23 20:31:01 +010014178
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014179wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3d10/libd3d10.$IMPLIBEXT"
14180wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d10/libd3d10.$IMPLIBEXT dlls/d3d10/libd3d10.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014181dlls/d3d10/libd3d10.$IMPLIBEXT dlls/d3d10/libd3d10.cross.a: dlls/d3d10/d3d10.spec dlls/d3d10/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014182 @cd dlls/d3d10 && \$(MAKE) \`basename \$@\`
14183dlls/d3d10 dlls/d3d10/__install__ dlls/d3d10/__install-lib__ dlls/d3d10/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014184wine_fn_config_makefile dlls/d3d10 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014185test "x$enable_d3d10" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3d10"
Kovács András0db109f2007-07-09 14:06:40 +020014186
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014187wine_fn_config_test dlls/d3d10/tests d3d10_test
14188wine_fn_config_makefile dlls/d3d10/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014189test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3d10/tests"
Henri Verbeet65e614a2008-10-29 09:00:27 +010014190
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014191wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3d10core/libd3d10core.$IMPLIBEXT"
14192wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d10core/libd3d10core.$IMPLIBEXT dlls/d3d10core/libd3d10core.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014193dlls/d3d10core/libd3d10core.$IMPLIBEXT dlls/d3d10core/libd3d10core.cross.a: dlls/d3d10core/d3d10core.spec dlls/d3d10core/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014194 @cd dlls/d3d10core && \$(MAKE) \`basename \$@\`
14195dlls/d3d10core dlls/d3d10core/__install__ dlls/d3d10core/__install-lib__ dlls/d3d10core/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014196wine_fn_config_makefile dlls/d3d10core "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014197test "x$enable_d3d10core" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3d10core"
Henri Verbeet078fc192008-11-12 12:04:24 +010014198
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014199wine_fn_config_test dlls/d3d10core/tests d3d10core_test
14200wine_fn_config_makefile dlls/d3d10core/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014201test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3d10core/tests"
Henri Verbeet1dad7592008-11-18 09:27:58 +010014202
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014203wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3d8/libd3d8.$IMPLIBEXT"
14204wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d8/libd3d8.$IMPLIBEXT dlls/d3d8/libd3d8.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014205dlls/d3d8/libd3d8.$IMPLIBEXT dlls/d3d8/libd3d8.cross.a: dlls/d3d8/d3d8.spec dlls/d3d8/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014206 @cd dlls/d3d8 && \$(MAKE) \`basename \$@\`
14207dlls/d3d8 dlls/d3d8/__install__ dlls/d3d8/__install-lib__ dlls/d3d8/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014208wine_fn_config_makefile dlls/d3d8 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014209test "x$enable_d3d8" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3d8"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014210
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014211wine_fn_config_test dlls/d3d8/tests d3d8_test
14212wine_fn_config_makefile dlls/d3d8/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014213test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3d8/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014214
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014215wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3d9/libd3d9.$IMPLIBEXT"
14216wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3d9/libd3d9.$IMPLIBEXT dlls/d3d9/libd3d9.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014217dlls/d3d9/libd3d9.$IMPLIBEXT dlls/d3d9/libd3d9.cross.a: dlls/d3d9/d3d9.spec dlls/d3d9/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014218 @cd dlls/d3d9 && \$(MAKE) \`basename \$@\`
14219dlls/d3d9 dlls/d3d9/__install__ dlls/d3d9/__install-lib__ dlls/d3d9/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014220wine_fn_config_makefile dlls/d3d9 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014221test "x$enable_d3d9" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3d9"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014222
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014223wine_fn_config_test dlls/d3d9/tests d3d9_test
14224wine_fn_config_makefile dlls/d3d9/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014225test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3d9/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014226
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014227wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3dim/libd3dim.$IMPLIBEXT"
14228wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dim/libd3dim.$IMPLIBEXT dlls/d3dim/libd3dim.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014229dlls/d3dim/libd3dim.$IMPLIBEXT dlls/d3dim/libd3dim.cross.a: dlls/d3dim/d3dim.spec dlls/d3dim/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014230 @cd dlls/d3dim && \$(MAKE) \`basename \$@\`
14231dlls/d3dim dlls/d3dim/__install__ dlls/d3dim/__install-lib__ dlls/d3dim/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014232wine_fn_config_makefile dlls/d3dim "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014233test "x$enable_d3dim" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dim"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014234
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014235wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3drm/libd3drm.$IMPLIBEXT"
14236wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3drm/libd3drm.$IMPLIBEXT dlls/d3drm/libd3drm.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014237dlls/d3drm/libd3drm.$IMPLIBEXT dlls/d3drm/libd3drm.cross.a: dlls/d3drm/d3drm.spec dlls/d3drm/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014238 @cd dlls/d3drm && \$(MAKE) \`basename \$@\`
14239dlls/d3drm dlls/d3drm/__install__ dlls/d3drm/__install-lib__ dlls/d3drm/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014240wine_fn_config_makefile dlls/d3drm "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014241test "x$enable_d3drm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3drm"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014242
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014243wine_fn_config_test dlls/d3drm/tests d3drm_test
14244wine_fn_config_makefile dlls/d3drm/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014245test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3drm/tests"
David Adamf50800b2007-04-19 21:03:53 +020014246
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014247wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_24 dlls/d3dx9_24/__install__ dlls/d3dx9_24/__install-lib__ dlls/d3dx9_24/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014248wine_fn_config_makefile dlls/d3dx9_24 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014249test "x$enable_d3dx9_24" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_24"
Tony Wasserka6f834d32008-02-02 10:24:28 +010014250
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014251wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_25 dlls/d3dx9_25/__install__ dlls/d3dx9_25/__install-lib__ dlls/d3dx9_25/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014252wine_fn_config_makefile dlls/d3dx9_25 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014253test "x$enable_d3dx9_25" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_25"
Tony Wasserkae9c16392008-02-02 16:22:27 +010014254
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014255wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_26 dlls/d3dx9_26/__install__ dlls/d3dx9_26/__install-lib__ dlls/d3dx9_26/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014256wine_fn_config_makefile dlls/d3dx9_26 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014257test "x$enable_d3dx9_26" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_26"
Tony Wasserka409b19b2008-02-02 18:06:52 +010014258
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014259wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_27 dlls/d3dx9_27/__install__ dlls/d3dx9_27/__install-lib__ dlls/d3dx9_27/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014260wine_fn_config_makefile dlls/d3dx9_27 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014261test "x$enable_d3dx9_27" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_27"
Tony Wasserka409b19b2008-02-02 18:06:52 +010014262
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014263wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_28 dlls/d3dx9_28/__install__ dlls/d3dx9_28/__install-lib__ dlls/d3dx9_28/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014264wine_fn_config_makefile dlls/d3dx9_28 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014265test "x$enable_d3dx9_28" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_28"
Tony Wasserka2aa15052008-02-02 18:29:07 +010014266
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014267wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_29 dlls/d3dx9_29/__install__ dlls/d3dx9_29/__install-lib__ dlls/d3dx9_29/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014268wine_fn_config_makefile dlls/d3dx9_29 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014269test "x$enable_d3dx9_29" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_29"
Tony Wasserka2aa15052008-02-02 18:29:07 +010014270
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014271wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_30 dlls/d3dx9_30/__install__ dlls/d3dx9_30/__install-lib__ dlls/d3dx9_30/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014272wine_fn_config_makefile dlls/d3dx9_30 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014273test "x$enable_d3dx9_30" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_30"
Tony Wasserka2aa15052008-02-02 18:29:07 +010014274
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014275wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_31 dlls/d3dx9_31/__install__ dlls/d3dx9_31/__install-lib__ dlls/d3dx9_31/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014276wine_fn_config_makefile dlls/d3dx9_31 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014277test "x$enable_d3dx9_31" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_31"
Tony Wasserkae4866622008-02-02 18:35:38 +010014278
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014279wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_32 dlls/d3dx9_32/__install__ dlls/d3dx9_32/__install-lib__ dlls/d3dx9_32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014280wine_fn_config_makefile dlls/d3dx9_32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014281test "x$enable_d3dx9_32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_32"
Tony Wasserkadf0a6942008-02-02 19:02:34 +010014282
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014283wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_33 dlls/d3dx9_33/__install__ dlls/d3dx9_33/__install-lib__ dlls/d3dx9_33/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014284wine_fn_config_makefile dlls/d3dx9_33 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014285test "x$enable_d3dx9_33" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_33"
Tony Wasserkadf0a6942008-02-02 19:02:34 +010014286
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014287wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_34 dlls/d3dx9_34/__install__ dlls/d3dx9_34/__install-lib__ dlls/d3dx9_34/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014288wine_fn_config_makefile dlls/d3dx9_34 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014289test "x$enable_d3dx9_34" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_34"
Tony Wasserkadf0a6942008-02-02 19:02:34 +010014290
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014291wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_35 dlls/d3dx9_35/__install__ dlls/d3dx9_35/__install-lib__ dlls/d3dx9_35/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014292wine_fn_config_makefile dlls/d3dx9_35 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014293test "x$enable_d3dx9_35" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_35"
Tony Wasserkadf0a6942008-02-02 19:02:34 +010014294
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014295wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3dx9_36/libd3dx9.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/libd3dx9.$IMPLIBEXT"
14296wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_36/libd3dx9.$IMPLIBEXT dlls/d3dx9_36/libd3dx9.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard3be8b402010-02-10 19:39:38 +010014297dlls/libd3dx9.$IMPLIBEXT: dlls/d3dx9_36/libd3dx9.$IMPLIBEXT
14298 \$(RM) \$@ && \$(LN_S) d3dx9_36/libd3dx9.$IMPLIBEXT \$@
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014299dlls/libd3dx9.cross.a: dlls/d3dx9_36/libd3dx9.cross.a
Alexandre Julliard950a0f82010-01-26 21:10:14 +010014300 \$(RM) \$@ && \$(LN_S) d3dx9_36/libd3dx9.cross.a \$@
Alexandre Julliard950a0f82010-01-26 21:10:14 +010014301clean::
Alexandre Julliard3be8b402010-02-10 19:39:38 +010014302 \$(RM) dlls/libd3dx9.$IMPLIBEXT
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014303dlls/d3dx9_36/libd3dx9.$IMPLIBEXT dlls/d3dx9_36/libd3dx9.cross.a: dlls/d3dx9_36/d3dx9_36.spec dlls/d3dx9_36/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014304 @cd dlls/d3dx9_36 && \$(MAKE) \`basename \$@\`
14305dlls/d3dx9_36 dlls/d3dx9_36/__install__ dlls/d3dx9_36/__install-lib__ dlls/d3dx9_36/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014306wine_fn_config_makefile dlls/d3dx9_36 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014307test "x$enable_d3dx9_36" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_36"
Tony Wasserka87fefc72008-01-13 11:34:43 +010014308
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014309wine_fn_config_test dlls/d3dx9_36/tests d3dx9_36_test
14310wine_fn_config_makefile dlls/d3dx9_36/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014311test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3dx9_36/tests"
Philip Nilssonb67290b2008-03-21 11:04:46 +010014312
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014313wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_37 dlls/d3dx9_37/__install__ dlls/d3dx9_37/__install-lib__ dlls/d3dx9_37/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014314wine_fn_config_makefile dlls/d3dx9_37 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014315test "x$enable_d3dx9_37" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_37"
Tony Wasserkabe0799f2008-03-24 12:32:54 +010014316
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014317wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_38 dlls/d3dx9_38/__install__ dlls/d3dx9_38/__install-lib__ dlls/d3dx9_38/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014318wine_fn_config_makefile dlls/d3dx9_38 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014319test "x$enable_d3dx9_38" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_38"
David Adam1c5b5362009-01-25 11:38:20 +010014320
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014321wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_39 dlls/d3dx9_39/__install__ dlls/d3dx9_39/__install-lib__ dlls/d3dx9_39/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014322wine_fn_config_makefile dlls/d3dx9_39 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014323test "x$enable_d3dx9_39" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_39"
David Adam5775edd2009-01-25 13:29:33 +010014324
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014325wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_40 dlls/d3dx9_40/__install__ dlls/d3dx9_40/__install-lib__ dlls/d3dx9_40/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014326wine_fn_config_makefile dlls/d3dx9_40 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014327test "x$enable_d3dx9_40" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_40"
Rico Schüllerc97d3d72009-01-26 21:33:25 +010014328
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014329wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_41 dlls/d3dx9_41/__install__ dlls/d3dx9_41/__install-lib__ dlls/d3dx9_41/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014330wine_fn_config_makefile dlls/d3dx9_41 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014331test "x$enable_d3dx9_41" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_41"
Rico Schüller3400c032009-03-29 15:41:21 +020014332
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014333wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dx9_42 dlls/d3dx9_42/__install__ dlls/d3dx9_42/__install-lib__ dlls/d3dx9_42/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014334wine_fn_config_makefile dlls/d3dx9_42 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014335test "x$enable_d3dx9_42" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dx9_42"
Ričardas Barkauskas5ae2ff82009-09-25 12:17:20 +030014336
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014337wine_fn_append_file ALL_IMPORT_LIBS "dlls/d3dxof/libd3dxof.$IMPLIBEXT"
14338wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/d3dxof/libd3dxof.$IMPLIBEXT dlls/d3dxof/libd3dxof.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014339dlls/d3dxof/libd3dxof.$IMPLIBEXT dlls/d3dxof/libd3dxof.cross.a: dlls/d3dxof/d3dxof.spec dlls/d3dxof/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014340 @cd dlls/d3dxof && \$(MAKE) \`basename \$@\`
14341dlls/d3dxof dlls/d3dxof/__install__ dlls/d3dxof/__install-lib__ dlls/d3dxof/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014342wine_fn_config_makefile dlls/d3dxof "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014343test "x$enable_d3dxof" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/d3dxof"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014344
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014345wine_fn_config_test dlls/d3dxof/tests d3dxof_test
14346wine_fn_config_makefile dlls/d3dxof/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014347test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/d3dxof/tests"
Christian Costa04d72cd2008-08-19 00:30:44 +020014348
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014349wine_fn_append_file ALL_IMPORT_LIBS "dlls/dbghelp/libdbghelp.$IMPLIBEXT"
14350wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dbghelp/libdbghelp.$IMPLIBEXT dlls/dbghelp/libdbghelp.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014351dlls/dbghelp/libdbghelp.$IMPLIBEXT dlls/dbghelp/libdbghelp.cross.a: dlls/dbghelp/dbghelp.spec dlls/dbghelp/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014352 @cd dlls/dbghelp && \$(MAKE) \`basename \$@\`
14353dlls/dbghelp dlls/dbghelp/__install__ dlls/dbghelp/__install-lib__ dlls/dbghelp/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014354wine_fn_config_makefile dlls/dbghelp "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014355test "x$enable_dbghelp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dbghelp"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014356
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014357wine_fn_append_file ALL_IMPORT_LIBS "dlls/dciman32/libdciman32.$IMPLIBEXT"
14358wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dciman32/libdciman32.$IMPLIBEXT dlls/dciman32/libdciman32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014359dlls/dciman32/libdciman32.$IMPLIBEXT dlls/dciman32/libdciman32.cross.a: dlls/dciman32/dciman32.spec dlls/dciman32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014360 @cd dlls/dciman32 && \$(MAKE) \`basename \$@\`
14361dlls/dciman32 dlls/dciman32/__install__ dlls/dciman32/__install-lib__ dlls/dciman32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014362wine_fn_config_makefile dlls/dciman32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014363test "x$enable_dciman32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dciman32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014364
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014365wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ddeml.dll16 dlls/ddeml.dll16/__install__ dlls/ddeml.dll16/__install-lib__ dlls/ddeml.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014366wine_fn_config_makefile dlls/ddeml.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014367test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ddeml.dll16"
Eric Pouecha0053ab2009-05-05 21:25:32 +020014368
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014369wine_fn_append_file ALL_IMPORT_LIBS "dlls/ddraw/libddraw.$IMPLIBEXT"
14370wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ddraw/libddraw.$IMPLIBEXT dlls/ddraw/libddraw.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014371dlls/ddraw/libddraw.$IMPLIBEXT dlls/ddraw/libddraw.cross.a: dlls/ddraw/ddraw.spec dlls/ddraw/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014372 @cd dlls/ddraw && \$(MAKE) \`basename \$@\`
14373dlls/ddraw dlls/ddraw/__install__ dlls/ddraw/__install-lib__ dlls/ddraw/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014374wine_fn_config_makefile dlls/ddraw "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014375test "x$enable_ddraw" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ddraw"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014376
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014377wine_fn_config_test dlls/ddraw/tests ddraw_test
14378wine_fn_config_makefile dlls/ddraw/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014379test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ddraw/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014380
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014381wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ddrawex dlls/ddrawex/__install__ dlls/ddrawex/__install-lib__ dlls/ddrawex/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014382wine_fn_config_makefile dlls/ddrawex "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014383test "x$enable_ddrawex" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ddrawex"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014384
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014385wine_fn_config_test dlls/ddrawex/tests ddrawex_test
14386wine_fn_config_makefile dlls/ddrawex/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014387test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ddrawex/tests"
Stefan Dösinger60039a52009-01-09 12:24:49 +010014388
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014389wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/devenum dlls/devenum/__install__ dlls/devenum/__install-lib__ dlls/devenum/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014390wine_fn_config_makefile dlls/devenum "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014391test "x$enable_devenum" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/devenum"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014392
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014393wine_fn_append_file ALL_IMPORT_LIBS "dlls/dinput/libdinput.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/dinput/libdinput.$STATIC_IMPLIBEXT"
14394wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dinput/libdinput.$IMPLIBEXT dlls/dinput/libdinput.$STATIC_IMPLIBEXT dlls/dinput/libdinput.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014395dlls/dinput/libdinput.def: dlls/dinput/dinput.spec dlls/dinput/Makefile
14396 @cd dlls/dinput && \$(MAKE) \`basename \$@\`
14397dlls/dinput/libdinput.$STATIC_IMPLIBEXT dlls/dinput/libdinput.cross.a: dlls/dinput/Makefile dummy
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014398 @cd dlls/dinput && \$(MAKE) \`basename \$@\`
14399dlls/dinput dlls/dinput/__install__ dlls/dinput/__install-lib__ dlls/dinput/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014400wine_fn_config_makefile dlls/dinput "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014401test "x$enable_dinput" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dinput"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014402
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014403wine_fn_config_test dlls/dinput/tests dinput_test
14404wine_fn_config_makefile dlls/dinput/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014405test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dinput/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014406
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014407wine_fn_append_file ALL_IMPORT_LIBS "dlls/dinput8/libdinput8.$IMPLIBEXT"
14408wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dinput8/libdinput8.$IMPLIBEXT dlls/dinput8/libdinput8.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014409dlls/dinput8/libdinput8.$IMPLIBEXT dlls/dinput8/libdinput8.cross.a: dlls/dinput8/dinput8.spec dlls/dinput8/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014410 @cd dlls/dinput8 && \$(MAKE) \`basename \$@\`
14411dlls/dinput8 dlls/dinput8/__install__ dlls/dinput8/__install-lib__ dlls/dinput8/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014412wine_fn_config_makefile dlls/dinput8 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014413test "x$enable_dinput8" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dinput8"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014414
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014415wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dispdib.dll16 dlls/dispdib.dll16/__install__ dlls/dispdib.dll16/__install-lib__ dlls/dispdib.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014416wine_fn_config_makefile dlls/dispdib.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014417test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dispdib.dll16"
Alexandre Julliard86f54f42009-03-04 14:27:05 +010014418
Huw Davies062628a2010-02-25 14:35:19 +000014419wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dispex dlls/dispex/__install__ dlls/dispex/__install-lib__ dlls/dispex/__install-dev__: __builddeps__"
14420wine_fn_config_makefile dlls/dispex "dlls/Makedll.rules \$(MAKEDEP)"
14421test "x$enable_dispex" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dispex"
14422
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014423wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/display.drv16 dlls/display.drv16/__install__ dlls/display.drv16/__install-lib__ dlls/display.drv16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014424wine_fn_config_makefile dlls/display.drv16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014425test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/display.drv16"
Alexandre Julliard02ada6e2009-03-04 14:28:32 +010014426
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014427wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmband dlls/dmband/__install__ dlls/dmband/__install-lib__ dlls/dmband/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014428wine_fn_config_makefile dlls/dmband "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014429test "x$enable_dmband" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmband"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014430
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014431wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmcompos dlls/dmcompos/__install__ dlls/dmcompos/__install-lib__ dlls/dmcompos/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014432wine_fn_config_makefile dlls/dmcompos "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014433test "x$enable_dmcompos" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmcompos"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014434
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014435wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmime dlls/dmime/__install__ dlls/dmime/__install-lib__ dlls/dmime/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014436wine_fn_config_makefile dlls/dmime "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014437test "x$enable_dmime" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmime"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014438
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014439wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmloader dlls/dmloader/__install__ dlls/dmloader/__install-lib__ dlls/dmloader/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014440wine_fn_config_makefile dlls/dmloader "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014441test "x$enable_dmloader" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmloader"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014442
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014443wine_fn_config_test dlls/dmloader/tests dmloader_test
14444wine_fn_config_makefile dlls/dmloader/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014445test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dmloader/tests"
David Adam5e39af22010-01-06 04:49:39 +010014446
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014447wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmscript dlls/dmscript/__install__ dlls/dmscript/__install-lib__ dlls/dmscript/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014448wine_fn_config_makefile dlls/dmscript "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014449test "x$enable_dmscript" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmscript"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014450
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014451wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmstyle dlls/dmstyle/__install__ dlls/dmstyle/__install-lib__ dlls/dmstyle/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014452wine_fn_config_makefile dlls/dmstyle "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014453test "x$enable_dmstyle" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmstyle"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014454
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014455wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmsynth dlls/dmsynth/__install__ dlls/dmsynth/__install-lib__ dlls/dmsynth/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014456wine_fn_config_makefile dlls/dmsynth "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014457test "x$enable_dmsynth" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmsynth"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014458
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014459wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmusic dlls/dmusic/__install__ dlls/dmusic/__install-lib__ dlls/dmusic/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014460wine_fn_config_makefile dlls/dmusic "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014461test "x$enable_dmusic" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmusic"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014462
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014463wine_fn_append_file ALL_IMPORT_LIBS "dlls/dmusic32/libdmusic32.$IMPLIBEXT"
14464wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dmusic32/libdmusic32.$IMPLIBEXT dlls/dmusic32/libdmusic32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014465dlls/dmusic32/libdmusic32.$IMPLIBEXT dlls/dmusic32/libdmusic32.cross.a: dlls/dmusic32/dmusic32.spec dlls/dmusic32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014466 @cd dlls/dmusic32 && \$(MAKE) \`basename \$@\`
14467dlls/dmusic32 dlls/dmusic32/__install__ dlls/dmusic32/__install-lib__ dlls/dmusic32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014468wine_fn_config_makefile dlls/dmusic32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014469test "x$enable_dmusic32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dmusic32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014470
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014471wine_fn_append_file ALL_IMPORT_LIBS "dlls/dnsapi/libdnsapi.$IMPLIBEXT"
14472wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dnsapi/libdnsapi.$IMPLIBEXT dlls/dnsapi/libdnsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014473dlls/dnsapi/libdnsapi.$IMPLIBEXT dlls/dnsapi/libdnsapi.cross.a: dlls/dnsapi/dnsapi.spec dlls/dnsapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014474 @cd dlls/dnsapi && \$(MAKE) \`basename \$@\`
14475dlls/dnsapi dlls/dnsapi/__install__ dlls/dnsapi/__install-lib__ dlls/dnsapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014476wine_fn_config_makefile dlls/dnsapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014477test "x$enable_dnsapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dnsapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014478
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014479wine_fn_config_test dlls/dnsapi/tests dnsapi_test
14480wine_fn_config_makefile dlls/dnsapi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014481test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dnsapi/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014482
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014483wine_fn_append_file ALL_IMPORT_LIBS "dlls/dplay/libdplay.$IMPLIBEXT"
14484wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dplay/libdplay.$IMPLIBEXT dlls/dplay/libdplay.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014485dlls/dplay/libdplay.$IMPLIBEXT dlls/dplay/libdplay.cross.a: dlls/dplay/dplay.spec dlls/dplay/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014486 @cd dlls/dplay && \$(MAKE) \`basename \$@\`
14487dlls/dplay dlls/dplay/__install__ dlls/dplay/__install-lib__ dlls/dplay/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014488wine_fn_config_makefile dlls/dplay "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014489test "x$enable_dplay" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dplay"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014490
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014491wine_fn_append_file ALL_IMPORT_LIBS "dlls/dplayx/libdplayx.$IMPLIBEXT"
14492wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dplayx/libdplayx.$IMPLIBEXT dlls/dplayx/libdplayx.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014493dlls/dplayx/libdplayx.$IMPLIBEXT dlls/dplayx/libdplayx.cross.a: dlls/dplayx/dplayx.spec dlls/dplayx/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014494 @cd dlls/dplayx && \$(MAKE) \`basename \$@\`
14495dlls/dplayx dlls/dplayx/__install__ dlls/dplayx/__install-lib__ dlls/dplayx/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014496wine_fn_config_makefile dlls/dplayx "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014497test "x$enable_dplayx" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dplayx"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014498
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014499wine_fn_config_test dlls/dplayx/tests dplayx_test
14500wine_fn_config_makefile dlls/dplayx/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014501test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dplayx/tests"
Alessandro Pignottid1331e62007-02-27 17:27:43 +010014502
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014503wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpnaddr dlls/dpnaddr/__install__ dlls/dpnaddr/__install-lib__ dlls/dpnaddr/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014504wine_fn_config_makefile dlls/dpnaddr "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014505test "x$enable_dpnaddr" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpnaddr"
Luis Carlos Busquets Pérez8caf0782007-03-07 09:41:41 +010014506
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014507wine_fn_append_file ALL_IMPORT_LIBS "dlls/dpnet/libdpnet.$IMPLIBEXT"
14508wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpnet/libdpnet.$IMPLIBEXT dlls/dpnet/libdpnet.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014509dlls/dpnet/libdpnet.$IMPLIBEXT dlls/dpnet/libdpnet.cross.a: dlls/dpnet/dpnet.spec dlls/dpnet/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014510 @cd dlls/dpnet && \$(MAKE) \`basename \$@\`
14511dlls/dpnet dlls/dpnet/__install__ dlls/dpnet/__install-lib__ dlls/dpnet/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014512wine_fn_config_makefile dlls/dpnet "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014513test "x$enable_dpnet" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpnet"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014514
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014515wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpnhpast dlls/dpnhpast/__install__ dlls/dpnhpast/__install-lib__ dlls/dpnhpast/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014516wine_fn_config_makefile dlls/dpnhpast "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014517test "x$enable_dpnhpast" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpnhpast"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014518
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014519wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpnlobby dlls/dpnlobby/__install__ dlls/dpnlobby/__install-lib__ dlls/dpnlobby/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014520wine_fn_config_makefile dlls/dpnlobby "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014521test "x$enable_dpnlobby" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpnlobby"
Luis C. Busquets Pérez5996c132007-08-02 11:04:50 +020014522
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014523wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dpwsockx dlls/dpwsockx/__install__ dlls/dpwsockx/__install-lib__ dlls/dpwsockx/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014524wine_fn_config_makefile dlls/dpwsockx "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014525test "x$enable_dpwsockx" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dpwsockx"
Ismael Barros9d2a1e82008-07-22 22:23:16 +030014526
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014527wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/drmclien dlls/drmclien/__install__ dlls/drmclien/__install-lib__ dlls/drmclien/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014528wine_fn_config_makefile dlls/drmclien "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014529test "x$enable_drmclien" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/drmclien"
Austin Englishb3ccbc62009-06-25 12:30:45 -050014530
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014531wine_fn_append_file ALL_IMPORT_LIBS "dlls/dsound/libdsound.$IMPLIBEXT"
14532wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dsound/libdsound.$IMPLIBEXT dlls/dsound/libdsound.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014533dlls/dsound/libdsound.$IMPLIBEXT dlls/dsound/libdsound.cross.a: dlls/dsound/dsound.spec dlls/dsound/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014534 @cd dlls/dsound && \$(MAKE) \`basename \$@\`
14535dlls/dsound dlls/dsound/__install__ dlls/dsound/__install-lib__ dlls/dsound/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014536wine_fn_config_makefile dlls/dsound "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014537test "x$enable_dsound" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dsound"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014538
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014539wine_fn_config_test dlls/dsound/tests dsound_test
14540wine_fn_config_makefile dlls/dsound/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014541test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dsound/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014542
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014543wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dssenh dlls/dssenh/__install__ dlls/dssenh/__install-lib__ dlls/dssenh/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014544wine_fn_config_makefile dlls/dssenh "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014545test "x$enable_dssenh" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dssenh"
Maarten Lankhorst2472e812008-02-17 18:20:32 -080014546
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014547wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dswave dlls/dswave/__install__ dlls/dswave/__install-lib__ dlls/dswave/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014548wine_fn_config_makefile dlls/dswave "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014549test "x$enable_dswave" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dswave"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014550
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014551wine_fn_append_file ALL_IMPORT_LIBS "dlls/dwmapi/libdwmapi.$IMPLIBEXT"
14552wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dwmapi/libdwmapi.$IMPLIBEXT dlls/dwmapi/libdwmapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014553dlls/dwmapi/libdwmapi.$IMPLIBEXT dlls/dwmapi/libdwmapi.cross.a: dlls/dwmapi/dwmapi.spec dlls/dwmapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014554 @cd dlls/dwmapi && \$(MAKE) \`basename \$@\`
14555dlls/dwmapi dlls/dwmapi/__install__ dlls/dwmapi/__install-lib__ dlls/dwmapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014556wine_fn_config_makefile dlls/dwmapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014557test "x$enable_dwmapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dwmapi"
Kovács Andrásc0ddd5e2007-06-19 09:36:14 +020014558
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014559wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxdiagn dlls/dxdiagn/__install__ dlls/dxdiagn/__install-lib__ dlls/dxdiagn/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014560wine_fn_config_makefile dlls/dxdiagn "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014561test "x$enable_dxdiagn" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dxdiagn"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014562
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014563wine_fn_config_test dlls/dxdiagn/tests dxdiagn_test
14564wine_fn_config_makefile dlls/dxdiagn/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014565test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dxdiagn/tests"
Andrew Nguyendddf7142009-12-22 04:15:12 -060014566
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014567wine_fn_config_lib dxerr8
14568wine_fn_config_makefile dlls/dxerr8 "dlls/Makeimplib.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014569test "x$enable_dxerr8" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/dxerr8"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014570
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014571wine_fn_config_lib dxerr9
14572wine_fn_config_makefile dlls/dxerr9 "dlls/Makeimplib.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014573test "x$enable_dxerr9" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/dxerr9"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014574
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014575wine_fn_append_file ALL_IMPORT_LIBS "dlls/dxgi/libdxgi.$IMPLIBEXT"
14576wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/dxgi/libdxgi.$IMPLIBEXT dlls/dxgi/libdxgi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014577dlls/dxgi/libdxgi.$IMPLIBEXT dlls/dxgi/libdxgi.cross.a: dlls/dxgi/dxgi.spec dlls/dxgi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014578 @cd dlls/dxgi && \$(MAKE) \`basename \$@\`
14579dlls/dxgi dlls/dxgi/__install__ dlls/dxgi/__install-lib__ dlls/dxgi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014580wine_fn_config_makefile dlls/dxgi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014581test "x$enable_dxgi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/dxgi"
Henri Verbeet9e376212008-10-21 15:06:58 +020014582
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014583wine_fn_config_test dlls/dxgi/tests dxgi_test
14584wine_fn_config_makefile dlls/dxgi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014585test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/dxgi/tests"
Henri Verbeet1dea8292008-11-18 09:27:58 +010014586
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014587wine_fn_config_lib dxguid
14588wine_fn_config_makefile dlls/dxguid "dlls/Makeimplib.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014589test "x$enable_dxguid" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/dxguid"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014590
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014591wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/faultrep dlls/faultrep/__install__ dlls/faultrep/__install-lib__ dlls/faultrep/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014592wine_fn_config_makefile dlls/faultrep "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014593test "x$enable_faultrep" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/faultrep"
Peter Dons Tychsena2cd6432007-07-27 01:43:49 +020014594
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014595wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/fltlib dlls/fltlib/__install__ dlls/fltlib/__install-lib__ dlls/fltlib/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014596wine_fn_config_makefile dlls/fltlib "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014597test "x$enable_fltlib" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/fltlib"
Detlef Riekenbergeb8b1652009-09-30 14:24:46 +020014598
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014599wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/fusion dlls/fusion/__install__ dlls/fusion/__install-lib__ dlls/fusion/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014600wine_fn_config_makefile dlls/fusion "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014601test "x$enable_fusion" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/fusion"
James Hawkinsc0b3af32008-03-20 18:27:46 -070014602
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014603wine_fn_config_test dlls/fusion/tests fusion_test
14604wine_fn_config_makefile dlls/fusion/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014605test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/fusion/tests"
James Hawkins9e021cf2008-03-31 01:03:24 -050014606
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014607wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/fwpuclnt dlls/fwpuclnt/__install__ dlls/fwpuclnt/__install-lib__ dlls/fwpuclnt/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014608wine_fn_config_makefile dlls/fwpuclnt "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014609test "x$enable_fwpuclnt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/fwpuclnt"
Paul Chitescu77b98c92009-11-27 18:43:27 +020014610
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014611wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gdi.exe16 dlls/gdi.exe16/__install__ dlls/gdi.exe16/__install-lib__ dlls/gdi.exe16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014612wine_fn_config_makefile dlls/gdi.exe16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014613test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gdi.exe16"
Alexandre Julliard4edcf1c2009-12-04 21:47:30 +010014614
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014615wine_fn_append_file ALL_IMPORT_LIBS "dlls/gdi32/libgdi32.$IMPLIBEXT"
14616wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gdi32/libgdi32.$IMPLIBEXT dlls/gdi32/libgdi32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014617dlls/gdi32/libgdi32.$IMPLIBEXT dlls/gdi32/libgdi32.cross.a: dlls/gdi32/gdi32.spec dlls/gdi32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014618 @cd dlls/gdi32 && \$(MAKE) \`basename \$@\`
14619dlls/gdi32 dlls/gdi32/__install__ dlls/gdi32/__install-lib__ dlls/gdi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014620wine_fn_config_makefile dlls/gdi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014621test "x$enable_gdi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gdi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014622
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014623wine_fn_config_test dlls/gdi32/tests gdi32_test
14624wine_fn_config_makefile dlls/gdi32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014625test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/gdi32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014626
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014627wine_fn_append_file ALL_IMPORT_LIBS "dlls/gdiplus/libgdiplus.$IMPLIBEXT"
14628wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gdiplus/libgdiplus.$IMPLIBEXT dlls/gdiplus/libgdiplus.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014629dlls/gdiplus/libgdiplus.$IMPLIBEXT dlls/gdiplus/libgdiplus.cross.a: dlls/gdiplus/gdiplus.spec dlls/gdiplus/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014630 @cd dlls/gdiplus && \$(MAKE) \`basename \$@\`
14631dlls/gdiplus dlls/gdiplus/__install__ dlls/gdiplus/__install-lib__ dlls/gdiplus/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014632wine_fn_config_makefile dlls/gdiplus "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014633test "x$enable_gdiplus" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gdiplus"
Evan Stadebed761c2007-05-25 10:21:44 -070014634
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014635wine_fn_config_test dlls/gdiplus/tests gdiplus_test
14636wine_fn_config_makefile dlls/gdiplus/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014637test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/gdiplus/tests"
Evan Stadefcd7a622007-06-11 11:52:26 -070014638
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014639wine_fn_append_file ALL_IMPORT_LIBS "dlls/glu32/libglu32.$IMPLIBEXT"
14640wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/glu32/libglu32.$IMPLIBEXT dlls/glu32/libglu32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014641dlls/glu32/libglu32.$IMPLIBEXT dlls/glu32/libglu32.cross.a: dlls/glu32/glu32.spec dlls/glu32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014642 @cd dlls/glu32 && \$(MAKE) \`basename \$@\`
14643dlls/glu32 dlls/glu32/__install__ dlls/glu32/__install-lib__ dlls/glu32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014644wine_fn_config_makefile dlls/glu32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014645test "x$enable_glu32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/glu32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014646
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014647wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gphoto2.ds dlls/gphoto2.ds/__install__ dlls/gphoto2.ds/__install-lib__ dlls/gphoto2.ds/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014648wine_fn_config_makefile dlls/gphoto2.ds "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014649test "x$enable_gphoto2_ds" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gphoto2.ds"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014650
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014651wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/gpkcsp dlls/gpkcsp/__install__ dlls/gpkcsp/__install-lib__ dlls/gpkcsp/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014652wine_fn_config_makefile dlls/gpkcsp "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014653test "x$enable_gpkcsp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/gpkcsp"
Maarten Lankhorste4576c82008-02-17 18:20:32 -080014654
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014655wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hal dlls/hal/__install__ dlls/hal/__install-lib__ dlls/hal/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014656wine_fn_config_makefile dlls/hal "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014657test "x$enable_hal" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hal"
Alexandre Julliardd2d68702007-05-14 20:05:15 +020014658
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014659wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hhctrl.ocx dlls/hhctrl.ocx/__install__ dlls/hhctrl.ocx/__install-lib__ dlls/hhctrl.ocx/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014660wine_fn_config_makefile dlls/hhctrl.ocx "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014661test "x$enable_hhctrl_ocx" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hhctrl.ocx"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014662
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014663wine_fn_append_file ALL_IMPORT_LIBS "dlls/hid/libhid.$IMPLIBEXT"
14664wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hid/libhid.$IMPLIBEXT dlls/hid/libhid.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014665dlls/hid/libhid.$IMPLIBEXT dlls/hid/libhid.cross.a: dlls/hid/hid.spec dlls/hid/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014666 @cd dlls/hid && \$(MAKE) \`basename \$@\`
14667dlls/hid dlls/hid/__install__ dlls/hid/__install-lib__ dlls/hid/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014668wine_fn_config_makefile dlls/hid "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014669test "x$enable_hid" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hid"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014670
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014671wine_fn_append_file ALL_IMPORT_LIBS "dlls/hlink/libhlink.$IMPLIBEXT"
14672wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hlink/libhlink.$IMPLIBEXT dlls/hlink/libhlink.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014673dlls/hlink/libhlink.$IMPLIBEXT dlls/hlink/libhlink.cross.a: dlls/hlink/hlink.spec dlls/hlink/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014674 @cd dlls/hlink && \$(MAKE) \`basename \$@\`
14675dlls/hlink dlls/hlink/__install__ dlls/hlink/__install-lib__ dlls/hlink/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014676wine_fn_config_makefile dlls/hlink "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014677test "x$enable_hlink" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hlink"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014678
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014679wine_fn_config_test dlls/hlink/tests hlink_test
14680wine_fn_config_makefile dlls/hlink/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014681test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/hlink/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014682
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014683wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/hnetcfg dlls/hnetcfg/__install__ dlls/hnetcfg/__install-lib__ dlls/hnetcfg/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014684wine_fn_config_makefile dlls/hnetcfg "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014685test "x$enable_hnetcfg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/hnetcfg"
Jeff Latimera00aa032007-06-18 23:27:00 +100014686
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014687wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/httpapi dlls/httpapi/__install__ dlls/httpapi/__install-lib__ dlls/httpapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014688wine_fn_config_makefile dlls/httpapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014689test "x$enable_httpapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/httpapi"
Austin English8cf8e2c2009-01-11 14:54:15 -060014690
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014691wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/iccvid dlls/iccvid/__install__ dlls/iccvid/__install-lib__ dlls/iccvid/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014692wine_fn_config_makefile dlls/iccvid "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014693test "x$enable_iccvid" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/iccvid"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014694
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014695wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/icmp dlls/icmp/__install__ dlls/icmp/__install-lib__ dlls/icmp/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014696wine_fn_config_makefile dlls/icmp "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014697test "x$enable_icmp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/icmp"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014698
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014699wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ifsmgr.vxd dlls/ifsmgr.vxd/__install__ dlls/ifsmgr.vxd/__install-lib__ dlls/ifsmgr.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014700wine_fn_config_makefile dlls/ifsmgr.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014701test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ifsmgr.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014702
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014703wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imaadp32.acm dlls/imaadp32.acm/__install__ dlls/imaadp32.acm/__install-lib__ dlls/imaadp32.acm/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014704wine_fn_config_makefile dlls/imaadp32.acm "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014705test "x$enable_imaadp32_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/imaadp32.acm"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014706
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014707wine_fn_append_file ALL_IMPORT_LIBS "dlls/imagehlp/libimagehlp.$IMPLIBEXT"
14708wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imagehlp/libimagehlp.$IMPLIBEXT dlls/imagehlp/libimagehlp.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014709dlls/imagehlp/libimagehlp.$IMPLIBEXT dlls/imagehlp/libimagehlp.cross.a: dlls/imagehlp/imagehlp.spec dlls/imagehlp/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014710 @cd dlls/imagehlp && \$(MAKE) \`basename \$@\`
14711dlls/imagehlp dlls/imagehlp/__install__ dlls/imagehlp/__install-lib__ dlls/imagehlp/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014712wine_fn_config_makefile dlls/imagehlp "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014713test "x$enable_imagehlp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/imagehlp"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014714
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014715wine_fn_config_test dlls/imagehlp/tests imagehlp_test
14716wine_fn_config_makefile dlls/imagehlp/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014717test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/imagehlp/tests"
Owen Rudge8c8b0eb2009-11-30 21:14:30 +000014718
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014719wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imm.dll16 dlls/imm.dll16/__install__ dlls/imm.dll16/__install-lib__ dlls/imm.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014720wine_fn_config_makefile dlls/imm.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014721test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/imm.dll16"
Alexandre Julliard1b937ca2009-03-23 20:32:06 +010014722
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014723wine_fn_append_file ALL_IMPORT_LIBS "dlls/imm32/libimm32.$IMPLIBEXT"
14724wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/imm32/libimm32.$IMPLIBEXT dlls/imm32/libimm32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014725dlls/imm32/libimm32.$IMPLIBEXT dlls/imm32/libimm32.cross.a: dlls/imm32/imm32.spec dlls/imm32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014726 @cd dlls/imm32 && \$(MAKE) \`basename \$@\`
14727dlls/imm32 dlls/imm32/__install__ dlls/imm32/__install-lib__ dlls/imm32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014728wine_fn_config_makefile dlls/imm32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014729test "x$enable_imm32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/imm32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014730
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014731wine_fn_config_test dlls/imm32/tests imm32_test
14732wine_fn_config_makefile dlls/imm32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014733test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/imm32/tests"
Michael Jung0a31ab72008-01-02 23:14:49 +010014734
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014735wine_fn_append_file ALL_IMPORT_LIBS "dlls/inetcomm/libinetcomm.$IMPLIBEXT"
14736wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inetcomm/libinetcomm.$IMPLIBEXT dlls/inetcomm/libinetcomm.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014737dlls/inetcomm/libinetcomm.$IMPLIBEXT dlls/inetcomm/libinetcomm.cross.a: dlls/inetcomm/inetcomm.spec dlls/inetcomm/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014738 @cd dlls/inetcomm && \$(MAKE) \`basename \$@\`
14739dlls/inetcomm dlls/inetcomm/__install__ dlls/inetcomm/__install-lib__ dlls/inetcomm/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014740wine_fn_config_makefile dlls/inetcomm "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014741test "x$enable_inetcomm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/inetcomm"
Rob Shearmanbeab2c12007-11-02 11:35:34 +000014742
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014743wine_fn_config_test dlls/inetcomm/tests inetcomm_test
14744wine_fn_config_makefile dlls/inetcomm/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014745test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/inetcomm/tests"
Huw Daviesba6b7e82007-11-02 15:45:39 +000014746
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014747wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inetmib1 dlls/inetmib1/__install__ dlls/inetmib1/__install-lib__ dlls/inetmib1/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014748wine_fn_config_makefile dlls/inetmib1 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014749test "x$enable_inetmib1" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/inetmib1"
Juan Lang17231572008-05-20 20:47:42 -070014750
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014751wine_fn_config_test dlls/inetmib1/tests inetmib1_test
14752wine_fn_config_makefile dlls/inetmib1/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014753test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/inetmib1/tests"
Juan Langcca77db2008-05-20 20:48:37 -070014754
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014755wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/infosoft dlls/infosoft/__install__ dlls/infosoft/__install-lib__ dlls/infosoft/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014756wine_fn_config_makefile dlls/infosoft "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014757test "x$enable_infosoft" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/infosoft"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014758
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014759wine_fn_config_test dlls/infosoft/tests infosoft_test
14760wine_fn_config_makefile dlls/infosoft/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014761test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/infosoft/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014762
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014763wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/initpki dlls/initpki/__install__ dlls/initpki/__install-lib__ dlls/initpki/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014764wine_fn_config_makefile dlls/initpki "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014765test "x$enable_initpki" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/initpki"
Maarten Lankhorst7c3d24b2008-02-17 18:20:32 -080014766
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014767wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inkobj dlls/inkobj/__install__ dlls/inkobj/__install-lib__ dlls/inkobj/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014768wine_fn_config_makefile dlls/inkobj "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014769test "x$enable_inkobj" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/inkobj"
John Klehme9252252007-07-31 11:58:02 -050014770
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014771wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/inseng dlls/inseng/__install__ dlls/inseng/__install-lib__ dlls/inseng/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014772wine_fn_config_makefile dlls/inseng "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014773test "x$enable_inseng" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/inseng"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014774
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014775wine_fn_append_file ALL_IMPORT_LIBS "dlls/iphlpapi/libiphlpapi.$IMPLIBEXT"
14776wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/iphlpapi/libiphlpapi.$IMPLIBEXT dlls/iphlpapi/libiphlpapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014777dlls/iphlpapi/libiphlpapi.$IMPLIBEXT dlls/iphlpapi/libiphlpapi.cross.a: dlls/iphlpapi/iphlpapi.spec dlls/iphlpapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014778 @cd dlls/iphlpapi && \$(MAKE) \`basename \$@\`
14779dlls/iphlpapi dlls/iphlpapi/__install__ dlls/iphlpapi/__install-lib__ dlls/iphlpapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014780wine_fn_config_makefile dlls/iphlpapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014781test "x$enable_iphlpapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/iphlpapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014782
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014783wine_fn_config_test dlls/iphlpapi/tests iphlpapi_test
14784wine_fn_config_makefile dlls/iphlpapi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014785test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/iphlpapi/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014786
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014787wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/itircl dlls/itircl/__install__ dlls/itircl/__install-lib__ dlls/itircl/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014788wine_fn_config_makefile dlls/itircl "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014789test "x$enable_itircl" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/itircl"
James Hawkins58b06862008-02-15 17:39:46 -060014790
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014791wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/itss dlls/itss/__install__ dlls/itss/__install-lib__ dlls/itss/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014792wine_fn_config_makefile dlls/itss "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014793test "x$enable_itss" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/itss"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014794
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014795wine_fn_config_test dlls/itss/tests itss_test
14796wine_fn_config_makefile dlls/itss/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014797test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/itss/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014798
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014799wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/jscript dlls/jscript/__install__ dlls/jscript/__install-lib__ dlls/jscript/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014800wine_fn_config_makefile dlls/jscript "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014801test "x$enable_jscript" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/jscript"
Jacek Cabanfa23a2c2008-03-09 00:07:57 +010014802
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014803wine_fn_config_test dlls/jscript/tests jscript_test
14804wine_fn_config_makefile dlls/jscript/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014805test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/jscript/tests"
Jacek Caban63ebe012008-03-24 21:53:14 +010014806
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014807wine_fn_append_file ALL_IMPORT_LIBS "dlls/kernel32/libkernel32.$IMPLIBEXT"
14808wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/kernel32/libkernel32.$IMPLIBEXT dlls/kernel32/libkernel32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014809dlls/kernel32/libkernel32.$IMPLIBEXT dlls/kernel32/libkernel32.cross.a: dlls/kernel32/kernel32.spec dlls/kernel32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014810 @cd dlls/kernel32 && \$(MAKE) \`basename \$@\`
14811dlls/kernel32 dlls/kernel32/__install__ dlls/kernel32/__install-lib__ dlls/kernel32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014812wine_fn_config_makefile dlls/kernel32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014813test "x$enable_kernel32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/kernel32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014814
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014815wine_fn_config_test dlls/kernel32/tests kernel32_test
14816wine_fn_config_makefile dlls/kernel32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014817test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/kernel32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014818
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014819wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/keyboard.drv16 dlls/keyboard.drv16/__install__ dlls/keyboard.drv16/__install-lib__ dlls/keyboard.drv16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014820wine_fn_config_makefile dlls/keyboard.drv16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014821test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/keyboard.drv16"
Alexandre Julliardc2e52462009-03-04 14:30:37 +010014822
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014823test "x$enable_win16" != xno && wine_fn_append_file ALL_IMPORT_LIBS "dlls/krnl386.exe16/libkernel.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/libkernel.$IMPLIBEXT"
14824wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/krnl386.exe16/libkernel.$IMPLIBEXT dlls/krnl386.exe16/libkernel.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard3be8b402010-02-10 19:39:38 +010014825dlls/libkernel.$IMPLIBEXT: dlls/krnl386.exe16/libkernel.$IMPLIBEXT
14826 \$(RM) \$@ && \$(LN_S) krnl386.exe16/libkernel.$IMPLIBEXT \$@
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014827dlls/libkernel.cross.a: dlls/krnl386.exe16/libkernel.cross.a
Alexandre Julliard950a0f82010-01-26 21:10:14 +010014828 \$(RM) \$@ && \$(LN_S) krnl386.exe16/libkernel.cross.a \$@
Alexandre Julliard950a0f82010-01-26 21:10:14 +010014829clean::
Alexandre Julliard3be8b402010-02-10 19:39:38 +010014830 \$(RM) dlls/libkernel.$IMPLIBEXT
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014831dlls/krnl386.exe16/libkernel.$IMPLIBEXT dlls/krnl386.exe16/libkernel.cross.a: dlls/krnl386.exe16/krnl386.exe16.spec dlls/krnl386.exe16/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014832 @cd dlls/krnl386.exe16 && \$(MAKE) \`basename \$@\`
14833dlls/krnl386.exe16 dlls/krnl386.exe16/__install__ dlls/krnl386.exe16/__install-lib__ dlls/krnl386.exe16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014834wine_fn_config_makefile dlls/krnl386.exe16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014835test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/krnl386.exe16"
Alexandre Julliard475b7d22009-12-29 16:24:00 +010014836
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014837wine_fn_append_file ALL_IMPORT_LIBS "dlls/loadperf/libloadperf.$IMPLIBEXT"
14838wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/loadperf/libloadperf.$IMPLIBEXT dlls/loadperf/libloadperf.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014839dlls/loadperf/libloadperf.$IMPLIBEXT dlls/loadperf/libloadperf.cross.a: dlls/loadperf/loadperf.spec dlls/loadperf/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014840 @cd dlls/loadperf && \$(MAKE) \`basename \$@\`
14841dlls/loadperf dlls/loadperf/__install__ dlls/loadperf/__install-lib__ dlls/loadperf/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014842wine_fn_config_makefile dlls/loadperf "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014843test "x$enable_loadperf" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/loadperf"
Andrey Turkinfaa73662009-01-07 13:34:31 +030014844
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014845wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/localspl dlls/localspl/__install__ dlls/localspl/__install-lib__ dlls/localspl/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014846wine_fn_config_makefile dlls/localspl "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014847test "x$enable_localspl" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/localspl"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014848
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014849wine_fn_config_test dlls/localspl/tests localspl_test
14850wine_fn_config_makefile dlls/localspl/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014851test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/localspl/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014852
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014853wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/localui dlls/localui/__install__ dlls/localui/__install-lib__ dlls/localui/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014854wine_fn_config_makefile dlls/localui "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014855test "x$enable_localui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/localui"
Detlef Riekenbergd24bc082007-04-06 22:33:01 +020014856
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014857wine_fn_config_test dlls/localui/tests localui_test
14858wine_fn_config_makefile dlls/localui/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014859test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/localui/tests"
Detlef Riekenberg62e92792007-04-06 22:33:17 +020014860
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014861wine_fn_append_file ALL_IMPORT_LIBS "dlls/lz32/liblz32.$IMPLIBEXT"
14862wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/lz32/liblz32.$IMPLIBEXT dlls/lz32/liblz32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014863dlls/lz32/liblz32.$IMPLIBEXT dlls/lz32/liblz32.cross.a: dlls/lz32/lz32.spec dlls/lz32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014864 @cd dlls/lz32 && \$(MAKE) \`basename \$@\`
14865dlls/lz32 dlls/lz32/__install__ dlls/lz32/__install-lib__ dlls/lz32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014866wine_fn_config_makefile dlls/lz32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014867test "x$enable_lz32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/lz32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014868
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014869wine_fn_config_test dlls/lz32/tests lz32_test
14870wine_fn_config_makefile dlls/lz32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014871test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/lz32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014872
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014873wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/lzexpand.dll16 dlls/lzexpand.dll16/__install__ dlls/lzexpand.dll16/__install-lib__ dlls/lzexpand.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014874wine_fn_config_makefile dlls/lzexpand.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014875test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/lzexpand.dll16"
Alexandre Julliard96b47ff2009-03-11 16:18:03 +010014876
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014877wine_fn_append_file ALL_IMPORT_LIBS "dlls/mapi32/libmapi32.$IMPLIBEXT"
14878wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mapi32/libmapi32.$IMPLIBEXT dlls/mapi32/libmapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014879dlls/mapi32/libmapi32.$IMPLIBEXT dlls/mapi32/libmapi32.cross.a: dlls/mapi32/mapi32.spec dlls/mapi32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014880 @cd dlls/mapi32 && \$(MAKE) \`basename \$@\`
14881dlls/mapi32 dlls/mapi32/__install__ dlls/mapi32/__install-lib__ dlls/mapi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014882wine_fn_config_makefile dlls/mapi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014883test "x$enable_mapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mapi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014884
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014885wine_fn_config_test dlls/mapi32/tests mapi32_test
14886wine_fn_config_makefile dlls/mapi32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014887test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mapi32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014888
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014889wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mapistub dlls/mapistub/__install__ dlls/mapistub/__install-lib__ dlls/mapistub/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014890wine_fn_config_makefile dlls/mapistub "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014891test "x$enable_mapistub" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mapistub"
Louis Lenders13a9c032009-12-17 17:41:18 +010014892
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014893wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mciavi32 dlls/mciavi32/__install__ dlls/mciavi32/__install-lib__ dlls/mciavi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014894wine_fn_config_makefile dlls/mciavi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014895test "x$enable_mciavi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mciavi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014896
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014897wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mcicda dlls/mcicda/__install__ dlls/mcicda/__install-lib__ dlls/mcicda/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014898wine_fn_config_makefile dlls/mcicda "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014899test "x$enable_mcicda" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mcicda"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014900
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014901wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mciqtz32 dlls/mciqtz32/__install__ dlls/mciqtz32/__install-lib__ dlls/mciqtz32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014902wine_fn_config_makefile dlls/mciqtz32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014903test "x$enable_mciqtz32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mciqtz32"
Christian Costaa9c825e2009-02-26 23:27:36 +010014904
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014905wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mciseq dlls/mciseq/__install__ dlls/mciseq/__install-lib__ dlls/mciseq/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014906wine_fn_config_makefile dlls/mciseq "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014907test "x$enable_mciseq" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mciseq"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014908
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014909wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mciwave dlls/mciwave/__install__ dlls/mciwave/__install-lib__ dlls/mciwave/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014910wine_fn_config_makefile dlls/mciwave "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014911test "x$enable_mciwave" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mciwave"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014912
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014913wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/midimap dlls/midimap/__install__ dlls/midimap/__install-lib__ dlls/midimap/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014914wine_fn_config_makefile dlls/midimap "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014915test "x$enable_midimap" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/midimap"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014916
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014917wine_fn_append_file ALL_IMPORT_LIBS "dlls/mlang/libmlang.$IMPLIBEXT"
14918wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mlang/libmlang.$IMPLIBEXT dlls/mlang/libmlang.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014919dlls/mlang/libmlang.$IMPLIBEXT dlls/mlang/libmlang.cross.a: dlls/mlang/mlang.spec dlls/mlang/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014920 @cd dlls/mlang && \$(MAKE) \`basename \$@\`
14921dlls/mlang dlls/mlang/__install__ dlls/mlang/__install-lib__ dlls/mlang/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014922wine_fn_config_makefile dlls/mlang "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014923test "x$enable_mlang" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mlang"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014924
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014925wine_fn_config_test dlls/mlang/tests mlang_test
14926wine_fn_config_makefile dlls/mlang/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014927test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mlang/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014928
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014929wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mmdevapi dlls/mmdevapi/__install__ dlls/mmdevapi/__install-lib__ dlls/mmdevapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014930wine_fn_config_makefile dlls/mmdevapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014931test "x$enable_mmdevapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mmdevapi"
Maarten Lankhorsta9a3a8e2009-12-09 15:38:43 +010014932
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014933wine_fn_config_test dlls/mmdevapi/tests mmdevapi_test
14934wine_fn_config_makefile dlls/mmdevapi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014935test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mmdevapi/tests"
Maarten Lankhorstc38de042009-12-14 10:09:34 +010014936
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014937wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mmdevldr.vxd dlls/mmdevldr.vxd/__install__ dlls/mmdevldr.vxd/__install-lib__ dlls/mmdevldr.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014938wine_fn_config_makefile dlls/mmdevldr.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014939test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mmdevldr.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014940
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014941wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mmsystem.dll16 dlls/mmsystem.dll16/__install__ dlls/mmsystem.dll16/__install-lib__ dlls/mmsystem.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014942wine_fn_config_makefile dlls/mmsystem.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014943test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mmsystem.dll16"
Eric Pouecha60dd6e2009-10-22 22:11:29 +020014944
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014945wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/monodebg.vxd dlls/monodebg.vxd/__install__ dlls/monodebg.vxd/__install-lib__ dlls/monodebg.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014946wine_fn_config_makefile dlls/monodebg.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014947test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/monodebg.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014948
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014949wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mountmgr.sys dlls/mountmgr.sys/__install__ dlls/mountmgr.sys/__install-lib__ dlls/mountmgr.sys/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014950wine_fn_config_makefile dlls/mountmgr.sys "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014951test "x$enable_mountmgr_sys" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mountmgr.sys"
Alexandre Julliard43dc80e2008-01-04 13:07:05 +010014952
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014953wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mouse.drv16 dlls/mouse.drv16/__install__ dlls/mouse.drv16/__install-lib__ dlls/mouse.drv16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014954wine_fn_config_makefile dlls/mouse.drv16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014955test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mouse.drv16"
Alexandre Julliardd62c05f2009-03-04 14:32:56 +010014956
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014957wine_fn_append_file ALL_IMPORT_LIBS "dlls/mpr/libmpr.$IMPLIBEXT"
14958wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mpr/libmpr.$IMPLIBEXT dlls/mpr/libmpr.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014959dlls/mpr/libmpr.$IMPLIBEXT dlls/mpr/libmpr.cross.a: dlls/mpr/mpr.spec dlls/mpr/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014960 @cd dlls/mpr && \$(MAKE) \`basename \$@\`
14961dlls/mpr dlls/mpr/__install__ dlls/mpr/__install-lib__ dlls/mpr/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014962wine_fn_config_makefile dlls/mpr "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014963test "x$enable_mpr" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mpr"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014964
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014965wine_fn_append_file ALL_IMPORT_LIBS "dlls/mprapi/libmprapi.$IMPLIBEXT"
14966wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mprapi/libmprapi.$IMPLIBEXT dlls/mprapi/libmprapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014967dlls/mprapi/libmprapi.$IMPLIBEXT dlls/mprapi/libmprapi.cross.a: dlls/mprapi/mprapi.spec dlls/mprapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014968 @cd dlls/mprapi && \$(MAKE) \`basename \$@\`
14969dlls/mprapi dlls/mprapi/__install__ dlls/mprapi/__install-lib__ dlls/mprapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014970wine_fn_config_makefile dlls/mprapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014971test "x$enable_mprapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mprapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014972
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014973wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msacm.dll16 dlls/msacm.dll16/__install__ dlls/msacm.dll16/__install-lib__ dlls/msacm.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014974wine_fn_config_makefile dlls/msacm.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014975test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msacm.dll16"
Alexandre Julliardd4314822009-03-11 16:22:47 +010014976
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014977wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msacm32.drv dlls/msacm32.drv/__install__ dlls/msacm32.drv/__install-lib__ dlls/msacm32.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014978wine_fn_config_makefile dlls/msacm32.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014979test "x$enable_msacm32_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msacm32.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014980
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014981wine_fn_append_file ALL_IMPORT_LIBS "dlls/msacm32/libmsacm32.$IMPLIBEXT"
14982wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msacm32/libmsacm32.$IMPLIBEXT dlls/msacm32/libmsacm32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010014983dlls/msacm32/libmsacm32.$IMPLIBEXT dlls/msacm32/libmsacm32.cross.a: dlls/msacm32/msacm32.spec dlls/msacm32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010014984 @cd dlls/msacm32 && \$(MAKE) \`basename \$@\`
14985dlls/msacm32 dlls/msacm32/__install__ dlls/msacm32/__install-lib__ dlls/msacm32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014986wine_fn_config_makefile dlls/msacm32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014987test "x$enable_msacm32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msacm32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014988
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014989wine_fn_config_test dlls/msacm32/tests msacm32_test
14990wine_fn_config_makefile dlls/msacm32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014991test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msacm32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014992
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014993wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msadp32.acm dlls/msadp32.acm/__install__ dlls/msadp32.acm/__install-lib__ dlls/msadp32.acm/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014994wine_fn_config_makefile dlls/msadp32.acm "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014995test "x$enable_msadp32_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msadp32.acm"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010014996
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014997wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mscat32 dlls/mscat32/__install__ dlls/mscat32/__install-lib__ dlls/mscat32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010014998wine_fn_config_makefile dlls/mscat32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010014999test "x$enable_mscat32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mscat32"
Alexander Nicolaysen Sørnes6103f312007-10-28 19:43:51 +010015000
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015001wine_fn_append_file ALL_IMPORT_LIBS "dlls/mscms/libmscms.$IMPLIBEXT"
15002wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mscms/libmscms.$IMPLIBEXT dlls/mscms/libmscms.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015003dlls/mscms/libmscms.$IMPLIBEXT dlls/mscms/libmscms.cross.a: dlls/mscms/mscms.spec dlls/mscms/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015004 @cd dlls/mscms && \$(MAKE) \`basename \$@\`
15005dlls/mscms dlls/mscms/__install__ dlls/mscms/__install-lib__ dlls/mscms/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015006wine_fn_config_makefile dlls/mscms "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015007test "x$enable_mscms" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mscms"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015008
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015009wine_fn_config_test dlls/mscms/tests mscms_test
15010wine_fn_config_makefile dlls/mscms/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015011test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mscms/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015012
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015013wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mscoree dlls/mscoree/__install__ dlls/mscoree/__install-lib__ dlls/mscoree/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015014wine_fn_config_makefile dlls/mscoree "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015015test "x$enable_mscoree" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mscoree"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015016
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015017wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msctf dlls/msctf/__install__ dlls/msctf/__install-lib__ dlls/msctf/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015018wine_fn_config_makefile dlls/msctf "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015019test "x$enable_msctf" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msctf"
Aric Stewarta74aeae2009-01-27 14:15:08 -060015020
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015021wine_fn_config_test dlls/msctf/tests msctf_test
15022wine_fn_config_makefile dlls/msctf/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015023test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msctf/tests"
Aric Stewart64ae0002009-02-17 10:40:34 -060015024
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015025wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msdaps dlls/msdaps/__install__ dlls/msdaps/__install-lib__ dlls/msdaps/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015026wine_fn_config_makefile dlls/msdaps "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015027test "x$enable_msdaps" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msdaps"
Huw Daviesb8e97562009-08-03 12:17:10 +010015028
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015029wine_fn_append_file ALL_IMPORT_LIBS "dlls/msdmo/libmsdmo.$IMPLIBEXT"
15030wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msdmo/libmsdmo.$IMPLIBEXT dlls/msdmo/libmsdmo.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015031dlls/msdmo/libmsdmo.$IMPLIBEXT dlls/msdmo/libmsdmo.cross.a: dlls/msdmo/msdmo.spec dlls/msdmo/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015032 @cd dlls/msdmo && \$(MAKE) \`basename \$@\`
15033dlls/msdmo dlls/msdmo/__install__ dlls/msdmo/__install-lib__ dlls/msdmo/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015034wine_fn_config_makefile dlls/msdmo "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015035test "x$enable_msdmo" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msdmo"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015036
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015037wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msftedit dlls/msftedit/__install__ dlls/msftedit/__install-lib__ dlls/msftedit/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015038wine_fn_config_makefile dlls/msftedit "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015039test "x$enable_msftedit" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msftedit"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015040
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015041wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msg711.acm dlls/msg711.acm/__install__ dlls/msg711.acm/__install-lib__ dlls/msg711.acm/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015042wine_fn_config_makefile dlls/msg711.acm "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015043test "x$enable_msg711_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msg711.acm"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015044
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015045wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msgsm32.acm dlls/msgsm32.acm/__install__ dlls/msgsm32.acm/__install-lib__ dlls/msgsm32.acm/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015046wine_fn_config_makefile dlls/msgsm32.acm "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015047test "x$enable_msgsm32_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msgsm32.acm"
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020015048
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015049wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mshtml.tlb dlls/mshtml.tlb/__install__ dlls/mshtml.tlb/__install-lib__ dlls/mshtml.tlb/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015050wine_fn_config_makefile dlls/mshtml.tlb "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015051test "x$enable_mshtml_tlb" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mshtml.tlb"
Jacek Caban021d06a2007-07-29 21:25:14 +020015052
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015053wine_fn_append_file ALL_IMPORT_LIBS "dlls/mshtml/libmshtml.$IMPLIBEXT"
15054wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mshtml/libmshtml.$IMPLIBEXT dlls/mshtml/libmshtml.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015055dlls/mshtml/libmshtml.$IMPLIBEXT dlls/mshtml/libmshtml.cross.a: dlls/mshtml/mshtml.spec dlls/mshtml/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015056 @cd dlls/mshtml && \$(MAKE) \`basename \$@\`
15057dlls/mshtml dlls/mshtml/__install__ dlls/mshtml/__install-lib__ dlls/mshtml/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015058wine_fn_config_makefile dlls/mshtml "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015059test "x$enable_mshtml" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mshtml"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015060
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015061wine_fn_config_test dlls/mshtml/tests mshtml_test
15062wine_fn_config_makefile dlls/mshtml/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015063test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mshtml/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015064
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015065wine_fn_append_file ALL_IMPORT_LIBS "dlls/msi/libmsi.$IMPLIBEXT"
15066wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msi/libmsi.$IMPLIBEXT dlls/msi/libmsi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015067dlls/msi/libmsi.$IMPLIBEXT dlls/msi/libmsi.cross.a: dlls/msi/msi.spec dlls/msi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015068 @cd dlls/msi && \$(MAKE) \`basename \$@\`
15069dlls/msi dlls/msi/__install__ dlls/msi/__install-lib__ dlls/msi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015070wine_fn_config_makefile dlls/msi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015071test "x$enable_msi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015072
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015073wine_fn_config_test dlls/msi/tests msi_test
15074wine_fn_config_makefile dlls/msi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015075test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msi/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015076
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015077wine_fn_append_file ALL_IMPORT_LIBS "dlls/msimg32/libmsimg32.$IMPLIBEXT"
15078wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msimg32/libmsimg32.$IMPLIBEXT dlls/msimg32/libmsimg32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015079dlls/msimg32/libmsimg32.$IMPLIBEXT dlls/msimg32/libmsimg32.cross.a: dlls/msimg32/msimg32.spec dlls/msimg32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015080 @cd dlls/msimg32 && \$(MAKE) \`basename \$@\`
15081dlls/msimg32 dlls/msimg32/__install__ dlls/msimg32/__install-lib__ dlls/msimg32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015082wine_fn_config_makefile dlls/msimg32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015083test "x$enable_msimg32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msimg32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015084
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015085wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msimtf dlls/msimtf/__install__ dlls/msimtf/__install-lib__ dlls/msimtf/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015086wine_fn_config_makefile dlls/msimtf "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015087test "x$enable_msimtf" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msimtf"
Jacek Caban44a808f2007-10-14 19:31:45 +020015088
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015089wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msisip dlls/msisip/__install__ dlls/msisip/__install-lib__ dlls/msisip/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015090wine_fn_config_makefile dlls/msisip "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015091test "x$enable_msisip" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msisip"
Juan Lang8a6c2c22008-07-31 08:41:17 -070015092
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015093wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msisys.ocx dlls/msisys.ocx/__install__ dlls/msisys.ocx/__install-lib__ dlls/msisys.ocx/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015094wine_fn_config_makefile dlls/msisys.ocx "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015095test "x$enable_msisys_ocx" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msisys.ocx"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015096
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015097wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msnet32 dlls/msnet32/__install__ dlls/msnet32/__install-lib__ dlls/msnet32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015098wine_fn_config_makefile dlls/msnet32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015099test "x$enable_msnet32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msnet32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015100
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015101wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msrle32 dlls/msrle32/__install__ dlls/msrle32/__install-lib__ dlls/msrle32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015102wine_fn_config_makefile dlls/msrle32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015103test "x$enable_msrle32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msrle32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015104
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015105wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mssign32 dlls/mssign32/__install__ dlls/mssign32/__install-lib__ dlls/mssign32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015106wine_fn_config_makefile dlls/mssign32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015107test "x$enable_mssign32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mssign32"
Austin English0d731932009-01-20 20:03:45 -060015108
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015109wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mssip32 dlls/mssip32/__install__ dlls/mssip32/__install-lib__ dlls/mssip32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015110wine_fn_config_makefile dlls/mssip32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015111test "x$enable_mssip32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mssip32"
Maarten Lankhorstc438d232008-02-17 18:20:32 -080015112
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015113wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mstask dlls/mstask/__install__ dlls/mstask/__install-lib__ dlls/mstask/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015114wine_fn_config_makefile dlls/mstask "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015115test "x$enable_mstask" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mstask"
Roy Shea80ee2252008-07-14 17:12:47 -070015116
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015117wine_fn_config_test dlls/mstask/tests mstask_test
15118wine_fn_config_makefile dlls/mstask/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015119test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/mstask/tests"
Alexandre Julliard3842ab02008-08-19 15:30:25 +020015120
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015121wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcirt dlls/msvcirt/__install__ dlls/msvcirt/__install-lib__ dlls/msvcirt/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015122wine_fn_config_makefile dlls/msvcirt "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015123test "x$enable_msvcirt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcirt"
Alexandre Julliard455a4992007-09-28 20:43:43 +020015124
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015125wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcr71/libmsvcr71.$IMPLIBEXT"
15126wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcr71/libmsvcr71.$IMPLIBEXT dlls/msvcr71/libmsvcr71.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015127dlls/msvcr71/libmsvcr71.$IMPLIBEXT dlls/msvcr71/libmsvcr71.cross.a: dlls/msvcr71/msvcr71.spec dlls/msvcr71/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015128 @cd dlls/msvcr71 && \$(MAKE) \`basename \$@\`
15129dlls/msvcr71 dlls/msvcr71/__install__ dlls/msvcr71/__install-lib__ dlls/msvcr71/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015130wine_fn_config_makefile dlls/msvcr71 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015131test "x$enable_msvcr71" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcr71"
Hans Leidekker67815c62008-01-20 19:34:01 +010015132
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015133wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrt/libmsvcrt.$IMPLIBEXT"
15134wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrt/libmsvcrt.$IMPLIBEXT dlls/msvcrt/libmsvcrt.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015135dlls/msvcrt/libmsvcrt.$IMPLIBEXT dlls/msvcrt/libmsvcrt.cross.a: dlls/msvcrt/msvcrt.spec dlls/msvcrt/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015136 @cd dlls/msvcrt && \$(MAKE) \`basename \$@\`
15137dlls/msvcrt dlls/msvcrt/__install__ dlls/msvcrt/__install-lib__ dlls/msvcrt/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015138wine_fn_config_makefile dlls/msvcrt "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015139test "x$enable_msvcrt" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcrt"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015140
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015141wine_fn_config_test dlls/msvcrt/tests msvcrt_test
15142wine_fn_config_makefile dlls/msvcrt/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015143test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msvcrt/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015144
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015145wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrt20/libmsvcrt20.$IMPLIBEXT"
15146wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrt20/libmsvcrt20.$IMPLIBEXT dlls/msvcrt20/libmsvcrt20.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015147dlls/msvcrt20/libmsvcrt20.$IMPLIBEXT dlls/msvcrt20/libmsvcrt20.cross.a: dlls/msvcrt20/msvcrt20.spec dlls/msvcrt20/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015148 @cd dlls/msvcrt20 && \$(MAKE) \`basename \$@\`
15149dlls/msvcrt20 dlls/msvcrt20/__install__ dlls/msvcrt20/__install-lib__ dlls/msvcrt20/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015150wine_fn_config_makefile dlls/msvcrt20 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015151test "x$enable_msvcrt20" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcrt20"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015152
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015153wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrt40/libmsvcrt40.$IMPLIBEXT"
15154wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrt40/libmsvcrt40.$IMPLIBEXT dlls/msvcrt40/libmsvcrt40.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015155dlls/msvcrt40/libmsvcrt40.$IMPLIBEXT dlls/msvcrt40/libmsvcrt40.cross.a: dlls/msvcrt40/msvcrt40.spec dlls/msvcrt40/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015156 @cd dlls/msvcrt40 && \$(MAKE) \`basename \$@\`
15157dlls/msvcrt40 dlls/msvcrt40/__install__ dlls/msvcrt40/__install-lib__ dlls/msvcrt40/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015158wine_fn_config_makefile dlls/msvcrt40 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015159test "x$enable_msvcrt40" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcrt40"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015160
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015161wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvcrtd/libmsvcrtd.$IMPLIBEXT"
15162wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvcrtd/libmsvcrtd.$IMPLIBEXT dlls/msvcrtd/libmsvcrtd.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015163dlls/msvcrtd/libmsvcrtd.$IMPLIBEXT dlls/msvcrtd/libmsvcrtd.cross.a: dlls/msvcrtd/msvcrtd.spec dlls/msvcrtd/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015164 @cd dlls/msvcrtd && \$(MAKE) \`basename \$@\`
15165dlls/msvcrtd dlls/msvcrtd/__install__ dlls/msvcrtd/__install-lib__ dlls/msvcrtd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015166wine_fn_config_makefile dlls/msvcrtd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015167test "x$enable_msvcrtd" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvcrtd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015168
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015169wine_fn_config_test dlls/msvcrtd/tests msvcrtd_test
15170wine_fn_config_makefile dlls/msvcrtd/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015171test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msvcrtd/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015172
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015173wine_fn_append_file ALL_IMPORT_LIBS "dlls/msvfw32/libmsvfw32.$IMPLIBEXT"
15174wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvfw32/libmsvfw32.$IMPLIBEXT dlls/msvfw32/libmsvfw32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015175dlls/msvfw32/libmsvfw32.$IMPLIBEXT dlls/msvfw32/libmsvfw32.cross.a: dlls/msvfw32/msvfw32.spec dlls/msvfw32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015176 @cd dlls/msvfw32 && \$(MAKE) \`basename \$@\`
15177dlls/msvfw32 dlls/msvfw32/__install__ dlls/msvfw32/__install-lib__ dlls/msvfw32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015178wine_fn_config_makefile dlls/msvfw32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015179test "x$enable_msvfw32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvfw32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015180
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015181wine_fn_config_test dlls/msvfw32/tests msvfw32_test
15182wine_fn_config_makefile dlls/msvfw32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015183test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msvfw32/tests"
Jörg Höhlefc5c89e2008-12-16 21:27:56 +010015184
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015185wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvidc32 dlls/msvidc32/__install__ dlls/msvidc32/__install-lib__ dlls/msvidc32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015186wine_fn_config_makefile dlls/msvidc32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015187test "x$enable_msvidc32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvidc32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015188
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015189wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msvideo.dll16 dlls/msvideo.dll16/__install__ dlls/msvideo.dll16/__install-lib__ dlls/msvideo.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015190wine_fn_config_makefile dlls/msvideo.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015191test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msvideo.dll16"
Eric Pouechb8aa4e42009-05-14 21:36:39 +020015192
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015193wine_fn_append_file ALL_IMPORT_LIBS "dlls/mswsock/libmswsock.$IMPLIBEXT"
15194wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/mswsock/libmswsock.$IMPLIBEXT dlls/mswsock/libmswsock.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015195dlls/mswsock/libmswsock.$IMPLIBEXT dlls/mswsock/libmswsock.cross.a: dlls/mswsock/mswsock.spec dlls/mswsock/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015196 @cd dlls/mswsock && \$(MAKE) \`basename \$@\`
15197dlls/mswsock dlls/mswsock/__install__ dlls/mswsock/__install-lib__ dlls/mswsock/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015198wine_fn_config_makefile dlls/mswsock "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015199test "x$enable_mswsock" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/mswsock"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015200
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015201wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msxml3 dlls/msxml3/__install__ dlls/msxml3/__install-lib__ dlls/msxml3/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015202wine_fn_config_makefile dlls/msxml3 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015203test "x$enable_msxml3" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msxml3"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015204
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015205wine_fn_config_test dlls/msxml3/tests msxml3_test
15206wine_fn_config_makefile dlls/msxml3/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015207test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/msxml3/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015208
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015209wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/msxml4 dlls/msxml4/__install__ dlls/msxml4/__install-lib__ dlls/msxml4/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015210wine_fn_config_makefile dlls/msxml4 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015211test "x$enable_msxml4" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/msxml4"
Nikolay Sivov4f1d0402010-02-03 03:49:37 +030015212
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015213wine_fn_append_file ALL_IMPORT_LIBS "dlls/nddeapi/libnddeapi.$IMPLIBEXT"
15214wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/nddeapi/libnddeapi.$IMPLIBEXT dlls/nddeapi/libnddeapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015215dlls/nddeapi/libnddeapi.$IMPLIBEXT dlls/nddeapi/libnddeapi.cross.a: dlls/nddeapi/nddeapi.spec dlls/nddeapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015216 @cd dlls/nddeapi && \$(MAKE) \`basename \$@\`
15217dlls/nddeapi dlls/nddeapi/__install__ dlls/nddeapi/__install-lib__ dlls/nddeapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015218wine_fn_config_makefile dlls/nddeapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015219test "x$enable_nddeapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/nddeapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015220
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015221wine_fn_append_file ALL_IMPORT_LIBS "dlls/netapi32/libnetapi32.$IMPLIBEXT"
15222wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/netapi32/libnetapi32.$IMPLIBEXT dlls/netapi32/libnetapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015223dlls/netapi32/libnetapi32.$IMPLIBEXT dlls/netapi32/libnetapi32.cross.a: dlls/netapi32/netapi32.spec dlls/netapi32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015224 @cd dlls/netapi32 && \$(MAKE) \`basename \$@\`
15225dlls/netapi32 dlls/netapi32/__install__ dlls/netapi32/__install-lib__ dlls/netapi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015226wine_fn_config_makefile dlls/netapi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015227test "x$enable_netapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/netapi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015228
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015229wine_fn_config_test dlls/netapi32/tests netapi32_test
15230wine_fn_config_makefile dlls/netapi32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015231test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/netapi32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015232
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015233wine_fn_append_file ALL_IMPORT_LIBS "dlls/newdev/libnewdev.$IMPLIBEXT"
15234wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/newdev/libnewdev.$IMPLIBEXT dlls/newdev/libnewdev.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015235dlls/newdev/libnewdev.$IMPLIBEXT dlls/newdev/libnewdev.cross.a: dlls/newdev/newdev.spec dlls/newdev/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015236 @cd dlls/newdev && \$(MAKE) \`basename \$@\`
15237dlls/newdev dlls/newdev/__install__ dlls/newdev/__install-lib__ dlls/newdev/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015238wine_fn_config_makefile dlls/newdev "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015239test "x$enable_newdev" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/newdev"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015240
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015241wine_fn_append_file ALL_IMPORT_LIBS "dlls/ntdll/libntdll.$IMPLIBEXT"
15242wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntdll/libntdll.$IMPLIBEXT dlls/ntdll/libntdll.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015243dlls/ntdll/libntdll.$IMPLIBEXT dlls/ntdll/libntdll.cross.a: dlls/ntdll/ntdll.spec dlls/ntdll/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015244 @cd dlls/ntdll && \$(MAKE) \`basename \$@\`
15245dlls/ntdll dlls/ntdll/__install__ dlls/ntdll/__install-lib__ dlls/ntdll/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015246wine_fn_config_makefile dlls/ntdll "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015247test "x$enable_ntdll" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ntdll"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015248
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015249wine_fn_config_test dlls/ntdll/tests ntdll_test
15250wine_fn_config_makefile dlls/ntdll/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015251test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ntdll/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015252
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015253wine_fn_append_file ALL_IMPORT_LIBS "dlls/ntdsapi/libntdsapi.$IMPLIBEXT"
15254wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntdsapi/libntdsapi.$IMPLIBEXT dlls/ntdsapi/libntdsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015255dlls/ntdsapi/libntdsapi.$IMPLIBEXT dlls/ntdsapi/libntdsapi.cross.a: dlls/ntdsapi/ntdsapi.spec dlls/ntdsapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015256 @cd dlls/ntdsapi && \$(MAKE) \`basename \$@\`
15257dlls/ntdsapi dlls/ntdsapi/__install__ dlls/ntdsapi/__install-lib__ dlls/ntdsapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015258wine_fn_config_makefile dlls/ntdsapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015259test "x$enable_ntdsapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ntdsapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015260
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015261wine_fn_config_test dlls/ntdsapi/tests ntdsapi_test
15262wine_fn_config_makefile dlls/ntdsapi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015263test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ntdsapi/tests"
Rob Shearman5db45042008-01-24 18:36:36 +000015264
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015265wine_fn_append_file ALL_IMPORT_LIBS "dlls/ntoskrnl.exe/libntoskrnl.exe.$IMPLIBEXT"
15266wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntoskrnl.exe/libntoskrnl.exe.$IMPLIBEXT dlls/ntoskrnl.exe/libntoskrnl.exe.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015267dlls/ntoskrnl.exe/libntoskrnl.exe.$IMPLIBEXT dlls/ntoskrnl.exe/libntoskrnl.exe.cross.a: dlls/ntoskrnl.exe/ntoskrnl.exe.spec dlls/ntoskrnl.exe/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015268 @cd dlls/ntoskrnl.exe && \$(MAKE) \`basename \$@\`
15269dlls/ntoskrnl.exe dlls/ntoskrnl.exe/__install__ dlls/ntoskrnl.exe/__install-lib__ dlls/ntoskrnl.exe/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015270wine_fn_config_makefile dlls/ntoskrnl.exe "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015271test "x$enable_ntoskrnl_exe" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ntoskrnl.exe"
Alexandre Julliard12c169d2007-05-14 19:55:32 +020015272
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015273wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ntprint dlls/ntprint/__install__ dlls/ntprint/__install-lib__ dlls/ntprint/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015274wine_fn_config_makefile dlls/ntprint "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015275test "x$enable_ntprint" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ntprint"
Detlef Riekenberga8697b52007-06-19 00:02:15 +020015276
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015277wine_fn_config_test dlls/ntprint/tests ntprint_test
15278wine_fn_config_makefile dlls/ntprint/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015279test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ntprint/tests"
Detlef Riekenberga1144832007-06-21 06:07:10 +020015280
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015281wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/objsel dlls/objsel/__install__ dlls/objsel/__install-lib__ dlls/objsel/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015282wine_fn_config_makefile dlls/objsel "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015283test "x$enable_objsel" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/objsel"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015284
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015285wine_fn_append_file ALL_IMPORT_LIBS "dlls/odbc32/libodbc32.$IMPLIBEXT"
15286wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/odbc32/libodbc32.$IMPLIBEXT dlls/odbc32/libodbc32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015287dlls/odbc32/libodbc32.$IMPLIBEXT dlls/odbc32/libodbc32.cross.a: dlls/odbc32/odbc32.spec dlls/odbc32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015288 @cd dlls/odbc32 && \$(MAKE) \`basename \$@\`
15289dlls/odbc32 dlls/odbc32/__install__ dlls/odbc32/__install-lib__ dlls/odbc32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015290wine_fn_config_makefile dlls/odbc32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015291test "x$enable_odbc32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/odbc32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015292
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015293wine_fn_append_file ALL_IMPORT_LIBS "dlls/odbccp32/libodbccp32.$IMPLIBEXT"
15294wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/odbccp32/libodbccp32.$IMPLIBEXT dlls/odbccp32/libodbccp32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015295dlls/odbccp32/libodbccp32.$IMPLIBEXT dlls/odbccp32/libodbccp32.cross.a: dlls/odbccp32/odbccp32.spec dlls/odbccp32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015296 @cd dlls/odbccp32 && \$(MAKE) \`basename \$@\`
15297dlls/odbccp32 dlls/odbccp32/__install__ dlls/odbccp32/__install-lib__ dlls/odbccp32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015298wine_fn_config_makefile dlls/odbccp32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015299test "x$enable_odbccp32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/odbccp32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015300
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015301wine_fn_config_test dlls/odbccp32/tests odbccp32_test
15302wine_fn_config_makefile dlls/odbccp32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015303test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/odbccp32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015304
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015305wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2.dll16 dlls/ole2.dll16/__install__ dlls/ole2.dll16/__install-lib__ dlls/ole2.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015306wine_fn_config_makefile dlls/ole2.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015307test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2.dll16"
Alexandre Julliard2e1b3092009-03-11 17:05:20 +010015308
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015309wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2conv.dll16 dlls/ole2conv.dll16/__install__ dlls/ole2conv.dll16/__install-lib__ dlls/ole2conv.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015310wine_fn_config_makefile dlls/ole2conv.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015311test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2conv.dll16"
Alexandre Julliardea638262009-03-11 16:32:36 +010015312
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015313wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2disp.dll16 dlls/ole2disp.dll16/__install__ dlls/ole2disp.dll16/__install-lib__ dlls/ole2disp.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015314wine_fn_config_makefile dlls/ole2disp.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015315test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2disp.dll16"
Alexandre Julliardd5a4a662009-03-11 17:36:40 +010015316
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015317wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2nls.dll16 dlls/ole2nls.dll16/__install__ dlls/ole2nls.dll16/__install-lib__ dlls/ole2nls.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015318wine_fn_config_makefile dlls/ole2nls.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015319test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2nls.dll16"
Alexandre Julliard7511d672009-03-11 16:53:06 +010015320
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015321wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2prox.dll16 dlls/ole2prox.dll16/__install__ dlls/ole2prox.dll16/__install-lib__ dlls/ole2prox.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015322wine_fn_config_makefile dlls/ole2prox.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015323test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2prox.dll16"
Alexandre Julliardb4bbe0c2009-03-11 16:36:17 +010015324
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015325wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole2thk.dll16 dlls/ole2thk.dll16/__install__ dlls/ole2thk.dll16/__install-lib__ dlls/ole2thk.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015326wine_fn_config_makefile dlls/ole2thk.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015327test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole2thk.dll16"
Alexandre Julliarddc810652009-03-11 16:38:57 +010015328
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015329wine_fn_append_file ALL_IMPORT_LIBS "dlls/ole32/libole32.$IMPLIBEXT"
15330wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ole32/libole32.$IMPLIBEXT dlls/ole32/libole32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015331dlls/ole32/libole32.$IMPLIBEXT dlls/ole32/libole32.cross.a: dlls/ole32/ole32.spec dlls/ole32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015332 @cd dlls/ole32 && \$(MAKE) \`basename \$@\`
15333dlls/ole32 dlls/ole32/__install__ dlls/ole32/__install-lib__ dlls/ole32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015334wine_fn_config_makefile dlls/ole32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015335test "x$enable_ole32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ole32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015336
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015337wine_fn_config_test dlls/ole32/tests ole32_test
15338wine_fn_config_makefile dlls/ole32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015339test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ole32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015340
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015341wine_fn_append_file ALL_IMPORT_LIBS "dlls/oleacc/liboleacc.$IMPLIBEXT"
15342wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oleacc/liboleacc.$IMPLIBEXT dlls/oleacc/liboleacc.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015343dlls/oleacc/liboleacc.$IMPLIBEXT dlls/oleacc/liboleacc.cross.a: dlls/oleacc/oleacc.spec dlls/oleacc/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015344 @cd dlls/oleacc && \$(MAKE) \`basename \$@\`
15345dlls/oleacc dlls/oleacc/__install__ dlls/oleacc/__install-lib__ dlls/oleacc/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015346wine_fn_config_makefile dlls/oleacc "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015347test "x$enable_oleacc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/oleacc"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015348
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015349wine_fn_config_test dlls/oleacc/tests oleacc_test
15350wine_fn_config_makefile dlls/oleacc/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015351test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/oleacc/tests"
Nikolay Sivove2399a92008-10-14 22:18:08 +040015352
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015353wine_fn_append_file ALL_IMPORT_LIBS "dlls/oleaut32/liboleaut32.$IMPLIBEXT"
15354wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oleaut32/liboleaut32.$IMPLIBEXT dlls/oleaut32/liboleaut32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015355dlls/oleaut32/liboleaut32.$IMPLIBEXT dlls/oleaut32/liboleaut32.cross.a: dlls/oleaut32/oleaut32.spec dlls/oleaut32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015356 @cd dlls/oleaut32 && \$(MAKE) \`basename \$@\`
15357dlls/oleaut32 dlls/oleaut32/__install__ dlls/oleaut32/__install-lib__ dlls/oleaut32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015358wine_fn_config_makefile dlls/oleaut32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015359test "x$enable_oleaut32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/oleaut32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015360
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015361wine_fn_config_test dlls/oleaut32/tests oleaut32_test
15362wine_fn_config_makefile dlls/oleaut32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015363test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/oleaut32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015364
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015365wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olecli.dll16 dlls/olecli.dll16/__install__ dlls/olecli.dll16/__install-lib__ dlls/olecli.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015366wine_fn_config_makefile dlls/olecli.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015367test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olecli.dll16"
Alexandre Julliard7c288602009-03-11 16:26:37 +010015368
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015369wine_fn_append_file ALL_IMPORT_LIBS "dlls/olecli32/libolecli32.$IMPLIBEXT"
15370wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olecli32/libolecli32.$IMPLIBEXT dlls/olecli32/libolecli32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015371dlls/olecli32/libolecli32.$IMPLIBEXT dlls/olecli32/libolecli32.cross.a: dlls/olecli32/olecli32.spec dlls/olecli32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015372 @cd dlls/olecli32 && \$(MAKE) \`basename \$@\`
15373dlls/olecli32 dlls/olecli32/__install__ dlls/olecli32/__install-lib__ dlls/olecli32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015374wine_fn_config_makefile dlls/olecli32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015375test "x$enable_olecli32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olecli32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015376
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015377wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oledb32 dlls/oledb32/__install__ dlls/oledb32/__install-lib__ dlls/oledb32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015378wine_fn_config_makefile dlls/oledb32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015379test "x$enable_oledb32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/oledb32"
Huw Daviesbcfce052009-09-02 12:02:39 +010015380
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015381wine_fn_config_test dlls/oledb32/tests oledb32_test
15382wine_fn_config_makefile dlls/oledb32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015383test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/oledb32/tests"
Huw Davies678f98e2009-09-09 17:18:37 +010015384
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015385wine_fn_append_file ALL_IMPORT_LIBS "dlls/oledlg/liboledlg.$IMPLIBEXT"
15386wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/oledlg/liboledlg.$IMPLIBEXT dlls/oledlg/liboledlg.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015387dlls/oledlg/liboledlg.$IMPLIBEXT dlls/oledlg/liboledlg.cross.a: dlls/oledlg/oledlg.spec dlls/oledlg/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015388 @cd dlls/oledlg && \$(MAKE) \`basename \$@\`
15389dlls/oledlg dlls/oledlg/__install__ dlls/oledlg/__install-lib__ dlls/oledlg/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015390wine_fn_config_makefile dlls/oledlg "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015391test "x$enable_oledlg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/oledlg"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015392
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015393wine_fn_append_file ALL_IMPORT_LIBS "dlls/olepro32/libolepro32.$IMPLIBEXT"
15394wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olepro32/libolepro32.$IMPLIBEXT dlls/olepro32/libolepro32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015395dlls/olepro32/libolepro32.$IMPLIBEXT dlls/olepro32/libolepro32.cross.a: dlls/olepro32/olepro32.spec dlls/olepro32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015396 @cd dlls/olepro32 && \$(MAKE) \`basename \$@\`
15397dlls/olepro32 dlls/olepro32/__install__ dlls/olepro32/__install-lib__ dlls/olepro32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015398wine_fn_config_makefile dlls/olepro32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015399test "x$enable_olepro32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olepro32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015400
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015401wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olesvr.dll16 dlls/olesvr.dll16/__install__ dlls/olesvr.dll16/__install-lib__ dlls/olesvr.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015402wine_fn_config_makefile dlls/olesvr.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015403test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olesvr.dll16"
Alexandre Julliardb12965c2009-03-11 16:27:35 +010015404
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015405wine_fn_append_file ALL_IMPORT_LIBS "dlls/olesvr32/libolesvr32.$IMPLIBEXT"
15406wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olesvr32/libolesvr32.$IMPLIBEXT dlls/olesvr32/libolesvr32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015407dlls/olesvr32/libolesvr32.$IMPLIBEXT dlls/olesvr32/libolesvr32.cross.a: dlls/olesvr32/olesvr32.spec dlls/olesvr32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015408 @cd dlls/olesvr32 && \$(MAKE) \`basename \$@\`
15409dlls/olesvr32 dlls/olesvr32/__install__ dlls/olesvr32/__install-lib__ dlls/olesvr32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015410wine_fn_config_makefile dlls/olesvr32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015411test "x$enable_olesvr32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olesvr32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015412
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015413wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/olethk32 dlls/olethk32/__install__ dlls/olethk32/__install-lib__ dlls/olethk32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015414wine_fn_config_makefile dlls/olethk32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015415test "x$enable_olethk32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/olethk32"
Stefan Leichter7db1bd92007-09-07 21:15:41 +020015416
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015417wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/openal32 dlls/openal32/__install__ dlls/openal32/__install-lib__ dlls/openal32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015418wine_fn_config_makefile dlls/openal32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015419test "x$enable_openal32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/openal32"
Chris Robinson862965f2009-08-25 03:26:35 -070015420
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015421wine_fn_append_file ALL_IMPORT_LIBS "dlls/opengl32/libopengl32.$IMPLIBEXT"
15422wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/opengl32/libopengl32.$IMPLIBEXT dlls/opengl32/libopengl32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015423dlls/opengl32/libopengl32.$IMPLIBEXT dlls/opengl32/libopengl32.cross.a: dlls/opengl32/opengl32.spec dlls/opengl32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015424 @cd dlls/opengl32 && \$(MAKE) \`basename \$@\`
15425dlls/opengl32 dlls/opengl32/__install__ dlls/opengl32/__install-lib__ dlls/opengl32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015426wine_fn_config_makefile dlls/opengl32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015427test "x$enable_opengl32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/opengl32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015428
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015429wine_fn_config_test dlls/opengl32/tests opengl32_test
15430wine_fn_config_makefile dlls/opengl32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015431test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/opengl32/tests"
Roderick Colenbrander219269c2007-08-01 14:38:49 +020015432
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015433wine_fn_append_file ALL_IMPORT_LIBS "dlls/pdh/libpdh.$IMPLIBEXT"
15434wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/pdh/libpdh.$IMPLIBEXT dlls/pdh/libpdh.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015435dlls/pdh/libpdh.$IMPLIBEXT dlls/pdh/libpdh.cross.a: dlls/pdh/pdh.spec dlls/pdh/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015436 @cd dlls/pdh && \$(MAKE) \`basename \$@\`
15437dlls/pdh dlls/pdh/__install__ dlls/pdh/__install-lib__ dlls/pdh/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015438wine_fn_config_makefile dlls/pdh "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015439test "x$enable_pdh" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/pdh"
Andrey Turkin41f15a72007-06-02 02:28:45 +040015440
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015441wine_fn_config_test dlls/pdh/tests pdh_test
15442wine_fn_config_makefile dlls/pdh/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015443test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/pdh/tests"
Hans Leidekker0a6f6872007-07-08 14:06:08 +020015444
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015445wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/pidgen dlls/pidgen/__install__ dlls/pidgen/__install-lib__ dlls/pidgen/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015446wine_fn_config_makefile dlls/pidgen "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015447test "x$enable_pidgen" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/pidgen"
Hans Leidekkerefa2fcc2008-12-15 11:55:32 +010015448
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015449wine_fn_append_file ALL_IMPORT_LIBS "dlls/powrprof/libpowrprof.$IMPLIBEXT"
15450wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/powrprof/libpowrprof.$IMPLIBEXT dlls/powrprof/libpowrprof.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015451dlls/powrprof/libpowrprof.$IMPLIBEXT dlls/powrprof/libpowrprof.cross.a: dlls/powrprof/powrprof.spec dlls/powrprof/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015452 @cd dlls/powrprof && \$(MAKE) \`basename \$@\`
15453dlls/powrprof dlls/powrprof/__install__ dlls/powrprof/__install-lib__ dlls/powrprof/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015454wine_fn_config_makefile dlls/powrprof "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015455test "x$enable_powrprof" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/powrprof"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015456
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015457wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/printui dlls/printui/__install__ dlls/printui/__install-lib__ dlls/printui/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015458wine_fn_config_makefile dlls/printui "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015459test "x$enable_printui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/printui"
Detlef Riekenberg3fd4a532007-06-18 00:32:12 +020015460
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015461wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/propsys dlls/propsys/__install__ dlls/propsys/__install-lib__ dlls/propsys/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015462wine_fn_config_makefile dlls/propsys "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015463test "x$enable_propsys" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/propsys"
James Hawkins07588022008-01-16 00:11:17 -060015464
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015465wine_fn_append_file ALL_IMPORT_LIBS "dlls/psapi/libpsapi.$IMPLIBEXT"
15466wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/psapi/libpsapi.$IMPLIBEXT dlls/psapi/libpsapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015467dlls/psapi/libpsapi.$IMPLIBEXT dlls/psapi/libpsapi.cross.a: dlls/psapi/psapi.spec dlls/psapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015468 @cd dlls/psapi && \$(MAKE) \`basename \$@\`
15469dlls/psapi dlls/psapi/__install__ dlls/psapi/__install-lib__ dlls/psapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015470wine_fn_config_makefile dlls/psapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015471test "x$enable_psapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/psapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015472
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015473wine_fn_config_test dlls/psapi/tests psapi_test
15474wine_fn_config_makefile dlls/psapi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015475test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/psapi/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015476
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015477wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/pstorec dlls/pstorec/__install__ dlls/pstorec/__install-lib__ dlls/pstorec/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015478wine_fn_config_makefile dlls/pstorec "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015479test "x$enable_pstorec" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/pstorec"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015480
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015481wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qcap dlls/qcap/__install__ dlls/qcap/__install-lib__ dlls/qcap/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015482wine_fn_config_makefile dlls/qcap "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015483test "x$enable_qcap" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/qcap"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015484
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015485wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qedit dlls/qedit/__install__ dlls/qedit/__install-lib__ dlls/qedit/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015486wine_fn_config_makefile dlls/qedit "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015487test "x$enable_qedit" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/qedit"
Lei Zhang6de8be72008-02-11 18:07:45 -080015488
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015489wine_fn_config_test dlls/qedit/tests qedit_test
15490wine_fn_config_makefile dlls/qedit/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015491test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/qedit/tests"
Lei Zhange8551a02008-02-13 14:47:12 -080015492
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015493wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qmgr dlls/qmgr/__install__ dlls/qmgr/__install-lib__ dlls/qmgr/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015494wine_fn_config_makefile dlls/qmgr "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015495test "x$enable_qmgr" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/qmgr"
Roy Shea2b0255f2007-10-08 10:38:06 -070015496
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015497wine_fn_config_test dlls/qmgr/tests qmgr_test
15498wine_fn_config_makefile dlls/qmgr/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015499test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/qmgr/tests"
Roy Shea884e7e72008-02-11 11:09:34 -080015500
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015501wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/qmgrprxy dlls/qmgrprxy/__install__ dlls/qmgrprxy/__install-lib__ dlls/qmgrprxy/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015502wine_fn_config_makefile dlls/qmgrprxy "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015503test "x$enable_qmgrprxy" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/qmgrprxy"
Roy Shea00ef4e52007-12-09 13:16:07 -080015504
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015505wine_fn_append_file ALL_IMPORT_LIBS "dlls/quartz/libquartz.$IMPLIBEXT"
15506wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/quartz/libquartz.$IMPLIBEXT dlls/quartz/libquartz.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015507dlls/quartz/libquartz.$IMPLIBEXT dlls/quartz/libquartz.cross.a: dlls/quartz/quartz.spec dlls/quartz/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015508 @cd dlls/quartz && \$(MAKE) \`basename \$@\`
15509dlls/quartz dlls/quartz/__install__ dlls/quartz/__install-lib__ dlls/quartz/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015510wine_fn_config_makefile dlls/quartz "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015511test "x$enable_quartz" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/quartz"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015512
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015513wine_fn_config_test dlls/quartz/tests quartz_test
15514wine_fn_config_makefile dlls/quartz/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015515test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/quartz/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015516
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015517wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/query dlls/query/__install__ dlls/query/__install-lib__ dlls/query/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015518wine_fn_config_makefile dlls/query "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015519test "x$enable_query" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/query"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015520
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015521wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rasapi16.dll16 dlls/rasapi16.dll16/__install__ dlls/rasapi16.dll16/__install-lib__ dlls/rasapi16.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015522wine_fn_config_makefile dlls/rasapi16.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015523test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rasapi16.dll16"
Alexandre Julliarde475ef82009-03-23 20:34:34 +010015524
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015525wine_fn_append_file ALL_IMPORT_LIBS "dlls/rasapi32/librasapi32.$IMPLIBEXT"
15526wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rasapi32/librasapi32.$IMPLIBEXT dlls/rasapi32/librasapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015527dlls/rasapi32/librasapi32.$IMPLIBEXT dlls/rasapi32/librasapi32.cross.a: dlls/rasapi32/rasapi32.spec dlls/rasapi32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015528 @cd dlls/rasapi32 && \$(MAKE) \`basename \$@\`
15529dlls/rasapi32 dlls/rasapi32/__install__ dlls/rasapi32/__install-lib__ dlls/rasapi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015530wine_fn_config_makefile dlls/rasapi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015531test "x$enable_rasapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rasapi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015532
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015533wine_fn_config_test dlls/rasapi32/tests rasapi32_test
15534wine_fn_config_makefile dlls/rasapi32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015535test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/rasapi32/tests"
Stefan Leichterb8c6d8e2008-07-06 13:47:34 +020015536
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015537wine_fn_append_file ALL_IMPORT_LIBS "dlls/rasdlg/librasdlg.$IMPLIBEXT"
15538wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rasdlg/librasdlg.$IMPLIBEXT dlls/rasdlg/librasdlg.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015539dlls/rasdlg/librasdlg.$IMPLIBEXT dlls/rasdlg/librasdlg.cross.a: dlls/rasdlg/rasdlg.spec dlls/rasdlg/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015540 @cd dlls/rasdlg && \$(MAKE) \`basename \$@\`
15541dlls/rasdlg dlls/rasdlg/__install__ dlls/rasdlg/__install-lib__ dlls/rasdlg/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015542wine_fn_config_makefile dlls/rasdlg "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015543test "x$enable_rasdlg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rasdlg"
Aric Stewartf55151a2009-01-23 11:43:16 -060015544
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015545wine_fn_append_file ALL_IMPORT_LIBS "dlls/resutils/libresutils.$IMPLIBEXT"
15546wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/resutils/libresutils.$IMPLIBEXT dlls/resutils/libresutils.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015547dlls/resutils/libresutils.$IMPLIBEXT dlls/resutils/libresutils.cross.a: dlls/resutils/resutils.spec dlls/resutils/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015548 @cd dlls/resutils && \$(MAKE) \`basename \$@\`
15549dlls/resutils dlls/resutils/__install__ dlls/resutils/__install-lib__ dlls/resutils/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015550wine_fn_config_makefile dlls/resutils "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015551test "x$enable_resutils" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/resutils"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015552
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015553wine_fn_append_file ALL_IMPORT_LIBS "dlls/riched20/libriched20.$IMPLIBEXT"
15554wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/riched20/libriched20.$IMPLIBEXT dlls/riched20/libriched20.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015555dlls/riched20/libriched20.$IMPLIBEXT dlls/riched20/libriched20.cross.a: dlls/riched20/riched20.spec dlls/riched20/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015556 @cd dlls/riched20 && \$(MAKE) \`basename \$@\`
15557dlls/riched20 dlls/riched20/__install__ dlls/riched20/__install-lib__ dlls/riched20/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015558wine_fn_config_makefile dlls/riched20 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015559test "x$enable_riched20" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/riched20"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015560
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015561wine_fn_config_test dlls/riched20/tests riched20_test
15562wine_fn_config_makefile dlls/riched20/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015563test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/riched20/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015564
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015565wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/riched32 dlls/riched32/__install__ dlls/riched32/__install-lib__ dlls/riched32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015566wine_fn_config_makefile dlls/riched32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015567test "x$enable_riched32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/riched32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015568
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015569wine_fn_config_test dlls/riched32/tests riched32_test
15570wine_fn_config_makefile dlls/riched32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015571test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/riched32/tests"
Alex Villacís Lasso74cd5902007-10-22 10:47:59 -050015572
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015573wine_fn_append_file ALL_IMPORT_LIBS "dlls/rpcrt4/librpcrt4.$IMPLIBEXT"
15574wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rpcrt4/librpcrt4.$IMPLIBEXT dlls/rpcrt4/librpcrt4.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015575dlls/rpcrt4/librpcrt4.$IMPLIBEXT dlls/rpcrt4/librpcrt4.cross.a: dlls/rpcrt4/rpcrt4.spec dlls/rpcrt4/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015576 @cd dlls/rpcrt4 && \$(MAKE) \`basename \$@\`
15577dlls/rpcrt4 dlls/rpcrt4/__install__ dlls/rpcrt4/__install-lib__ dlls/rpcrt4/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015578wine_fn_config_makefile dlls/rpcrt4 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015579test "x$enable_rpcrt4" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rpcrt4"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015580
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015581wine_fn_config_test dlls/rpcrt4/tests rpcrt4_test
15582wine_fn_config_makefile dlls/rpcrt4/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015583test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/rpcrt4/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015584
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015585wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rsabase dlls/rsabase/__install__ dlls/rsabase/__install-lib__ dlls/rsabase/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015586wine_fn_config_makefile dlls/rsabase "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015587test "x$enable_rsabase" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rsabase"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015588
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015589wine_fn_append_file ALL_IMPORT_LIBS "dlls/rsaenh/librsaenh.$IMPLIBEXT"
15590wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rsaenh/librsaenh.$IMPLIBEXT dlls/rsaenh/librsaenh.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015591dlls/rsaenh/librsaenh.$IMPLIBEXT dlls/rsaenh/librsaenh.cross.a: dlls/rsaenh/rsaenh.spec dlls/rsaenh/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015592 @cd dlls/rsaenh && \$(MAKE) \`basename \$@\`
15593dlls/rsaenh dlls/rsaenh/__install__ dlls/rsaenh/__install-lib__ dlls/rsaenh/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015594wine_fn_config_makefile dlls/rsaenh "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015595test "x$enable_rsaenh" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rsaenh"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015596
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015597wine_fn_config_test dlls/rsaenh/tests rsaenh_test
15598wine_fn_config_makefile dlls/rsaenh/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015599test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/rsaenh/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015600
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015601wine_fn_append_file ALL_IMPORT_LIBS "dlls/rtutils/librtutils.$IMPLIBEXT"
15602wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/rtutils/librtutils.$IMPLIBEXT dlls/rtutils/librtutils.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015603dlls/rtutils/librtutils.$IMPLIBEXT dlls/rtutils/librtutils.cross.a: dlls/rtutils/rtutils.spec dlls/rtutils/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015604 @cd dlls/rtutils && \$(MAKE) \`basename \$@\`
15605dlls/rtutils dlls/rtutils/__install__ dlls/rtutils/__install-lib__ dlls/rtutils/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015606wine_fn_config_makefile dlls/rtutils "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015607test "x$enable_rtutils" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/rtutils"
Alexander Scott-Johnsa4689aa2009-06-26 23:12:21 +010015608
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015609wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sane.ds dlls/sane.ds/__install__ dlls/sane.ds/__install-lib__ dlls/sane.ds/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015610wine_fn_config_makefile dlls/sane.ds "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015611test "x$enable_sane_ds" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sane.ds"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015612
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015613wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sccbase dlls/sccbase/__install__ dlls/sccbase/__install-lib__ dlls/sccbase/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015614wine_fn_config_makefile dlls/sccbase "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015615test "x$enable_sccbase" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sccbase"
Maarten Lankhorst322d4ca2008-02-17 18:20:32 -080015616
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015617wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/schannel dlls/schannel/__install__ dlls/schannel/__install-lib__ dlls/schannel/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015618wine_fn_config_makefile dlls/schannel "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015619test "x$enable_schannel" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/schannel"
Rob Shearman361c6f22007-03-01 12:17:59 +000015620
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015621wine_fn_config_test dlls/schannel/tests schannel_test
15622wine_fn_config_makefile dlls/schannel/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015623test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/schannel/tests"
Yuval Fledel735df242007-04-25 22:49:08 +030015624
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015625wine_fn_append_file ALL_IMPORT_LIBS "dlls/secur32/libsecur32.$IMPLIBEXT"
15626wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/secur32/libsecur32.$IMPLIBEXT dlls/secur32/libsecur32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015627dlls/secur32/libsecur32.$IMPLIBEXT dlls/secur32/libsecur32.cross.a: dlls/secur32/secur32.spec dlls/secur32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015628 @cd dlls/secur32 && \$(MAKE) \`basename \$@\`
15629dlls/secur32 dlls/secur32/__install__ dlls/secur32/__install-lib__ dlls/secur32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015630wine_fn_config_makefile dlls/secur32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015631test "x$enable_secur32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/secur32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015632
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015633wine_fn_config_test dlls/secur32/tests secur32_test
15634wine_fn_config_makefile dlls/secur32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015635test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/secur32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015636
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015637wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/security dlls/security/__install__ dlls/security/__install-lib__ dlls/security/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015638wine_fn_config_makefile dlls/security "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015639test "x$enable_security" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/security"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015640
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015641wine_fn_append_file ALL_IMPORT_LIBS "dlls/sensapi/libsensapi.$IMPLIBEXT"
15642wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sensapi/libsensapi.$IMPLIBEXT dlls/sensapi/libsensapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015643dlls/sensapi/libsensapi.$IMPLIBEXT dlls/sensapi/libsensapi.cross.a: dlls/sensapi/sensapi.spec dlls/sensapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015644 @cd dlls/sensapi && \$(MAKE) \`basename \$@\`
15645dlls/sensapi dlls/sensapi/__install__ dlls/sensapi/__install-lib__ dlls/sensapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015646wine_fn_config_makefile dlls/sensapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015647test "x$enable_sensapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sensapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015648
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015649wine_fn_append_file ALL_IMPORT_LIBS "dlls/serialui/libserialui.$IMPLIBEXT"
15650wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/serialui/libserialui.$IMPLIBEXT dlls/serialui/libserialui.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015651dlls/serialui/libserialui.$IMPLIBEXT dlls/serialui/libserialui.cross.a: dlls/serialui/serialui.spec dlls/serialui/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015652 @cd dlls/serialui && \$(MAKE) \`basename \$@\`
15653dlls/serialui dlls/serialui/__install__ dlls/serialui/__install-lib__ dlls/serialui/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015654wine_fn_config_makefile dlls/serialui "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015655test "x$enable_serialui" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/serialui"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015656
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015657wine_fn_config_test dlls/serialui/tests serialui_test
15658wine_fn_config_makefile dlls/serialui/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015659test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/serialui/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015660
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015661wine_fn_append_file ALL_IMPORT_LIBS "dlls/setupapi/libsetupapi.$IMPLIBEXT"
15662wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/setupapi/libsetupapi.$IMPLIBEXT dlls/setupapi/libsetupapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015663dlls/setupapi/libsetupapi.$IMPLIBEXT dlls/setupapi/libsetupapi.cross.a: dlls/setupapi/setupapi.spec dlls/setupapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015664 @cd dlls/setupapi && \$(MAKE) \`basename \$@\`
15665dlls/setupapi dlls/setupapi/__install__ dlls/setupapi/__install-lib__ dlls/setupapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015666wine_fn_config_makefile dlls/setupapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015667test "x$enable_setupapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/setupapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015668
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015669wine_fn_config_test dlls/setupapi/tests setupapi_test
15670wine_fn_config_makefile dlls/setupapi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015671test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/setupapi/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015672
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015673wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/setupx.dll16 dlls/setupx.dll16/__install__ dlls/setupx.dll16/__install-lib__ dlls/setupx.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015674wine_fn_config_makefile dlls/setupx.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015675test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/setupx.dll16"
Alexandre Julliard66f6b782009-10-01 19:45:07 +020015676
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015677wine_fn_append_file ALL_IMPORT_LIBS "dlls/sfc/libsfc.$IMPLIBEXT"
15678wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sfc/libsfc.$IMPLIBEXT dlls/sfc/libsfc.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015679dlls/sfc/libsfc.$IMPLIBEXT dlls/sfc/libsfc.cross.a: dlls/sfc/sfc.spec dlls/sfc/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015680 @cd dlls/sfc && \$(MAKE) \`basename \$@\`
15681dlls/sfc dlls/sfc/__install__ dlls/sfc/__install-lib__ dlls/sfc/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015682wine_fn_config_makefile dlls/sfc "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015683test "x$enable_sfc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sfc"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015684
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015685wine_fn_append_file ALL_IMPORT_LIBS "dlls/sfc_os/libsfc_os.$IMPLIBEXT"
15686wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sfc_os/libsfc_os.$IMPLIBEXT dlls/sfc_os/libsfc_os.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015687dlls/sfc_os/libsfc_os.$IMPLIBEXT dlls/sfc_os/libsfc_os.cross.a: dlls/sfc_os/sfc_os.spec dlls/sfc_os/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015688 @cd dlls/sfc_os && \$(MAKE) \`basename \$@\`
15689dlls/sfc_os dlls/sfc_os/__install__ dlls/sfc_os/__install-lib__ dlls/sfc_os/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015690wine_fn_config_makefile dlls/sfc_os "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015691test "x$enable_sfc_os" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sfc_os"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015692
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015693wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shdoclc dlls/shdoclc/__install__ dlls/shdoclc/__install-lib__ dlls/shdoclc/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015694wine_fn_config_makefile dlls/shdoclc "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015695test "x$enable_shdoclc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shdoclc"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015696
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015697wine_fn_append_file ALL_IMPORT_LIBS "dlls/shdocvw/libshdocvw.$IMPLIBEXT"
15698wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shdocvw/libshdocvw.$IMPLIBEXT dlls/shdocvw/libshdocvw.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015699dlls/shdocvw/libshdocvw.$IMPLIBEXT dlls/shdocvw/libshdocvw.cross.a: dlls/shdocvw/shdocvw.spec dlls/shdocvw/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015700 @cd dlls/shdocvw && \$(MAKE) \`basename \$@\`
15701dlls/shdocvw dlls/shdocvw/__install__ dlls/shdocvw/__install-lib__ dlls/shdocvw/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015702wine_fn_config_makefile dlls/shdocvw "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015703test "x$enable_shdocvw" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shdocvw"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015704
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015705wine_fn_config_test dlls/shdocvw/tests shdocvw_test
15706wine_fn_config_makefile dlls/shdocvw/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015707test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/shdocvw/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015708
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015709wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shell.dll16 dlls/shell.dll16/__install__ dlls/shell.dll16/__install-lib__ dlls/shell.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015710wine_fn_config_makefile dlls/shell.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015711test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shell.dll16"
Alexandre Julliard129ba5a2009-04-01 18:20:13 +020015712
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015713wine_fn_append_file ALL_IMPORT_LIBS "dlls/shell32/libshell32.$IMPLIBEXT"
15714wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shell32/libshell32.$IMPLIBEXT dlls/shell32/libshell32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015715dlls/shell32/libshell32.$IMPLIBEXT dlls/shell32/libshell32.cross.a: dlls/shell32/shell32.spec dlls/shell32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015716 @cd dlls/shell32 && \$(MAKE) \`basename \$@\`
15717dlls/shell32 dlls/shell32/__install__ dlls/shell32/__install-lib__ dlls/shell32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015718wine_fn_config_makefile dlls/shell32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015719test "x$enable_shell32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shell32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015720
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015721wine_fn_config_test dlls/shell32/tests shell32_test
15722wine_fn_config_makefile dlls/shell32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015723test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/shell32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015724
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015725wine_fn_append_file ALL_IMPORT_LIBS "dlls/shfolder/libshfolder.$IMPLIBEXT"
15726wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shfolder/libshfolder.$IMPLIBEXT dlls/shfolder/libshfolder.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015727dlls/shfolder/libshfolder.$IMPLIBEXT dlls/shfolder/libshfolder.cross.a: dlls/shfolder/shfolder.spec dlls/shfolder/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015728 @cd dlls/shfolder && \$(MAKE) \`basename \$@\`
15729dlls/shfolder dlls/shfolder/__install__ dlls/shfolder/__install-lib__ dlls/shfolder/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015730wine_fn_config_makefile dlls/shfolder "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015731test "x$enable_shfolder" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shfolder"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015732
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015733wine_fn_append_file ALL_IMPORT_LIBS "dlls/shlwapi/libshlwapi.$IMPLIBEXT"
15734wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/shlwapi/libshlwapi.$IMPLIBEXT dlls/shlwapi/libshlwapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015735dlls/shlwapi/libshlwapi.$IMPLIBEXT dlls/shlwapi/libshlwapi.cross.a: dlls/shlwapi/shlwapi.spec dlls/shlwapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015736 @cd dlls/shlwapi && \$(MAKE) \`basename \$@\`
15737dlls/shlwapi dlls/shlwapi/__install__ dlls/shlwapi/__install-lib__ dlls/shlwapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015738wine_fn_config_makefile dlls/shlwapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015739test "x$enable_shlwapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/shlwapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015740
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015741wine_fn_config_test dlls/shlwapi/tests shlwapi_test
15742wine_fn_config_makefile dlls/shlwapi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015743test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/shlwapi/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015744
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015745wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/slbcsp dlls/slbcsp/__install__ dlls/slbcsp/__install-lib__ dlls/slbcsp/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015746wine_fn_config_makefile dlls/slbcsp "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015747test "x$enable_slbcsp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/slbcsp"
Maarten Lankhorstb3a96992008-02-17 18:20:32 -080015748
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015749wine_fn_append_file ALL_IMPORT_LIBS "dlls/slc/libslc.$IMPLIBEXT"
15750wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/slc/libslc.$IMPLIBEXT dlls/slc/libslc.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015751dlls/slc/libslc.$IMPLIBEXT dlls/slc/libslc.cross.a: dlls/slc/slc.spec dlls/slc/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015752 @cd dlls/slc && \$(MAKE) \`basename \$@\`
15753dlls/slc dlls/slc/__install__ dlls/slc/__install-lib__ dlls/slc/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015754wine_fn_config_makefile dlls/slc "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015755test "x$enable_slc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/slc"
Alistair Leslie-Hughesea563702008-02-20 00:17:08 +110015756
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015757wine_fn_append_file ALL_IMPORT_LIBS "dlls/snmpapi/libsnmpapi.$IMPLIBEXT"
15758wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/snmpapi/libsnmpapi.$IMPLIBEXT dlls/snmpapi/libsnmpapi.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015759dlls/snmpapi/libsnmpapi.$IMPLIBEXT dlls/snmpapi/libsnmpapi.cross.a: dlls/snmpapi/snmpapi.spec dlls/snmpapi/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015760 @cd dlls/snmpapi && \$(MAKE) \`basename \$@\`
15761dlls/snmpapi dlls/snmpapi/__install__ dlls/snmpapi/__install-lib__ dlls/snmpapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015762wine_fn_config_makefile dlls/snmpapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015763test "x$enable_snmpapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/snmpapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015764
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015765wine_fn_config_test dlls/snmpapi/tests snmpapi_test
15766wine_fn_config_makefile dlls/snmpapi/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015767test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/snmpapi/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015768
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015769wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/softpub dlls/softpub/__install__ dlls/softpub/__install-lib__ dlls/softpub/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015770wine_fn_config_makefile dlls/softpub "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015771test "x$enable_softpub" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/softpub"
Maarten Lankhorste11826f2008-02-17 18:20:32 -080015772
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015773wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sound.drv16 dlls/sound.drv16/__install__ dlls/sound.drv16/__install-lib__ dlls/sound.drv16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015774wine_fn_config_makefile dlls/sound.drv16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015775test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sound.drv16"
Alexandre Julliardb0530a52009-03-23 20:35:00 +010015776
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015777wine_fn_append_file ALL_IMPORT_LIBS "dlls/spoolss/libspoolss.$IMPLIBEXT"
15778wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/spoolss/libspoolss.$IMPLIBEXT dlls/spoolss/libspoolss.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015779dlls/spoolss/libspoolss.$IMPLIBEXT dlls/spoolss/libspoolss.cross.a: dlls/spoolss/spoolss.spec dlls/spoolss/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015780 @cd dlls/spoolss && \$(MAKE) \`basename \$@\`
15781dlls/spoolss dlls/spoolss/__install__ dlls/spoolss/__install-lib__ dlls/spoolss/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015782wine_fn_config_makefile dlls/spoolss "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015783test "x$enable_spoolss" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/spoolss"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015784
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015785wine_fn_config_test dlls/spoolss/tests spoolss_test
15786wine_fn_config_makefile dlls/spoolss/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015787test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/spoolss/tests"
Detlef Riekenbergcf122ba2007-10-03 01:01:12 +020015788
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015789wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/stdole2.tlb dlls/stdole2.tlb/__install__ dlls/stdole2.tlb/__install-lib__ dlls/stdole2.tlb/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015790wine_fn_config_makefile dlls/stdole2.tlb "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015791test "x$enable_stdole2_tlb" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/stdole2.tlb"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015792
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015793wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/stdole32.tlb dlls/stdole32.tlb/__install__ dlls/stdole32.tlb/__install-lib__ dlls/stdole32.tlb/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015794wine_fn_config_makefile dlls/stdole32.tlb "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015795test "x$enable_stdole32_tlb" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/stdole32.tlb"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015796
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015797wine_fn_append_file ALL_IMPORT_LIBS "dlls/sti/libsti.$IMPLIBEXT"
15798wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sti/libsti.$IMPLIBEXT dlls/sti/libsti.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015799dlls/sti/libsti.$IMPLIBEXT dlls/sti/libsti.cross.a: dlls/sti/sti.spec dlls/sti/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015800 @cd dlls/sti && \$(MAKE) \`basename \$@\`
15801dlls/sti dlls/sti/__install__ dlls/sti/__install-lib__ dlls/sti/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015802wine_fn_config_makefile dlls/sti "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015803test "x$enable_sti" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sti"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015804
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015805wine_fn_config_test dlls/sti/tests sti_test
15806wine_fn_config_makefile dlls/sti/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015807test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/sti/tests"
Damjan Jovanovicee1dd492009-09-26 17:59:54 +020015808
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015809wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/storage.dll16 dlls/storage.dll16/__install__ dlls/storage.dll16/__install-lib__ dlls/storage.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015810wine_fn_config_makefile dlls/storage.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015811test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/storage.dll16"
Alexandre Julliardf7fe2ed2009-03-11 17:03:10 +010015812
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015813wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/stress.dll16 dlls/stress.dll16/__install__ dlls/stress.dll16/__install-lib__ dlls/stress.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015814wine_fn_config_makefile dlls/stress.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015815test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/stress.dll16"
Alexandre Julliarde4085d72009-03-04 14:16:18 +010015816
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015817wine_fn_config_lib strmiids
15818wine_fn_config_makefile dlls/strmiids "dlls/Makeimplib.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015819test "x$enable_strmiids" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/strmiids"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015820
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015821wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/svrapi dlls/svrapi/__install__ dlls/svrapi/__install-lib__ dlls/svrapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015822wine_fn_config_makefile dlls/svrapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015823test "x$enable_svrapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/svrapi"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015824
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015825wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/sxs dlls/sxs/__install__ dlls/sxs/__install-lib__ dlls/sxs/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015826wine_fn_config_makefile dlls/sxs "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015827test "x$enable_sxs" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/sxs"
EA Durbin74977da2007-04-19 18:28:52 -050015828
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015829wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/system.drv16 dlls/system.drv16/__install__ dlls/system.drv16/__install-lib__ dlls/system.drv16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015830wine_fn_config_makefile dlls/system.drv16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015831test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/system.drv16"
Alexandre Julliard55b5e3a2009-09-28 19:56:10 +020015832
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015833wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/t2embed dlls/t2embed/__install__ dlls/t2embed/__install-lib__ dlls/t2embed/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015834wine_fn_config_makefile dlls/t2embed "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015835test "x$enable_t2embed" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/t2embed"
Austin Englishb03d07d2009-05-04 22:52:37 -050015836
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015837wine_fn_append_file ALL_IMPORT_LIBS "dlls/tapi32/libtapi32.$IMPLIBEXT"
15838wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/tapi32/libtapi32.$IMPLIBEXT dlls/tapi32/libtapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015839dlls/tapi32/libtapi32.$IMPLIBEXT dlls/tapi32/libtapi32.cross.a: dlls/tapi32/tapi32.spec dlls/tapi32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015840 @cd dlls/tapi32 && \$(MAKE) \`basename \$@\`
15841dlls/tapi32 dlls/tapi32/__install__ dlls/tapi32/__install-lib__ dlls/tapi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015842wine_fn_config_makefile dlls/tapi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015843test "x$enable_tapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/tapi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015844
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015845wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/toolhelp.dll16 dlls/toolhelp.dll16/__install__ dlls/toolhelp.dll16/__install-lib__ dlls/toolhelp.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015846wine_fn_config_makefile dlls/toolhelp.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015847test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/toolhelp.dll16"
Alexandre Julliardc1dbead2009-09-28 20:00:15 +020015848
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015849wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/traffic dlls/traffic/__install__ dlls/traffic/__install-lib__ dlls/traffic/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015850wine_fn_config_makefile dlls/traffic "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015851test "x$enable_traffic" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/traffic"
Austin English2de77982009-01-28 10:51:51 -060015852
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015853wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/twain.dll16 dlls/twain.dll16/__install__ dlls/twain.dll16/__install-lib__ dlls/twain.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015854wine_fn_config_makefile dlls/twain.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015855test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/twain.dll16"
Alexandre Julliard2b67a232009-03-23 20:34:02 +010015856
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015857wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/twain_32 dlls/twain_32/__install__ dlls/twain_32/__install-lib__ dlls/twain_32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015858wine_fn_config_makefile dlls/twain_32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015859test "x$enable_twain_32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/twain_32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015860
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015861wine_fn_config_test dlls/twain_32/tests twain_32_test
15862wine_fn_config_makefile dlls/twain_32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015863test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/twain_32/tests"
Jeremy White499603c2009-01-26 11:40:49 -060015864
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015865wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/typelib.dll16 dlls/typelib.dll16/__install__ dlls/typelib.dll16/__install-lib__ dlls/typelib.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015866wine_fn_config_makefile dlls/typelib.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015867test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/typelib.dll16"
Alexandre Julliard8a708952009-03-11 17:30:10 +010015868
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015869wine_fn_append_file ALL_IMPORT_LIBS "dlls/unicows/libunicows.$IMPLIBEXT"
15870wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/unicows/libunicows.$IMPLIBEXT dlls/unicows/libunicows.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015871dlls/unicows/libunicows.$IMPLIBEXT dlls/unicows/libunicows.cross.a: dlls/unicows/unicows.spec dlls/unicows/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015872 @cd dlls/unicows && \$(MAKE) \`basename \$@\`
15873dlls/unicows dlls/unicows/__install__ dlls/unicows/__install-lib__ dlls/unicows/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015874wine_fn_config_makefile dlls/unicows "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015875test "x$enable_unicows" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/unicows"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015876
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015877wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/updspapi dlls/updspapi/__install__ dlls/updspapi/__install-lib__ dlls/updspapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015878wine_fn_config_makefile dlls/updspapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015879test "x$enable_updspapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/updspapi"
Alexandre Julliardd7fd3082009-01-05 20:28:06 +010015880
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015881wine_fn_append_file ALL_IMPORT_LIBS "dlls/url/liburl.$IMPLIBEXT"
15882wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/url/liburl.$IMPLIBEXT dlls/url/liburl.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015883dlls/url/liburl.$IMPLIBEXT dlls/url/liburl.cross.a: dlls/url/url.spec dlls/url/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015884 @cd dlls/url && \$(MAKE) \`basename \$@\`
15885dlls/url dlls/url/__install__ dlls/url/__install-lib__ dlls/url/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015886wine_fn_config_makefile dlls/url "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015887test "x$enable_url" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/url"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015888
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015889wine_fn_append_file ALL_IMPORT_LIBS "dlls/urlmon/liburlmon.$IMPLIBEXT"
15890wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/urlmon/liburlmon.$IMPLIBEXT dlls/urlmon/liburlmon.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015891dlls/urlmon/liburlmon.$IMPLIBEXT dlls/urlmon/liburlmon.cross.a: dlls/urlmon/urlmon.spec dlls/urlmon/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015892 @cd dlls/urlmon && \$(MAKE) \`basename \$@\`
15893dlls/urlmon dlls/urlmon/__install__ dlls/urlmon/__install-lib__ dlls/urlmon/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015894wine_fn_config_makefile dlls/urlmon "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015895test "x$enable_urlmon" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/urlmon"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015896
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015897wine_fn_config_test dlls/urlmon/tests urlmon_test
15898wine_fn_config_makefile dlls/urlmon/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015899test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/urlmon/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015900
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015901wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/user.exe16 dlls/user.exe16/__install__ dlls/user.exe16/__install-lib__ dlls/user.exe16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015902wine_fn_config_makefile dlls/user.exe16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015903test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/user.exe16"
Alexandre Julliard8aa83d32009-12-23 20:01:37 +010015904
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015905wine_fn_append_file ALL_IMPORT_LIBS "dlls/user32/libuser32.$IMPLIBEXT"
15906wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/user32/libuser32.$IMPLIBEXT dlls/user32/libuser32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015907dlls/user32/libuser32.$IMPLIBEXT dlls/user32/libuser32.cross.a: dlls/user32/user32.spec dlls/user32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015908 @cd dlls/user32 && \$(MAKE) \`basename \$@\`
15909dlls/user32 dlls/user32/__install__ dlls/user32/__install-lib__ dlls/user32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015910wine_fn_config_makefile dlls/user32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015911test "x$enable_user32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/user32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015912
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015913wine_fn_config_test dlls/user32/tests user32_test
15914wine_fn_config_makefile dlls/user32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015915test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/user32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015916
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015917wine_fn_append_file ALL_IMPORT_LIBS "dlls/userenv/libuserenv.$IMPLIBEXT"
15918wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/userenv/libuserenv.$IMPLIBEXT dlls/userenv/libuserenv.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015919dlls/userenv/libuserenv.$IMPLIBEXT dlls/userenv/libuserenv.cross.a: dlls/userenv/userenv.spec dlls/userenv/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015920 @cd dlls/userenv && \$(MAKE) \`basename \$@\`
15921dlls/userenv dlls/userenv/__install__ dlls/userenv/__install-lib__ dlls/userenv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015922wine_fn_config_makefile dlls/userenv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015923test "x$enable_userenv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/userenv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015924
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015925wine_fn_config_test dlls/userenv/tests userenv_test
15926wine_fn_config_makefile dlls/userenv/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015927test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/userenv/tests"
Lei Zhangffb04572008-04-29 18:09:24 -070015928
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015929wine_fn_append_file ALL_IMPORT_LIBS "dlls/usp10/libusp10.$IMPLIBEXT"
15930wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/usp10/libusp10.$IMPLIBEXT dlls/usp10/libusp10.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015931dlls/usp10/libusp10.$IMPLIBEXT dlls/usp10/libusp10.cross.a: dlls/usp10/usp10.spec dlls/usp10/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015932 @cd dlls/usp10 && \$(MAKE) \`basename \$@\`
15933dlls/usp10 dlls/usp10/__install__ dlls/usp10/__install-lib__ dlls/usp10/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015934wine_fn_config_makefile dlls/usp10 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015935test "x$enable_usp10" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/usp10"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015936
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015937wine_fn_config_test dlls/usp10/tests usp10_test
15938wine_fn_config_makefile dlls/usp10/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015939test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/usp10/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015940
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015941wine_fn_config_lib uuid
15942wine_fn_config_makefile dlls/uuid "dlls/Makeimplib.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015943test "x$enable_uuid" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/uuid"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015944
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015945wine_fn_append_file ALL_IMPORT_LIBS "dlls/uxtheme/libuxtheme.$IMPLIBEXT"
15946wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/uxtheme/libuxtheme.$IMPLIBEXT dlls/uxtheme/libuxtheme.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015947dlls/uxtheme/libuxtheme.$IMPLIBEXT dlls/uxtheme/libuxtheme.cross.a: dlls/uxtheme/uxtheme.spec dlls/uxtheme/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015948 @cd dlls/uxtheme && \$(MAKE) \`basename \$@\`
15949dlls/uxtheme dlls/uxtheme/__install__ dlls/uxtheme/__install-lib__ dlls/uxtheme/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015950wine_fn_config_makefile dlls/uxtheme "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015951test "x$enable_uxtheme" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/uxtheme"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015952
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015953wine_fn_config_test dlls/uxtheme/tests uxtheme_test
15954wine_fn_config_makefile dlls/uxtheme/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015955test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/uxtheme/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015956
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015957wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vdhcp.vxd dlls/vdhcp.vxd/__install__ dlls/vdhcp.vxd/__install-lib__ dlls/vdhcp.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015958wine_fn_config_makefile dlls/vdhcp.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015959test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vdhcp.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015960
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015961wine_fn_append_file ALL_IMPORT_LIBS "dlls/vdmdbg/libvdmdbg.$IMPLIBEXT"
15962wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vdmdbg/libvdmdbg.$IMPLIBEXT dlls/vdmdbg/libvdmdbg.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015963dlls/vdmdbg/libvdmdbg.$IMPLIBEXT dlls/vdmdbg/libvdmdbg.cross.a: dlls/vdmdbg/vdmdbg.spec dlls/vdmdbg/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015964 @cd dlls/vdmdbg && \$(MAKE) \`basename \$@\`
15965dlls/vdmdbg dlls/vdmdbg/__install__ dlls/vdmdbg/__install-lib__ dlls/vdmdbg/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015966wine_fn_config_makefile dlls/vdmdbg "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015967test "x$enable_vdmdbg" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vdmdbg"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015968
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015969wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ver.dll16 dlls/ver.dll16/__install__ dlls/ver.dll16/__install-lib__ dlls/ver.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015970wine_fn_config_makefile dlls/ver.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015971test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ver.dll16"
Alexandre Julliard3ed59862009-10-01 13:57:08 +020015972
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015973wine_fn_append_file ALL_IMPORT_LIBS "dlls/version/libversion.$IMPLIBEXT"
15974wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/version/libversion.$IMPLIBEXT dlls/version/libversion.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010015975dlls/version/libversion.$IMPLIBEXT dlls/version/libversion.cross.a: dlls/version/version.spec dlls/version/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010015976 @cd dlls/version && \$(MAKE) \`basename \$@\`
15977dlls/version dlls/version/__install__ dlls/version/__install-lib__ dlls/version/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015978wine_fn_config_makefile dlls/version "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015979test "x$enable_version" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/version"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015980
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015981wine_fn_config_test dlls/version/tests version_test
15982wine_fn_config_makefile dlls/version/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015983test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/version/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015984
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015985wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vmm.vxd dlls/vmm.vxd/__install__ dlls/vmm.vxd/__install-lib__ dlls/vmm.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015986wine_fn_config_makefile dlls/vmm.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015987test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vmm.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015988
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015989wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vnbt.vxd dlls/vnbt.vxd/__install__ dlls/vnbt.vxd/__install-lib__ dlls/vnbt.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015990wine_fn_config_makefile dlls/vnbt.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015991test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vnbt.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015992
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015993wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vnetbios.vxd dlls/vnetbios.vxd/__install__ dlls/vnetbios.vxd/__install-lib__ dlls/vnetbios.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015994wine_fn_config_makefile dlls/vnetbios.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015995test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vnetbios.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010015996
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015997wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vtdapi.vxd dlls/vtdapi.vxd/__install__ dlls/vtdapi.vxd/__install-lib__ dlls/vtdapi.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010015998wine_fn_config_makefile dlls/vtdapi.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010015999test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vtdapi.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016000
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016001wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/vwin32.vxd dlls/vwin32.vxd/__install__ dlls/vwin32.vxd/__install-lib__ dlls/vwin32.vxd/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016002wine_fn_config_makefile dlls/vwin32.vxd "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016003test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/vwin32.vxd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016004
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016005wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/w32skrnl dlls/w32skrnl/__install__ dlls/w32skrnl/__install-lib__ dlls/w32skrnl/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016006wine_fn_config_makefile dlls/w32skrnl "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016007test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/w32skrnl"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016008
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016009wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/w32sys.dll16 dlls/w32sys.dll16/__install__ dlls/w32sys.dll16/__install-lib__ dlls/w32sys.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016010wine_fn_config_makefile dlls/w32sys.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016011test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/w32sys.dll16"
Alexandre Julliardb4d46252009-03-24 09:42:02 +010016012
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016013wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wbemprox dlls/wbemprox/__install__ dlls/wbemprox/__install-lib__ dlls/wbemprox/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016014wine_fn_config_makefile dlls/wbemprox "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016015test "x$enable_wbemprox" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wbemprox"
Austin Englishe10f24e2009-05-06 07:51:21 -050016016
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016017wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wiaservc dlls/wiaservc/__install__ dlls/wiaservc/__install-lib__ dlls/wiaservc/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016018wine_fn_config_makefile dlls/wiaservc "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016019test "x$enable_wiaservc" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wiaservc"
Damjan Jovanovic32233372009-10-29 21:58:42 +020016020
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016021wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/win32s16.dll16 dlls/win32s16.dll16/__install__ dlls/win32s16.dll16/__install-lib__ dlls/win32s16.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016022wine_fn_config_makefile dlls/win32s16.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016023test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/win32s16.dll16"
Alexandre Julliard2a745fe2009-03-24 09:38:01 +010016024
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016025wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/win87em.dll16 dlls/win87em.dll16/__install__ dlls/win87em.dll16/__install-lib__ dlls/win87em.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016026wine_fn_config_makefile dlls/win87em.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016027test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/win87em.dll16"
Alexandre Julliarda9e81622009-03-04 14:19:49 +010016028
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016029wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winaspi.dll16 dlls/winaspi.dll16/__install__ dlls/winaspi.dll16/__install-lib__ dlls/winaspi.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016030wine_fn_config_makefile dlls/winaspi.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016031test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winaspi.dll16"
Alexandre Julliarda2ae7dd2009-03-23 20:33:34 +010016032
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016033wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/windebug.dll16 dlls/windebug.dll16/__install__ dlls/windebug.dll16/__install-lib__ dlls/windebug.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016034wine_fn_config_makefile dlls/windebug.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016035test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/windebug.dll16"
Alexandre Julliard6cebffc2009-03-04 14:24:30 +010016036
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016037wine_fn_append_file ALL_IMPORT_LIBS "dlls/windowscodecs/libwindowscodecs.$IMPLIBEXT"
16038wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/windowscodecs/libwindowscodecs.$IMPLIBEXT dlls/windowscodecs/libwindowscodecs.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016039dlls/windowscodecs/libwindowscodecs.$IMPLIBEXT dlls/windowscodecs/libwindowscodecs.cross.a: dlls/windowscodecs/windowscodecs.spec dlls/windowscodecs/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016040 @cd dlls/windowscodecs && \$(MAKE) \`basename \$@\`
16041dlls/windowscodecs dlls/windowscodecs/__install__ dlls/windowscodecs/__install-lib__ dlls/windowscodecs/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016042wine_fn_config_makefile dlls/windowscodecs "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016043test "x$enable_windowscodecs" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/windowscodecs"
Vincent Povirked4cde22009-05-28 13:36:54 -050016044
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016045wine_fn_config_test dlls/windowscodecs/tests windowscodecs_test
16046wine_fn_config_makefile dlls/windowscodecs/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016047test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/windowscodecs/tests"
Vincent Povirkb19e3292009-06-10 15:57:15 -050016048
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016049wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winealsa.drv dlls/winealsa.drv/__install__ dlls/winealsa.drv/__install-lib__ dlls/winealsa.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016050wine_fn_config_makefile dlls/winealsa.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016051test "x$enable_winealsa_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winealsa.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016052
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016053wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineaudioio.drv dlls/wineaudioio.drv/__install__ dlls/wineaudioio.drv/__install-lib__ dlls/wineaudioio.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016054wine_fn_config_makefile dlls/wineaudioio.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016055test "x$enable_wineaudioio_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineaudioio.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016056
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016057wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winecoreaudio.drv dlls/winecoreaudio.drv/__install__ dlls/winecoreaudio.drv/__install-lib__ dlls/winecoreaudio.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016058wine_fn_config_makefile dlls/winecoreaudio.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016059test "x$enable_winecoreaudio_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winecoreaudio.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016060
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016061wine_fn_config_lib winecrt0
16062wine_fn_config_makefile dlls/winecrt0 "dlls/Makeimplib.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016063test "x$enable_winecrt0" != xno && wine_fn_append_file ALL_STATICLIB_DIRS "dlls/winecrt0"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016064
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016065wine_fn_append_file ALL_IMPORT_LIBS "dlls/wined3d/libwined3d.$IMPLIBEXT"
16066wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wined3d/libwined3d.$IMPLIBEXT dlls/wined3d/libwined3d.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016067dlls/wined3d/libwined3d.$IMPLIBEXT dlls/wined3d/libwined3d.cross.a: dlls/wined3d/wined3d.spec dlls/wined3d/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016068 @cd dlls/wined3d && \$(MAKE) \`basename \$@\`
16069dlls/wined3d dlls/wined3d/__install__ dlls/wined3d/__install-lib__ dlls/wined3d/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016070wine_fn_config_makefile dlls/wined3d "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016071test "x$enable_wined3d" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wined3d"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016072
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016073wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineesd.drv dlls/wineesd.drv/__install__ dlls/wineesd.drv/__install-lib__ dlls/wineesd.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016074wine_fn_config_makefile dlls/wineesd.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016075test "x$enable_wineesd_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineesd.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016076
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016077wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winejack.drv dlls/winejack.drv/__install__ dlls/winejack.drv/__install-lib__ dlls/winejack.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016078wine_fn_config_makefile dlls/winejack.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016079test "x$enable_winejack_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winejack.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016080
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016081wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winejoystick.drv dlls/winejoystick.drv/__install__ dlls/winejoystick.drv/__install-lib__ dlls/winejoystick.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016082wine_fn_config_makefile dlls/winejoystick.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016083test "x$enable_winejoystick_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winejoystick.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016084
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016085wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winemapi dlls/winemapi/__install__ dlls/winemapi/__install-lib__ dlls/winemapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016086wine_fn_config_makefile dlls/winemapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016087test "x$enable_winemapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winemapi"
Owen Rudge38cb7be2009-12-16 10:44:28 -060016088
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016089wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winemp3.acm dlls/winemp3.acm/__install__ dlls/winemp3.acm/__install-lib__ dlls/winemp3.acm/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016090wine_fn_config_makefile dlls/winemp3.acm "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016091test "x$enable_winemp3_acm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winemp3.acm"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016092
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016093wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winenas.drv dlls/winenas.drv/__install__ dlls/winenas.drv/__install-lib__ dlls/winenas.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016094wine_fn_config_makefile dlls/winenas.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016095test "x$enable_winenas_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winenas.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016096
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016097wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineoss.drv dlls/wineoss.drv/__install__ dlls/wineoss.drv/__install-lib__ dlls/wineoss.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016098wine_fn_config_makefile dlls/wineoss.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016099test "x$enable_wineoss_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineoss.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016100
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016101wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineps.drv dlls/wineps.drv/__install__ dlls/wineps.drv/__install-lib__ dlls/wineps.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016102wine_fn_config_makefile dlls/wineps.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016103test "x$enable_wineps_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineps.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016104
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016105wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wineps16.drv16 dlls/wineps16.drv16/__install__ dlls/wineps16.drv16/__install-lib__ dlls/wineps16.drv16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016106wine_fn_config_makefile dlls/wineps16.drv16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016107test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wineps16.drv16"
Alexandre Julliardac2a5092009-10-01 19:44:17 +020016108
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016109wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winequartz.drv dlls/winequartz.drv/__install__ dlls/winequartz.drv/__install-lib__ dlls/winequartz.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016110wine_fn_config_makefile dlls/winequartz.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016111test "x$enable_winequartz_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winequartz.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016112
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016113wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winex11.drv dlls/winex11.drv/__install__ dlls/winex11.drv/__install-lib__ dlls/winex11.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016114wine_fn_config_makefile dlls/winex11.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016115test "x$enable_winex11_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winex11.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016116
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016117wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wing.dll16 dlls/wing.dll16/__install__ dlls/wing.dll16/__install-lib__ dlls/wing.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016118wine_fn_config_makefile dlls/wing.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016119test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wing.dll16"
Alexandre Julliard6ad95182009-09-26 13:32:25 +020016120
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016121wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wing32 dlls/wing32/__install__ dlls/wing32/__install-lib__ dlls/wing32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016122wine_fn_config_makefile dlls/wing32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016123test "x$enable_wing32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wing32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016124
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016125wine_fn_append_file ALL_IMPORT_LIBS "dlls/winhttp/libwinhttp.$IMPLIBEXT"
16126wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winhttp/libwinhttp.$IMPLIBEXT dlls/winhttp/libwinhttp.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016127dlls/winhttp/libwinhttp.$IMPLIBEXT dlls/winhttp/libwinhttp.cross.a: dlls/winhttp/winhttp.spec dlls/winhttp/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016128 @cd dlls/winhttp && \$(MAKE) \`basename \$@\`
16129dlls/winhttp dlls/winhttp/__install__ dlls/winhttp/__install-lib__ dlls/winhttp/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016130wine_fn_config_makefile dlls/winhttp "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016131test "x$enable_winhttp" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winhttp"
Jacek Caban21572962007-07-31 00:54:42 +020016132
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016133wine_fn_config_test dlls/winhttp/tests winhttp_test
16134wine_fn_config_makefile dlls/winhttp/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016135test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/winhttp/tests"
Zac Brownb2be8402008-07-17 17:37:23 -070016136
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016137wine_fn_append_file ALL_IMPORT_LIBS "dlls/wininet/libwininet.$IMPLIBEXT"
16138wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wininet/libwininet.$IMPLIBEXT dlls/wininet/libwininet.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016139dlls/wininet/libwininet.$IMPLIBEXT dlls/wininet/libwininet.cross.a: dlls/wininet/wininet.spec dlls/wininet/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016140 @cd dlls/wininet && \$(MAKE) \`basename \$@\`
16141dlls/wininet dlls/wininet/__install__ dlls/wininet/__install-lib__ dlls/wininet/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016142wine_fn_config_makefile dlls/wininet "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016143test "x$enable_wininet" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wininet"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016144
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016145wine_fn_config_test dlls/wininet/tests wininet_test
16146wine_fn_config_makefile dlls/wininet/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016147test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/wininet/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016148
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016149wine_fn_append_file ALL_IMPORT_LIBS "dlls/winmm/libwinmm.$IMPLIBEXT"
16150wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winmm/libwinmm.$IMPLIBEXT dlls/winmm/libwinmm.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016151dlls/winmm/libwinmm.$IMPLIBEXT dlls/winmm/libwinmm.cross.a: dlls/winmm/winmm.spec dlls/winmm/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016152 @cd dlls/winmm && \$(MAKE) \`basename \$@\`
16153dlls/winmm dlls/winmm/__install__ dlls/winmm/__install-lib__ dlls/winmm/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016154wine_fn_config_makefile dlls/winmm "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016155test "x$enable_winmm" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winmm"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016156
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016157wine_fn_config_test dlls/winmm/tests winmm_test
16158wine_fn_config_makefile dlls/winmm/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016159test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/winmm/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016160
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016161wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winnls.dll16 dlls/winnls.dll16/__install__ dlls/winnls.dll16/__install-lib__ dlls/winnls.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016162wine_fn_config_makefile dlls/winnls.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016163test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winnls.dll16"
Alexandre Julliard9bf9eb02009-03-24 09:31:03 +010016164
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016165wine_fn_append_file ALL_IMPORT_LIBS "dlls/winnls32/libwinnls32.$IMPLIBEXT"
16166wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winnls32/libwinnls32.$IMPLIBEXT dlls/winnls32/libwinnls32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016167dlls/winnls32/libwinnls32.$IMPLIBEXT dlls/winnls32/libwinnls32.cross.a: dlls/winnls32/winnls32.spec dlls/winnls32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016168 @cd dlls/winnls32 && \$(MAKE) \`basename \$@\`
16169dlls/winnls32 dlls/winnls32/__install__ dlls/winnls32/__install-lib__ dlls/winnls32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016170wine_fn_config_makefile dlls/winnls32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016171test "x$enable_winnls32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winnls32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016172
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016173wine_fn_append_file ALL_IMPORT_LIBS "dlls/winscard/libwinscard.$IMPLIBEXT"
16174wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winscard/libwinscard.$IMPLIBEXT dlls/winscard/libwinscard.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016175dlls/winscard/libwinscard.$IMPLIBEXT dlls/winscard/libwinscard.cross.a: dlls/winscard/winscard.spec dlls/winscard/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016176 @cd dlls/winscard && \$(MAKE) \`basename \$@\`
16177dlls/winscard dlls/winscard/__install__ dlls/winscard/__install-lib__ dlls/winscard/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016178wine_fn_config_makefile dlls/winscard "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016179test "x$enable_winscard" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winscard"
Mounir IDRASSI23df68d2007-05-23 00:51:46 +020016180
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016181wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winsock.dll16 dlls/winsock.dll16/__install__ dlls/winsock.dll16/__install-lib__ dlls/winsock.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016182wine_fn_config_makefile dlls/winsock.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016183test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winsock.dll16"
Alexandre Julliard7dc9ea82009-09-29 20:05:26 +020016184
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016185wine_fn_append_file ALL_IMPORT_LIBS "dlls/winspool.drv/libwinspool.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/libwinspool.$IMPLIBEXT"
16186wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/winspool.drv/libwinspool.$IMPLIBEXT dlls/winspool.drv/libwinspool.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard3be8b402010-02-10 19:39:38 +010016187dlls/libwinspool.$IMPLIBEXT: dlls/winspool.drv/libwinspool.$IMPLIBEXT
16188 \$(RM) \$@ && \$(LN_S) winspool.drv/libwinspool.$IMPLIBEXT \$@
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016189dlls/libwinspool.cross.a: dlls/winspool.drv/libwinspool.cross.a
Alexandre Julliard950a0f82010-01-26 21:10:14 +010016190 \$(RM) \$@ && \$(LN_S) winspool.drv/libwinspool.cross.a \$@
Alexandre Julliard950a0f82010-01-26 21:10:14 +010016191clean::
Alexandre Julliard3be8b402010-02-10 19:39:38 +010016192 \$(RM) dlls/libwinspool.$IMPLIBEXT
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016193dlls/winspool.drv/libwinspool.$IMPLIBEXT dlls/winspool.drv/libwinspool.cross.a: dlls/winspool.drv/winspool.drv.spec dlls/winspool.drv/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016194 @cd dlls/winspool.drv && \$(MAKE) \`basename \$@\`
16195dlls/winspool.drv dlls/winspool.drv/__install__ dlls/winspool.drv/__install-lib__ dlls/winspool.drv/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016196wine_fn_config_makefile dlls/winspool.drv "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016197test "x$enable_winspool_drv" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/winspool.drv"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016198
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016199wine_fn_config_test dlls/winspool.drv/tests winspool.drv_test
16200wine_fn_config_makefile dlls/winspool.drv/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016201test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/winspool.drv/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016202
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016203wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wintab.dll16 dlls/wintab.dll16/__install__ dlls/wintab.dll16/__install-lib__ dlls/wintab.dll16/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016204wine_fn_config_makefile dlls/wintab.dll16 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016205test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wintab.dll16"
Alexandre Julliardd540fa22009-03-23 20:33:00 +010016206
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016207wine_fn_append_file ALL_IMPORT_LIBS "dlls/wintab32/libwintab32.$IMPLIBEXT"
16208wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wintab32/libwintab32.$IMPLIBEXT dlls/wintab32/libwintab32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016209dlls/wintab32/libwintab32.$IMPLIBEXT dlls/wintab32/libwintab32.cross.a: dlls/wintab32/wintab32.spec dlls/wintab32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016210 @cd dlls/wintab32 && \$(MAKE) \`basename \$@\`
16211dlls/wintab32 dlls/wintab32/__install__ dlls/wintab32/__install-lib__ dlls/wintab32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016212wine_fn_config_makefile dlls/wintab32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016213test "x$enable_wintab32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wintab32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016214
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016215wine_fn_config_test dlls/wintab32/tests wintab32_test
16216wine_fn_config_makefile dlls/wintab32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016217test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/wintab32/tests"
John Klehmb4c5a622009-08-02 16:23:35 -050016218
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016219wine_fn_append_file ALL_IMPORT_LIBS "dlls/wintrust/libwintrust.$IMPLIBEXT"
16220wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wintrust/libwintrust.$IMPLIBEXT dlls/wintrust/libwintrust.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016221dlls/wintrust/libwintrust.$IMPLIBEXT dlls/wintrust/libwintrust.cross.a: dlls/wintrust/wintrust.spec dlls/wintrust/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016222 @cd dlls/wintrust && \$(MAKE) \`basename \$@\`
16223dlls/wintrust dlls/wintrust/__install__ dlls/wintrust/__install-lib__ dlls/wintrust/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016224wine_fn_config_makefile dlls/wintrust "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016225test "x$enable_wintrust" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wintrust"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016226
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016227wine_fn_config_test dlls/wintrust/tests wintrust_test
16228wine_fn_config_makefile dlls/wintrust/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016229test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/wintrust/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016230
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016231wine_fn_append_file ALL_IMPORT_LIBS "dlls/wldap32/libwldap32.$IMPLIBEXT"
16232wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wldap32/libwldap32.$IMPLIBEXT dlls/wldap32/libwldap32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016233dlls/wldap32/libwldap32.$IMPLIBEXT dlls/wldap32/libwldap32.cross.a: dlls/wldap32/wldap32.spec dlls/wldap32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016234 @cd dlls/wldap32 && \$(MAKE) \`basename \$@\`
16235dlls/wldap32 dlls/wldap32/__install__ dlls/wldap32/__install-lib__ dlls/wldap32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016236wine_fn_config_makefile dlls/wldap32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016237test "x$enable_wldap32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wldap32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016238
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016239wine_fn_config_test dlls/wldap32/tests wldap32_test
16240wine_fn_config_makefile dlls/wldap32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016241test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/wldap32/tests"
Hans Leidekkerb9813872008-10-06 15:47:28 +020016242
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016243wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wmi dlls/wmi/__install__ dlls/wmi/__install-lib__ dlls/wmi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016244wine_fn_config_makefile dlls/wmi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016245test "x$enable_wmi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wmi"
Marcus Meissner4328d922008-01-16 15:03:03 +010016246
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016247wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wmiutils dlls/wmiutils/__install__ dlls/wmiutils/__install-lib__ dlls/wmiutils/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016248wine_fn_config_makefile dlls/wmiutils "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016249test "x$enable_wmiutils" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wmiutils"
Hans Leidekkerdd1d8ca2009-07-14 12:27:46 +020016250
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016251wine_fn_append_file ALL_IMPORT_LIBS "dlls/wnaspi32/libwnaspi32.$IMPLIBEXT"
16252wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wnaspi32/libwnaspi32.$IMPLIBEXT dlls/wnaspi32/libwnaspi32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016253dlls/wnaspi32/libwnaspi32.$IMPLIBEXT dlls/wnaspi32/libwnaspi32.cross.a: dlls/wnaspi32/wnaspi32.spec dlls/wnaspi32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016254 @cd dlls/wnaspi32 && \$(MAKE) \`basename \$@\`
16255dlls/wnaspi32 dlls/wnaspi32/__install__ dlls/wnaspi32/__install-lib__ dlls/wnaspi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016256wine_fn_config_makefile dlls/wnaspi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016257test "x$enable_wnaspi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wnaspi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016258
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016259test "x$enable_win16" != xno && wine_fn_append_file ALL_IMPORT_LIBS "dlls/wow32/libwow32.$IMPLIBEXT"
16260wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wow32/libwow32.$IMPLIBEXT dlls/wow32/libwow32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016261dlls/wow32/libwow32.$IMPLIBEXT dlls/wow32/libwow32.cross.a: dlls/wow32/wow32.spec dlls/wow32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016262 @cd dlls/wow32 && \$(MAKE) \`basename \$@\`
16263dlls/wow32 dlls/wow32/__install__ dlls/wow32/__install-lib__ dlls/wow32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016264wine_fn_config_makefile dlls/wow32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016265test "x$enable_win16" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wow32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016266
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016267wine_fn_append_file ALL_IMPORT_LIBS "dlls/ws2_32/libws2_32.$IMPLIBEXT"
16268wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/ws2_32/libws2_32.$IMPLIBEXT dlls/ws2_32/libws2_32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016269dlls/ws2_32/libws2_32.$IMPLIBEXT dlls/ws2_32/libws2_32.cross.a: dlls/ws2_32/ws2_32.spec dlls/ws2_32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016270 @cd dlls/ws2_32 && \$(MAKE) \`basename \$@\`
16271dlls/ws2_32 dlls/ws2_32/__install__ dlls/ws2_32/__install-lib__ dlls/ws2_32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016272wine_fn_config_makefile dlls/ws2_32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016273test "x$enable_ws2_32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/ws2_32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016274
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016275wine_fn_config_test dlls/ws2_32/tests ws2_32_test
16276wine_fn_config_makefile dlls/ws2_32/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016277test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/ws2_32/tests"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016278
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016279wine_fn_append_file ALL_IMPORT_LIBS "dlls/wsock32/libwsock32.$IMPLIBEXT"
16280wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wsock32/libwsock32.$IMPLIBEXT dlls/wsock32/libwsock32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016281dlls/wsock32/libwsock32.$IMPLIBEXT dlls/wsock32/libwsock32.cross.a: dlls/wsock32/wsock32.spec dlls/wsock32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016282 @cd dlls/wsock32 && \$(MAKE) \`basename \$@\`
16283dlls/wsock32 dlls/wsock32/__install__ dlls/wsock32/__install-lib__ dlls/wsock32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016284wine_fn_config_makefile dlls/wsock32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016285test "x$enable_wsock32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wsock32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016286
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016287wine_fn_append_file ALL_IMPORT_LIBS "dlls/wtsapi32/libwtsapi32.$IMPLIBEXT"
16288wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wtsapi32/libwtsapi32.$IMPLIBEXT dlls/wtsapi32/libwtsapi32.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016289dlls/wtsapi32/libwtsapi32.$IMPLIBEXT dlls/wtsapi32/libwtsapi32.cross.a: dlls/wtsapi32/wtsapi32.spec dlls/wtsapi32/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016290 @cd dlls/wtsapi32 && \$(MAKE) \`basename \$@\`
16291dlls/wtsapi32 dlls/wtsapi32/__install__ dlls/wtsapi32/__install-lib__ dlls/wtsapi32/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016292wine_fn_config_makefile dlls/wtsapi32 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016293test "x$enable_wtsapi32" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wtsapi32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016294
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016295wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wuapi dlls/wuapi/__install__ dlls/wuapi/__install-lib__ dlls/wuapi/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016296wine_fn_config_makefile dlls/wuapi "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016297test "x$enable_wuapi" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wuapi"
Hans Leidekker5b6551a2008-12-16 16:41:43 +010016298
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016299wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/wuaueng dlls/wuaueng/__install__ dlls/wuaueng/__install-lib__ dlls/wuaueng/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016300wine_fn_config_makefile dlls/wuaueng "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016301test "x$enable_wuaueng" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/wuaueng"
Louis Lenders61613672009-10-26 12:49:41 +010016302
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016303wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput1_1 dlls/xinput1_1/__install__ dlls/xinput1_1/__install-lib__ dlls/xinput1_1/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016304wine_fn_config_makefile dlls/xinput1_1 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016305test "x$enable_xinput1_1" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xinput1_1"
Andrew Fenn68ede592008-11-10 16:29:29 +000016306
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016307wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput1_2 dlls/xinput1_2/__install__ dlls/xinput1_2/__install-lib__ dlls/xinput1_2/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016308wine_fn_config_makefile dlls/xinput1_2 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016309test "x$enable_xinput1_2" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xinput1_2"
Andrew Fenn85a4a1d2008-11-10 16:30:13 +000016310
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016311wine_fn_append_file ALL_IMPORT_LIBS "dlls/xinput1_3/libxinput.$IMPLIBEXT" && wine_fn_append_file ALL_IMPORT_LIBS "dlls/libxinput.$IMPLIBEXT"
16312wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput1_3/libxinput.$IMPLIBEXT dlls/xinput1_3/libxinput.cross.a: tools/widl tools/winebuild tools/winegcc include
Alexandre Julliard3be8b402010-02-10 19:39:38 +010016313dlls/libxinput.$IMPLIBEXT: dlls/xinput1_3/libxinput.$IMPLIBEXT
16314 \$(RM) \$@ && \$(LN_S) xinput1_3/libxinput.$IMPLIBEXT \$@
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016315dlls/libxinput.cross.a: dlls/xinput1_3/libxinput.cross.a
Alexandre Julliard950a0f82010-01-26 21:10:14 +010016316 \$(RM) \$@ && \$(LN_S) xinput1_3/libxinput.cross.a \$@
Alexandre Julliard950a0f82010-01-26 21:10:14 +010016317clean::
Alexandre Julliard3be8b402010-02-10 19:39:38 +010016318 \$(RM) dlls/libxinput.$IMPLIBEXT
Alexandre Julliard86ab2972010-02-10 10:57:57 +010016319dlls/xinput1_3/libxinput.$IMPLIBEXT dlls/xinput1_3/libxinput.cross.a: dlls/xinput1_3/xinput1_3.spec dlls/xinput1_3/Makefile
Alexandre Julliard5acb4312010-02-10 19:32:31 +010016320 @cd dlls/xinput1_3 && \$(MAKE) \`basename \$@\`
16321dlls/xinput1_3 dlls/xinput1_3/__install__ dlls/xinput1_3/__install-lib__ dlls/xinput1_3/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016322wine_fn_config_makefile dlls/xinput1_3 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016323test "x$enable_xinput1_3" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xinput1_3"
Andrew Fenn457a22d2008-11-10 16:22:35 +000016324
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016325wine_fn_config_test dlls/xinput1_3/tests xinput1_3_test
16326wine_fn_config_makefile dlls/xinput1_3/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016327test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/xinput1_3/tests"
Andrew Fenn29789a82008-11-10 16:32:33 +000016328
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016329wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xinput9_1_0 dlls/xinput9_1_0/__install__ dlls/xinput9_1_0/__install-lib__ dlls/xinput9_1_0/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016330wine_fn_config_makefile dlls/xinput9_1_0 "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016331test "x$enable_xinput9_1_0" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xinput9_1_0"
Andrew Fennc4cd3bc2008-11-10 16:26:05 +000016332
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016333wine_fn_append_rule ALL_MAKEFILE_DEPENDS "dlls/xmllite dlls/xmllite/__install__ dlls/xmllite/__install-lib__ dlls/xmllite/__install-dev__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016334wine_fn_config_makefile dlls/xmllite "dlls/Makedll.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016335test "x$enable_xmllite" != xno && wine_fn_append_file ALL_DLL_DIRS "dlls/xmllite"
Christian Costa2f4423e2009-04-20 21:22:15 +020016336
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016337wine_fn_config_test dlls/xmllite/tests xmllite_test
16338wine_fn_config_makefile dlls/xmllite/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016339test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "dlls/xmllite/tests"
Nikolay Sivov80a546c2010-01-19 00:05:53 +030016340
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016341wine_fn_config_makefile documentation "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016342test "x$enable_documentation" != xno && wine_fn_append_file ALL_TOP_DIRS "documentation"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016343
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016344wine_fn_config_makefile fonts "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016345test "x$enable_fonts" != xno && wine_fn_append_file ALL_TOP_DIRS "fonts"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016346
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016347wine_fn_config_makefile include "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016348test "x$enable_include" != xno && wine_fn_append_file ALL_TOP_DIRS "include"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016349
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016350wine_fn_config_makefile libs/port "Make.rules \$(MAKEDEP)"
Alexandre Julliard49163da2008-08-25 12:02:27 +020016351
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016352
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016353wine_fn_config_makefile libs/wine "Make.rules \$(MAKEDEP)"
Alexandre Julliard49163da2008-08-25 12:02:27 +020016354
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016355
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016356wine_fn_config_makefile libs/wpp "Make.rules \$(MAKEDEP)"
Alexandre Julliard49163da2008-08-25 12:02:27 +020016357
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016358
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016359wine_fn_config_makefile loader "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016360test "x$enable_loader" != xno && wine_fn_append_file ALL_TOP_DIRS "loader"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016361
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016362wine_fn_config_makefile programs "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016363test "x$enable_programs" != xno && wine_fn_append_file ALL_TOP_DIRS "programs"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016364
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016365wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/cacls programs/cacls/__install__ programs/cacls/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016366wine_fn_config_makefile programs/cacls "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016367test "x$enable_cacls" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/cacls" && wine_fn_append_file ALL_INSTALL_DIRS "programs/cacls"
Andrey Turkinc0f4fc42009-01-11 22:36:53 +030016368
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016369wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/clock programs/clock/__install__ programs/clock/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016370wine_fn_config_makefile programs/clock "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016371test "x$enable_clock" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/clock" && wine_fn_append_file ALL_INSTALL_DIRS "programs/clock"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016372
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016373wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/cmd programs/cmd/__install__ programs/cmd/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016374wine_fn_config_makefile programs/cmd "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016375test "x$enable_cmd" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/cmd" && wine_fn_append_file ALL_INSTALL_DIRS "programs/cmd"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016376
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016377wine_fn_config_test programs/cmd/tests cmd.exe_test
16378wine_fn_config_makefile programs/cmd/tests "Maketest.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016379test "x$enable_tests" != xno && wine_fn_append_file ALL_TEST_DIRS "programs/cmd/tests"
Jacek Caban28a4a7b2010-02-09 19:11:15 +010016380
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016381wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/cmdlgtst programs/cmdlgtst/__install__ programs/cmdlgtst/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016382wine_fn_config_makefile programs/cmdlgtst "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016383test "x$enable_cmdlgtst" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/cmdlgtst"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016384
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016385wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/control programs/control/__install__ programs/control/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016386wine_fn_config_makefile programs/control "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016387test "x$enable_control" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/control" && wine_fn_append_file ALL_INSTALL_DIRS "programs/control"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016388
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016389wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/dxdiag programs/dxdiag/__install__ programs/dxdiag/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016390wine_fn_config_makefile programs/dxdiag "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016391test "x$enable_dxdiag" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/dxdiag" && wine_fn_append_file ALL_INSTALL_DIRS "programs/dxdiag"
Austin Englishb3fb7932009-08-24 11:18:26 -050016392
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016393wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/eject programs/eject/__install__ programs/eject/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016394wine_fn_config_makefile programs/eject "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016395test "x$enable_eject" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/eject" && wine_fn_append_file ALL_INSTALL_DIRS "programs/eject"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016396
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016397wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/expand programs/expand/__install__ programs/expand/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016398wine_fn_config_makefile programs/expand "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016399test "x$enable_expand" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/expand" && wine_fn_append_file ALL_INSTALL_DIRS "programs/expand"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016400
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016401wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/explorer programs/explorer/__install__ programs/explorer/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016402wine_fn_config_makefile programs/explorer "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016403test "x$enable_explorer" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/explorer" && wine_fn_append_file ALL_INSTALL_DIRS "programs/explorer"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016404
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016405wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/extrac32 programs/extrac32/__install__ programs/extrac32/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016406wine_fn_config_makefile programs/extrac32 "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016407test "x$enable_extrac32" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/extrac32" && wine_fn_append_file ALL_INSTALL_DIRS "programs/extrac32"
Ilya Shpigor44a828592009-10-22 11:10:16 +040016408
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016409wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/hh programs/hh/__install__ programs/hh/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016410wine_fn_config_makefile programs/hh "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016411test "x$enable_hh" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/hh" && wine_fn_append_file ALL_INSTALL_DIRS "programs/hh"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016412
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016413wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/icinfo programs/icinfo/__install__ programs/icinfo/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016414wine_fn_config_makefile programs/icinfo "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016415test "x$enable_icinfo" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/icinfo" && wine_fn_append_file ALL_INSTALL_DIRS "programs/icinfo"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016416
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016417wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/iexplore programs/iexplore/__install__ programs/iexplore/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016418wine_fn_config_makefile programs/iexplore "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016419test "x$enable_iexplore" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/iexplore" && wine_fn_append_file ALL_INSTALL_DIRS "programs/iexplore"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016420
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016421wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/lodctr programs/lodctr/__install__ programs/lodctr/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016422wine_fn_config_makefile programs/lodctr "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016423test "x$enable_lodctr" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/lodctr" && wine_fn_append_file ALL_INSTALL_DIRS "programs/lodctr"
Andrey Turkin347272b2009-01-28 19:56:25 +030016424
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016425wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/mshta programs/mshta/__install__ programs/mshta/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016426wine_fn_config_makefile programs/mshta "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016427test "x$enable_mshta" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/mshta" && wine_fn_append_file ALL_INSTALL_DIRS "programs/mshta"
Austin Englishe64f7522009-10-29 20:55:12 -050016428
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016429wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/msiexec programs/msiexec/__install__ programs/msiexec/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016430wine_fn_config_makefile programs/msiexec "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016431test "x$enable_msiexec" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/msiexec" && wine_fn_append_file ALL_INSTALL_DIRS "programs/msiexec" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/msiexec"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016432
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016433wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/net programs/net/__install__ programs/net/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016434wine_fn_config_makefile programs/net "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016435test "x$enable_net" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/net" && wine_fn_append_file ALL_INSTALL_DIRS "programs/net"
Tim Schwartz451616e2007-05-02 12:30:19 -050016436
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016437wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/notepad programs/notepad/__install__ programs/notepad/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016438wine_fn_config_makefile programs/notepad "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016439test "x$enable_notepad" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/notepad" && wine_fn_append_file ALL_INSTALL_DIRS "programs/notepad" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/notepad"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016440
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016441wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/oleview programs/oleview/__install__ programs/oleview/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016442wine_fn_config_makefile programs/oleview "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016443test "x$enable_oleview" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/oleview" && wine_fn_append_file ALL_INSTALL_DIRS "programs/oleview"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016444
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016445wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/progman programs/progman/__install__ programs/progman/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016446wine_fn_config_makefile programs/progman "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016447test "x$enable_progman" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/progman" && wine_fn_append_file ALL_INSTALL_DIRS "programs/progman"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016448
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016449wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/reg programs/reg/__install__ programs/reg/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016450wine_fn_config_makefile programs/reg "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016451test "x$enable_reg" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/reg" && wine_fn_append_file ALL_INSTALL_DIRS "programs/reg"
Andrew Riedi2087ad42008-03-18 23:36:28 -070016452
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016453wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/regedit programs/regedit/__install__ programs/regedit/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016454wine_fn_config_makefile programs/regedit "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016455test "x$enable_regedit" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/regedit" && wine_fn_append_file ALL_INSTALL_DIRS "programs/regedit" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/regedit"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016456
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016457wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/regsvr32 programs/regsvr32/__install__ programs/regsvr32/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016458wine_fn_config_makefile programs/regsvr32 "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016459test "x$enable_regsvr32" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/regsvr32" && wine_fn_append_file ALL_INSTALL_DIRS "programs/regsvr32" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/regsvr32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016460
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016461wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/rpcss programs/rpcss/__install__ programs/rpcss/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016462wine_fn_config_makefile programs/rpcss "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016463test "x$enable_rpcss" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/rpcss" && wine_fn_append_file ALL_INSTALL_DIRS "programs/rpcss"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016464
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016465wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/rundll32 programs/rundll32/__install__ programs/rundll32/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016466wine_fn_config_makefile programs/rundll32 "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016467test "x$enable_rundll32" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/rundll32" && wine_fn_append_file ALL_INSTALL_DIRS "programs/rundll32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016468
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016469wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/secedit programs/secedit/__install__ programs/secedit/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016470wine_fn_config_makefile programs/secedit "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016471test "x$enable_secedit" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/secedit" && wine_fn_append_file ALL_INSTALL_DIRS "programs/secedit"
Louis Lenders6547fef2008-02-26 22:12:40 +000016472
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016473wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/services programs/services/__install__ programs/services/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016474wine_fn_config_makefile programs/services "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016475test "x$enable_services" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/services" && wine_fn_append_file ALL_INSTALL_DIRS "programs/services"
Mikołaj Zalewski7bd0efa2008-03-15 09:49:42 +010016476
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016477wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/spoolsv programs/spoolsv/__install__ programs/spoolsv/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016478wine_fn_config_makefile programs/spoolsv "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016479test "x$enable_spoolsv" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/spoolsv" && wine_fn_append_file ALL_INSTALL_DIRS "programs/spoolsv"
Jacek Caband1ddc9c2007-03-19 14:13:34 +010016480
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016481wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/start programs/start/__install__ programs/start/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016482wine_fn_config_makefile programs/start "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016483test "x$enable_start" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/start" && wine_fn_append_file ALL_INSTALL_DIRS "programs/start"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016484
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016485wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/svchost programs/svchost/__install__ programs/svchost/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016486wine_fn_config_makefile programs/svchost "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016487test "x$enable_svchost" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/svchost" && wine_fn_append_file ALL_INSTALL_DIRS "programs/svchost"
Roy Shea4714c4f2007-12-04 15:00:34 -080016488
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016489wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/taskmgr programs/taskmgr/__install__ programs/taskmgr/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016490wine_fn_config_makefile programs/taskmgr "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016491test "x$enable_taskmgr" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/taskmgr" && wine_fn_append_file ALL_INSTALL_DIRS "programs/taskmgr"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016492
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016493wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/termsv programs/termsv/__install__ programs/termsv/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016494wine_fn_config_makefile programs/termsv "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016495test "x$enable_termsv" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/termsv" && wine_fn_append_file ALL_INSTALL_DIRS "programs/termsv"
Hans Leidekker6137b1b2009-04-15 14:58:00 +020016496
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016497wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/uninstaller programs/uninstaller/__install__ programs/uninstaller/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016498wine_fn_config_makefile programs/uninstaller "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016499test "x$enable_uninstaller" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/uninstaller" && wine_fn_append_file ALL_INSTALL_DIRS "programs/uninstaller"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016500
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016501wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/unlodctr programs/unlodctr/__install__ programs/unlodctr/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016502wine_fn_config_makefile programs/unlodctr "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016503test "x$enable_unlodctr" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/unlodctr" && wine_fn_append_file ALL_INSTALL_DIRS "programs/unlodctr"
Andrey Turkin347272b2009-01-28 19:56:25 +030016504
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016505wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/view programs/view/__install__ programs/view/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016506wine_fn_config_makefile programs/view "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016507test "x$enable_view" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/view"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016508
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016509wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/wineboot programs/wineboot/__install__ programs/wineboot/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016510wine_fn_config_makefile programs/wineboot "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016511test "x$enable_wineboot" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/wineboot" && wine_fn_append_file ALL_INSTALL_DIRS "programs/wineboot" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/wineboot"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016512
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016513wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winebrowser programs/winebrowser/__install__ programs/winebrowser/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016514wine_fn_config_makefile programs/winebrowser "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016515test "x$enable_winebrowser" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winebrowser" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winebrowser"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016516
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016517wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winecfg programs/winecfg/__install__ programs/winecfg/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016518wine_fn_config_makefile programs/winecfg "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016519test "x$enable_winecfg" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winecfg" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winecfg" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winecfg"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016520
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016521wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/wineconsole programs/wineconsole/__install__ programs/wineconsole/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016522wine_fn_config_makefile programs/wineconsole "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016523test "x$enable_wineconsole" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/wineconsole" && wine_fn_append_file ALL_INSTALL_DIRS "programs/wineconsole" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/wineconsole"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016524
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016525wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winedbg programs/winedbg/__install__ programs/winedbg/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016526wine_fn_config_makefile programs/winedbg "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016527test "x$enable_winedbg" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winedbg" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winedbg" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winedbg"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016528
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016529wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winedevice programs/winedevice/__install__ programs/winedevice/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016530wine_fn_config_makefile programs/winedevice "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016531test "x$enable_winedevice" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winedevice" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winedevice"
Alexandre Julliardc81d0992007-05-17 16:51:44 +020016532
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016533wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winefile programs/winefile/__install__ programs/winefile/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016534wine_fn_config_makefile programs/winefile "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016535test "x$enable_winefile" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winefile" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winefile" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winefile"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016536
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016537wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winemenubuilder programs/winemenubuilder/__install__ programs/winemenubuilder/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016538wine_fn_config_makefile programs/winemenubuilder "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016539test "x$enable_winemenubuilder" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winemenubuilder" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winemenubuilder"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016540
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016541wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winemine programs/winemine/__install__ programs/winemine/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016542wine_fn_config_makefile programs/winemine "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016543test "x$enable_winemine" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winemine" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winemine" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winemine"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016544
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016545wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winepath programs/winepath/__install__ programs/winepath/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016546wine_fn_config_makefile programs/winepath "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016547test "x$enable_winepath" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winepath" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winepath" && wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS "programs/winepath"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016548
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016549wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winetest programs/winetest/__install__ programs/winetest/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016550wine_fn_config_makefile programs/winetest "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016551test "x$enable_winetest" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winetest"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016552
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016553wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winevdm programs/winevdm/__install__ programs/winevdm/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016554wine_fn_config_makefile programs/winevdm "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016555test "x$enable_win16" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winevdm" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winevdm"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016556
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016557wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winhelp.exe16 programs/winhelp.exe16/__install__ programs/winhelp.exe16/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016558wine_fn_config_makefile programs/winhelp.exe16 "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016559test "x$enable_win16" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winhelp.exe16" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winhelp.exe16"
Alexandre Julliard3f0d9d12009-02-24 18:22:47 +010016560
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016561wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winhlp32 programs/winhlp32/__install__ programs/winhlp32/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016562wine_fn_config_makefile programs/winhlp32 "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016563test "x$enable_winhlp32" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winhlp32" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winhlp32"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016564
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016565wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winoldap.mod16 programs/winoldap.mod16/__install__ programs/winoldap.mod16/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016566wine_fn_config_makefile programs/winoldap.mod16 "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016567test "x$enable_win16" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winoldap.mod16" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winoldap.mod16"
Alexandre Julliarda1cf6482009-02-24 18:21:02 +010016568
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016569wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/winver programs/winver/__install__ programs/winver/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016570wine_fn_config_makefile programs/winver "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016571test "x$enable_winver" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/winver" && wine_fn_append_file ALL_INSTALL_DIRS "programs/winver"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016572
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016573wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/wordpad programs/wordpad/__install__ programs/wordpad/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016574wine_fn_config_makefile programs/wordpad "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016575test "x$enable_wordpad" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/wordpad" && wine_fn_append_file ALL_INSTALL_DIRS "programs/wordpad"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016576
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016577wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/write programs/write/__install__ programs/write/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016578wine_fn_config_makefile programs/write "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016579test "x$enable_write" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/write" && wine_fn_append_file ALL_INSTALL_DIRS "programs/write"
Mikołaj Zalewski2777a942007-08-01 20:01:29 -070016580
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016581wine_fn_append_rule ALL_MAKEFILE_DEPENDS "programs/xcopy programs/xcopy/__install__ programs/xcopy/__install-lib__: __builddeps__"
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016582wine_fn_config_makefile programs/xcopy "programs/Makeprog.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016583test "x$enable_xcopy" != xno && wine_fn_append_file ALL_PROGRAM_DIRS "programs/xcopy" && wine_fn_append_file ALL_INSTALL_DIRS "programs/xcopy"
Jason Edmeades921edab2007-03-06 20:04:15 +000016584
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016585wine_fn_config_makefile server "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016586test "x$enable_server" != xno && wine_fn_append_file ALL_TOP_DIRS "server"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016587
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016588wine_fn_config_makefile tools Make.rules
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016589test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016590
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016591wine_fn_config_makefile tools/widl "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016592test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/widl"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016593
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016594wine_fn_config_makefile tools/winebuild "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016595test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/winebuild"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016596
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016597wine_fn_config_makefile tools/winedump "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016598test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/winedump"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016599
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016600wine_fn_config_makefile tools/winegcc "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016601test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/winegcc"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016602
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016603wine_fn_config_makefile tools/wmc "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016604test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/wmc"
Marcus Meissnerfbc80d72007-02-27 07:48:58 +010016605
Alexandre Julliardfc7f1c72010-02-23 14:24:57 +010016606wine_fn_config_makefile tools/wrc "Make.rules \$(MAKEDEP)"
Alexandre Julliard2de10c42010-02-11 23:23:45 +010016607test "x$enable_tools" != xno && wine_fn_append_file ALL_TOOL_DIRS "tools/wrc"
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016608
Alexandre Julliard626f4252000-11-10 23:35:20 +000016609
Alexandre Julliarda6b91682009-02-23 17:15:14 +010016610test -n "$DLLEXT" || ALL_PROGRAM_BIN_INSTALL_DIRS=""
16611
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016612cat >confcache <<\_ACEOF
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016613# This file is a shell script that caches the results of configure
16614# tests run on this system so they can be shared between configure
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016615# scripts and configure runs, see configure's option --config-cache.
16616# It is not useful on other systems. If it contains results you don't
16617# want to keep, you may remove or edit it.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016618#
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016619# config.status only pays attention to the cache file if you give it
16620# the --recheck option to rerun configure.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016621#
Alexandre Julliard11af04e2002-10-10 03:48:04 +000016622# `ac_cv_env_foo' variables (set or unset) will be overridden when
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016623# loading this file, other *unset* `ac_cv_foo' will be assigned the
16624# following values.
16625
16626_ACEOF
16627
Alexandre Julliard7e6ae4b1996-12-08 19:25:27 +000016628# The following way of writing the cache mishandles newlines in values,
16629# but we know of no workaround that is simple, portable, and efficient.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016630# So, we kill variables containing newlines.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016631# Ultrix sh set writes to stderr and can't be redirected directly,
16632# and sets the high bit in the cache file unless we assign to the vars.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016633(
16634 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16635 eval ac_val=\$$ac_var
16636 case $ac_val in #(
16637 *${as_nl}*)
16638 case $ac_var in #(
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016639 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010016640$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016641 esac
16642 case $ac_var in #(
16643 _ | IFS | as_nl) ;; #(
Alexandre Julliardabf50482008-10-31 12:56:53 +010016644 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016645 *) { eval $ac_var=; unset $ac_var;} ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016646 esac ;;
16647 esac
16648 done
16649
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016650 (set) 2>&1 |
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016651 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16652 *${as_nl}ac_space=\ *)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016653 # `set' does not quote correctly, so add quotes: double-quote
16654 # substitution turns \\\\ into \\, and sed turns \\ into \.
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016655 sed -n \
Alexandre Julliard875927f2004-01-02 01:55:29 +000016656 "s/'/'\\\\''/g;
16657 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016658 ;; #(
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016659 *)
16660 # `set' quotes correctly as required by POSIX, so do not add quotes.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016661 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016662 ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016663 esac |
16664 sort
16665) |
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016666 sed '
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016667 /^ac_cv_env_/b end
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016668 t clear
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016669 :clear
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016670 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16671 t end
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016672 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16673 :end' >>confcache
Jeremy White0ebeb532006-06-20 13:18:41 +020016674if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16675 if test -w "$cache_file"; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016676 test "x$cache_file" != "x/dev/null" &&
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016677 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010016678$as_echo "$as_me: updating cache $cache_file" >&6;}
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016679 cat confcache >$cache_file
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016680 else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016681 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010016682$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016683 fi
16684fi
16685rm -f confcache
16686
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016687test "x$prefix" = xNONE && prefix=$ac_default_prefix
16688# Let make expand exec_prefix.
16689test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16690
Alexandre Julliard18f92e71996-07-17 20:02:21 +000016691DEFS=-DHAVE_CONFIG_H
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016692
Alexandre Julliard11af04e2002-10-10 03:48:04 +000016693ac_libobjs=
16694ac_ltlibobjs=
16695for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16696 # 1. Remove the extension, and $U if already installed.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016697 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
Alexandre Julliardabf50482008-10-31 12:56:53 +010016698 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016699 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16700 # will be set to the directory where LIBOBJS objects are built.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016701 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16702 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
Alexandre Julliard11af04e2002-10-10 03:48:04 +000016703done
16704LIBOBJS=$ac_libobjs
16705
16706LTLIBOBJS=$ac_ltlibobjs
16707
16708
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016709
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016710: ${CONFIG_STATUS=./config.status}
Alexandre Julliardabf50482008-10-31 12:56:53 +010016711ac_write_fail=0
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016712ac_clean_files_save=$ac_clean_files
16713ac_clean_files="$ac_clean_files $CONFIG_STATUS"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016714{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010016715$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016716as_write_fail=0
16717cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016718#! $SHELL
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016719# Generated by $as_me.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016720# Run this file to recreate the current configuration.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016721# Compiler output produced by configure, useful for debugging
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016722# configure, is in config.log if it exists.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016723
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016724debug=false
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000016725ac_cs_recheck=false
16726ac_cs_silent=false
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000016727
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016728SHELL=\${CONFIG_SHELL-$SHELL}
16729export SHELL
16730_ASEOF
16731cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
16732## -------------------- ##
16733## M4sh Initialization. ##
16734## -------------------- ##
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016735
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010016736# Be more Bourne compatible
16737DUALCASE=1; export DUALCASE # for MKS sh
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016738if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016739 emulate sh
16740 NULLCMD=:
Alexandre Julliardabf50482008-10-31 12:56:53 +010016741 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
Alexandre Julliard11af04e2002-10-10 03:48:04 +000016742 # is contrary to our usage. Disable this feature.
16743 alias -g '${1+"$@"}'='"$@"'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016744 setopt NO_GLOB_SUBST
16745else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016746 case `(set -o) 2>/dev/null` in #(
16747 *posix*) :
16748 set -o posix ;; #(
16749 *) :
16750 ;;
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010016751esac
Alexandre Julliardda0cfb31996-12-01 17:17:47 +000016752fi
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010016753
16754
Alexandre Julliardabf50482008-10-31 12:56:53 +010016755as_nl='
16756'
16757export as_nl
16758# Printing a long string crashes Solaris 7 /usr/bin/printf.
16759as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16760as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16761as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016762# Prefer a ksh shell builtin over an external printf program on Solaris,
16763# but without wasting forks for bash or zsh.
16764if test -z "$BASH_VERSION$ZSH_VERSION" \
16765 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16766 as_echo='print -r --'
16767 as_echo_n='print -rn --'
16768elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
Alexandre Julliardabf50482008-10-31 12:56:53 +010016769 as_echo='printf %s\n'
16770 as_echo_n='printf %s'
16771else
16772 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16773 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
16774 as_echo_n='/usr/ucb/echo -n'
16775 else
16776 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16777 as_echo_n_body='eval
16778 arg=$1;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016779 case $arg in #(
Alexandre Julliardabf50482008-10-31 12:56:53 +010016780 *"$as_nl"*)
16781 expr "X$arg" : "X\\(.*\\)$as_nl";
16782 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16783 esac;
16784 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
16785 '
16786 export as_echo_n_body
16787 as_echo_n='sh -c $as_echo_n_body as_echo'
16788 fi
16789 export as_echo_body
16790 as_echo='sh -c $as_echo_body as_echo'
16791fi
16792
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016793# The user is always right.
16794if test "${PATH_SEPARATOR+set}" != set; then
Alexandre Julliardabf50482008-10-31 12:56:53 +010016795 PATH_SEPARATOR=:
16796 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16797 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16798 PATH_SEPARATOR=';'
16799 }
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016800fi
16801
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016802
16803# IFS
16804# We need space, tab and new line, in precisely that order. Quoting is
16805# there to prevent editors from complaining about space-tab.
16806# (If _AS_PATH_WALK were called with IFS unset, it would disable word
16807# splitting by setting IFS to empty value.)
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016808IFS=" "" $as_nl"
16809
16810# Find who we are. Look in the path if we contain no directory separator.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016811case $0 in #((
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016812 *[\\/]* ) as_myself=$0 ;;
16813 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016814for as_dir in $PATH
16815do
16816 IFS=$as_save_IFS
16817 test -z "$as_dir" && as_dir=.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016818 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16819 done
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016820IFS=$as_save_IFS
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016821
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016822 ;;
16823esac
16824# We did not find ourselves, most probably we were run as `sh COMMAND'
16825# in which case we are not to be found in the path.
16826if test "x$as_myself" = x; then
16827 as_myself=$0
16828fi
16829if test ! -f "$as_myself"; then
Alexandre Julliardabf50482008-10-31 12:56:53 +010016830 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016831 exit 1
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016832fi
16833
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016834# Unset variables that we do not need and which cause bugs (e.g. in
16835# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16836# suppresses any "Segmentation fault" message there. '((' could
16837# trigger a bug in pdksh 5.2.14.
16838for as_var in BASH_ENV ENV MAIL MAILPATH
16839do eval test x\${$as_var+set} = xset \
16840 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016841done
16842PS1='$ '
16843PS2='> '
16844PS4='+ '
16845
16846# NLS nuisances.
Alexandre Julliardabf50482008-10-31 12:56:53 +010016847LC_ALL=C
16848export LC_ALL
16849LANGUAGE=C
16850export LANGUAGE
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016851
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016852# CDPATH.
16853(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16854
16855
16856# as_fn_error ERROR [LINENO LOG_FD]
16857# ---------------------------------
16858# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16859# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16860# script with status $?, using 1 if that was 0.
16861as_fn_error ()
16862{
16863 as_status=$?; test $as_status -eq 0 && as_status=1
16864 if test "$3"; then
16865 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16866 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16867 fi
16868 $as_echo "$as_me: error: $1" >&2
16869 as_fn_exit $as_status
16870} # as_fn_error
16871
16872
16873# as_fn_set_status STATUS
16874# -----------------------
16875# Set $? to STATUS, without forking.
16876as_fn_set_status ()
16877{
16878 return $1
16879} # as_fn_set_status
16880
16881# as_fn_exit STATUS
16882# -----------------
16883# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16884as_fn_exit ()
16885{
16886 set +e
16887 as_fn_set_status $1
16888 exit $1
16889} # as_fn_exit
16890
16891# as_fn_unset VAR
16892# ---------------
16893# Portably unset VAR.
16894as_fn_unset ()
16895{
16896 { eval $1=; unset $1;}
16897}
16898as_unset=as_fn_unset
16899# as_fn_append VAR VALUE
16900# ----------------------
16901# Append the text in VALUE to the end of the definition contained in VAR. Take
16902# advantage of any shell optimizations that allow amortized linear growth over
16903# repeated appends, instead of the typical quadratic growth present in naive
16904# implementations.
16905if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16906 eval 'as_fn_append ()
16907 {
16908 eval $1+=\$2
16909 }'
16910else
16911 as_fn_append ()
16912 {
16913 eval $1=\$$1\$2
16914 }
16915fi # as_fn_append
16916
16917# as_fn_arith ARG...
16918# ------------------
16919# Perform arithmetic evaluation on the ARGs, and store the result in the
16920# global $as_val. Take advantage of shells that can avoid forks. The arguments
16921# must be portable across $(()) and expr.
16922if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16923 eval 'as_fn_arith ()
16924 {
16925 as_val=$(( $* ))
16926 }'
16927else
16928 as_fn_arith ()
16929 {
16930 as_val=`expr "$@" || test $? -eq 1`
16931 }
16932fi # as_fn_arith
16933
16934
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016935if expr a : '\(a\)' >/dev/null 2>&1 &&
16936 test "X`expr 00001 : '.*\(...\)'`" = X001; then
16937 as_expr=expr
16938else
16939 as_expr=false
16940fi
16941
16942if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16943 as_basename=basename
16944else
16945 as_basename=false
16946fi
16947
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016948if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16949 as_dirname=dirname
16950else
16951 as_dirname=false
16952fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016953
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016954as_me=`$as_basename -- "$0" ||
16955$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16956 X"$0" : 'X\(//\)$' \| \
16957 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
Alexandre Julliardabf50482008-10-31 12:56:53 +010016958$as_echo X/"$0" |
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016959 sed '/^.*\/\([^/][^/]*\)\/*$/{
16960 s//\1/
16961 q
16962 }
16963 /^X\/\(\/\/\)$/{
16964 s//\1/
16965 q
16966 }
16967 /^X\/\(\/\).*/{
16968 s//\1/
16969 q
16970 }
16971 s/.*/./; q'`
16972
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016973# Avoid depending upon Character Ranges.
16974as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16975as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16976as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16977as_cr_digits='0123456789'
16978as_cr_alnum=$as_cr_Letters$as_cr_digits
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016979
16980ECHO_C= ECHO_N= ECHO_T=
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016981case `echo -n x` in #(((((
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016982-n*)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016983 case `echo 'xy\c'` in
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016984 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020016985 xy) ECHO_C='\c';;
16986 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16987 ECHO_T=' ';;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016988 esac;;
16989*)
16990 ECHO_N='-n';;
Alexandre Julliarddaa28862002-04-11 21:54:01 +000016991esac
Alexandre Julliardf5818d22002-02-14 19:47:29 +000016992
16993rm -f conf$$ conf$$.exe conf$$.file
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016994if test -d conf$$.dir; then
16995 rm -f conf$$.dir/conf$$.file
16996else
16997 rm -f conf$$.dir
Alexandre Julliardabf50482008-10-31 12:56:53 +010016998 mkdir conf$$.dir 2>/dev/null
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020016999fi
Alexandre Julliardabf50482008-10-31 12:56:53 +010017000if (echo >conf$$.file) 2>/dev/null; then
17001 if ln -s conf$$.file conf$$ 2>/dev/null; then
17002 as_ln_s='ln -s'
17003 # ... but there are two gotchas:
17004 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17005 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17006 # In both cases, we have to default to `cp -p'.
17007 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17008 as_ln_s='cp -p'
17009 elif ln conf$$.file conf$$ 2>/dev/null; then
17010 as_ln_s=ln
17011 else
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017012 as_ln_s='cp -p'
Alexandre Julliardabf50482008-10-31 12:56:53 +010017013 fi
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017014else
17015 as_ln_s='cp -p'
17016fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017017rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17018rmdir conf$$.dir 2>/dev/null
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017019
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017020
17021# as_fn_mkdir_p
17022# -------------
17023# Create "$as_dir" as a directory, including parents if necessary.
17024as_fn_mkdir_p ()
17025{
17026
17027 case $as_dir in #(
17028 -*) as_dir=./$as_dir;;
17029 esac
17030 test -d "$as_dir" || eval $as_mkdir_p || {
17031 as_dirs=
17032 while :; do
17033 case $as_dir in #(
17034 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17035 *) as_qdir=$as_dir;;
17036 esac
17037 as_dirs="'$as_qdir' $as_dirs"
17038 as_dir=`$as_dirname -- "$as_dir" ||
17039$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17040 X"$as_dir" : 'X\(//\)[^/]' \| \
17041 X"$as_dir" : 'X\(//\)$' \| \
17042 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17043$as_echo X"$as_dir" |
17044 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17045 s//\1/
17046 q
17047 }
17048 /^X\(\/\/\)[^/].*/{
17049 s//\1/
17050 q
17051 }
17052 /^X\(\/\/\)$/{
17053 s//\1/
17054 q
17055 }
17056 /^X\(\/\).*/{
17057 s//\1/
17058 q
17059 }
17060 s/.*/./; q'`
17061 test -d "$as_dir" && break
17062 done
17063 test -z "$as_dirs" || eval "mkdir $as_dirs"
17064 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
17065
17066
17067} # as_fn_mkdir_p
Alexandre Julliard11af04e2002-10-10 03:48:04 +000017068if mkdir -p . 2>/dev/null; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017069 as_mkdir_p='mkdir -p "$as_dir"'
Alexandre Julliard11af04e2002-10-10 03:48:04 +000017070else
Alexandre Julliard875927f2004-01-02 01:55:29 +000017071 test -d ./-p && rmdir ./-p
Alexandre Julliard11af04e2002-10-10 03:48:04 +000017072 as_mkdir_p=false
17073fi
17074
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010017075if test -x / >/dev/null 2>&1; then
17076 as_test_x='test -x'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017077else
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010017078 if ls -dL / >/dev/null 2>&1; then
17079 as_ls_L_option=L
17080 else
17081 as_ls_L_option=
17082 fi
17083 as_test_x='
17084 eval sh -c '\''
17085 if test -d "$1"; then
Alexandre Julliardabf50482008-10-31 12:56:53 +010017086 test -d "$1/.";
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010017087 else
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017088 case $1 in #(
Alexandre Julliardabf50482008-10-31 12:56:53 +010017089 -*)set "./$1";;
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010017090 esac;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017091 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010017092 ???[sx]*):;;*)false;;esac;fi
17093 '\'' sh
17094 '
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017095fi
Alexandre Julliarddc9f3842006-12-19 16:17:09 +010017096as_executable_p=$as_test_x
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017097
Alexandre Julliarddaa28862002-04-11 21:54:01 +000017098# Sed expression to map a string onto a valid CPP name.
Alexandre Julliard875927f2004-01-02 01:55:29 +000017099as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017100
Alexandre Julliarddaa28862002-04-11 21:54:01 +000017101# Sed expression to map a string onto a valid variable name.
Alexandre Julliard875927f2004-01-02 01:55:29 +000017102as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
Alexandre Julliarddaa28862002-04-11 21:54:01 +000017103
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017104
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017105exec 6>&1
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017106## ----------------------------------- ##
17107## Main body of $CONFIG_STATUS script. ##
17108## ----------------------------------- ##
17109_ASEOF
17110test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017111
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017112cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17113# Save the log message, to keep $0 and so on meaningful, and to
Alexandre Julliarddaa28862002-04-11 21:54:01 +000017114# report actual input values of CONFIG_FILES etc. instead of their
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017115# values after options handling.
17116ac_log="
Alexandre Julliarde1437c52010-02-19 19:23:45 +010017117This file was extended by Wine $as_me 1.1.39, which was
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +010017118generated by GNU Autoconf 2.65. Invocation command line was
Alexandre Julliarddaa28862002-04-11 21:54:01 +000017119
17120 CONFIG_FILES = $CONFIG_FILES
17121 CONFIG_HEADERS = $CONFIG_HEADERS
17122 CONFIG_LINKS = $CONFIG_LINKS
17123 CONFIG_COMMANDS = $CONFIG_COMMANDS
17124 $ $0 $@
17125
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017126on `(hostname || uname -n) 2>/dev/null | sed 1q`
17127"
17128
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017129_ACEOF
17130
Alexandre Julliardabf50482008-10-31 12:56:53 +010017131case $ac_config_files in *"
17132"*) set x $ac_config_files; shift; ac_config_files=$*;;
17133esac
17134
17135case $ac_config_headers in *"
17136"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17137esac
17138
17139
17140cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017141# Files that config.status was made for.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017142config_files="$ac_config_files"
17143config_headers="$ac_config_headers"
Alexandre Julliard7d020c92010-02-03 13:12:12 +010017144config_links="$ac_config_links"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017145config_commands="$ac_config_commands"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017146
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017147_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017148
Alexandre Julliardabf50482008-10-31 12:56:53 +010017149cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017150ac_cs_usage="\
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017151\`$as_me' instantiates files and other configuration actions
17152from templates according to the current configuration. Unless the files
17153and actions are specified as TAGs, all are instantiated by default.
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017154
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017155Usage: $0 [OPTION]... [TAG]...
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017156
17157 -h, --help print this help, then exit
Alexandre Julliard78bd1942006-08-14 20:42:56 +020017158 -V, --version print version number and configuration settings, then exit
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +010017159 --config print configuration, then exit
Alexandre Julliardabf50482008-10-31 12:56:53 +010017160 -q, --quiet, --silent
17161 do not print progress messages
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017162 -d, --debug don't remove temporary files
17163 --recheck update $as_me by reconfiguring in the same conditions
Alexandre Julliardabf50482008-10-31 12:56:53 +010017164 --file=FILE[:TEMPLATE]
17165 instantiate the configuration file FILE
17166 --header=FILE[:TEMPLATE]
17167 instantiate the configuration header FILE
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017168
17169Configuration files:
17170$config_files
17171
17172Configuration headers:
17173$config_headers
17174
Alexandre Julliard7d020c92010-02-03 13:12:12 +010017175Configuration links:
17176$config_links
17177
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017178Configuration commands:
17179$config_commands
17180
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017181Report bugs to <wine-devel@winehq.org>.
17182Wine home page: <http://www.winehq.org>."
Alexandre Julliardda0cfb31996-12-01 17:17:47 +000017183
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017184_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010017185cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +010017186ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017187ac_cs_version="\\
Alexandre Julliarde1437c52010-02-19 19:23:45 +010017188Wine config.status 1.1.39
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +010017189configured by $0, generated by GNU Autoconf 2.65,
17190 with options \\"\$ac_cs_config\\"
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000017191
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017192Copyright (C) 2009 Free Software Foundation, Inc.
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017193This config.status script is free software; the Free Software Foundation
17194gives unlimited permission to copy, distribute and modify it."
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017195
17196ac_pwd='$ac_pwd'
17197srcdir='$srcdir'
17198INSTALL='$INSTALL'
Alexandre Julliardabf50482008-10-31 12:56:53 +010017199test -n "\$AWK" || AWK=awk
Alexandre Julliarddaa28862002-04-11 21:54:01 +000017200_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017201
Alexandre Julliardabf50482008-10-31 12:56:53 +010017202cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17203# The default lists apply if the user does not specify any file.
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017204ac_need_defaults=:
17205while test $# != 0
17206do
17207 case $1 in
17208 --*=*)
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017209 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17210 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
Alexandre Julliard11af04e2002-10-10 03:48:04 +000017211 ac_shift=:
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017212 ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017213 *)
Alexandre Julliard11af04e2002-10-10 03:48:04 +000017214 ac_option=$1
17215 ac_optarg=$2
17216 ac_shift=shift
17217 ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000017218 esac
17219
Alexandre Julliard11af04e2002-10-10 03:48:04 +000017220 case $ac_option in
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017221 # Handling of the options.
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000017222 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17223 ac_cs_recheck=: ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017224 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
Alexandre Julliardabf50482008-10-31 12:56:53 +010017225 $as_echo "$ac_cs_version"; exit ;;
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +010017226 --config | --confi | --conf | --con | --co | --c )
17227 $as_echo "$ac_cs_config"; exit ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017228 --debug | --debu | --deb | --de | --d | -d )
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017229 debug=: ;;
17230 --file | --fil | --fi | --f )
Alexandre Julliard11af04e2002-10-10 03:48:04 +000017231 $ac_shift
Alexandre Julliardabf50482008-10-31 12:56:53 +010017232 case $ac_optarg in
17233 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17234 esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017235 as_fn_append CONFIG_FILES " '$ac_optarg'"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017236 ac_need_defaults=false;;
17237 --header | --heade | --head | --hea )
Alexandre Julliard11af04e2002-10-10 03:48:04 +000017238 $ac_shift
Alexandre Julliardabf50482008-10-31 12:56:53 +010017239 case $ac_optarg in
17240 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17241 esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017242 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017243 ac_need_defaults=false;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017244 --he | --h)
17245 # Conflict between --help and --header
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017246 as_fn_error "ambiguous option: \`$1'
17247Try \`$0 --help' for more information.";;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017248 --help | --hel | -h )
Alexandre Julliardabf50482008-10-31 12:56:53 +010017249 $as_echo "$ac_cs_usage"; exit ;;
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000017250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17251 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17252 ac_cs_silent=: ;;
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000017253
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017254 # This is an error.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017255 -*) as_fn_error "unrecognized option: \`$1'
17256Try \`$0 --help' for more information." ;;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017257
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017258 *) as_fn_append ac_config_targets " $1"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017259 ac_need_defaults=false ;;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017260
17261 esac
17262 shift
17263done
17264
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000017265ac_configure_extra_args=
17266
17267if $ac_cs_silent; then
17268 exec 6>/dev/null
17269 ac_configure_extra_args="$ac_configure_extra_args --silent"
17270fi
17271
17272_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010017273cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000017274if \$ac_cs_recheck; then
Alexandre Julliardabf50482008-10-31 12:56:53 +010017275 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17276 shift
17277 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17278 CONFIG_SHELL='$SHELL'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017279 export CONFIG_SHELL
Alexandre Julliardabf50482008-10-31 12:56:53 +010017280 exec "\$@"
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000017281fi
17282
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017283_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010017284cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017285exec 5>>config.log
17286{
17287 echo
17288 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17289## Running $as_me. ##
17290_ASBOX
Alexandre Julliardabf50482008-10-31 12:56:53 +010017291 $as_echo "$ac_log"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017292} >&5
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017293
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017294_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010017295cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017296_ACEOF
Alexandre Julliarddaa28862002-04-11 21:54:01 +000017297
Alexandre Julliardabf50482008-10-31 12:56:53 +010017298cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017299
17300# Handling of arguments.
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017301for ac_config_target in $ac_config_targets
17302do
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017303 case $ac_config_target in
17304 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
Alexandre Julliardc4704c22006-09-22 09:33:00 +020017305 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
Alexandre Julliarda6320522010-02-03 13:14:03 +010017306 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
Alexandre Julliardce122962010-02-03 13:13:16 +010017307 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17308 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17309 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17310 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
Alexandre Julliard7d020c92010-02-03 13:12:12 +010017311 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
Alexandre Julliard7dfc4472006-10-20 12:25:29 +020017312 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17313 "dlls/gdi32/mfdrv") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
Alexandre Julliard1c60e3b2006-09-12 16:10:51 +020017314 "dlls/kernel32/nls") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
Alexandre Julliardb8a2e3b2006-11-16 14:49:25 +010017315 "dlls/user32/resources") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user32/resources" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017316 "dlls/wineps.drv/data") CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17317 "include/wine") CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
17318 "Make.rules") CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
Alexandre Julliardcb1fc8f2010-02-10 11:18:58 +010017319 "Maketest.rules") CONFIG_FILES="$CONFIG_FILES Maketest.rules" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017320 "dlls/Makedll.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
17321 "dlls/Makeimplib.rules") CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017322 "programs/Makeprog.rules") CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
17323 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
Eric Pouech0da02fb2007-04-16 09:22:03 +020017324 "dlls/acledit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/acledit/Makefile" ;;
Nikolay Sivov3406c9d2009-01-20 20:02:51 +030017325 "dlls/aclui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/aclui/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017326 "dlls/activeds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
Rob Shearmane8c7c062007-12-07 16:02:30 +000017327 "dlls/actxprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/actxprxy/Makefile" ;;
Rob Shearman76e08962008-03-06 15:01:34 +000017328 "dlls/adsiid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/adsiid/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017329 "dlls/advapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
17330 "dlls/advapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
17331 "dlls/advpack/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
17332 "dlls/advpack/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
17333 "dlls/amstream/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
Christian Costab5dbbd42009-04-13 10:07:35 +020017334 "dlls/amstream/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/amstream/tests/Makefile" ;;
Owen Rudgef4e64892008-07-24 21:57:28 +010017335 "dlls/appwiz.cpl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/appwiz.cpl/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017336 "dlls/atl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
Austin English78cffc62009-01-27 23:01:17 -060017337 "dlls/authz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/authz/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017338 "dlls/avicap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
17339 "dlls/avifil32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
Detlef Riekenberga6020442010-01-10 17:37:36 +010017340 "dlls/avifil32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifil32/tests/Makefile" ;;
Alexandre Julliardb91cf322009-03-24 16:56:58 +010017341 "dlls/avifile.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avifile.dll16/Makefile" ;;
Maarten Lankhorst77d0ece2009-11-10 20:40:03 +010017342 "dlls/avrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/avrt/Makefile" ;;
Henri Verbeet5c898502009-03-30 11:24:55 +020017343 "dlls/bcrypt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/bcrypt/Makefile" ;;
Mikołaj Zalewskiea0361f2007-02-05 17:51:05 +010017344 "dlls/browseui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/Makefile" ;;
Mikołaj Zalewski7206e102007-02-05 17:53:42 +010017345 "dlls/browseui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/browseui/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017346 "dlls/cabinet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
17347 "dlls/cabinet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
17348 "dlls/capi2032/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
17349 "dlls/cards/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
17350 "dlls/cfgmgr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
Benjamin Arai493bc6b2006-09-27 16:02:35 -070017351 "dlls/clusapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/clusapi/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017352 "dlls/comcat/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
Aric Stewart9c3b12b2006-07-13 14:16:59 -050017353 "dlls/comcat/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017354 "dlls/comctl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
17355 "dlls/comctl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
17356 "dlls/comdlg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
Detlef Riekenberg955fe0d2006-07-03 22:55:53 +020017357 "dlls/comdlg32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
Alexandre Julliard41600a82009-03-04 14:22:24 +010017358 "dlls/comm.drv16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/comm.drv16/Makefile" ;;
Alexandre Julliard910f3312009-11-12 21:14:18 +010017359 "dlls/commdlg.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/commdlg.dll16/Makefile" ;;
Alexandre Julliard6b40f642009-03-11 17:12:32 +010017360 "dlls/compobj.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compobj.dll16/Makefile" ;;
Detlef Riekenberg5640b562006-06-20 06:12:36 +020017361 "dlls/compstui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/compstui/Makefile" ;;
Rob Shearmanc82fde42007-01-22 21:48:51 +000017362 "dlls/credui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/Makefile" ;;
Rob Shearmane1465912007-10-24 16:17:36 +010017363 "dlls/credui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/credui/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017364 "dlls/crtdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
17365 "dlls/crypt32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
17366 "dlls/crypt32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
Maarten Lankhorstf9308212008-02-17 18:20:32 -080017367 "dlls/cryptdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdlg/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017368 "dlls/cryptdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
Maarten Lankhorstd2ee3872006-06-28 16:51:41 +020017369 "dlls/cryptnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
Juan Lang322bcdd2007-10-18 10:28:32 -070017370 "dlls/cryptnet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptnet/tests/Makefile" ;;
Juan Lang2016c632008-04-10 11:16:01 -070017371 "dlls/cryptui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/Makefile" ;;
Juan Lang7e0e1a12008-10-24 14:34:27 -070017372 "dlls/cryptui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/cryptui/tests/Makefile" ;;
Christian Eggersf89c6de2007-11-02 13:46:18 +010017373 "dlls/ctapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctapi32/Makefile" ;;
Alexandre Julliard9a19d8a2009-03-23 20:31:01 +010017374 "dlls/ctl3d.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017375 "dlls/ctl3d32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
Alexandre Julliard9a19d8a2009-03-23 20:31:01 +010017376 "dlls/ctl3dv2.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ctl3dv2.dll16/Makefile" ;;
Kovács András0db109f2007-07-09 14:06:40 +020017377 "dlls/d3d10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/Makefile" ;;
Henri Verbeet65e614a2008-10-29 09:00:27 +010017378 "dlls/d3d10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10/tests/Makefile" ;;
Henri Verbeet078fc192008-11-12 12:04:24 +010017379 "dlls/d3d10core/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10core/Makefile" ;;
Henri Verbeet1dad7592008-11-18 09:27:58 +010017380 "dlls/d3d10core/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d10core/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017381 "dlls/d3d8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
17382 "dlls/d3d8/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
17383 "dlls/d3d9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
17384 "dlls/d3d9/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
17385 "dlls/d3dim/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
17386 "dlls/d3drm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
David Adamf50800b2007-04-19 21:03:53 +020017387 "dlls/d3drm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3drm/tests/Makefile" ;;
Tony Wasserka6f834d32008-02-02 10:24:28 +010017388 "dlls/d3dx9_24/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_24/Makefile" ;;
Tony Wasserkae9c16392008-02-02 16:22:27 +010017389 "dlls/d3dx9_25/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_25/Makefile" ;;
Tony Wasserka409b19b2008-02-02 18:06:52 +010017390 "dlls/d3dx9_26/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_26/Makefile" ;;
17391 "dlls/d3dx9_27/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_27/Makefile" ;;
Tony Wasserka2aa15052008-02-02 18:29:07 +010017392 "dlls/d3dx9_28/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_28/Makefile" ;;
17393 "dlls/d3dx9_29/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_29/Makefile" ;;
17394 "dlls/d3dx9_30/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_30/Makefile" ;;
Tony Wasserkae4866622008-02-02 18:35:38 +010017395 "dlls/d3dx9_31/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_31/Makefile" ;;
Tony Wasserkadf0a6942008-02-02 19:02:34 +010017396 "dlls/d3dx9_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_32/Makefile" ;;
17397 "dlls/d3dx9_33/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_33/Makefile" ;;
17398 "dlls/d3dx9_34/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_34/Makefile" ;;
17399 "dlls/d3dx9_35/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_35/Makefile" ;;
Tony Wasserka87fefc72008-01-13 11:34:43 +010017400 "dlls/d3dx9_36/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/Makefile" ;;
Philip Nilssonb67290b2008-03-21 11:04:46 +010017401 "dlls/d3dx9_36/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_36/tests/Makefile" ;;
Tony Wasserkabe0799f2008-03-24 12:32:54 +010017402 "dlls/d3dx9_37/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_37/Makefile" ;;
David Adam1c5b5362009-01-25 11:38:20 +010017403 "dlls/d3dx9_38/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_38/Makefile" ;;
David Adam5775edd2009-01-25 13:29:33 +010017404 "dlls/d3dx9_39/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_39/Makefile" ;;
Rico Schüllerc97d3d72009-01-26 21:33:25 +010017405 "dlls/d3dx9_40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_40/Makefile" ;;
Rico Schüller3400c032009-03-29 15:41:21 +020017406 "dlls/d3dx9_41/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_41/Makefile" ;;
Ričardas Barkauskas5ae2ff82009-09-25 12:17:20 +030017407 "dlls/d3dx9_42/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dx9_42/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017408 "dlls/d3dxof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
Christian Costa04d72cd2008-08-19 00:30:44 +020017409 "dlls/d3dxof/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017410 "dlls/dbghelp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
17411 "dlls/dciman32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
Eric Pouecha0053ab2009-05-05 21:25:32 +020017412 "dlls/ddeml.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddeml.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017413 "dlls/ddraw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
17414 "dlls/ddraw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
Ulrich Czekallafe70c542006-12-14 10:39:42 -050017415 "dlls/ddrawex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
Stefan Dösinger60039a52009-01-09 12:24:49 +010017416 "dlls/ddrawex/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ddrawex/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017417 "dlls/devenum/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
17418 "dlls/dinput/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
17419 "dlls/dinput/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
17420 "dlls/dinput8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
Alexandre Julliard86f54f42009-03-04 14:27:05 +010017421 "dlls/dispdib.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dispdib.dll16/Makefile" ;;
Huw Davies062628a2010-02-25 14:35:19 +000017422 "dlls/dispex/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dispex/Makefile" ;;
Alexandre Julliard02ada6e2009-03-04 14:28:32 +010017423 "dlls/display.drv16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/display.drv16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017424 "dlls/dmband/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
17425 "dlls/dmcompos/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
17426 "dlls/dmime/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
17427 "dlls/dmloader/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
David Adam5e39af22010-01-06 04:49:39 +010017428 "dlls/dmloader/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmloader/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017429 "dlls/dmscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
17430 "dlls/dmstyle/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
17431 "dlls/dmsynth/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
17432 "dlls/dmusic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
17433 "dlls/dmusic32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
17434 "dlls/dnsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
17435 "dlls/dnsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
17436 "dlls/dplay/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
17437 "dlls/dplayx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
Alessandro Pignottid1331e62007-02-27 17:27:43 +010017438 "dlls/dplayx/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dplayx/tests/Makefile" ;;
Luis Carlos Busquets Pérez8caf0782007-03-07 09:41:41 +010017439 "dlls/dpnaddr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnaddr/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017440 "dlls/dpnet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
17441 "dlls/dpnhpast/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
Luis C. Busquets Pérez5996c132007-08-02 11:04:50 +020017442 "dlls/dpnlobby/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpnlobby/Makefile" ;;
Ismael Barros9d2a1e82008-07-22 22:23:16 +030017443 "dlls/dpwsockx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dpwsockx/Makefile" ;;
Austin Englishb3ccbc62009-06-25 12:30:45 -050017444 "dlls/drmclien/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/drmclien/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017445 "dlls/dsound/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
17446 "dlls/dsound/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
Maarten Lankhorst2472e812008-02-17 18:20:32 -080017447 "dlls/dssenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dssenh/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017448 "dlls/dswave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
Kovács Andrásc0ddd5e2007-06-19 09:36:14 +020017449 "dlls/dwmapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dwmapi/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017450 "dlls/dxdiagn/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
Andrew Nguyendddf7142009-12-22 04:15:12 -060017451 "dlls/dxdiagn/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017452 "dlls/dxerr8/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
17453 "dlls/dxerr9/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
Henri Verbeet9e376212008-10-21 15:06:58 +020017454 "dlls/dxgi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxgi/Makefile" ;;
Henri Verbeet1dea8292008-11-18 09:27:58 +010017455 "dlls/dxgi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxgi/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017456 "dlls/dxguid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
Peter Dons Tychsena2cd6432007-07-27 01:43:49 +020017457 "dlls/faultrep/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/faultrep/Makefile" ;;
Detlef Riekenbergeb8b1652009-09-30 14:24:46 +020017458 "dlls/fltlib/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fltlib/Makefile" ;;
James Hawkinsc0b3af32008-03-20 18:27:46 -070017459 "dlls/fusion/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/Makefile" ;;
James Hawkins9e021cf2008-03-31 01:03:24 -050017460 "dlls/fusion/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fusion/tests/Makefile" ;;
Paul Chitescu77b98c92009-11-27 18:43:27 +020017461 "dlls/fwpuclnt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/fwpuclnt/Makefile" ;;
Alexandre Julliard4edcf1c2009-12-04 21:47:30 +010017462 "dlls/gdi.exe16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi.exe16/Makefile" ;;
Alexandre Julliard7dfc4472006-10-20 12:25:29 +020017463 "dlls/gdi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/Makefile" ;;
17464 "dlls/gdi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
Evan Stadebed761c2007-05-25 10:21:44 -070017465 "dlls/gdiplus/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/Makefile" ;;
Evan Stadefcd7a622007-06-11 11:52:26 -070017466 "dlls/gdiplus/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gdiplus/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017467 "dlls/glu32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017468 "dlls/gphoto2.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
Maarten Lankhorste4576c82008-02-17 18:20:32 -080017469 "dlls/gpkcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/gpkcsp/Makefile" ;;
Alexandre Julliardd2d68702007-05-14 20:05:15 +020017470 "dlls/hal/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hal/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017471 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
Kevin Koltzaub89cafa2006-08-05 23:09:06 -040017472 "dlls/hid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hid/Makefile" ;;
Mike McCormackb732e9b2006-06-06 19:26:24 +090017473 "dlls/hlink/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/Makefile" ;;
Mike McCormacka430db92006-08-02 02:19:15 +090017474 "dlls/hlink/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
Jeff Latimera00aa032007-06-18 23:27:00 +100017475 "dlls/hnetcfg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/hnetcfg/Makefile" ;;
Austin English8cf8e2c2009-01-11 14:54:15 -060017476 "dlls/httpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/httpapi/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017477 "dlls/iccvid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
17478 "dlls/icmp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
17479 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
17480 "dlls/imaadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
17481 "dlls/imagehlp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
Owen Rudge8c8b0eb2009-11-30 21:14:30 +000017482 "dlls/imagehlp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/tests/Makefile" ;;
Alexandre Julliard1b937ca2009-03-23 20:32:06 +010017483 "dlls/imm.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017484 "dlls/imm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
Michael Jung0a31ab72008-01-02 23:14:49 +010017485 "dlls/imm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/imm32/tests/Makefile" ;;
Rob Shearmanbeab2c12007-11-02 11:35:34 +000017486 "dlls/inetcomm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/Makefile" ;;
Huw Daviesba6b7e82007-11-02 15:45:39 +000017487 "dlls/inetcomm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetcomm/tests/Makefile" ;;
Juan Lang17231572008-05-20 20:47:42 -070017488 "dlls/inetmib1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/Makefile" ;;
Juan Langcca77db2008-05-20 20:48:37 -070017489 "dlls/inetmib1/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inetmib1/tests/Makefile" ;;
Mike McCormack4d3877b2006-07-11 11:13:18 +090017490 "dlls/infosoft/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/Makefile" ;;
Mike McCormackb5871fa2006-08-15 22:58:12 +090017491 "dlls/infosoft/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
Maarten Lankhorst7c3d24b2008-02-17 18:20:32 -080017492 "dlls/initpki/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/initpki/Makefile" ;;
John Klehme9252252007-07-31 11:58:02 -050017493 "dlls/inkobj/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inkobj/Makefile" ;;
Mike McCormack4d3877b2006-07-11 11:13:18 +090017494 "dlls/inseng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/inseng/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017495 "dlls/iphlpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
17496 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
James Hawkins58b06862008-02-15 17:39:46 -060017497 "dlls/itircl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itircl/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017498 "dlls/itss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
Jacek Caban1e65d472006-12-25 16:09:41 +010017499 "dlls/itss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/itss/tests/Makefile" ;;
Jacek Cabanfa23a2c2008-03-09 00:07:57 +010017500 "dlls/jscript/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/Makefile" ;;
Jacek Caban63ebe012008-03-24 21:53:14 +010017501 "dlls/jscript/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/jscript/tests/Makefile" ;;
Alexandre Julliard489d87d2006-09-12 13:01:46 +020017502 "dlls/kernel32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/Makefile" ;;
17503 "dlls/kernel32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
Alexandre Julliardc2e52462009-03-04 14:30:37 +010017504 "dlls/keyboard.drv16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/keyboard.drv16/Makefile" ;;
Alexandre Julliard475b7d22009-12-29 16:24:00 +010017505 "dlls/krnl386.exe16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/krnl386.exe16/Makefile" ;;
Andrey Turkinfaa73662009-01-07 13:34:31 +030017506 "dlls/loadperf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/loadperf/Makefile" ;;
Detlef Riekenberg2198d832006-09-11 00:28:36 +020017507 "dlls/localspl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/Makefile" ;;
Detlef Riekenbergecb97fc2006-09-28 11:47:52 +020017508 "dlls/localspl/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
Detlef Riekenbergd24bc082007-04-06 22:33:01 +020017509 "dlls/localui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/Makefile" ;;
Detlef Riekenberg62e92792007-04-06 22:33:17 +020017510 "dlls/localui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/localui/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017511 "dlls/lz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
17512 "dlls/lz32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
Alexandre Julliard96b47ff2009-03-11 16:18:03 +010017513 "dlls/lzexpand.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/lzexpand.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017514 "dlls/mapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
17515 "dlls/mapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
Louis Lenders13a9c032009-12-17 17:41:18 +010017516 "dlls/mapistub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mapistub/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017517 "dlls/mciavi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
17518 "dlls/mcicda/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
Christian Costaa9c825e2009-02-26 23:27:36 +010017519 "dlls/mciqtz32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciqtz32/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017520 "dlls/mciseq/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
17521 "dlls/mciwave/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
17522 "dlls/midimap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
17523 "dlls/mlang/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
17524 "dlls/mlang/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
Maarten Lankhorsta9a3a8e2009-12-09 15:38:43 +010017525 "dlls/mmdevapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevapi/Makefile" ;;
Maarten Lankhorstc38de042009-12-14 10:09:34 +010017526 "dlls/mmdevapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevapi/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017527 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
Eric Pouecha60dd6e2009-10-22 22:11:29 +020017528 "dlls/mmsystem.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mmsystem.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017529 "dlls/monodebg.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
Alexandre Julliard43dc80e2008-01-04 13:07:05 +010017530 "dlls/mountmgr.sys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mountmgr.sys/Makefile" ;;
Alexandre Julliardd62c05f2009-03-04 14:32:56 +010017531 "dlls/mouse.drv16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mouse.drv16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017532 "dlls/mpr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
17533 "dlls/mprapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
Alexandre Julliardd4314822009-03-11 16:22:47 +010017534 "dlls/msacm.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017535 "dlls/msacm32.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
17536 "dlls/msacm32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
17537 "dlls/msacm32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
17538 "dlls/msadp32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
Alexander Nicolaysen Sørnes6103f312007-10-28 19:43:51 +010017539 "dlls/mscat32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscat32/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017540 "dlls/mscms/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
17541 "dlls/mscms/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
Paul Chitescu4fe6c3f2006-10-06 12:21:02 +030017542 "dlls/mscoree/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mscoree/Makefile" ;;
Aric Stewarta74aeae2009-01-27 14:15:08 -060017543 "dlls/msctf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msctf/Makefile" ;;
Aric Stewart64ae0002009-02-17 10:40:34 -060017544 "dlls/msctf/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msctf/tests/Makefile" ;;
Huw Daviesb8e97562009-08-03 12:17:10 +010017545 "dlls/msdaps/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdaps/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017546 "dlls/msdmo/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
17547 "dlls/msftedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
17548 "dlls/msg711.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
Maarten Lankhorst58b5a3f2009-08-03 15:48:32 +020017549 "dlls/msgsm32.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msgsm32.acm/Makefile" ;;
Jacek Caban021d06a2007-07-29 21:25:14 +020017550 "dlls/mshtml.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml.tlb/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017551 "dlls/mshtml/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
17552 "dlls/mshtml/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
17553 "dlls/msi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
17554 "dlls/msi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
17555 "dlls/msimg32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
Jacek Caban44a808f2007-10-14 19:31:45 +020017556 "dlls/msimtf/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msimtf/Makefile" ;;
Juan Lang8a6c2c22008-07-31 08:41:17 -070017557 "dlls/msisip/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisip/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017558 "dlls/msisys.ocx/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
17559 "dlls/msnet32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
17560 "dlls/msrle32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
Austin English0d731932009-01-20 20:03:45 -060017561 "dlls/mssign32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssign32/Makefile" ;;
Maarten Lankhorstc438d232008-02-17 18:20:32 -080017562 "dlls/mssip32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mssip32/Makefile" ;;
Roy Shea80ee2252008-07-14 17:12:47 -070017563 "dlls/mstask/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/Makefile" ;;
Alexandre Julliard3842ab02008-08-19 15:30:25 +020017564 "dlls/mstask/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mstask/tests/Makefile" ;;
Alexandre Julliard455a4992007-09-28 20:43:43 +020017565 "dlls/msvcirt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcirt/Makefile" ;;
Hans Leidekker67815c62008-01-20 19:34:01 +010017566 "dlls/msvcr71/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcr71/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017567 "dlls/msvcrt/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
17568 "dlls/msvcrt/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
17569 "dlls/msvcrt20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
17570 "dlls/msvcrt40/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
17571 "dlls/msvcrtd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
17572 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
17573 "dlls/msvfw32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
Jörg Höhlefc5c89e2008-12-16 21:27:56 +010017574 "dlls/msvfw32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017575 "dlls/msvidc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
Eric Pouechb8aa4e42009-05-14 21:36:39 +020017576 "dlls/msvideo.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msvideo.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017577 "dlls/mswsock/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
17578 "dlls/msxml3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
17579 "dlls/msxml3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
Nikolay Sivov4f1d0402010-02-03 03:49:37 +030017580 "dlls/msxml4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/msxml4/Makefile" ;;
Benjamin Arai0b4eafa2006-09-15 16:00:53 -070017581 "dlls/nddeapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017582 "dlls/netapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
17583 "dlls/netapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
17584 "dlls/newdev/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
17585 "dlls/ntdll/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
17586 "dlls/ntdll/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
17587 "dlls/ntdsapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
Rob Shearman5db45042008-01-24 18:36:36 +000017588 "dlls/ntdsapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntdsapi/tests/Makefile" ;;
Alexandre Julliard12c169d2007-05-14 19:55:32 +020017589 "dlls/ntoskrnl.exe/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntoskrnl.exe/Makefile" ;;
Detlef Riekenberga8697b52007-06-19 00:02:15 +020017590 "dlls/ntprint/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/Makefile" ;;
Detlef Riekenberga1144832007-06-21 06:07:10 +020017591 "dlls/ntprint/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ntprint/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017592 "dlls/objsel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
17593 "dlls/odbc32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
17594 "dlls/odbccp32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
Bill Medlandcf6e0d82007-01-09 08:41:04 -080017595 "dlls/odbccp32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/tests/Makefile" ;;
Alexandre Julliard2e1b3092009-03-11 17:05:20 +010017596 "dlls/ole2.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole2.dll16/Makefile" ;;
Alexandre Julliardea638262009-03-11 16:32:36 +010017597 "dlls/ole2conv.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole2conv.dll16/Makefile" ;;
Alexandre Julliardd5a4a662009-03-11 17:36:40 +010017598 "dlls/ole2disp.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole2disp.dll16/Makefile" ;;
Alexandre Julliard7511d672009-03-11 16:53:06 +010017599 "dlls/ole2nls.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole2nls.dll16/Makefile" ;;
Alexandre Julliardb4bbe0c2009-03-11 16:36:17 +010017600 "dlls/ole2prox.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole2prox.dll16/Makefile" ;;
Alexandre Julliarddc810652009-03-11 16:38:57 +010017601 "dlls/ole2thk.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole2thk.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017602 "dlls/ole32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
17603 "dlls/ole32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
17604 "dlls/oleacc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
Nikolay Sivove2399a92008-10-14 22:18:08 +040017605 "dlls/oleacc/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleacc/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017606 "dlls/oleaut32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
17607 "dlls/oleaut32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
Alexandre Julliard7c288602009-03-11 16:26:37 +010017608 "dlls/olecli.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017609 "dlls/olecli32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
Huw Daviesbcfce052009-09-02 12:02:39 +010017610 "dlls/oledb32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledb32/Makefile" ;;
Huw Davies678f98e2009-09-09 17:18:37 +010017611 "dlls/oledb32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledb32/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017612 "dlls/oledlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
17613 "dlls/olepro32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
Alexandre Julliardb12965c2009-03-11 16:27:35 +010017614 "dlls/olesvr.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017615 "dlls/olesvr32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
Stefan Leichter7db1bd92007-09-07 21:15:41 +020017616 "dlls/olethk32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/olethk32/Makefile" ;;
Chris Robinson862965f2009-08-25 03:26:35 -070017617 "dlls/openal32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/openal32/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017618 "dlls/opengl32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
Roderick Colenbrander219269c2007-08-01 14:38:49 +020017619 "dlls/opengl32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/opengl32/tests/Makefile" ;;
Andrey Turkin41f15a72007-06-02 02:28:45 +040017620 "dlls/pdh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/Makefile" ;;
Hans Leidekker0a6f6872007-07-08 14:06:08 +020017621 "dlls/pdh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pdh/tests/Makefile" ;;
Hans Leidekkerefa2fcc2008-12-15 11:55:32 +010017622 "dlls/pidgen/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pidgen/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017623 "dlls/powrprof/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
Detlef Riekenberg3fd4a532007-06-18 00:32:12 +020017624 "dlls/printui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/printui/Makefile" ;;
James Hawkins07588022008-01-16 00:11:17 -060017625 "dlls/propsys/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/propsys/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017626 "dlls/psapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
17627 "dlls/psapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
Mike McCormackacb7f8a2006-08-11 15:11:47 +090017628 "dlls/pstorec/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/pstorec/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017629 "dlls/qcap/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
Lei Zhang6de8be72008-02-11 18:07:45 -080017630 "dlls/qedit/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/Makefile" ;;
Lei Zhange8551a02008-02-13 14:47:12 -080017631 "dlls/qedit/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qedit/tests/Makefile" ;;
Roy Shea2b0255f2007-10-08 10:38:06 -070017632 "dlls/qmgr/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/Makefile" ;;
Roy Shea884e7e72008-02-11 11:09:34 -080017633 "dlls/qmgr/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgr/tests/Makefile" ;;
Roy Shea00ef4e52007-12-09 13:16:07 -080017634 "dlls/qmgrprxy/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/qmgrprxy/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017635 "dlls/quartz/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
17636 "dlls/quartz/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
Mike McCormackdefbc492006-07-07 18:21:36 +090017637 "dlls/query/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/query/Makefile" ;;
Alexandre Julliarde475ef82009-03-23 20:34:34 +010017638 "dlls/rasapi16.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi16.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017639 "dlls/rasapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
Stefan Leichterb8c6d8e2008-07-06 13:47:34 +020017640 "dlls/rasapi32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/tests/Makefile" ;;
Aric Stewartf55151a2009-01-23 11:43:16 -060017641 "dlls/rasdlg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rasdlg/Makefile" ;;
Benjamin Arai3ac07aa2006-09-29 15:17:22 -070017642 "dlls/resutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/resutils/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017643 "dlls/riched20/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
17644 "dlls/riched20/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
17645 "dlls/riched32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
Alex Villacís Lasso74cd5902007-10-22 10:47:59 -050017646 "dlls/riched32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/riched32/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017647 "dlls/rpcrt4/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
17648 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
17649 "dlls/rsabase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017650 "dlls/rsaenh/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
17651 "dlls/rsaenh/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
Alexander Scott-Johnsa4689aa2009-06-26 23:12:21 +010017652 "dlls/rtutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/rtutils/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017653 "dlls/sane.ds/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
Maarten Lankhorst322d4ca2008-02-17 18:20:32 -080017654 "dlls/sccbase/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sccbase/Makefile" ;;
Rob Shearman361c6f22007-03-01 12:17:59 +000017655 "dlls/schannel/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/Makefile" ;;
Yuval Fledel735df242007-04-25 22:49:08 +030017656 "dlls/schannel/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/schannel/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017657 "dlls/secur32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
17658 "dlls/secur32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
17659 "dlls/security/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
17660 "dlls/sensapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
17661 "dlls/serialui/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
Detlef Riekenberg8650c572007-02-22 21:15:29 +010017662 "dlls/serialui/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/serialui/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017663 "dlls/setupapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
17664 "dlls/setupapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
Alexandre Julliard66f6b782009-10-01 19:45:07 +020017665 "dlls/setupx.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/setupx.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017666 "dlls/sfc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
Detlef Riekenberg161897e2007-01-16 20:35:06 +010017667 "dlls/sfc_os/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sfc_os/Makefile" ;;
Jacek Caban2d3a5a62006-11-09 23:51:08 +010017668 "dlls/shdoclc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017669 "dlls/shdocvw/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
17670 "dlls/shdocvw/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
Alexandre Julliard129ba5a2009-04-01 18:20:13 +020017671 "dlls/shell.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017672 "dlls/shell32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
17673 "dlls/shell32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
17674 "dlls/shfolder/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
17675 "dlls/shlwapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
17676 "dlls/shlwapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
Maarten Lankhorstb3a96992008-02-17 18:20:32 -080017677 "dlls/slbcsp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slbcsp/Makefile" ;;
Alistair Leslie-Hughesea563702008-02-20 00:17:08 +110017678 "dlls/slc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/slc/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017679 "dlls/snmpapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
Hans Leidekker396f6c02007-01-22 15:31:00 +010017680 "dlls/snmpapi/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/tests/Makefile" ;;
Maarten Lankhorste11826f2008-02-17 18:20:32 -080017681 "dlls/softpub/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/softpub/Makefile" ;;
Alexandre Julliardb0530a52009-03-23 20:35:00 +010017682 "dlls/sound.drv16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sound.drv16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017683 "dlls/spoolss/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
Detlef Riekenbergcf122ba2007-10-03 01:01:12 +020017684 "dlls/spoolss/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/spoolss/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017685 "dlls/stdole2.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
17686 "dlls/stdole32.tlb/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
17687 "dlls/sti/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
Damjan Jovanovicee1dd492009-09-26 17:59:54 +020017688 "dlls/sti/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sti/tests/Makefile" ;;
Alexandre Julliardf7fe2ed2009-03-11 17:03:10 +010017689 "dlls/storage.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/storage.dll16/Makefile" ;;
Alexandre Julliarde4085d72009-03-04 14:16:18 +010017690 "dlls/stress.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/stress.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017691 "dlls/strmiids/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
Konstantin Petrovbb497632006-09-04 20:46:34 +040017692 "dlls/svrapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/svrapi/Makefile" ;;
EA Durbin74977da2007-04-19 18:28:52 -050017693 "dlls/sxs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/sxs/Makefile" ;;
Alexandre Julliard55b5e3a2009-09-28 19:56:10 +020017694 "dlls/system.drv16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/system.drv16/Makefile" ;;
Austin Englishb03d07d2009-05-04 22:52:37 -050017695 "dlls/t2embed/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/t2embed/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017696 "dlls/tapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
Alexandre Julliardc1dbead2009-09-28 20:00:15 +020017697 "dlls/toolhelp.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/toolhelp.dll16/Makefile" ;;
Austin English2de77982009-01-28 10:51:51 -060017698 "dlls/traffic/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/traffic/Makefile" ;;
Alexandre Julliard2b67a232009-03-23 20:34:02 +010017699 "dlls/twain.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017700 "dlls/twain_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
Jeremy White499603c2009-01-26 11:40:49 -060017701 "dlls/twain_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/twain_32/tests/Makefile" ;;
Alexandre Julliard8a708952009-03-11 17:30:10 +010017702 "dlls/typelib.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/typelib.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017703 "dlls/unicows/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
Alexandre Julliardd7fd3082009-01-05 20:28:06 +010017704 "dlls/updspapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/updspapi/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017705 "dlls/url/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
17706 "dlls/urlmon/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
17707 "dlls/urlmon/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
Alexandre Julliard8aa83d32009-12-23 20:01:37 +010017708 "dlls/user.exe16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user.exe16/Makefile" ;;
Alexandre Julliardb8a2e3b2006-11-16 14:49:25 +010017709 "dlls/user32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/Makefile" ;;
17710 "dlls/user32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
Mike McCormacka6ea0f62006-06-05 14:01:10 +090017711 "dlls/userenv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/Makefile" ;;
Lei Zhangffb04572008-04-29 18:09:24 -070017712 "dlls/userenv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/userenv/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017713 "dlls/usp10/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
17714 "dlls/usp10/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
17715 "dlls/uuid/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
17716 "dlls/uxtheme/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
Paul Vriens569a4522006-06-13 14:16:58 +020017717 "dlls/uxtheme/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017718 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
17719 "dlls/vdmdbg/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
Alexandre Julliard3ed59862009-10-01 13:57:08 +020017720 "dlls/ver.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ver.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017721 "dlls/version/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
17722 "dlls/version/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
17723 "dlls/vmm.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
17724 "dlls/vnbt.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
17725 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
17726 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
17727 "dlls/vwin32.vxd/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
17728 "dlls/w32skrnl/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
Alexandre Julliardb4d46252009-03-24 09:42:02 +010017729 "dlls/w32sys.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/w32sys.dll16/Makefile" ;;
Austin Englishe10f24e2009-05-06 07:51:21 -050017730 "dlls/wbemprox/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wbemprox/Makefile" ;;
Damjan Jovanovic32233372009-10-29 21:58:42 +020017731 "dlls/wiaservc/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wiaservc/Makefile" ;;
Alexandre Julliard2a745fe2009-03-24 09:38:01 +010017732 "dlls/win32s16.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/win32s16.dll16/Makefile" ;;
Alexandre Julliarda9e81622009-03-04 14:19:49 +010017733 "dlls/win87em.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/win87em.dll16/Makefile" ;;
Alexandre Julliarda2ae7dd2009-03-23 20:33:34 +010017734 "dlls/winaspi.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winaspi.dll16/Makefile" ;;
Alexandre Julliard6cebffc2009-03-04 14:24:30 +010017735 "dlls/windebug.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/windebug.dll16/Makefile" ;;
Vincent Povirked4cde22009-05-28 13:36:54 -050017736 "dlls/windowscodecs/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/windowscodecs/Makefile" ;;
Vincent Povirkb19e3292009-06-10 15:57:15 -050017737 "dlls/windowscodecs/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/windowscodecs/tests/Makefile" ;;
Alexandre Julliard01905332007-01-10 13:40:39 +010017738 "dlls/winealsa.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winealsa.drv/Makefile" ;;
Alexandre Julliardf972d662007-01-10 13:42:34 +010017739 "dlls/wineaudioio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineaudioio.drv/Makefile" ;;
Alexandre Julliard94020892007-01-10 13:43:27 +010017740 "dlls/winecoreaudio.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecoreaudio.drv/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017741 "dlls/winecrt0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
17742 "dlls/wined3d/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
Alexandre Julliard851e6d72007-01-10 13:44:20 +010017743 "dlls/wineesd.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineesd.drv/Makefile" ;;
Alexandre Julliard7fc151d2007-01-10 13:45:03 +010017744 "dlls/winejack.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejack.drv/Makefile" ;;
Alexandre Julliardf231a702006-12-29 14:29:20 +010017745 "dlls/winejoystick.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winejoystick.drv/Makefile" ;;
Owen Rudge38cb7be2009-12-16 10:44:28 -060017746 "dlls/winemapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemapi/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017747 "dlls/winemp3.acm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
Alexandre Julliardae0380d2007-01-10 13:45:39 +010017748 "dlls/winenas.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winenas.drv/Makefile" ;;
Alexandre Julliarddc3961b2007-01-10 13:46:14 +010017749 "dlls/wineoss.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineoss.drv/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017750 "dlls/wineps.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
Alexandre Julliardac2a5092009-10-01 19:44:17 +020017751 "dlls/wineps16.drv16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wineps16.drv16/Makefile" ;;
Pierre d'Herbemont08884512006-10-24 15:26:33 +020017752 "dlls/winequartz.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
Alexandre Julliardbdb4fab2006-06-16 09:57:50 +020017753 "dlls/winex11.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
Alexandre Julliard6ad95182009-09-26 13:32:25 +020017754 "dlls/wing.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing.dll16/Makefile" ;;
Dmitry Timoshkov47e6fb42007-02-22 18:43:58 +080017755 "dlls/wing32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wing32/Makefile" ;;
Jacek Caban21572962007-07-31 00:54:42 +020017756 "dlls/winhttp/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/Makefile" ;;
Zac Brownb2be8402008-07-17 17:37:23 -070017757 "dlls/winhttp/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winhttp/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017758 "dlls/wininet/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
17759 "dlls/wininet/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
17760 "dlls/winmm/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017761 "dlls/winmm/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
Alexandre Julliard9bf9eb02009-03-24 09:31:03 +010017762 "dlls/winnls.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017763 "dlls/winnls32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
Mounir IDRASSI23df68d2007-05-23 00:51:46 +020017764 "dlls/winscard/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winscard/Makefile" ;;
Alexandre Julliard7dc9ea82009-09-29 20:05:26 +020017765 "dlls/winsock.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winsock.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017766 "dlls/winspool.drv/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
17767 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
Alexandre Julliardd540fa22009-03-23 20:33:00 +010017768 "dlls/wintab.dll16/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab.dll16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017769 "dlls/wintab32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
John Klehmb4c5a622009-08-02 16:23:35 -050017770 "dlls/wintab32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintab32/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017771 "dlls/wintrust/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
Paul Vriens95bb9032006-08-29 10:25:47 +020017772 "dlls/wintrust/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017773 "dlls/wldap32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
Hans Leidekkerb9813872008-10-06 15:47:28 +020017774 "dlls/wldap32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wldap32/tests/Makefile" ;;
Marcus Meissner4328d922008-01-16 15:03:03 +010017775 "dlls/wmi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmi/Makefile" ;;
Hans Leidekkerdd1d8ca2009-07-14 12:27:46 +020017776 "dlls/wmiutils/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wmiutils/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017777 "dlls/wnaspi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
17778 "dlls/wow32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
17779 "dlls/ws2_32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
17780 "dlls/ws2_32/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
17781 "dlls/wsock32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
17782 "dlls/wtsapi32/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
Hans Leidekker5b6551a2008-12-16 16:41:43 +010017783 "dlls/wuapi/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wuapi/Makefile" ;;
Louis Lenders61613672009-10-26 12:49:41 +010017784 "dlls/wuaueng/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/wuaueng/Makefile" ;;
Andrew Fenn68ede592008-11-10 16:29:29 +000017785 "dlls/xinput1_1/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput1_1/Makefile" ;;
Andrew Fenn85a4a1d2008-11-10 16:30:13 +000017786 "dlls/xinput1_2/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput1_2/Makefile" ;;
Andrew Fenn457a22d2008-11-10 16:22:35 +000017787 "dlls/xinput1_3/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput1_3/Makefile" ;;
Andrew Fenn29789a82008-11-10 16:32:33 +000017788 "dlls/xinput1_3/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput1_3/tests/Makefile" ;;
Andrew Fennc4cd3bc2008-11-10 16:26:05 +000017789 "dlls/xinput9_1_0/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xinput9_1_0/Makefile" ;;
Christian Costa2f4423e2009-04-20 21:22:15 +020017790 "dlls/xmllite/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xmllite/Makefile" ;;
Nikolay Sivov80a546c2010-01-19 00:05:53 +030017791 "dlls/xmllite/tests/Makefile") CONFIG_FILES="$CONFIG_FILES dlls/xmllite/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017792 "documentation/Makefile") CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
17793 "fonts/Makefile") CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
17794 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017795 "libs/port/Makefile") CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017796 "libs/wine/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
17797 "libs/wpp/Makefile") CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
17798 "loader/Makefile") CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
17799 "programs/Makefile") CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
Andrey Turkinc0f4fc42009-01-11 22:36:53 +030017800 "programs/cacls/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cacls/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017801 "programs/clock/Makefile") CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
Dan Kegel39857442006-09-03 21:13:08 -070017802 "programs/cmd/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/Makefile" ;;
Jacek Caban28a4a7b2010-02-09 19:11:15 +010017803 "programs/cmd/tests/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmd/tests/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017804 "programs/cmdlgtst/Makefile") CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
17805 "programs/control/Makefile") CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
Austin Englishb3fb7932009-08-24 11:18:26 -050017806 "programs/dxdiag/Makefile") CONFIG_FILES="$CONFIG_FILES programs/dxdiag/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017807 "programs/eject/Makefile") CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
17808 "programs/expand/Makefile") CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
17809 "programs/explorer/Makefile") CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
Ilya Shpigor44a828592009-10-22 11:10:16 +040017810 "programs/extrac32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/extrac32/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017811 "programs/hh/Makefile") CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
17812 "programs/icinfo/Makefile") CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
17813 "programs/iexplore/Makefile") CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
Andrey Turkin347272b2009-01-28 19:56:25 +030017814 "programs/lodctr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/lodctr/Makefile" ;;
Austin Englishe64f7522009-10-29 20:55:12 -050017815 "programs/mshta/Makefile") CONFIG_FILES="$CONFIG_FILES programs/mshta/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017816 "programs/msiexec/Makefile") CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
Tim Schwartz451616e2007-05-02 12:30:19 -050017817 "programs/net/Makefile") CONFIG_FILES="$CONFIG_FILES programs/net/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017818 "programs/notepad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
Piotr Caban68f590c2006-06-14 19:50:28 +020017819 "programs/oleview/Makefile") CONFIG_FILES="$CONFIG_FILES programs/oleview/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017820 "programs/progman/Makefile") CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
Andrew Riedi2087ad42008-03-18 23:36:28 -070017821 "programs/reg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/reg/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017822 "programs/regedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
17823 "programs/regsvr32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
17824 "programs/rpcss/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
17825 "programs/rundll32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
Louis Lenders6547fef2008-02-26 22:12:40 +000017826 "programs/secedit/Makefile") CONFIG_FILES="$CONFIG_FILES programs/secedit/Makefile" ;;
Mikołaj Zalewski7bd0efa2008-03-15 09:49:42 +010017827 "programs/services/Makefile") CONFIG_FILES="$CONFIG_FILES programs/services/Makefile" ;;
Jacek Caband1ddc9c2007-03-19 14:13:34 +010017828 "programs/spoolsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/spoolsv/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017829 "programs/start/Makefile") CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
Roy Shea4714c4f2007-12-04 15:00:34 -080017830 "programs/svchost/Makefile") CONFIG_FILES="$CONFIG_FILES programs/svchost/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017831 "programs/taskmgr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
Hans Leidekker6137b1b2009-04-15 14:58:00 +020017832 "programs/termsv/Makefile") CONFIG_FILES="$CONFIG_FILES programs/termsv/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017833 "programs/uninstaller/Makefile") CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
Andrey Turkin347272b2009-01-28 19:56:25 +030017834 "programs/unlodctr/Makefile") CONFIG_FILES="$CONFIG_FILES programs/unlodctr/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017835 "programs/view/Makefile") CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017836 "programs/wineboot/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
17837 "programs/winebrowser/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
17838 "programs/winecfg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
17839 "programs/wineconsole/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
17840 "programs/winedbg/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
Alexandre Julliardc81d0992007-05-17 16:51:44 +020017841 "programs/winedevice/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winedevice/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017842 "programs/winefile/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
17843 "programs/winemenubuilder/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
17844 "programs/winemine/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
17845 "programs/winepath/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
17846 "programs/winetest/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
17847 "programs/winevdm/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
Alexandre Julliard3f0d9d12009-02-24 18:22:47 +010017848 "programs/winhelp.exe16/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhelp.exe16/Makefile" ;;
Alexandre Julliarda795f362008-05-13 18:43:27 +020017849 "programs/winhlp32/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winhlp32/Makefile" ;;
Alexandre Julliarda1cf6482009-02-24 18:21:02 +010017850 "programs/winoldap.mod16/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winoldap.mod16/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017851 "programs/winver/Makefile") CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
17852 "programs/wordpad/Makefile") CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
Mikołaj Zalewski2777a942007-08-01 20:01:29 -070017853 "programs/write/Makefile") CONFIG_FILES="$CONFIG_FILES programs/write/Makefile" ;;
Jason Edmeades921edab2007-03-06 20:04:15 +000017854 "programs/xcopy/Makefile") CONFIG_FILES="$CONFIG_FILES programs/xcopy/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017855 "server/Makefile") CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
17856 "tools/Makefile") CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
17857 "tools/widl/Makefile") CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017858 "tools/winebuild/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
17859 "tools/winedump/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
17860 "tools/winegcc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
17861 "tools/wmc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
17862 "tools/wrc/Makefile") CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
17863
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017864 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017865 esac
17866done
17867
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017868
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017869# If the user did not use the arguments to specify the items to instantiate,
17870# then the envvar interface is used. Set only those that are not.
17871# We use the long form for the default assignment because of an extremely
17872# bizarre bug on SunOS 4.1.3.
17873if $ac_need_defaults; then
17874 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17875 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
Alexandre Julliard7d020c92010-02-03 13:12:12 +010017876 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017877 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17878fi
17879
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000017880# Have a temporary directory for convenience. Make it in the build tree
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017881# simply because there is no reason against having it here, and in addition,
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000017882# creating and moving files from /tmp can sometimes cause problems.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017883# Hook for its removal unless debugging.
17884# Note that there is a small window in which the directory will not be cleaned:
17885# after its creation but before its name has been assigned to `$tmp'.
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017886$debug ||
17887{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017888 tmp=
17889 trap 'exit_status=$?
17890 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17891' 0
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017892 trap 'as_fn_exit 1' 1 2 13 15
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017893}
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017894# Create a (secure) tmp directory for tmp files.
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000017895
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017896{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017897 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017898 test -n "$tmp" && test -d "$tmp"
17899} ||
17900{
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017901 tmp=./conf$$-$RANDOM
17902 (umask 077 && mkdir "$tmp")
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017903} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017904
Alexandre Julliardabf50482008-10-31 12:56:53 +010017905# Set up the scripts for CONFIG_FILES section.
17906# No need to generate them if there are no CONFIG_FILES.
17907# This happens for instance with `./config.status config.h'.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017908if test -n "$CONFIG_FILES"; then
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017909
Alexandre Julliardabf50482008-10-31 12:56:53 +010017910if $AWK 'BEGIN { getline <"/dev/null" }' </dev/null 2>/dev/null; then
17911 ac_cs_awk_getline=:
17912 ac_cs_awk_pipe_init=
17913 ac_cs_awk_read_file='
17914 while ((getline aline < (F[key])) > 0)
17915 print(aline)
17916 close(F[key])'
17917 ac_cs_awk_pipe_fini=
17918else
17919 ac_cs_awk_getline=false
17920 ac_cs_awk_pipe_init="print \"cat <<'|#_!!_#|' &&\""
17921 ac_cs_awk_read_file='
17922 print "|#_!!_#|"
17923 print "cat " F[key] " &&"
17924 '$ac_cs_awk_pipe_init
17925 # The final `:' finishes the AND list.
17926 ac_cs_awk_pipe_fini='END { print "|#_!!_#|"; print ":" }'
17927fi
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017928ac_cr=`echo X | tr X '\015'`
17929# On cygwin, bash can eat \r inside `` if the user requested igncr.
17930# But we know of no other shell where ac_cr would be empty at this
17931# point, so we can use a bashism as a fallback.
17932if test "x$ac_cr" = x; then
17933 eval ac_cr=\$\'\\r\'
17934fi
Alexandre Julliardabf50482008-10-31 12:56:53 +010017935ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17936if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017937 ac_cs_awk_cr='\r'
Alexandre Julliardabf50482008-10-31 12:56:53 +010017938else
17939 ac_cs_awk_cr=$ac_cr
17940fi
17941
17942echo 'BEGIN {' >"$tmp/subs1.awk" &&
Alexandre Julliarddaa28862002-04-11 21:54:01 +000017943_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017944
Alexandre Julliardabf50482008-10-31 12:56:53 +010017945# Create commands to substitute file output variables.
17946{
17947 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17948 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
17949 echo "$ac_subst_files" | sed 's/.*/F["&"]="$&"/' &&
17950 echo "_ACAWK" &&
17951 echo "_ACEOF"
17952} >conf$$files.sh &&
17953. ./conf$$files.sh ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017954 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
Alexandre Julliardabf50482008-10-31 12:56:53 +010017955rm -f conf$$files.sh
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017956
Alexandre Julliardabf50482008-10-31 12:56:53 +010017957{
17958 echo "cat >conf$$subs.awk <<_ACEOF" &&
17959 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17960 echo "_ACEOF"
17961} >conf$$subs.sh ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017962 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
Alexandre Julliardabf50482008-10-31 12:56:53 +010017963ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017964ac_delim='%!_!# '
17965for ac_last_try in false false false false false :; do
Alexandre Julliardabf50482008-10-31 12:56:53 +010017966 . ./conf$$subs.sh ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017967 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017968
Alexandre Julliardabf50482008-10-31 12:56:53 +010017969 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17970 if test $ac_delim_n = $ac_delim_num; then
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017971 break
17972 elif $ac_last_try; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020017973 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017974 else
17975 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
Alexandre Julliardf5818d22002-02-14 19:47:29 +000017976 fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017977done
Alexandre Julliardabf50482008-10-31 12:56:53 +010017978rm -f conf$$subs.sh
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017979
Alexandre Julliardabf50482008-10-31 12:56:53 +010017980cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17981cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020017982_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010017983sed -n '
17984h
17985s/^/S["/; s/!.*/"]=/
17986p
17987g
17988s/^[^!]*!//
17989:repl
17990t repl
17991s/'"$ac_delim"'$//
17992t delim
17993:nl
17994h
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +010017995s/\(.\{148\}\)..*/\1/
Alexandre Julliardabf50482008-10-31 12:56:53 +010017996t more1
17997s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17998p
17999n
18000b repl
18001:more1
18002s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18003p
18004g
18005s/.\{148\}//
18006t nl
18007:delim
18008h
Alexandre Julliardfa8c4f72009-12-28 11:43:02 +010018009s/\(.\{148\}\)..*/\1/
Alexandre Julliardabf50482008-10-31 12:56:53 +010018010t more2
18011s/["\\]/\\&/g; s/^/"/; s/$/"/
18012p
18013b
18014:more2
18015s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18016p
18017g
18018s/.\{148\}//
18019t delim
18020' <conf$$subs.awk | sed '
18021/^[^""]/{
18022 N
18023 s/\n//
18024}
18025' >>$CONFIG_STATUS || ac_write_fail=1
18026rm -f conf$$subs.awk
18027cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18028_ACAWK
18029cat >>"\$tmp/subs1.awk" <<_ACAWK &&
18030 for (key in S) S_is_set[key] = 1
18031 FS = ""
18032 \$ac_cs_awk_pipe_init
18033}
18034{
18035 line = $ 0
18036 nfields = split(line, field, "@")
18037 substed = 0
18038 len = length(field[1])
18039 for (i = 2; i < nfields; i++) {
18040 key = field[i]
18041 keylen = length(key)
18042 if (S_is_set[key]) {
18043 value = S[key]
18044 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18045 len += length(value) + length(field[++i])
18046 substed = 1
18047 } else
18048 len += 1 + keylen
18049 }
18050 if (nfields == 3 && !substed) {
18051 key = field[2]
18052 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
18053 \$ac_cs_awk_read_file
18054 next
18055 }
18056 }
18057 print line
18058}
18059\$ac_cs_awk_pipe_fini
18060_ACAWK
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018061_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010018062cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18063if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18064 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18065else
18066 cat
18067fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018068 || as_fn_error "could not setup config files machinery" "$LINENO" 5
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018069_ACEOF
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018070
18071# VPATH may cause trouble with some makes, so we remove $(srcdir),
18072# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18073# trailing colons and then remove the whole line if VPATH becomes empty
18074# (actually we leave an empty line to preserve line numbers).
18075if test "x$srcdir" = x.; then
18076 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18077s/:*\$(srcdir):*/:/
18078s/:*\${srcdir}:*/:/
18079s/:*@srcdir@:*/:/
18080s/^\([^=]*=[ ]*\):*/\1/
18081s/:*$//
18082s/^[^=]*=[ ]*$//
18083}'
18084fi
18085
Alexandre Julliardabf50482008-10-31 12:56:53 +010018086cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018087fi # test -n "$CONFIG_FILES"
18088
Alexandre Julliardabf50482008-10-31 12:56:53 +010018089# Set up the scripts for CONFIG_HEADERS section.
18090# No need to generate them if there are no CONFIG_HEADERS.
18091# This happens for instance with `./config.status Makefile'.
18092if test -n "$CONFIG_HEADERS"; then
18093cat >"$tmp/defines.awk" <<\_ACAWK ||
18094BEGIN {
18095_ACEOF
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018096
Alexandre Julliardabf50482008-10-31 12:56:53 +010018097# Transform confdefs.h into an awk script `defines.awk', embedded as
18098# here-document in config.status, that substitutes the proper values into
18099# config.h.in to produce config.h.
18100
18101# Create a delimiter string that does not exist in confdefs.h, to ease
18102# handling of long lines.
18103ac_delim='%!_!# '
18104for ac_last_try in false false :; do
18105 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
18106 if test -z "$ac_t"; then
18107 break
18108 elif $ac_last_try; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018109 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018110 else
18111 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18112 fi
18113done
18114
18115# For the awk script, D is an array of macro values keyed by name,
18116# likewise P contains macro parameters if any. Preserve backslash
18117# newline sequences.
18118
18119ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18120sed -n '
18121s/.\{148\}/&'"$ac_delim"'/g
18122t rset
18123:rset
18124s/^[ ]*#[ ]*define[ ][ ]*/ /
18125t def
18126d
18127:def
18128s/\\$//
18129t bsnl
18130s/["\\]/\\&/g
18131s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18132D["\1"]=" \3"/p
18133s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18134d
18135:bsnl
18136s/["\\]/\\&/g
18137s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18138D["\1"]=" \3\\\\\\n"\\/p
18139t cont
18140s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18141t cont
18142d
18143:cont
18144n
18145s/.\{148\}/&'"$ac_delim"'/g
18146t clear
18147:clear
18148s/\\$//
18149t bsnlc
18150s/["\\]/\\&/g; s/^/"/; s/$/"/p
18151d
18152:bsnlc
18153s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18154b cont
18155' <confdefs.h | sed '
18156s/'"$ac_delim"'/"\\\
18157"/g' >>$CONFIG_STATUS || ac_write_fail=1
18158
18159cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18160 for (key in D) D_is_set[key] = 1
18161 FS = ""
18162}
18163/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18164 line = \$ 0
18165 split(line, arg, " ")
18166 if (arg[1] == "#") {
18167 defundef = arg[2]
18168 mac1 = arg[3]
18169 } else {
18170 defundef = substr(arg[1], 2)
18171 mac1 = arg[2]
18172 }
18173 split(mac1, mac2, "(") #)
18174 macro = mac2[1]
18175 prefix = substr(line, 1, index(line, defundef) - 1)
18176 if (D_is_set[macro]) {
18177 # Preserve the white space surrounding the "#".
18178 print prefix "define", macro P[macro] D[macro]
18179 next
18180 } else {
18181 # Replace #undef with comments. This is necessary, for example,
18182 # in the case of _POSIX_SOURCE, which is predefined and required
18183 # on some systems where configure will not decide to define it.
18184 if (defundef == "undef") {
18185 print "/*", prefix defundef, macro, "*/"
18186 next
18187 }
18188 }
18189}
18190{ print }
18191_ACAWK
18192_ACEOF
18193cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018194 as_fn_error "could not setup config headers machinery" "$LINENO" 5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018195fi # test -n "$CONFIG_HEADERS"
18196
18197
Alexandre Julliard7d020c92010-02-03 13:12:12 +010018198eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
Alexandre Julliardabf50482008-10-31 12:56:53 +010018199shift
18200for ac_tag
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018201do
18202 case $ac_tag in
18203 :[FHLC]) ac_mode=$ac_tag; continue;;
18204 esac
18205 case $ac_mode$ac_tag in
18206 :[FHL]*:*);;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018207 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018208 :[FH]-) ac_tag=-:-;;
18209 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18210 esac
18211 ac_save_IFS=$IFS
18212 IFS=:
18213 set x $ac_tag
18214 IFS=$ac_save_IFS
18215 shift
18216 ac_file=$1
18217 shift
18218
18219 case $ac_mode in
18220 :L) ac_source=$1;;
18221 :[FH])
18222 ac_file_inputs=
18223 for ac_f
18224 do
18225 case $ac_f in
18226 -) ac_f="$tmp/stdin";;
18227 *) # Look for the file first in the build tree, then in the source tree
18228 # (if the path is not absolute). The absolute path cannot be DOS-style,
18229 # because $ac_f cannot contain `:'.
18230 test -f "$ac_f" ||
18231 case $ac_f in
18232 [\\/$]*) false;;
18233 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18234 esac ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018235 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018236 esac
Alexandre Julliardabf50482008-10-31 12:56:53 +010018237 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018238 as_fn_append ac_file_inputs " '$ac_f'"
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018239 done
18240
18241 # Let's still pretend it is `configure' which instantiates (i.e., don't
18242 # use $as_me), people would be surprised to read:
18243 # /* config.h. Generated by config.status. */
Alexandre Julliardabf50482008-10-31 12:56:53 +010018244 configure_input='Generated from '`
18245 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18246 `' by configure.'
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018247 if test x"$ac_file" != x-; then
18248 configure_input="$ac_file. $configure_input"
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018249 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018250$as_echo "$as_me: creating $ac_file" >&6;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018251 fi
Alexandre Julliardabf50482008-10-31 12:56:53 +010018252 # Neutralize special characters interpreted by sed in replacement strings.
18253 case $configure_input in #(
18254 *\&* | *\|* | *\\* )
18255 ac_sed_conf_input=`$as_echo "$configure_input" |
18256 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18257 *) ac_sed_conf_input=$configure_input;;
18258 esac
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018259
18260 case $ac_tag in
Alexandre Julliardabf50482008-10-31 12:56:53 +010018261 *:-:* | *:-) cat >"$tmp/stdin" \
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018262 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018263 esac
18264 ;;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018265 esac
18266
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018267 ac_dir=`$as_dirname -- "$ac_file" ||
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018268$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
Alexandre Julliard875927f2004-01-02 01:55:29 +000018269 X"$ac_file" : 'X\(//\)[^/]' \| \
18270 X"$ac_file" : 'X\(//\)$' \| \
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018271 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
Alexandre Julliardabf50482008-10-31 12:56:53 +010018272$as_echo X"$ac_file" |
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18274 s//\1/
18275 q
18276 }
18277 /^X\(\/\/\)[^/].*/{
18278 s//\1/
18279 q
18280 }
18281 /^X\(\/\/\)$/{
18282 s//\1/
18283 q
18284 }
18285 /^X\(\/\).*/{
18286 s//\1/
18287 q
18288 }
18289 s/.*/./; q'`
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018290 as_dir="$ac_dir"; as_fn_mkdir_p
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018291 ac_builddir=.
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000018292
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018293case "$ac_dir" in
18294.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18295*)
Alexandre Julliardabf50482008-10-31 12:56:53 +010018296 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018297 # A ".." for each directory in $ac_dir_suffix.
Alexandre Julliardabf50482008-10-31 12:56:53 +010018298 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018299 case $ac_top_builddir_sub in
18300 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18301 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18302 esac ;;
18303esac
18304ac_abs_top_builddir=$ac_pwd
18305ac_abs_builddir=$ac_pwd$ac_dir_suffix
18306# for backward compatibility:
18307ac_top_builddir=$ac_top_build_prefix
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018308
18309case $srcdir in
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018310 .) # We are building in place.
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018311 ac_srcdir=.
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018312 ac_top_srcdir=$ac_top_builddir_sub
18313 ac_abs_top_srcdir=$ac_pwd ;;
18314 [\\/]* | ?:[\\/]* ) # Absolute name.
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018315 ac_srcdir=$srcdir$ac_dir_suffix;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018316 ac_top_srcdir=$srcdir
18317 ac_abs_top_srcdir=$srcdir ;;
18318 *) # Relative name.
18319 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18320 ac_top_srcdir=$ac_top_build_prefix$srcdir
18321 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018322esac
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018323ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
Alexandre Julliard875927f2004-01-02 01:55:29 +000018324
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018325
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018326 case $ac_mode in
18327 :F)
18328 #
18329 # CONFIG_FILE
18330 #
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000018331
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018332 case $INSTALL in
18333 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018334 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
Alexandre Julliardd7d4fdf1995-12-26 15:05:24 +000018335 esac
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018336_ACEOF
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018337
Alexandre Julliardabf50482008-10-31 12:56:53 +010018338cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018339# If the template does not know about datarootdir, expand it.
18340# FIXME: This hack should be removed a few years after 2.60.
Jeremy White0ebeb532006-06-20 13:18:41 +020018341ac_datarootdir_hack=; ac_datarootdir_seen=
Alexandre Julliardabf50482008-10-31 12:56:53 +010018342ac_sed_dataroot='
18343/datarootdir/ {
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018344 p
18345 q
18346}
18347/@datadir@/p
18348/@docdir@/p
18349/@infodir@/p
18350/@localedir@/p
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018351/@mandir@/p'
Alexandre Julliardabf50482008-10-31 12:56:53 +010018352case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
Jeremy White0ebeb532006-06-20 13:18:41 +020018353*datarootdir*) ac_datarootdir_seen=yes;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018354*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018356$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018357_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010018358cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018359 ac_datarootdir_hack='
18360 s&@datadir@&$datadir&g
18361 s&@docdir@&$docdir&g
18362 s&@infodir@&$infodir&g
18363 s&@localedir@&$localedir&g
18364 s&@mandir@&$mandir&g
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018365 s&\\\${datarootdir}&$datarootdir&g' ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018366esac
18367_ACEOF
18368
18369# Neutralize VPATH when `$srcdir' = `.'.
18370# Shell code in configure.ac might set extrasub.
18371# FIXME: do we really want to maintain this feature?
Alexandre Julliardabf50482008-10-31 12:56:53 +010018372cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18373ac_sed_extra="$ac_vpsub
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018374$extrasub
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018375_ACEOF
Alexandre Julliardabf50482008-10-31 12:56:53 +010018376cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018377:t
18378/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
Alexandre Julliardabf50482008-10-31 12:56:53 +010018379s|@configure_input@|$ac_sed_conf_input|;t t
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018380s&@top_builddir@&$ac_top_builddir_sub&;t t
Alexandre Julliardabf50482008-10-31 12:56:53 +010018381s&@top_build_prefix@&$ac_top_build_prefix&;t t
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018382s&@srcdir@&$ac_srcdir&;t t
18383s&@abs_srcdir@&$ac_abs_srcdir&;t t
18384s&@top_srcdir@&$ac_top_srcdir&;t t
18385s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18386s&@builddir@&$ac_builddir&;t t
18387s&@abs_builddir@&$ac_abs_builddir&;t t
18388s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18389s&@INSTALL@&$ac_INSTALL&;t t
18390$ac_datarootdir_hack
Alexandre Julliardabf50482008-10-31 12:56:53 +010018391"
18392eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
18393if $ac_cs_awk_getline; then
18394 $AWK -f "$tmp/subs.awk"
18395else
18396 $AWK -f "$tmp/subs.awk" | $SHELL
18397fi >$tmp/out \
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018398 || as_fn_error "could not create $ac_file" "$LINENO" 5
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018399
Jeremy White0ebeb532006-06-20 13:18:41 +020018400test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18401 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
Alexandre Julliardf5f37a82006-06-27 16:41:43 +020018402 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
Jeremy White0ebeb532006-06-20 13:18:41 +020018404which seems to be undefined. Please make sure it is defined." >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018405$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
Jeremy White0ebeb532006-06-20 13:18:41 +020018406which seems to be undefined. Please make sure it is defined." >&2;}
18407
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018408 rm -f "$tmp/stdin"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018409 case $ac_file in
Alexandre Julliardabf50482008-10-31 12:56:53 +010018410 -) cat "$tmp/out" && rm -f "$tmp/out";;
18411 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18412 esac \
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018413 || as_fn_error "could not create $ac_file" "$LINENO" 5
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018414 ;;
18415 :H)
18416 #
18417 # CONFIG_HEADER
18418 #
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018419 if test x"$ac_file" != x-; then
Alexandre Julliardabf50482008-10-31 12:56:53 +010018420 {
18421 $as_echo "/* $configure_input */" \
18422 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18423 } >"$tmp/config.h" \
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018424 || as_fn_error "could not create $ac_file" "$LINENO" 5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018425 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018426 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018427$as_echo "$as_me: $ac_file is unchanged" >&6;}
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018428 else
Alexandre Julliardabf50482008-10-31 12:56:53 +010018429 rm -f "$ac_file"
18430 mv "$tmp/config.h" "$ac_file" \
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018431 || as_fn_error "could not create $ac_file" "$LINENO" 5
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018432 fi
18433 else
Alexandre Julliardabf50482008-10-31 12:56:53 +010018434 $as_echo "/* $configure_input */" \
18435 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018436 || as_fn_error "could not create -" "$LINENO" 5
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018437 fi
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018438 ;;
Alexandre Julliard7d020c92010-02-03 13:12:12 +010018439 :L)
18440 #
18441 # CONFIG_LINK
18442 #
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000018443
Alexandre Julliard7d020c92010-02-03 13:12:12 +010018444 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
18445 :
18446 else
18447 # Prefer the file from the source tree if names are identical.
18448 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
18449 ac_source=$srcdir/$ac_source
18450 fi
18451
18452 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
18453$as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
18454
18455 if test ! -r "$ac_source"; then
18456 as_fn_error "$ac_source: file not found" "$LINENO" 5
18457 fi
18458 rm -f "$ac_file"
18459
18460 # Try a relative symlink, then a hard link, then a copy.
18461 case $srcdir in
18462 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
18463 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
18464 esac
18465 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
18466 ln "$ac_source" "$ac_file" 2>/dev/null ||
18467 cp -p "$ac_source" "$ac_file" ||
18468 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
18469 fi
18470 ;;
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018471 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018472$as_echo "$as_me: executing $ac_file commands" >&6;}
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018473 ;;
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018474 esac
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000018475
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018476
18477 case $ac_file$ac_mode in
Alexandre Julliardc4704c22006-09-22 09:33:00 +020018478 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
Alexandre Julliarda1c253e2010-02-11 20:26:35 +010018479 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18480$as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18481 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18482$as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18483 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18484$as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18485 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18486$as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18487 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18488$as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18489 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18490$as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
Alexandre Julliardfc6ffb22006-05-25 20:08:12 +020018491
18492 esac
18493done # for ac_tag
18494
Alexandre Julliard87a2f8d2000-04-09 18:20:25 +000018495
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018496as_fn_exit 0
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018497_ACEOF
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018498ac_clean_files=$ac_clean_files_save
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000018499
Alexandre Julliardabf50482008-10-31 12:56:53 +010018500test $ac_write_fail = 0 ||
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018501 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018502
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018503
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018504# configure is writing to config.log, and then calls config.status.
18505# config.status does its own redirection, appending to config.log.
18506# Unfortunately, on DOS this fails, as config.log is still kept open
18507# by configure, so config.status won't be able to write to it; its
18508# output is simply discarded. So we exec the FD to /dev/null,
18509# effectively closing config.log, so it can be properly (re)opened and
18510# appended to by config.status. When coming back to configure, we
18511# need to make the FD available again.
18512if test "$no_create" != yes; then
18513 ac_cs_success=:
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000018514 ac_config_status_args=
18515 test "$silent" = yes &&
18516 ac_config_status_args="$ac_config_status_args --quiet"
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018517 exec 5>/dev/null
Alexandre Julliarde24bcc72002-12-24 00:35:19 +000018518 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018519 exec 5>>config.log
18520 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18521 # would make configure fail if this is the last instruction.
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018522 $ac_cs_success || as_fn_exit $?
Alexandre Julliardf5818d22002-02-14 19:47:29 +000018523fi
Alexandre Julliardabf50482008-10-31 12:56:53 +010018524if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018526$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18527fi
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000018528
Alexandre Julliarddaa28862002-04-11 21:54:01 +000018529
Alexandre Julliarde3bd1112006-09-21 11:14:38 +020018530if test "$no_create" = "yes"
18531then
18532 exit 0
18533fi
18534
Alexandre Julliardf9dec942007-07-10 15:14:15 +020018535ac_save_IFS="$IFS"
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010018536if test "x$wine_notices != "x; then
18537 echo >&6
Rafał Mużyło4736c992008-10-20 21:43:21 +020018538 IFS="|"
Alexandre Julliardf9dec942007-07-10 15:14:15 +020018539 for msg in $wine_notices; do
Rafał Mużyło4736c992008-10-20 21:43:21 +020018540 IFS="$ac_save_IFS"
Alexandre Julliardf9dec942007-07-10 15:14:15 +020018541 if test -n "$msg"; then
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018542 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018543$as_echo "$as_me: $msg" >&6;}
Alexandre Julliardf9dec942007-07-10 15:14:15 +020018544 fi
18545 done
18546fi
Rafał Mużyło4736c992008-10-20 21:43:21 +020018547IFS="|"
Alexandre Julliardf9dec942007-07-10 15:14:15 +020018548for msg in $wine_warnings; do
Rafał Mużyło4736c992008-10-20 21:43:21 +020018549 IFS="$ac_save_IFS"
Alexandre Julliardf9dec942007-07-10 15:14:15 +020018550 if test -n "$msg"; then
18551 echo >&2
Alexandre Julliard25e9e4f2009-08-10 14:27:28 +020018552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
Alexandre Julliardabf50482008-10-31 12:56:53 +010018553$as_echo "$as_me: WARNING: $msg" >&2;}
Detlef Riekenberge84a3822006-08-21 05:28:17 +020018554 fi
Alexandre Julliardf9dec942007-07-10 15:14:15 +020018555done
18556IFS="$ac_save_IFS"
Francois Gouget99d026f2005-03-19 17:08:18 +000018557
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010018558echo "
Alexandre Julliard64362ac2010-02-23 13:33:52 +010018559$as_me: Finished. Do '${ac_make}' to compile Wine.
Alexandre Julliarda41f0f12008-01-07 14:51:44 +010018560" >&6
Alexandre Julliarde2991ea1995-07-29 13:09:43 +000018561