oleaut32: Fix converting file name to Unicode.
[wine/multimedia.git] / configure
blob4caf278bca881bf32cbcc03a1ada80a08970265d
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 0.9.13.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
24 DUALCASE=1; export DUALCASE # for MKS sh
26 # Support unset when possible.
27 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29 else
30 as_unset=false
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
36 PS1='$ '
37 PS2='> '
38 PS4='+ '
40 # NLS nuisances.
41 for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
51 done
53 # Required to use basename.
54 if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56 else
57 as_expr=false
60 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62 else
63 as_basename=false
67 # Name of the executable.
68 as_me=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73 echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits='0123456789'
86 as_cr_alnum=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
98 rm -f conf$$.sh
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112 for as_dir in $PATH
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 done
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154 done
156 esac
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191 ' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 esac
196 if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198 else
199 as_expr=false
202 rm -f conf$$ conf$$.exe conf$$.file
203 echo >conf$$.file
204 if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
213 elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215 else
216 as_ln_s='cp -p'
218 rm -f conf$$ conf$$.exe conf$$.file
220 if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222 else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
227 as_executable_p="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # IFS
237 # We need space, tab and new line, in precisely that order.
238 as_nl='
240 IFS=" $as_nl"
242 # CDPATH.
243 $as_unset CDPATH
246 # Name of the host.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251 exec 6>&1
254 # Initializations.
256 ac_default_prefix=/usr/local
257 ac_config_libobj_dir=.
258 cross_compiling=no
259 subdirs=
260 MFLAGS=
261 MAKEFLAGS=
262 SHELL=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME='Wine'
271 PACKAGE_TARNAME='wine'
272 PACKAGE_VERSION='0.9.13'
273 PACKAGE_STRING='Wine 0.9.13'
274 PACKAGE_BUGREPORT='wine-devel@winehq.org'
276 ac_unique_file="server/atom.c"
277 # Factoring default headers for most tests.
278 ac_includes_default="\
279 #include <stdio.h>
280 #if HAVE_SYS_TYPES_H
281 # include <sys/types.h>
282 #endif
283 #if HAVE_SYS_STAT_H
284 # include <sys/stat.h>
285 #endif
286 #if STDC_HEADERS
287 # include <stdlib.h>
288 # include <stddef.h>
289 #else
290 # if HAVE_STDLIB_H
291 # include <stdlib.h>
292 # endif
293 #endif
294 #if HAVE_STRING_H
295 # if !STDC_HEADERS && HAVE_MEMORY_H
296 # include <memory.h>
297 # endif
298 # include <string.h>
299 #endif
300 #if HAVE_STRINGS_H
301 # include <strings.h>
302 #endif
303 #if HAVE_INTTYPES_H
304 # include <inttypes.h>
305 #else
306 # if HAVE_STDINT_H
307 # include <stdint.h>
308 # endif
309 #endif
310 #if HAVE_UNISTD_H
311 # include <unistd.h>
312 #endif"
314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os WIN16_FILES WIN16_INSTALL SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CPPBIN ac_ct_CPPBIN TOOLSDIR CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS LEX LEXLIB LEX_OUTPUT_ROOT XLEX BISON AS ac_ct_AS LD ac_ct_LD AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES LN_S LN EGREP LDCONFIG INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LINT LINTFLAGS FONTFORGE PKG_CONFIG PRELINK LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS XML2LIBS XML2INCL XSLTLIBS XSLTINCL HALINCL CURSESLIBS sane_devel SANELIBS SANEINCL gphoto2_devel gphoto2port_devel GPHOTO2LIBS GPHOTO2INCL ICULIBS RESOLVLIBS LCMSLIBS LDAPLIBS FREETYPELIBS FREETYPEINCL ft_devel ft_devel2 FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ESDCONFIG ESDLIBS ESDINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS BUILTINFLAG DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDEXERPATH LDDLLRPATH COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS MAIN_BINARY EXTRA_BINARIES LDD LIBOBJS LTLIBOBJS'
315 ac_subst_files='MAKE_RULES MAKE_DLL_RULES MAKE_IMPLIB_RULES MAKE_TEST_RULES MAKE_LIB_RULES MAKE_PROG_RULES'
317 # Initialize some variables set by options.
318 ac_init_help=
319 ac_init_version=false
320 # The variables have the same names as the options, with
321 # dashes changed to underlines.
322 cache_file=/dev/null
323 exec_prefix=NONE
324 no_create=
325 no_recursion=
326 prefix=NONE
327 program_prefix=NONE
328 program_suffix=NONE
329 program_transform_name=s,x,x,
330 silent=
331 site=
332 srcdir=
333 verbose=
334 x_includes=NONE
335 x_libraries=NONE
337 # Installation directory options.
338 # These are left unexpanded so users can "make install exec_prefix=/foo"
339 # and all the variables that are supposed to be based on exec_prefix
340 # by default will actually change.
341 # Use braces instead of parens because sh, perl, etc. also accept them.
342 bindir='${exec_prefix}/bin'
343 sbindir='${exec_prefix}/sbin'
344 libexecdir='${exec_prefix}/libexec'
345 datadir='${prefix}/share'
346 sysconfdir='${prefix}/etc'
347 sharedstatedir='${prefix}/com'
348 localstatedir='${prefix}/var'
349 libdir='${exec_prefix}/lib'
350 includedir='${prefix}/include'
351 oldincludedir='/usr/include'
352 infodir='${prefix}/info'
353 mandir='${prefix}/man'
355 ac_prev=
356 for ac_option
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
367 # Accept the important Cygnus configure options, so we can diagnose typos.
369 case $ac_option in
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
388 --config-cache | -C)
389 cache_file=config.cache ;;
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629 Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 esac
652 done
654 if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
660 # Be sure to have absolute paths.
661 for ac_var in exec_prefix prefix
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669 done
671 # Be sure to have absolute paths.
672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681 done
683 # There might be people who depend on the old broken behavior: `$host'
684 # used to hold the argument of --host etc.
685 # FIXME: To remove some day.
686 build=$build_alias
687 host=$host_alias
688 target=$target_alias
690 # FIXME: To remove some day.
691 if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
701 ac_tool_prefix=
702 test -n "$host_alias" && ac_tool_prefix=$host_alias-
704 test "$silent" = yes && exec 6>/dev/null
707 # Find the source files, if location was not specified.
708 if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717 echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
727 else
728 ac_srcdir_defaulted=no
730 if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743 ac_env_build_alias_set=${build_alias+set}
744 ac_env_build_alias_value=$build_alias
745 ac_cv_env_build_alias_set=${build_alias+set}
746 ac_cv_env_build_alias_value=$build_alias
747 ac_env_host_alias_set=${host_alias+set}
748 ac_env_host_alias_value=$host_alias
749 ac_cv_env_host_alias_set=${host_alias+set}
750 ac_cv_env_host_alias_value=$host_alias
751 ac_env_target_alias_set=${target_alias+set}
752 ac_env_target_alias_value=$target_alias
753 ac_cv_env_target_alias_set=${target_alias+set}
754 ac_cv_env_target_alias_value=$target_alias
755 ac_env_CC_set=${CC+set}
756 ac_env_CC_value=$CC
757 ac_cv_env_CC_set=${CC+set}
758 ac_cv_env_CC_value=$CC
759 ac_env_CFLAGS_set=${CFLAGS+set}
760 ac_env_CFLAGS_value=$CFLAGS
761 ac_cv_env_CFLAGS_set=${CFLAGS+set}
762 ac_cv_env_CFLAGS_value=$CFLAGS
763 ac_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_env_LDFLAGS_value=$LDFLAGS
765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_cv_env_LDFLAGS_value=$LDFLAGS
767 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_env_CPPFLAGS_value=$CPPFLAGS
769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771 ac_env_CXX_set=${CXX+set}
772 ac_env_CXX_value=$CXX
773 ac_cv_env_CXX_set=${CXX+set}
774 ac_cv_env_CXX_value=$CXX
775 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
776 ac_env_CXXFLAGS_value=$CXXFLAGS
777 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
778 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
779 ac_env_CPP_set=${CPP+set}
780 ac_env_CPP_value=$CPP
781 ac_cv_env_CPP_set=${CPP+set}
782 ac_cv_env_CPP_value=$CPP
785 # Report the --help message.
787 if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
790 cat <<_ACEOF
791 \`configure' configures Wine 0.9.13 to adapt to many kinds of systems.
793 Usage: $0 [OPTION]... [VAR=VALUE]...
795 To assign environment variables (e.g., CC, CFLAGS...), specify them as
796 VAR=VALUE. See below for descriptions of some of the useful variables.
798 Defaults for the options are specified in brackets.
800 Configuration:
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
811 _ACEOF
813 cat <<_ACEOF
814 Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
816 [$ac_default_prefix]
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 [PREFIX]
820 By default, \`make install' will install all the files in
821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823 for instance \`--prefix=\$HOME'.
825 For better control, use the options below.
827 Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
840 _ACEOF
842 cat <<\_ACEOF
844 X features:
845 --x-includes=DIR X include files are in DIR
846 --x-libraries=DIR X library files are in DIR
848 System types:
849 --build=BUILD configure for building on BUILD [guessed]
850 --host=HOST cross-compile to build programs to run on HOST [BUILD]
851 _ACEOF
854 if test -n "$ac_init_help"; then
855 case $ac_init_help in
856 short | recursive ) echo "Configuration of Wine 0.9.13:";;
857 esac
858 cat <<\_ACEOF
860 Optional Features:
861 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
862 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
863 --disable-win16 do not include Win16 support
864 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
865 binaries)
867 Optional Packages:
868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
870 --without-opengl do not use OpenGL
871 --without-curses do not use curses
872 --with-wine-tools=<dir> use Wine tools from directory <dir>
873 --with-x use the X Window System
875 Some influential environment variables:
876 CC C compiler command
877 CFLAGS C compiler flags
878 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
879 nonstandard directory <lib dir>
880 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
881 headers in a nonstandard directory <include dir>
882 CXX C++ compiler command
883 CXXFLAGS C++ compiler flags
884 CPP C preprocessor
886 Use these variables to override the choices made by `configure' or to help
887 it to find libraries and programs with nonstandard names/locations.
889 Report bugs to <wine-devel@winehq.org>.
890 _ACEOF
893 if test "$ac_init_help" = "recursive"; then
894 # If there are subdirs, report their specific --help.
895 ac_popdir=`pwd`
896 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
897 test -d $ac_dir || continue
898 ac_builddir=.
900 if test "$ac_dir" != .; then
901 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
902 # A "../" for each directory in $ac_dir_suffix.
903 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
904 else
905 ac_dir_suffix= ac_top_builddir=
908 case $srcdir in
909 .) # No --srcdir option. We are building in place.
910 ac_srcdir=.
911 if test -z "$ac_top_builddir"; then
912 ac_top_srcdir=.
913 else
914 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
915 fi ;;
916 [\\/]* | ?:[\\/]* ) # Absolute path.
917 ac_srcdir=$srcdir$ac_dir_suffix;
918 ac_top_srcdir=$srcdir ;;
919 *) # Relative path.
920 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
921 ac_top_srcdir=$ac_top_builddir$srcdir ;;
922 esac
924 # Do not use `cd foo && pwd` to compute absolute paths, because
925 # the directories may not exist.
926 case `pwd` in
927 .) ac_abs_builddir="$ac_dir";;
929 case "$ac_dir" in
930 .) ac_abs_builddir=`pwd`;;
931 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
932 *) ac_abs_builddir=`pwd`/"$ac_dir";;
933 esac;;
934 esac
935 case $ac_abs_builddir in
936 .) ac_abs_top_builddir=${ac_top_builddir}.;;
938 case ${ac_top_builddir}. in
939 .) ac_abs_top_builddir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
941 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
942 esac;;
943 esac
944 case $ac_abs_builddir in
945 .) ac_abs_srcdir=$ac_srcdir;;
947 case $ac_srcdir in
948 .) ac_abs_srcdir=$ac_abs_builddir;;
949 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
950 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
951 esac;;
952 esac
953 case $ac_abs_builddir in
954 .) ac_abs_top_srcdir=$ac_top_srcdir;;
956 case $ac_top_srcdir in
957 .) ac_abs_top_srcdir=$ac_abs_builddir;;
958 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
959 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
960 esac;;
961 esac
963 cd $ac_dir
964 # Check for guested configure; otherwise get Cygnus style configure.
965 if test -f $ac_srcdir/configure.gnu; then
966 echo
967 $SHELL $ac_srcdir/configure.gnu --help=recursive
968 elif test -f $ac_srcdir/configure; then
969 echo
970 $SHELL $ac_srcdir/configure --help=recursive
971 elif test -f $ac_srcdir/configure.ac ||
972 test -f $ac_srcdir/configure.in; then
973 echo
974 $ac_configure --help
975 else
976 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
978 cd "$ac_popdir"
979 done
982 test -n "$ac_init_help" && exit 0
983 if $ac_init_version; then
984 cat <<\_ACEOF
985 Wine configure 0.9.13
986 generated by GNU Autoconf 2.59
988 Copyright (C) 2003 Free Software Foundation, Inc.
989 This configure script is free software; the Free Software Foundation
990 gives unlimited permission to copy, distribute and modify it.
991 _ACEOF
992 exit 0
994 exec 5>config.log
995 cat >&5 <<_ACEOF
996 This file contains any messages produced by compilers while
997 running configure, to aid debugging if configure makes a mistake.
999 It was created by Wine $as_me 0.9.13, which was
1000 generated by GNU Autoconf 2.59. Invocation command line was
1002 $ $0 $@
1004 _ACEOF
1006 cat <<_ASUNAME
1007 ## --------- ##
1008 ## Platform. ##
1009 ## --------- ##
1011 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1012 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1013 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1014 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1015 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1017 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1018 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1020 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1021 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1022 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1023 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1024 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1025 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1026 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1028 _ASUNAME
1030 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1031 for as_dir in $PATH
1033 IFS=$as_save_IFS
1034 test -z "$as_dir" && as_dir=.
1035 echo "PATH: $as_dir"
1036 done
1038 } >&5
1040 cat >&5 <<_ACEOF
1043 ## ----------- ##
1044 ## Core tests. ##
1045 ## ----------- ##
1047 _ACEOF
1050 # Keep a trace of the command line.
1051 # Strip out --no-create and --no-recursion so they do not pile up.
1052 # Strip out --silent because we don't want to record it for future runs.
1053 # Also quote any args containing shell meta-characters.
1054 # Make two passes to allow for proper duplicate-argument suppression.
1055 ac_configure_args=
1056 ac_configure_args0=
1057 ac_configure_args1=
1058 ac_sep=
1059 ac_must_keep_next=false
1060 for ac_pass in 1 2
1062 for ac_arg
1064 case $ac_arg in
1065 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1066 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1067 | -silent | --silent | --silen | --sile | --sil)
1068 continue ;;
1069 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1070 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1071 esac
1072 case $ac_pass in
1073 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1075 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1076 if test $ac_must_keep_next = true; then
1077 ac_must_keep_next=false # Got value, back to normal.
1078 else
1079 case $ac_arg in
1080 *=* | --config-cache | -C | -disable-* | --disable-* \
1081 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1082 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1083 | -with-* | --with-* | -without-* | --without-* | --x)
1084 case "$ac_configure_args0 " in
1085 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1086 esac
1088 -* ) ac_must_keep_next=true ;;
1089 esac
1091 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1092 # Get rid of the leading space.
1093 ac_sep=" "
1095 esac
1096 done
1097 done
1098 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1099 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1101 # When interrupted or exit'd, cleanup temporary files, and complete
1102 # config.log. We remove comments because anyway the quotes in there
1103 # would cause problems or look ugly.
1104 # WARNING: Be sure not to use single quotes in there, as some shells,
1105 # such as our DU 5.0 friend, will then `close' the trap.
1106 trap 'exit_status=$?
1107 # Save into config.log some information that might help in debugging.
1109 echo
1111 cat <<\_ASBOX
1112 ## ---------------- ##
1113 ## Cache variables. ##
1114 ## ---------------- ##
1115 _ASBOX
1116 echo
1117 # The following way of writing the cache mishandles newlines in values,
1119 (set) 2>&1 |
1120 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1121 *ac_space=\ *)
1122 sed -n \
1123 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1124 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1127 sed -n \
1128 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1130 esac;
1132 echo
1134 cat <<\_ASBOX
1135 ## ----------------- ##
1136 ## Output variables. ##
1137 ## ----------------- ##
1138 _ASBOX
1139 echo
1140 for ac_var in $ac_subst_vars
1142 eval ac_val=$`echo $ac_var`
1143 echo "$ac_var='"'"'$ac_val'"'"'"
1144 done | sort
1145 echo
1147 if test -n "$ac_subst_files"; then
1148 cat <<\_ASBOX
1149 ## ------------- ##
1150 ## Output files. ##
1151 ## ------------- ##
1152 _ASBOX
1153 echo
1154 for ac_var in $ac_subst_files
1156 eval ac_val=$`echo $ac_var`
1157 echo "$ac_var='"'"'$ac_val'"'"'"
1158 done | sort
1159 echo
1162 if test -s confdefs.h; then
1163 cat <<\_ASBOX
1164 ## ----------- ##
1165 ## confdefs.h. ##
1166 ## ----------- ##
1167 _ASBOX
1168 echo
1169 sed "/^$/d" confdefs.h | sort
1170 echo
1172 test "$ac_signal" != 0 &&
1173 echo "$as_me: caught signal $ac_signal"
1174 echo "$as_me: exit $exit_status"
1175 } >&5
1176 rm -f core *.core &&
1177 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1178 exit $exit_status
1180 for ac_signal in 1 2 13 15; do
1181 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1182 done
1183 ac_signal=0
1185 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1186 rm -rf conftest* confdefs.h
1187 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1188 echo >confdefs.h
1190 # Predefined preprocessor variables.
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_NAME "$PACKAGE_NAME"
1194 _ACEOF
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1199 _ACEOF
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1204 _ACEOF
1207 cat >>confdefs.h <<_ACEOF
1208 #define PACKAGE_STRING "$PACKAGE_STRING"
1209 _ACEOF
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1214 _ACEOF
1217 # Let the site file select an alternate cache file if it wants to.
1218 # Prefer explicitly selected file to automatically selected ones.
1219 if test -z "$CONFIG_SITE"; then
1220 if test "x$prefix" != xNONE; then
1221 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1222 else
1223 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1226 for ac_site_file in $CONFIG_SITE; do
1227 if test -r "$ac_site_file"; then
1228 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1229 echo "$as_me: loading site script $ac_site_file" >&6;}
1230 sed 's/^/| /' "$ac_site_file" >&5
1231 . "$ac_site_file"
1233 done
1235 if test -r "$cache_file"; then
1236 # Some versions of bash will fail to source /dev/null (special
1237 # files actually), so we avoid doing that.
1238 if test -f "$cache_file"; then
1239 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1240 echo "$as_me: loading cache $cache_file" >&6;}
1241 case $cache_file in
1242 [\\/]* | ?:[\\/]* ) . $cache_file;;
1243 *) . ./$cache_file;;
1244 esac
1246 else
1247 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1248 echo "$as_me: creating cache $cache_file" >&6;}
1249 >$cache_file
1252 # Check that the precious variables saved in the cache have kept the same
1253 # value.
1254 ac_cache_corrupted=false
1255 for ac_var in `(set) 2>&1 |
1256 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1257 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1258 eval ac_new_set=\$ac_env_${ac_var}_set
1259 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1260 eval ac_new_val="\$ac_env_${ac_var}_value"
1261 case $ac_old_set,$ac_new_set in
1262 set,)
1263 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1264 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1265 ac_cache_corrupted=: ;;
1266 ,set)
1267 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1268 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1269 ac_cache_corrupted=: ;;
1270 ,);;
1272 if test "x$ac_old_val" != "x$ac_new_val"; then
1273 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1274 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1275 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1276 echo "$as_me: former value: $ac_old_val" >&2;}
1277 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1278 echo "$as_me: current value: $ac_new_val" >&2;}
1279 ac_cache_corrupted=:
1280 fi;;
1281 esac
1282 # Pass precious variables to config.status.
1283 if test "$ac_new_set" = set; then
1284 case $ac_new_val in
1285 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1286 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1287 *) ac_arg=$ac_var=$ac_new_val ;;
1288 esac
1289 case " $ac_configure_args " in
1290 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1291 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1292 esac
1294 done
1295 if $ac_cache_corrupted; then
1296 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1297 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1298 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1299 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1300 { (exit 1); exit 1; }; }
1303 ac_ext=c
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1336 ac_config_headers="$ac_config_headers include/config.h"
1338 ac_aux_dir=
1339 for ac_dir in tools $srcdir/tools; do
1340 if test -f $ac_dir/install-sh; then
1341 ac_aux_dir=$ac_dir
1342 ac_install_sh="$ac_aux_dir/install-sh -c"
1343 break
1344 elif test -f $ac_dir/install.sh; then
1345 ac_aux_dir=$ac_dir
1346 ac_install_sh="$ac_aux_dir/install.sh -c"
1347 break
1348 elif test -f $ac_dir/shtool; then
1349 ac_aux_dir=$ac_dir
1350 ac_install_sh="$ac_aux_dir/shtool install -c"
1351 break
1353 done
1354 if test -z "$ac_aux_dir"; then
1355 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1356 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1357 { (exit 1); exit 1; }; }
1359 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1360 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1361 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1365 # Check whether --enable-win16 or --disable-win16 was given.
1366 if test "${enable_win16+set}" = set; then
1367 enableval="$enable_win16"
1370 # Check whether --enable-win64 or --disable-win64 was given.
1371 if test "${enable_win64+set}" = set; then
1372 enableval="$enable_win64"
1377 # Check whether --with-opengl or --without-opengl was given.
1378 if test "${with_opengl+set}" = set; then
1379 withval="$with_opengl"
1383 # Check whether --with-curses or --without-curses was given.
1384 if test "${with_curses+set}" = set; then
1385 withval="$with_curses"
1389 # Check whether --with-wine-tools or --without-wine-tools was given.
1390 if test "${with_wine_tools+set}" = set; then
1391 withval="$with_wine_tools"
1395 # Make sure we can run config.sub.
1396 $ac_config_sub sun4 >/dev/null 2>&1 ||
1397 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1398 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1399 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: checking build system type" >&5
1402 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1403 if test "${ac_cv_build+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 else
1406 ac_cv_build_alias=$build_alias
1407 test -z "$ac_cv_build_alias" &&
1408 ac_cv_build_alias=`$ac_config_guess`
1409 test -z "$ac_cv_build_alias" &&
1410 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1411 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1412 { (exit 1); exit 1; }; }
1413 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1414 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1415 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1416 { (exit 1); exit 1; }; }
1419 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1420 echo "${ECHO_T}$ac_cv_build" >&6
1421 build=$ac_cv_build
1422 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1423 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1424 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1427 echo "$as_me:$LINENO: checking host system type" >&5
1428 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1429 if test "${ac_cv_host+set}" = set; then
1430 echo $ECHO_N "(cached) $ECHO_C" >&6
1431 else
1432 ac_cv_host_alias=$host_alias
1433 test -z "$ac_cv_host_alias" &&
1434 ac_cv_host_alias=$ac_cv_build_alias
1435 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1436 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1437 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1438 { (exit 1); exit 1; }; }
1441 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1442 echo "${ECHO_T}$ac_cv_host" >&6
1443 host=$ac_cv_host
1444 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1445 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1446 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1449 case $host in
1450 x86_64*linux*)
1451 if test "x$enable_win64" != "xyes"
1452 then
1453 test -n "$CC" || CC="gcc -m32"
1454 test -n "$LD" || LD="ld -m elf_i386"
1455 test -n "$AS" || AS="as --32"
1456 host_cpu="i386"
1459 esac
1461 case $host_cpu in
1462 *i[3456789]86*)
1463 if test "x$enable_win16" != "xno"
1464 then
1465 enable_win16="yes"
1468 esac
1470 WIN16_FILES="\$(WIN16_FILES)"
1472 WIN16_INSTALL="\$(WIN16_INSTALL)"
1474 if test "x$enable_win16" != "xyes"
1475 then
1476 WIN16_FILES=""
1477 WIN16_INSTALL=""
1481 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1482 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1483 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1484 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1485 echo $ECHO_N "(cached) $ECHO_C" >&6
1486 else
1487 cat >conftest.make <<\_ACEOF
1488 all:
1489 @echo 'ac_maketemp="$(MAKE)"'
1490 _ACEOF
1491 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1492 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1493 if test -n "$ac_maketemp"; then
1494 eval ac_cv_prog_make_${ac_make}_set=yes
1495 else
1496 eval ac_cv_prog_make_${ac_make}_set=no
1498 rm -f conftest.make
1500 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1501 echo "$as_me:$LINENO: result: yes" >&5
1502 echo "${ECHO_T}yes" >&6
1503 SET_MAKE=
1504 else
1505 echo "$as_me:$LINENO: result: no" >&5
1506 echo "${ECHO_T}no" >&6
1507 SET_MAKE="MAKE=${MAKE-make}"
1510 ac_ext=c
1511 ac_cpp='$CPP $CPPFLAGS'
1512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1515 if test -n "$ac_tool_prefix"; then
1516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1518 echo "$as_me:$LINENO: checking for $ac_word" >&5
1519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1520 if test "${ac_cv_prog_CC+set}" = set; then
1521 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 else
1523 if test -n "$CC"; then
1524 ac_cv_prog_CC="$CC" # Let the user override the test.
1525 else
1526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1527 for as_dir in $PATH
1529 IFS=$as_save_IFS
1530 test -z "$as_dir" && as_dir=.
1531 for ac_exec_ext in '' $ac_executable_extensions; do
1532 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1534 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1535 break 2
1537 done
1538 done
1542 CC=$ac_cv_prog_CC
1543 if test -n "$CC"; then
1544 echo "$as_me:$LINENO: result: $CC" >&5
1545 echo "${ECHO_T}$CC" >&6
1546 else
1547 echo "$as_me:$LINENO: result: no" >&5
1548 echo "${ECHO_T}no" >&6
1552 if test -z "$ac_cv_prog_CC"; then
1553 ac_ct_CC=$CC
1554 # Extract the first word of "gcc", so it can be a program name with args.
1555 set dummy gcc; ac_word=$2
1556 echo "$as_me:$LINENO: checking for $ac_word" >&5
1557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1558 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1559 echo $ECHO_N "(cached) $ECHO_C" >&6
1560 else
1561 if test -n "$ac_ct_CC"; then
1562 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1563 else
1564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565 for as_dir in $PATH
1567 IFS=$as_save_IFS
1568 test -z "$as_dir" && as_dir=.
1569 for ac_exec_ext in '' $ac_executable_extensions; do
1570 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1571 ac_cv_prog_ac_ct_CC="gcc"
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1573 break 2
1575 done
1576 done
1580 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1581 if test -n "$ac_ct_CC"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1583 echo "${ECHO_T}$ac_ct_CC" >&6
1584 else
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1589 CC=$ac_ct_CC
1590 else
1591 CC="$ac_cv_prog_CC"
1594 if test -z "$CC"; then
1595 if test -n "$ac_tool_prefix"; then
1596 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1597 set dummy ${ac_tool_prefix}cc; ac_word=$2
1598 echo "$as_me:$LINENO: checking for $ac_word" >&5
1599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1600 if test "${ac_cv_prog_CC+set}" = set; then
1601 echo $ECHO_N "(cached) $ECHO_C" >&6
1602 else
1603 if test -n "$CC"; then
1604 ac_cv_prog_CC="$CC" # Let the user override the test.
1605 else
1606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1607 for as_dir in $PATH
1609 IFS=$as_save_IFS
1610 test -z "$as_dir" && as_dir=.
1611 for ac_exec_ext in '' $ac_executable_extensions; do
1612 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1613 ac_cv_prog_CC="${ac_tool_prefix}cc"
1614 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1615 break 2
1617 done
1618 done
1622 CC=$ac_cv_prog_CC
1623 if test -n "$CC"; then
1624 echo "$as_me:$LINENO: result: $CC" >&5
1625 echo "${ECHO_T}$CC" >&6
1626 else
1627 echo "$as_me:$LINENO: result: no" >&5
1628 echo "${ECHO_T}no" >&6
1632 if test -z "$ac_cv_prog_CC"; then
1633 ac_ct_CC=$CC
1634 # Extract the first word of "cc", so it can be a program name with args.
1635 set dummy cc; ac_word=$2
1636 echo "$as_me:$LINENO: checking for $ac_word" >&5
1637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1639 echo $ECHO_N "(cached) $ECHO_C" >&6
1640 else
1641 if test -n "$ac_ct_CC"; then
1642 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1643 else
1644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1645 for as_dir in $PATH
1647 IFS=$as_save_IFS
1648 test -z "$as_dir" && as_dir=.
1649 for ac_exec_ext in '' $ac_executable_extensions; do
1650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1651 ac_cv_prog_ac_ct_CC="cc"
1652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653 break 2
1655 done
1656 done
1660 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1661 if test -n "$ac_ct_CC"; then
1662 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1663 echo "${ECHO_T}$ac_ct_CC" >&6
1664 else
1665 echo "$as_me:$LINENO: result: no" >&5
1666 echo "${ECHO_T}no" >&6
1669 CC=$ac_ct_CC
1670 else
1671 CC="$ac_cv_prog_CC"
1675 if test -z "$CC"; then
1676 # Extract the first word of "cc", so it can be a program name with args.
1677 set dummy cc; ac_word=$2
1678 echo "$as_me:$LINENO: checking for $ac_word" >&5
1679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1680 if test "${ac_cv_prog_CC+set}" = set; then
1681 echo $ECHO_N "(cached) $ECHO_C" >&6
1682 else
1683 if test -n "$CC"; then
1684 ac_cv_prog_CC="$CC" # Let the user override the test.
1685 else
1686 ac_prog_rejected=no
1687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1688 for as_dir in $PATH
1690 IFS=$as_save_IFS
1691 test -z "$as_dir" && as_dir=.
1692 for ac_exec_ext in '' $ac_executable_extensions; do
1693 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1694 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1695 ac_prog_rejected=yes
1696 continue
1698 ac_cv_prog_CC="cc"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 break 2
1702 done
1703 done
1705 if test $ac_prog_rejected = yes; then
1706 # We found a bogon in the path, so make sure we never use it.
1707 set dummy $ac_cv_prog_CC
1708 shift
1709 if test $# != 0; then
1710 # We chose a different compiler from the bogus one.
1711 # However, it has the same basename, so the bogon will be chosen
1712 # first if we set CC to just the basename; use the full file name.
1713 shift
1714 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1719 CC=$ac_cv_prog_CC
1720 if test -n "$CC"; then
1721 echo "$as_me:$LINENO: result: $CC" >&5
1722 echo "${ECHO_T}$CC" >&6
1723 else
1724 echo "$as_me:$LINENO: result: no" >&5
1725 echo "${ECHO_T}no" >&6
1729 if test -z "$CC"; then
1730 if test -n "$ac_tool_prefix"; then
1731 for ac_prog in cl
1733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1735 echo "$as_me:$LINENO: checking for $ac_word" >&5
1736 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1737 if test "${ac_cv_prog_CC+set}" = set; then
1738 echo $ECHO_N "(cached) $ECHO_C" >&6
1739 else
1740 if test -n "$CC"; then
1741 ac_cv_prog_CC="$CC" # Let the user override the test.
1742 else
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 for as_dir in $PATH
1746 IFS=$as_save_IFS
1747 test -z "$as_dir" && as_dir=.
1748 for ac_exec_ext in '' $ac_executable_extensions; do
1749 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1751 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1752 break 2
1754 done
1755 done
1759 CC=$ac_cv_prog_CC
1760 if test -n "$CC"; then
1761 echo "$as_me:$LINENO: result: $CC" >&5
1762 echo "${ECHO_T}$CC" >&6
1763 else
1764 echo "$as_me:$LINENO: result: no" >&5
1765 echo "${ECHO_T}no" >&6
1768 test -n "$CC" && break
1769 done
1771 if test -z "$CC"; then
1772 ac_ct_CC=$CC
1773 for ac_prog in cl
1775 # Extract the first word of "$ac_prog", so it can be a program name with args.
1776 set dummy $ac_prog; ac_word=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1781 else
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1784 else
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1786 for as_dir in $PATH
1788 IFS=$as_save_IFS
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC="$ac_prog"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1794 break 2
1796 done
1797 done
1801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1805 else
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1810 test -n "$ac_ct_CC" && break
1811 done
1813 CC=$ac_ct_CC
1819 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1820 See \`config.log' for more details." >&5
1821 echo "$as_me: error: no acceptable C compiler found in \$PATH
1822 See \`config.log' for more details." >&2;}
1823 { (exit 1); exit 1; }; }
1825 # Provide some information about the compiler.
1826 echo "$as_me:$LINENO:" \
1827 "checking for C compiler version" >&5
1828 ac_compiler=`set X $ac_compile; echo $2`
1829 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1830 (eval $ac_compiler --version </dev/null >&5) 2>&5
1831 ac_status=$?
1832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1833 (exit $ac_status); }
1834 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1835 (eval $ac_compiler -v </dev/null >&5) 2>&5
1836 ac_status=$?
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }
1839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1840 (eval $ac_compiler -V </dev/null >&5) 2>&5
1841 ac_status=$?
1842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1843 (exit $ac_status); }
1845 cat >conftest.$ac_ext <<_ACEOF
1846 /* confdefs.h. */
1847 _ACEOF
1848 cat confdefs.h >>conftest.$ac_ext
1849 cat >>conftest.$ac_ext <<_ACEOF
1850 /* end confdefs.h. */
1853 main ()
1857 return 0;
1859 _ACEOF
1860 ac_clean_files_save=$ac_clean_files
1861 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1862 # Try to create an executable without -o first, disregard a.out.
1863 # It will help us diagnose broken compilers, and finding out an intuition
1864 # of exeext.
1865 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1866 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1867 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1868 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1869 (eval $ac_link_default) 2>&5
1870 ac_status=$?
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; then
1873 # Find the output, starting from the most likely. This scheme is
1874 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1875 # resort.
1877 # Be careful to initialize this variable, since it used to be cached.
1878 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1879 ac_cv_exeext=
1880 # b.out is created by i960 compilers.
1881 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1883 test -f "$ac_file" || continue
1884 case $ac_file in
1885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1887 conftest.$ac_ext )
1888 # This is the source file.
1890 [ab].out )
1891 # We found the default executable, but exeext='' is most
1892 # certainly right.
1893 break;;
1894 *.* )
1895 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1896 # FIXME: I believe we export ac_cv_exeext for Libtool,
1897 # but it would be cool to find out if it's true. Does anybody
1898 # maintain Libtool? --akim.
1899 export ac_cv_exeext
1900 break;;
1902 break;;
1903 esac
1904 done
1905 else
1906 echo "$as_me: failed program was:" >&5
1907 sed 's/^/| /' conftest.$ac_ext >&5
1909 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1910 See \`config.log' for more details." >&5
1911 echo "$as_me: error: C compiler cannot create executables
1912 See \`config.log' for more details." >&2;}
1913 { (exit 77); exit 77; }; }
1916 ac_exeext=$ac_cv_exeext
1917 echo "$as_me:$LINENO: result: $ac_file" >&5
1918 echo "${ECHO_T}$ac_file" >&6
1920 # Check the compiler produces executables we can run. If not, either
1921 # the compiler is broken, or we cross compile.
1922 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1923 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1924 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1925 # If not cross compiling, check that we can run a simple program.
1926 if test "$cross_compiling" != yes; then
1927 if { ac_try='./$ac_file'
1928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1929 (eval $ac_try) 2>&5
1930 ac_status=$?
1931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1932 (exit $ac_status); }; }; then
1933 cross_compiling=no
1934 else
1935 if test "$cross_compiling" = maybe; then
1936 cross_compiling=yes
1937 else
1938 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1939 If you meant to cross compile, use \`--host'.
1940 See \`config.log' for more details." >&5
1941 echo "$as_me: error: cannot run C compiled programs.
1942 If you meant to cross compile, use \`--host'.
1943 See \`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1948 echo "$as_me:$LINENO: result: yes" >&5
1949 echo "${ECHO_T}yes" >&6
1951 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1952 ac_clean_files=$ac_clean_files_save
1953 # Check the compiler produces executables we can run. If not, either
1954 # the compiler is broken, or we cross compile.
1955 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1956 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1957 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1958 echo "${ECHO_T}$cross_compiling" >&6
1960 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1961 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1963 (eval $ac_link) 2>&5
1964 ac_status=$?
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }; then
1967 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1968 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1969 # work properly (i.e., refer to `conftest.exe'), while it won't with
1970 # `rm'.
1971 for ac_file in conftest.exe conftest conftest.*; do
1972 test -f "$ac_file" || continue
1973 case $ac_file in
1974 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1975 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1976 export ac_cv_exeext
1977 break;;
1978 * ) break;;
1979 esac
1980 done
1981 else
1982 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1983 See \`config.log' for more details." >&5
1984 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1985 See \`config.log' for more details." >&2;}
1986 { (exit 1); exit 1; }; }
1989 rm -f conftest$ac_cv_exeext
1990 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1991 echo "${ECHO_T}$ac_cv_exeext" >&6
1993 rm -f conftest.$ac_ext
1994 EXEEXT=$ac_cv_exeext
1995 ac_exeext=$EXEEXT
1996 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1997 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1998 if test "${ac_cv_objext+set}" = set; then
1999 echo $ECHO_N "(cached) $ECHO_C" >&6
2000 else
2001 cat >conftest.$ac_ext <<_ACEOF
2002 /* confdefs.h. */
2003 _ACEOF
2004 cat confdefs.h >>conftest.$ac_ext
2005 cat >>conftest.$ac_ext <<_ACEOF
2006 /* end confdefs.h. */
2009 main ()
2013 return 0;
2015 _ACEOF
2016 rm -f conftest.o conftest.obj
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2019 ac_status=$?
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); }; then
2022 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2023 case $ac_file in
2024 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2025 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2026 break;;
2027 esac
2028 done
2029 else
2030 echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2033 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2036 See \`config.log' for more details." >&2;}
2037 { (exit 1); exit 1; }; }
2040 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2042 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2043 echo "${ECHO_T}$ac_cv_objext" >&6
2044 OBJEXT=$ac_cv_objext
2045 ac_objext=$OBJEXT
2046 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2047 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2048 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2049 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 else
2051 cat >conftest.$ac_ext <<_ACEOF
2052 /* confdefs.h. */
2053 _ACEOF
2054 cat confdefs.h >>conftest.$ac_ext
2055 cat >>conftest.$ac_ext <<_ACEOF
2056 /* end confdefs.h. */
2059 main ()
2061 #ifndef __GNUC__
2062 choke me
2063 #endif
2066 return 0;
2068 _ACEOF
2069 rm -f conftest.$ac_objext
2070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2071 (eval $ac_compile) 2>conftest.er1
2072 ac_status=$?
2073 grep -v '^ *+' conftest.er1 >conftest.err
2074 rm -f conftest.er1
2075 cat conftest.err >&5
2076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2077 (exit $ac_status); } &&
2078 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2080 (eval $ac_try) 2>&5
2081 ac_status=$?
2082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2083 (exit $ac_status); }; } &&
2084 { ac_try='test -s conftest.$ac_objext'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2086 (eval $ac_try) 2>&5
2087 ac_status=$?
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2090 ac_compiler_gnu=yes
2091 else
2092 echo "$as_me: failed program was:" >&5
2093 sed 's/^/| /' conftest.$ac_ext >&5
2095 ac_compiler_gnu=no
2097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2098 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2101 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2102 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2103 GCC=`test $ac_compiler_gnu = yes && echo yes`
2104 ac_test_CFLAGS=${CFLAGS+set}
2105 ac_save_CFLAGS=$CFLAGS
2106 CFLAGS="-g"
2107 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2108 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2109 if test "${ac_cv_prog_cc_g+set}" = set; then
2110 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112 cat >conftest.$ac_ext <<_ACEOF
2113 /* confdefs.h. */
2114 _ACEOF
2115 cat confdefs.h >>conftest.$ac_ext
2116 cat >>conftest.$ac_ext <<_ACEOF
2117 /* end confdefs.h. */
2120 main ()
2124 return 0;
2126 _ACEOF
2127 rm -f conftest.$ac_objext
2128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2129 (eval $ac_compile) 2>conftest.er1
2130 ac_status=$?
2131 grep -v '^ *+' conftest.er1 >conftest.err
2132 rm -f conftest.er1
2133 cat conftest.err >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); } &&
2136 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2138 (eval $ac_try) 2>&5
2139 ac_status=$?
2140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2141 (exit $ac_status); }; } &&
2142 { ac_try='test -s conftest.$ac_objext'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2144 (eval $ac_try) 2>&5
2145 ac_status=$?
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; }; then
2148 ac_cv_prog_cc_g=yes
2149 else
2150 echo "$as_me: failed program was:" >&5
2151 sed 's/^/| /' conftest.$ac_ext >&5
2153 ac_cv_prog_cc_g=no
2155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2157 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2158 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2159 if test "$ac_test_CFLAGS" = set; then
2160 CFLAGS=$ac_save_CFLAGS
2161 elif test $ac_cv_prog_cc_g = yes; then
2162 if test "$GCC" = yes; then
2163 CFLAGS="-g -O2"
2164 else
2165 CFLAGS="-g"
2167 else
2168 if test "$GCC" = yes; then
2169 CFLAGS="-O2"
2170 else
2171 CFLAGS=
2174 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2175 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2176 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2178 else
2179 ac_cv_prog_cc_stdc=no
2180 ac_save_CC=$CC
2181 cat >conftest.$ac_ext <<_ACEOF
2182 /* confdefs.h. */
2183 _ACEOF
2184 cat confdefs.h >>conftest.$ac_ext
2185 cat >>conftest.$ac_ext <<_ACEOF
2186 /* end confdefs.h. */
2187 #include <stdarg.h>
2188 #include <stdio.h>
2189 #include <sys/types.h>
2190 #include <sys/stat.h>
2191 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2192 struct buf { int x; };
2193 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2194 static char *e (p, i)
2195 char **p;
2196 int i;
2198 return p[i];
2200 static char *f (char * (*g) (char **, int), char **p, ...)
2202 char *s;
2203 va_list v;
2204 va_start (v,p);
2205 s = g (p, va_arg (v,int));
2206 va_end (v);
2207 return s;
2210 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2211 function prototypes and stuff, but not '\xHH' hex character constants.
2212 These don't provoke an error unfortunately, instead are silently treated
2213 as 'x'. The following induces an error, until -std1 is added to get
2214 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2215 array size at least. It's necessary to write '\x00'==0 to get something
2216 that's true only with -std1. */
2217 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2219 int test (int i, double x);
2220 struct s1 {int (*f) (int a);};
2221 struct s2 {int (*f) (double a);};
2222 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2223 int argc;
2224 char **argv;
2226 main ()
2228 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2230 return 0;
2232 _ACEOF
2233 # Don't try gcc -ansi; that turns off useful extensions and
2234 # breaks some systems' header files.
2235 # AIX -qlanglvl=ansi
2236 # Ultrix and OSF/1 -std1
2237 # HP-UX 10.20 and later -Ae
2238 # HP-UX older versions -Aa -D_HPUX_SOURCE
2239 # SVR4 -Xc -D__EXTENSIONS__
2240 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2242 CC="$ac_save_CC $ac_arg"
2243 rm -f conftest.$ac_objext
2244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2245 (eval $ac_compile) 2>conftest.er1
2246 ac_status=$?
2247 grep -v '^ *+' conftest.er1 >conftest.err
2248 rm -f conftest.er1
2249 cat conftest.err >&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); } &&
2252 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2254 (eval $ac_try) 2>&5
2255 ac_status=$?
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2260 (eval $ac_try) 2>&5
2261 ac_status=$?
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2264 ac_cv_prog_cc_stdc=$ac_arg
2265 break
2266 else
2267 echo "$as_me: failed program was:" >&5
2268 sed 's/^/| /' conftest.$ac_ext >&5
2271 rm -f conftest.err conftest.$ac_objext
2272 done
2273 rm -f conftest.$ac_ext conftest.$ac_objext
2274 CC=$ac_save_CC
2278 case "x$ac_cv_prog_cc_stdc" in
2279 x|xno)
2280 echo "$as_me:$LINENO: result: none needed" >&5
2281 echo "${ECHO_T}none needed" >&6 ;;
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2285 CC="$CC $ac_cv_prog_cc_stdc" ;;
2286 esac
2288 # Some people use a C++ compiler to compile C. Since we use `exit',
2289 # in C++ we need to declare it. In case someone uses the same compiler
2290 # for both compiling C and C++ we need to have the C++ compiler decide
2291 # the declaration of exit, since it's the most demanding environment.
2292 cat >conftest.$ac_ext <<_ACEOF
2293 #ifndef __cplusplus
2294 choke me
2295 #endif
2296 _ACEOF
2297 rm -f conftest.$ac_objext
2298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2299 (eval $ac_compile) 2>conftest.er1
2300 ac_status=$?
2301 grep -v '^ *+' conftest.er1 >conftest.err
2302 rm -f conftest.er1
2303 cat conftest.err >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); } &&
2306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2308 (eval $ac_try) 2>&5
2309 ac_status=$?
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; } &&
2312 { ac_try='test -s conftest.$ac_objext'
2313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2314 (eval $ac_try) 2>&5
2315 ac_status=$?
2316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2317 (exit $ac_status); }; }; then
2318 for ac_declaration in \
2319 '' \
2320 'extern "C" void std::exit (int) throw (); using std::exit;' \
2321 'extern "C" void std::exit (int); using std::exit;' \
2322 'extern "C" void exit (int) throw ();' \
2323 'extern "C" void exit (int);' \
2324 'void exit (int);'
2326 cat >conftest.$ac_ext <<_ACEOF
2327 /* confdefs.h. */
2328 _ACEOF
2329 cat confdefs.h >>conftest.$ac_ext
2330 cat >>conftest.$ac_ext <<_ACEOF
2331 /* end confdefs.h. */
2332 $ac_declaration
2333 #include <stdlib.h>
2335 main ()
2337 exit (42);
2339 return 0;
2341 _ACEOF
2342 rm -f conftest.$ac_objext
2343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2344 (eval $ac_compile) 2>conftest.er1
2345 ac_status=$?
2346 grep -v '^ *+' conftest.er1 >conftest.err
2347 rm -f conftest.er1
2348 cat conftest.err >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } &&
2351 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2353 (eval $ac_try) 2>&5
2354 ac_status=$?
2355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2356 (exit $ac_status); }; } &&
2357 { ac_try='test -s conftest.$ac_objext'
2358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 (eval $ac_try) 2>&5
2360 ac_status=$?
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); }; }; then
2364 else
2365 echo "$as_me: failed program was:" >&5
2366 sed 's/^/| /' conftest.$ac_ext >&5
2368 continue
2370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2371 cat >conftest.$ac_ext <<_ACEOF
2372 /* confdefs.h. */
2373 _ACEOF
2374 cat confdefs.h >>conftest.$ac_ext
2375 cat >>conftest.$ac_ext <<_ACEOF
2376 /* end confdefs.h. */
2377 $ac_declaration
2379 main ()
2381 exit (42);
2383 return 0;
2385 _ACEOF
2386 rm -f conftest.$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2389 ac_status=$?
2390 grep -v '^ *+' conftest.er1 >conftest.err
2391 rm -f conftest.er1
2392 cat conftest.err >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2397 (eval $ac_try) 2>&5
2398 ac_status=$?
2399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2400 (exit $ac_status); }; } &&
2401 { ac_try='test -s conftest.$ac_objext'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2403 (eval $ac_try) 2>&5
2404 ac_status=$?
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; }; then
2407 break
2408 else
2409 echo "$as_me: failed program was:" >&5
2410 sed 's/^/| /' conftest.$ac_ext >&5
2413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2414 done
2415 rm -f conftest*
2416 if test -n "$ac_declaration"; then
2417 echo '#ifdef __cplusplus' >>confdefs.h
2418 echo $ac_declaration >>confdefs.h
2419 echo '#endif' >>confdefs.h
2422 else
2423 echo "$as_me: failed program was:" >&5
2424 sed 's/^/| /' conftest.$ac_ext >&5
2427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2428 ac_ext=c
2429 ac_cpp='$CPP $CPPFLAGS'
2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2434 ac_ext=cc
2435 ac_cpp='$CXXCPP $CPPFLAGS'
2436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2439 if test -n "$ac_tool_prefix"; then
2440 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2442 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2444 echo "$as_me:$LINENO: checking for $ac_word" >&5
2445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2446 if test "${ac_cv_prog_CXX+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 else
2449 if test -n "$CXX"; then
2450 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2451 else
2452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2453 for as_dir in $PATH
2455 IFS=$as_save_IFS
2456 test -z "$as_dir" && as_dir=.
2457 for ac_exec_ext in '' $ac_executable_extensions; do
2458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2459 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2461 break 2
2463 done
2464 done
2468 CXX=$ac_cv_prog_CXX
2469 if test -n "$CXX"; then
2470 echo "$as_me:$LINENO: result: $CXX" >&5
2471 echo "${ECHO_T}$CXX" >&6
2472 else
2473 echo "$as_me:$LINENO: result: no" >&5
2474 echo "${ECHO_T}no" >&6
2477 test -n "$CXX" && break
2478 done
2480 if test -z "$CXX"; then
2481 ac_ct_CXX=$CXX
2482 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2484 # Extract the first word of "$ac_prog", so it can be a program name with args.
2485 set dummy $ac_prog; ac_word=$2
2486 echo "$as_me:$LINENO: checking for $ac_word" >&5
2487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2488 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2489 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 else
2491 if test -n "$ac_ct_CXX"; then
2492 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2493 else
2494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2495 for as_dir in $PATH
2497 IFS=$as_save_IFS
2498 test -z "$as_dir" && as_dir=.
2499 for ac_exec_ext in '' $ac_executable_extensions; do
2500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2501 ac_cv_prog_ac_ct_CXX="$ac_prog"
2502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2503 break 2
2505 done
2506 done
2510 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2511 if test -n "$ac_ct_CXX"; then
2512 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2513 echo "${ECHO_T}$ac_ct_CXX" >&6
2514 else
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 test -n "$ac_ct_CXX" && break
2520 done
2521 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2523 CXX=$ac_ct_CXX
2527 # Provide some information about the compiler.
2528 echo "$as_me:$LINENO:" \
2529 "checking for C++ compiler version" >&5
2530 ac_compiler=`set X $ac_compile; echo $2`
2531 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2532 (eval $ac_compiler --version </dev/null >&5) 2>&5
2533 ac_status=$?
2534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2535 (exit $ac_status); }
2536 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2537 (eval $ac_compiler -v </dev/null >&5) 2>&5
2538 ac_status=$?
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }
2541 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2542 (eval $ac_compiler -V </dev/null >&5) 2>&5
2543 ac_status=$?
2544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2545 (exit $ac_status); }
2547 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2548 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2549 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2551 else
2552 cat >conftest.$ac_ext <<_ACEOF
2553 /* confdefs.h. */
2554 _ACEOF
2555 cat confdefs.h >>conftest.$ac_ext
2556 cat >>conftest.$ac_ext <<_ACEOF
2557 /* end confdefs.h. */
2560 main ()
2562 #ifndef __GNUC__
2563 choke me
2564 #endif
2567 return 0;
2569 _ACEOF
2570 rm -f conftest.$ac_objext
2571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2572 (eval $ac_compile) 2>conftest.er1
2573 ac_status=$?
2574 grep -v '^ *+' conftest.er1 >conftest.err
2575 rm -f conftest.er1
2576 cat conftest.err >&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); } &&
2579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581 (eval $ac_try) 2>&5
2582 ac_status=$?
2583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2584 (exit $ac_status); }; } &&
2585 { ac_try='test -s conftest.$ac_objext'
2586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2587 (eval $ac_try) 2>&5
2588 ac_status=$?
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); }; }; then
2591 ac_compiler_gnu=yes
2592 else
2593 echo "$as_me: failed program was:" >&5
2594 sed 's/^/| /' conftest.$ac_ext >&5
2596 ac_compiler_gnu=no
2598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2599 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2602 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2603 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2604 GXX=`test $ac_compiler_gnu = yes && echo yes`
2605 ac_test_CXXFLAGS=${CXXFLAGS+set}
2606 ac_save_CXXFLAGS=$CXXFLAGS
2607 CXXFLAGS="-g"
2608 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2609 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2610 if test "${ac_cv_prog_cxx_g+set}" = set; then
2611 echo $ECHO_N "(cached) $ECHO_C" >&6
2612 else
2613 cat >conftest.$ac_ext <<_ACEOF
2614 /* confdefs.h. */
2615 _ACEOF
2616 cat confdefs.h >>conftest.$ac_ext
2617 cat >>conftest.$ac_ext <<_ACEOF
2618 /* end confdefs.h. */
2621 main ()
2625 return 0;
2627 _ACEOF
2628 rm -f conftest.$ac_objext
2629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2630 (eval $ac_compile) 2>conftest.er1
2631 ac_status=$?
2632 grep -v '^ *+' conftest.er1 >conftest.err
2633 rm -f conftest.er1
2634 cat conftest.err >&5
2635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 (exit $ac_status); } &&
2637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 (eval $ac_try) 2>&5
2640 ac_status=$?
2641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 (exit $ac_status); }; } &&
2643 { ac_try='test -s conftest.$ac_objext'
2644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 (eval $ac_try) 2>&5
2646 ac_status=$?
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); }; }; then
2649 ac_cv_prog_cxx_g=yes
2650 else
2651 echo "$as_me: failed program was:" >&5
2652 sed 's/^/| /' conftest.$ac_ext >&5
2654 ac_cv_prog_cxx_g=no
2656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2658 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2659 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2660 if test "$ac_test_CXXFLAGS" = set; then
2661 CXXFLAGS=$ac_save_CXXFLAGS
2662 elif test $ac_cv_prog_cxx_g = yes; then
2663 if test "$GXX" = yes; then
2664 CXXFLAGS="-g -O2"
2665 else
2666 CXXFLAGS="-g"
2668 else
2669 if test "$GXX" = yes; then
2670 CXXFLAGS="-O2"
2671 else
2672 CXXFLAGS=
2675 for ac_declaration in \
2676 '' \
2677 'extern "C" void std::exit (int) throw (); using std::exit;' \
2678 'extern "C" void std::exit (int); using std::exit;' \
2679 'extern "C" void exit (int) throw ();' \
2680 'extern "C" void exit (int);' \
2681 'void exit (int);'
2683 cat >conftest.$ac_ext <<_ACEOF
2684 /* confdefs.h. */
2685 _ACEOF
2686 cat confdefs.h >>conftest.$ac_ext
2687 cat >>conftest.$ac_ext <<_ACEOF
2688 /* end confdefs.h. */
2689 $ac_declaration
2690 #include <stdlib.h>
2692 main ()
2694 exit (42);
2696 return 0;
2698 _ACEOF
2699 rm -f conftest.$ac_objext
2700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2701 (eval $ac_compile) 2>conftest.er1
2702 ac_status=$?
2703 grep -v '^ *+' conftest.er1 >conftest.err
2704 rm -f conftest.er1
2705 cat conftest.err >&5
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); } &&
2708 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2710 (eval $ac_try) 2>&5
2711 ac_status=$?
2712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713 (exit $ac_status); }; } &&
2714 { ac_try='test -s conftest.$ac_objext'
2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2716 (eval $ac_try) 2>&5
2717 ac_status=$?
2718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2719 (exit $ac_status); }; }; then
2721 else
2722 echo "$as_me: failed program was:" >&5
2723 sed 's/^/| /' conftest.$ac_ext >&5
2725 continue
2727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2728 cat >conftest.$ac_ext <<_ACEOF
2729 /* confdefs.h. */
2730 _ACEOF
2731 cat confdefs.h >>conftest.$ac_ext
2732 cat >>conftest.$ac_ext <<_ACEOF
2733 /* end confdefs.h. */
2734 $ac_declaration
2736 main ()
2738 exit (42);
2740 return 0;
2742 _ACEOF
2743 rm -f conftest.$ac_objext
2744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2745 (eval $ac_compile) 2>conftest.er1
2746 ac_status=$?
2747 grep -v '^ *+' conftest.er1 >conftest.err
2748 rm -f conftest.er1
2749 cat conftest.err >&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } &&
2752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2754 (eval $ac_try) 2>&5
2755 ac_status=$?
2756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2757 (exit $ac_status); }; } &&
2758 { ac_try='test -s conftest.$ac_objext'
2759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2760 (eval $ac_try) 2>&5
2761 ac_status=$?
2762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2763 (exit $ac_status); }; }; then
2764 break
2765 else
2766 echo "$as_me: failed program was:" >&5
2767 sed 's/^/| /' conftest.$ac_ext >&5
2770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2771 done
2772 rm -f conftest*
2773 if test -n "$ac_declaration"; then
2774 echo '#ifdef __cplusplus' >>confdefs.h
2775 echo $ac_declaration >>confdefs.h
2776 echo '#endif' >>confdefs.h
2779 ac_ext=c
2780 ac_cpp='$CPP $CPPFLAGS'
2781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2787 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2792 else
2793 if test -n "$CPPBIN"; then
2794 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2795 else
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 for as_dir in $PATH
2799 IFS=$as_save_IFS
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2805 break 2
2807 done
2808 done
2812 CPPBIN=$ac_cv_prog_CPPBIN
2813 if test -n "$CPPBIN"; then
2814 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2815 echo "${ECHO_T}$CPPBIN" >&6
2816 else
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test -z "$ac_cv_prog_CPPBIN"; then
2823 ac_ct_CPPBIN=$CPPBIN
2824 # Extract the first word of "cpp", so it can be a program name with args.
2825 set dummy cpp; ac_word=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 else
2831 if test -n "$ac_ct_CPPBIN"; then
2832 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2833 else
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2835 for as_dir in $PATH
2837 IFS=$as_save_IFS
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_CPPBIN="cpp"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2843 break 2
2845 done
2846 done
2848 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2851 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2852 if test -n "$ac_ct_CPPBIN"; then
2853 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2854 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2855 else
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 CPPBIN=$ac_ct_CPPBIN
2861 else
2862 CPPBIN="$ac_cv_prog_CPPBIN"
2866 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2867 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2868 if test "${wine_cv_toolsdir+set}" = set; then
2869 echo $ECHO_N "(cached) $ECHO_C" >&6
2870 else
2871 if test -z "$with_wine_tools"; then
2872 if test "$cross_compiling" = "yes"; then
2873 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2874 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2875 { (exit 1); exit 1; }; }
2876 else
2877 wine_cv_toolsdir="\$(TOPOBJDIR)"
2879 elif test -d "$with_wine_tools/tools/winebuild"; then
2880 case $with_wine_tools in
2881 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2882 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2883 esac
2884 else
2885 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2886 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2887 { (exit 1); exit 1; }; }
2890 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2891 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2892 TOOLSDIR=$wine_cv_toolsdir
2896 ac_ext=c
2897 ac_cpp='$CPP $CPPFLAGS'
2898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2901 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2902 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2903 # On Suns, sometimes $CPP names a directory.
2904 if test -n "$CPP" && test -d "$CPP"; then
2905 CPP=
2907 if test -z "$CPP"; then
2908 if test "${ac_cv_prog_CPP+set}" = set; then
2909 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 else
2911 # Double quotes because CPP needs to be expanded
2912 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2914 ac_preproc_ok=false
2915 for ac_c_preproc_warn_flag in '' yes
2917 # Use a header file that comes with gcc, so configuring glibc
2918 # with a fresh cross-compiler works.
2919 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2920 # <limits.h> exists even on freestanding compilers.
2921 # On the NeXT, cc -E runs the code through the compiler's parser,
2922 # not just through cpp. "Syntax error" is here to catch this case.
2923 cat >conftest.$ac_ext <<_ACEOF
2924 /* confdefs.h. */
2925 _ACEOF
2926 cat confdefs.h >>conftest.$ac_ext
2927 cat >>conftest.$ac_ext <<_ACEOF
2928 /* end confdefs.h. */
2929 #ifdef __STDC__
2930 # include <limits.h>
2931 #else
2932 # include <assert.h>
2933 #endif
2934 Syntax error
2935 _ACEOF
2936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2938 ac_status=$?
2939 grep -v '^ *+' conftest.er1 >conftest.err
2940 rm -f conftest.er1
2941 cat conftest.err >&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } >/dev/null; then
2944 if test -s conftest.err; then
2945 ac_cpp_err=$ac_c_preproc_warn_flag
2946 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2947 else
2948 ac_cpp_err=
2950 else
2951 ac_cpp_err=yes
2953 if test -z "$ac_cpp_err"; then
2955 else
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2959 # Broken: fails on valid input.
2960 continue
2962 rm -f conftest.err conftest.$ac_ext
2964 # OK, works on sane cases. Now check whether non-existent headers
2965 # can be detected and how.
2966 cat >conftest.$ac_ext <<_ACEOF
2967 /* confdefs.h. */
2968 _ACEOF
2969 cat confdefs.h >>conftest.$ac_ext
2970 cat >>conftest.$ac_ext <<_ACEOF
2971 /* end confdefs.h. */
2972 #include <ac_nonexistent.h>
2973 _ACEOF
2974 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2975 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2976 ac_status=$?
2977 grep -v '^ *+' conftest.er1 >conftest.err
2978 rm -f conftest.er1
2979 cat conftest.err >&5
2980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981 (exit $ac_status); } >/dev/null; then
2982 if test -s conftest.err; then
2983 ac_cpp_err=$ac_c_preproc_warn_flag
2984 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2985 else
2986 ac_cpp_err=
2988 else
2989 ac_cpp_err=yes
2991 if test -z "$ac_cpp_err"; then
2992 # Broken: success on invalid input.
2993 continue
2994 else
2995 echo "$as_me: failed program was:" >&5
2996 sed 's/^/| /' conftest.$ac_ext >&5
2998 # Passes both tests.
2999 ac_preproc_ok=:
3000 break
3002 rm -f conftest.err conftest.$ac_ext
3004 done
3005 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3006 rm -f conftest.err conftest.$ac_ext
3007 if $ac_preproc_ok; then
3008 break
3011 done
3012 ac_cv_prog_CPP=$CPP
3015 CPP=$ac_cv_prog_CPP
3016 else
3017 ac_cv_prog_CPP=$CPP
3019 echo "$as_me:$LINENO: result: $CPP" >&5
3020 echo "${ECHO_T}$CPP" >&6
3021 ac_preproc_ok=false
3022 for ac_c_preproc_warn_flag in '' yes
3024 # Use a header file that comes with gcc, so configuring glibc
3025 # with a fresh cross-compiler works.
3026 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3027 # <limits.h> exists even on freestanding compilers.
3028 # On the NeXT, cc -E runs the code through the compiler's parser,
3029 # not just through cpp. "Syntax error" is here to catch this case.
3030 cat >conftest.$ac_ext <<_ACEOF
3031 /* confdefs.h. */
3032 _ACEOF
3033 cat confdefs.h >>conftest.$ac_ext
3034 cat >>conftest.$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3036 #ifdef __STDC__
3037 # include <limits.h>
3038 #else
3039 # include <assert.h>
3040 #endif
3041 Syntax error
3042 _ACEOF
3043 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3044 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3045 ac_status=$?
3046 grep -v '^ *+' conftest.er1 >conftest.err
3047 rm -f conftest.er1
3048 cat conftest.err >&5
3049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3050 (exit $ac_status); } >/dev/null; then
3051 if test -s conftest.err; then
3052 ac_cpp_err=$ac_c_preproc_warn_flag
3053 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3054 else
3055 ac_cpp_err=
3057 else
3058 ac_cpp_err=yes
3060 if test -z "$ac_cpp_err"; then
3062 else
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3066 # Broken: fails on valid input.
3067 continue
3069 rm -f conftest.err conftest.$ac_ext
3071 # OK, works on sane cases. Now check whether non-existent headers
3072 # can be detected and how.
3073 cat >conftest.$ac_ext <<_ACEOF
3074 /* confdefs.h. */
3075 _ACEOF
3076 cat confdefs.h >>conftest.$ac_ext
3077 cat >>conftest.$ac_ext <<_ACEOF
3078 /* end confdefs.h. */
3079 #include <ac_nonexistent.h>
3080 _ACEOF
3081 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3082 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3083 ac_status=$?
3084 grep -v '^ *+' conftest.er1 >conftest.err
3085 rm -f conftest.er1
3086 cat conftest.err >&5
3087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3088 (exit $ac_status); } >/dev/null; then
3089 if test -s conftest.err; then
3090 ac_cpp_err=$ac_c_preproc_warn_flag
3091 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3092 else
3093 ac_cpp_err=
3095 else
3096 ac_cpp_err=yes
3098 if test -z "$ac_cpp_err"; then
3099 # Broken: success on invalid input.
3100 continue
3101 else
3102 echo "$as_me: failed program was:" >&5
3103 sed 's/^/| /' conftest.$ac_ext >&5
3105 # Passes both tests.
3106 ac_preproc_ok=:
3107 break
3109 rm -f conftest.err conftest.$ac_ext
3111 done
3112 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3113 rm -f conftest.err conftest.$ac_ext
3114 if $ac_preproc_ok; then
3116 else
3117 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3118 See \`config.log' for more details." >&5
3119 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3120 See \`config.log' for more details." >&2;}
3121 { (exit 1); exit 1; }; }
3124 ac_ext=c
3125 ac_cpp='$CPP $CPPFLAGS'
3126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3132 if test "x$ac_path_x_has_been_run" != xyes; then
3133 echo "$as_me:$LINENO: checking for X" >&5
3134 echo $ECHO_N "checking for X... $ECHO_C" >&6
3136 ac_path_x_has_been_run=yes
3138 # Check whether --with-x or --without-x was given.
3139 if test "${with_x+set}" = set; then
3140 withval="$with_x"
3143 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3144 if test "x$with_x" = xno; then
3145 # The user explicitly disabled X.
3146 have_x=disabled
3147 else
3148 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3149 # Both variables are already set.
3150 have_x=yes
3151 else
3152 if test "${ac_cv_have_x+set}" = set; then
3153 echo $ECHO_N "(cached) $ECHO_C" >&6
3154 else
3155 # One or both of the vars are not set, and there is no cached value.
3156 ac_x_includes=no ac_x_libraries=no
3157 rm -fr conftest.dir
3158 if mkdir conftest.dir; then
3159 cd conftest.dir
3160 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3161 cat >Imakefile <<'_ACEOF'
3162 acfindx:
3163 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3164 _ACEOF
3165 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3166 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3167 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3168 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3169 for ac_extension in a so sl; do
3170 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3171 test -f $ac_im_libdir/libX11.$ac_extension; then
3172 ac_im_usrlibdir=$ac_im_libdir; break
3174 done
3175 # Screen out bogus values from the imake configuration. They are
3176 # bogus both because they are the default anyway, and because
3177 # using them would break gcc on systems where it needs fixed includes.
3178 case $ac_im_incroot in
3179 /usr/include) ;;
3180 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3181 esac
3182 case $ac_im_usrlibdir in
3183 /usr/lib | /lib) ;;
3184 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3185 esac
3187 cd ..
3188 rm -fr conftest.dir
3191 # Standard set of common directories for X headers.
3192 # Check X11 before X11Rn because it is often a symlink to the current release.
3193 ac_x_header_dirs='
3194 /usr/X11/include
3195 /usr/X11R6/include
3196 /usr/X11R5/include
3197 /usr/X11R4/include
3199 /usr/include/X11
3200 /usr/include/X11R6
3201 /usr/include/X11R5
3202 /usr/include/X11R4
3204 /usr/local/X11/include
3205 /usr/local/X11R6/include
3206 /usr/local/X11R5/include
3207 /usr/local/X11R4/include
3209 /usr/local/include/X11
3210 /usr/local/include/X11R6
3211 /usr/local/include/X11R5
3212 /usr/local/include/X11R4
3214 /usr/X386/include
3215 /usr/x386/include
3216 /usr/XFree86/include/X11
3218 /usr/include
3219 /usr/local/include
3220 /usr/unsupported/include
3221 /usr/athena/include
3222 /usr/local/x11r5/include
3223 /usr/lpp/Xamples/include
3225 /usr/openwin/include
3226 /usr/openwin/share/include'
3228 if test "$ac_x_includes" = no; then
3229 # Guess where to find include files, by looking for a specified header file.
3230 # First, try using that file with no special directory specified.
3231 cat >conftest.$ac_ext <<_ACEOF
3232 /* confdefs.h. */
3233 _ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 #include <X11/Xlib.h>
3238 _ACEOF
3239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3241 ac_status=$?
3242 grep -v '^ *+' conftest.er1 >conftest.err
3243 rm -f conftest.er1
3244 cat conftest.err >&5
3245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3246 (exit $ac_status); } >/dev/null; then
3247 if test -s conftest.err; then
3248 ac_cpp_err=$ac_c_preproc_warn_flag
3249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3250 else
3251 ac_cpp_err=
3253 else
3254 ac_cpp_err=yes
3256 if test -z "$ac_cpp_err"; then
3257 # We can compile using X headers with no special include directory.
3258 ac_x_includes=
3259 else
3260 echo "$as_me: failed program was:" >&5
3261 sed 's/^/| /' conftest.$ac_ext >&5
3263 for ac_dir in $ac_x_header_dirs; do
3264 if test -r "$ac_dir/X11/Xlib.h"; then
3265 ac_x_includes=$ac_dir
3266 break
3268 done
3270 rm -f conftest.err conftest.$ac_ext
3271 fi # $ac_x_includes = no
3273 if test "$ac_x_libraries" = no; then
3274 # Check for the libraries.
3275 # See if we find them without any special options.
3276 # Don't add to $LIBS permanently.
3277 ac_save_LIBS=$LIBS
3278 LIBS="-lX11 $LIBS"
3279 cat >conftest.$ac_ext <<_ACEOF
3280 /* confdefs.h. */
3281 _ACEOF
3282 cat confdefs.h >>conftest.$ac_ext
3283 cat >>conftest.$ac_ext <<_ACEOF
3284 /* end confdefs.h. */
3285 #include <X11/Xlib.h>
3287 main ()
3289 XrmInitialize ()
3291 return 0;
3293 _ACEOF
3294 rm -f conftest.$ac_objext conftest$ac_exeext
3295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3296 (eval $ac_link) 2>conftest.er1
3297 ac_status=$?
3298 grep -v '^ *+' conftest.er1 >conftest.err
3299 rm -f conftest.er1
3300 cat conftest.err >&5
3301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302 (exit $ac_status); } &&
3303 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305 (eval $ac_try) 2>&5
3306 ac_status=$?
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; } &&
3309 { ac_try='test -s conftest$ac_exeext'
3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3311 (eval $ac_try) 2>&5
3312 ac_status=$?
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3315 LIBS=$ac_save_LIBS
3316 # We can link X programs with no special library path.
3317 ac_x_libraries=
3318 else
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 LIBS=$ac_save_LIBS
3323 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3325 # Don't even attempt the hair of trying to link an X program!
3326 for ac_extension in a so sl; do
3327 if test -r $ac_dir/libX11.$ac_extension; then
3328 ac_x_libraries=$ac_dir
3329 break 2
3331 done
3332 done
3334 rm -f conftest.err conftest.$ac_objext \
3335 conftest$ac_exeext conftest.$ac_ext
3336 fi # $ac_x_libraries = no
3338 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3339 # Didn't find X anywhere. Cache the known absence of X.
3340 ac_cv_have_x="have_x=no"
3341 else
3342 # Record where we found X for the cache.
3343 ac_cv_have_x="have_x=yes \
3344 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3349 eval "$ac_cv_have_x"
3350 fi # $with_x != no
3352 if test "$have_x" != yes; then
3353 echo "$as_me:$LINENO: result: $have_x" >&5
3354 echo "${ECHO_T}$have_x" >&6
3355 no_x=yes
3356 else
3357 # If each of the values was on the command line, it overrides each guess.
3358 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3359 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3360 # Update the cache value to reflect the command line values.
3361 ac_cv_have_x="have_x=yes \
3362 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3363 # It might be that x_includes is empty (headers are found in the
3364 # standard search path. Then output the corresponding message
3365 ac_out_x_includes=$x_includes
3366 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3367 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3368 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3372 if test "$no_x" = yes; then
3373 # Not all programs may use this symbol, but it does not hurt to define it.
3375 cat >>confdefs.h <<\_ACEOF
3376 #define X_DISPLAY_MISSING 1
3377 _ACEOF
3379 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3380 else
3381 if test -n "$x_includes"; then
3382 X_CFLAGS="$X_CFLAGS -I$x_includes"
3385 # It would also be nice to do this for all -L options, not just this one.
3386 if test -n "$x_libraries"; then
3387 X_LIBS="$X_LIBS -L$x_libraries"
3388 # For Solaris; some versions of Sun CC require a space after -R and
3389 # others require no space. Words are not sufficient . . . .
3390 case `(uname -sr) 2>/dev/null` in
3391 "SunOS 5"*)
3392 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3393 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3394 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3395 cat >conftest.$ac_ext <<_ACEOF
3396 /* confdefs.h. */
3397 _ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3403 main ()
3407 return 0;
3409 _ACEOF
3410 rm -f conftest.$ac_objext conftest$ac_exeext
3411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3412 (eval $ac_link) 2>conftest.er1
3413 ac_status=$?
3414 grep -v '^ *+' conftest.er1 >conftest.err
3415 rm -f conftest.er1
3416 cat conftest.err >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); } &&
3419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3421 (eval $ac_try) 2>&5
3422 ac_status=$?
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; } &&
3425 { ac_try='test -s conftest$ac_exeext'
3426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3427 (eval $ac_try) 2>&5
3428 ac_status=$?
3429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3430 (exit $ac_status); }; }; then
3431 ac_R_nospace=yes
3432 else
3433 echo "$as_me: failed program was:" >&5
3434 sed 's/^/| /' conftest.$ac_ext >&5
3436 ac_R_nospace=no
3438 rm -f conftest.err conftest.$ac_objext \
3439 conftest$ac_exeext conftest.$ac_ext
3440 if test $ac_R_nospace = yes; then
3441 echo "$as_me:$LINENO: result: no" >&5
3442 echo "${ECHO_T}no" >&6
3443 X_LIBS="$X_LIBS -R$x_libraries"
3444 else
3445 LIBS="$ac_xsave_LIBS -R $x_libraries"
3446 cat >conftest.$ac_ext <<_ACEOF
3447 /* confdefs.h. */
3448 _ACEOF
3449 cat confdefs.h >>conftest.$ac_ext
3450 cat >>conftest.$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3454 main ()
3458 return 0;
3460 _ACEOF
3461 rm -f conftest.$ac_objext conftest$ac_exeext
3462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3463 (eval $ac_link) 2>conftest.er1
3464 ac_status=$?
3465 grep -v '^ *+' conftest.er1 >conftest.err
3466 rm -f conftest.er1
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } &&
3470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3472 (eval $ac_try) 2>&5
3473 ac_status=$?
3474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3475 (exit $ac_status); }; } &&
3476 { ac_try='test -s conftest$ac_exeext'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3478 (eval $ac_try) 2>&5
3479 ac_status=$?
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; }; then
3482 ac_R_space=yes
3483 else
3484 echo "$as_me: failed program was:" >&5
3485 sed 's/^/| /' conftest.$ac_ext >&5
3487 ac_R_space=no
3489 rm -f conftest.err conftest.$ac_objext \
3490 conftest$ac_exeext conftest.$ac_ext
3491 if test $ac_R_space = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 X_LIBS="$X_LIBS -R $x_libraries"
3495 else
3496 echo "$as_me:$LINENO: result: neither works" >&5
3497 echo "${ECHO_T}neither works" >&6
3500 LIBS=$ac_xsave_LIBS
3501 esac
3504 # Check for system-dependent libraries X programs must link with.
3505 # Do this before checking for the system-independent R6 libraries
3506 # (-lICE), since we may need -lsocket or whatever for X linking.
3508 if test "$ISC" = yes; then
3509 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3510 else
3511 # Martyn Johnson says this is needed for Ultrix, if the X
3512 # libraries were built with DECnet support. And Karl Berry says
3513 # the Alpha needs dnet_stub (dnet does not exist).
3514 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3515 cat >conftest.$ac_ext <<_ACEOF
3516 /* confdefs.h. */
3517 _ACEOF
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3522 /* Override any gcc2 internal prototype to avoid an error. */
3523 #ifdef __cplusplus
3524 extern "C"
3525 #endif
3526 /* We use char because int might match the return type of a gcc2
3527 builtin and then its argument prototype would still apply. */
3528 char XOpenDisplay ();
3530 main ()
3532 XOpenDisplay ();
3534 return 0;
3536 _ACEOF
3537 rm -f conftest.$ac_objext conftest$ac_exeext
3538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3539 (eval $ac_link) 2>conftest.er1
3540 ac_status=$?
3541 grep -v '^ *+' conftest.er1 >conftest.err
3542 rm -f conftest.er1
3543 cat conftest.err >&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3548 (eval $ac_try) 2>&5
3549 ac_status=$?
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; } &&
3552 { ac_try='test -s conftest$ac_exeext'
3553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3554 (eval $ac_try) 2>&5
3555 ac_status=$?
3556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3557 (exit $ac_status); }; }; then
3559 else
3560 echo "$as_me: failed program was:" >&5
3561 sed 's/^/| /' conftest.$ac_ext >&5
3563 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3564 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3565 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3566 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 else
3568 ac_check_lib_save_LIBS=$LIBS
3569 LIBS="-ldnet $LIBS"
3570 cat >conftest.$ac_ext <<_ACEOF
3571 /* confdefs.h. */
3572 _ACEOF
3573 cat confdefs.h >>conftest.$ac_ext
3574 cat >>conftest.$ac_ext <<_ACEOF
3575 /* end confdefs.h. */
3577 /* Override any gcc2 internal prototype to avoid an error. */
3578 #ifdef __cplusplus
3579 extern "C"
3580 #endif
3581 /* We use char because int might match the return type of a gcc2
3582 builtin and then its argument prototype would still apply. */
3583 char dnet_ntoa ();
3585 main ()
3587 dnet_ntoa ();
3589 return 0;
3591 _ACEOF
3592 rm -f conftest.$ac_objext conftest$ac_exeext
3593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3594 (eval $ac_link) 2>conftest.er1
3595 ac_status=$?
3596 grep -v '^ *+' conftest.er1 >conftest.err
3597 rm -f conftest.er1
3598 cat conftest.err >&5
3599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3600 (exit $ac_status); } &&
3601 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3603 (eval $ac_try) 2>&5
3604 ac_status=$?
3605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3606 (exit $ac_status); }; } &&
3607 { ac_try='test -s conftest$ac_exeext'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3609 (eval $ac_try) 2>&5
3610 ac_status=$?
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3613 ac_cv_lib_dnet_dnet_ntoa=yes
3614 else
3615 echo "$as_me: failed program was:" >&5
3616 sed 's/^/| /' conftest.$ac_ext >&5
3618 ac_cv_lib_dnet_dnet_ntoa=no
3620 rm -f conftest.err conftest.$ac_objext \
3621 conftest$ac_exeext conftest.$ac_ext
3622 LIBS=$ac_check_lib_save_LIBS
3624 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3625 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3626 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3627 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3630 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3631 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3632 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3633 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3634 echo $ECHO_N "(cached) $ECHO_C" >&6
3635 else
3636 ac_check_lib_save_LIBS=$LIBS
3637 LIBS="-ldnet_stub $LIBS"
3638 cat >conftest.$ac_ext <<_ACEOF
3639 /* confdefs.h. */
3640 _ACEOF
3641 cat confdefs.h >>conftest.$ac_ext
3642 cat >>conftest.$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3645 /* Override any gcc2 internal prototype to avoid an error. */
3646 #ifdef __cplusplus
3647 extern "C"
3648 #endif
3649 /* We use char because int might match the return type of a gcc2
3650 builtin and then its argument prototype would still apply. */
3651 char dnet_ntoa ();
3653 main ()
3655 dnet_ntoa ();
3657 return 0;
3659 _ACEOF
3660 rm -f conftest.$ac_objext conftest$ac_exeext
3661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3662 (eval $ac_link) 2>conftest.er1
3663 ac_status=$?
3664 grep -v '^ *+' conftest.er1 >conftest.err
3665 rm -f conftest.er1
3666 cat conftest.err >&5
3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3668 (exit $ac_status); } &&
3669 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 (eval $ac_try) 2>&5
3672 ac_status=$?
3673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3674 (exit $ac_status); }; } &&
3675 { ac_try='test -s conftest$ac_exeext'
3676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3677 (eval $ac_try) 2>&5
3678 ac_status=$?
3679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3680 (exit $ac_status); }; }; then
3681 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3682 else
3683 echo "$as_me: failed program was:" >&5
3684 sed 's/^/| /' conftest.$ac_ext >&5
3686 ac_cv_lib_dnet_stub_dnet_ntoa=no
3688 rm -f conftest.err conftest.$ac_objext \
3689 conftest$ac_exeext conftest.$ac_ext
3690 LIBS=$ac_check_lib_save_LIBS
3692 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3693 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3694 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3695 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3700 rm -f conftest.err conftest.$ac_objext \
3701 conftest$ac_exeext conftest.$ac_ext
3702 LIBS="$ac_xsave_LIBS"
3704 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3705 # to get the SysV transport functions.
3706 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3707 # needs -lnsl.
3708 # The nsl library prevents programs from opening the X display
3709 # on Irix 5.2, according to T.E. Dickey.
3710 # The functions gethostbyname, getservbyname, and inet_addr are
3711 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3712 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3713 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3714 if test "${ac_cv_func_gethostbyname+set}" = set; then
3715 echo $ECHO_N "(cached) $ECHO_C" >&6
3716 else
3717 cat >conftest.$ac_ext <<_ACEOF
3718 /* confdefs.h. */
3719 _ACEOF
3720 cat confdefs.h >>conftest.$ac_ext
3721 cat >>conftest.$ac_ext <<_ACEOF
3722 /* end confdefs.h. */
3723 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3725 #define gethostbyname innocuous_gethostbyname
3727 /* System header to define __stub macros and hopefully few prototypes,
3728 which can conflict with char gethostbyname (); below.
3729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3730 <limits.h> exists even on freestanding compilers. */
3732 #ifdef __STDC__
3733 # include <limits.h>
3734 #else
3735 # include <assert.h>
3736 #endif
3738 #undef gethostbyname
3740 /* Override any gcc2 internal prototype to avoid an error. */
3741 #ifdef __cplusplus
3742 extern "C"
3744 #endif
3745 /* We use char because int might match the return type of a gcc2
3746 builtin and then its argument prototype would still apply. */
3747 char gethostbyname ();
3748 /* The GNU C library defines this for functions which it implements
3749 to always fail with ENOSYS. Some functions are actually named
3750 something starting with __ and the normal name is an alias. */
3751 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3752 choke me
3753 #else
3754 char (*f) () = gethostbyname;
3755 #endif
3756 #ifdef __cplusplus
3758 #endif
3761 main ()
3763 return f != gethostbyname;
3765 return 0;
3767 _ACEOF
3768 rm -f conftest.$ac_objext conftest$ac_exeext
3769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3770 (eval $ac_link) 2>conftest.er1
3771 ac_status=$?
3772 grep -v '^ *+' conftest.er1 >conftest.err
3773 rm -f conftest.er1
3774 cat conftest.err >&5
3775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3776 (exit $ac_status); } &&
3777 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3779 (eval $ac_try) 2>&5
3780 ac_status=$?
3781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3782 (exit $ac_status); }; } &&
3783 { ac_try='test -s conftest$ac_exeext'
3784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3785 (eval $ac_try) 2>&5
3786 ac_status=$?
3787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3788 (exit $ac_status); }; }; then
3789 ac_cv_func_gethostbyname=yes
3790 else
3791 echo "$as_me: failed program was:" >&5
3792 sed 's/^/| /' conftest.$ac_ext >&5
3794 ac_cv_func_gethostbyname=no
3796 rm -f conftest.err conftest.$ac_objext \
3797 conftest$ac_exeext conftest.$ac_ext
3799 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3800 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3802 if test $ac_cv_func_gethostbyname = no; then
3803 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3804 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3805 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 else
3808 ac_check_lib_save_LIBS=$LIBS
3809 LIBS="-lnsl $LIBS"
3810 cat >conftest.$ac_ext <<_ACEOF
3811 /* confdefs.h. */
3812 _ACEOF
3813 cat confdefs.h >>conftest.$ac_ext
3814 cat >>conftest.$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3817 /* Override any gcc2 internal prototype to avoid an error. */
3818 #ifdef __cplusplus
3819 extern "C"
3820 #endif
3821 /* We use char because int might match the return type of a gcc2
3822 builtin and then its argument prototype would still apply. */
3823 char gethostbyname ();
3825 main ()
3827 gethostbyname ();
3829 return 0;
3831 _ACEOF
3832 rm -f conftest.$ac_objext conftest$ac_exeext
3833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3834 (eval $ac_link) 2>conftest.er1
3835 ac_status=$?
3836 grep -v '^ *+' conftest.er1 >conftest.err
3837 rm -f conftest.er1
3838 cat conftest.err >&5
3839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3840 (exit $ac_status); } &&
3841 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3843 (eval $ac_try) 2>&5
3844 ac_status=$?
3845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3846 (exit $ac_status); }; } &&
3847 { ac_try='test -s conftest$ac_exeext'
3848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3849 (eval $ac_try) 2>&5
3850 ac_status=$?
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); }; }; then
3853 ac_cv_lib_nsl_gethostbyname=yes
3854 else
3855 echo "$as_me: failed program was:" >&5
3856 sed 's/^/| /' conftest.$ac_ext >&5
3858 ac_cv_lib_nsl_gethostbyname=no
3860 rm -f conftest.err conftest.$ac_objext \
3861 conftest$ac_exeext conftest.$ac_ext
3862 LIBS=$ac_check_lib_save_LIBS
3864 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3865 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3866 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3867 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3870 if test $ac_cv_lib_nsl_gethostbyname = no; then
3871 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3872 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3873 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 else
3876 ac_check_lib_save_LIBS=$LIBS
3877 LIBS="-lbsd $LIBS"
3878 cat >conftest.$ac_ext <<_ACEOF
3879 /* confdefs.h. */
3880 _ACEOF
3881 cat confdefs.h >>conftest.$ac_ext
3882 cat >>conftest.$ac_ext <<_ACEOF
3883 /* end confdefs.h. */
3885 /* Override any gcc2 internal prototype to avoid an error. */
3886 #ifdef __cplusplus
3887 extern "C"
3888 #endif
3889 /* We use char because int might match the return type of a gcc2
3890 builtin and then its argument prototype would still apply. */
3891 char gethostbyname ();
3893 main ()
3895 gethostbyname ();
3897 return 0;
3899 _ACEOF
3900 rm -f conftest.$ac_objext conftest$ac_exeext
3901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3902 (eval $ac_link) 2>conftest.er1
3903 ac_status=$?
3904 grep -v '^ *+' conftest.er1 >conftest.err
3905 rm -f conftest.er1
3906 cat conftest.err >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); } &&
3909 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3911 (eval $ac_try) 2>&5
3912 ac_status=$?
3913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3914 (exit $ac_status); }; } &&
3915 { ac_try='test -s conftest$ac_exeext'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3917 (eval $ac_try) 2>&5
3918 ac_status=$?
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; }; then
3921 ac_cv_lib_bsd_gethostbyname=yes
3922 else
3923 echo "$as_me: failed program was:" >&5
3924 sed 's/^/| /' conftest.$ac_ext >&5
3926 ac_cv_lib_bsd_gethostbyname=no
3928 rm -f conftest.err conftest.$ac_objext \
3929 conftest$ac_exeext conftest.$ac_ext
3930 LIBS=$ac_check_lib_save_LIBS
3932 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3933 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3934 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3935 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3941 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3942 # socket/setsockopt and other routines are undefined under SCO ODT
3943 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3944 # on later versions), says Simon Leinen: it contains gethostby*
3945 # variants that don't use the name server (or something). -lsocket
3946 # must be given before -lnsl if both are needed. We assume that
3947 # if connect needs -lnsl, so does gethostbyname.
3948 echo "$as_me:$LINENO: checking for connect" >&5
3949 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3950 if test "${ac_cv_func_connect+set}" = set; then
3951 echo $ECHO_N "(cached) $ECHO_C" >&6
3952 else
3953 cat >conftest.$ac_ext <<_ACEOF
3954 /* confdefs.h. */
3955 _ACEOF
3956 cat confdefs.h >>conftest.$ac_ext
3957 cat >>conftest.$ac_ext <<_ACEOF
3958 /* end confdefs.h. */
3959 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3961 #define connect innocuous_connect
3963 /* System header to define __stub macros and hopefully few prototypes,
3964 which can conflict with char connect (); below.
3965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3966 <limits.h> exists even on freestanding compilers. */
3968 #ifdef __STDC__
3969 # include <limits.h>
3970 #else
3971 # include <assert.h>
3972 #endif
3974 #undef connect
3976 /* Override any gcc2 internal prototype to avoid an error. */
3977 #ifdef __cplusplus
3978 extern "C"
3980 #endif
3981 /* We use char because int might match the return type of a gcc2
3982 builtin and then its argument prototype would still apply. */
3983 char connect ();
3984 /* The GNU C library defines this for functions which it implements
3985 to always fail with ENOSYS. Some functions are actually named
3986 something starting with __ and the normal name is an alias. */
3987 #if defined (__stub_connect) || defined (__stub___connect)
3988 choke me
3989 #else
3990 char (*f) () = connect;
3991 #endif
3992 #ifdef __cplusplus
3994 #endif
3997 main ()
3999 return f != connect;
4001 return 0;
4003 _ACEOF
4004 rm -f conftest.$ac_objext conftest$ac_exeext
4005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4006 (eval $ac_link) 2>conftest.er1
4007 ac_status=$?
4008 grep -v '^ *+' conftest.er1 >conftest.err
4009 rm -f conftest.er1
4010 cat conftest.err >&5
4011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4012 (exit $ac_status); } &&
4013 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 (eval $ac_try) 2>&5
4016 ac_status=$?
4017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4018 (exit $ac_status); }; } &&
4019 { ac_try='test -s conftest$ac_exeext'
4020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4021 (eval $ac_try) 2>&5
4022 ac_status=$?
4023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4024 (exit $ac_status); }; }; then
4025 ac_cv_func_connect=yes
4026 else
4027 echo "$as_me: failed program was:" >&5
4028 sed 's/^/| /' conftest.$ac_ext >&5
4030 ac_cv_func_connect=no
4032 rm -f conftest.err conftest.$ac_objext \
4033 conftest$ac_exeext conftest.$ac_ext
4035 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4036 echo "${ECHO_T}$ac_cv_func_connect" >&6
4038 if test $ac_cv_func_connect = no; then
4039 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4040 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4041 if test "${ac_cv_lib_socket_connect+set}" = set; then
4042 echo $ECHO_N "(cached) $ECHO_C" >&6
4043 else
4044 ac_check_lib_save_LIBS=$LIBS
4045 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4046 cat >conftest.$ac_ext <<_ACEOF
4047 /* confdefs.h. */
4048 _ACEOF
4049 cat confdefs.h >>conftest.$ac_ext
4050 cat >>conftest.$ac_ext <<_ACEOF
4051 /* end confdefs.h. */
4053 /* Override any gcc2 internal prototype to avoid an error. */
4054 #ifdef __cplusplus
4055 extern "C"
4056 #endif
4057 /* We use char because int might match the return type of a gcc2
4058 builtin and then its argument prototype would still apply. */
4059 char connect ();
4061 main ()
4063 connect ();
4065 return 0;
4067 _ACEOF
4068 rm -f conftest.$ac_objext conftest$ac_exeext
4069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4070 (eval $ac_link) 2>conftest.er1
4071 ac_status=$?
4072 grep -v '^ *+' conftest.er1 >conftest.err
4073 rm -f conftest.er1
4074 cat conftest.err >&5
4075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4076 (exit $ac_status); } &&
4077 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4079 (eval $ac_try) 2>&5
4080 ac_status=$?
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); }; } &&
4083 { ac_try='test -s conftest$ac_exeext'
4084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085 (eval $ac_try) 2>&5
4086 ac_status=$?
4087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4088 (exit $ac_status); }; }; then
4089 ac_cv_lib_socket_connect=yes
4090 else
4091 echo "$as_me: failed program was:" >&5
4092 sed 's/^/| /' conftest.$ac_ext >&5
4094 ac_cv_lib_socket_connect=no
4096 rm -f conftest.err conftest.$ac_objext \
4097 conftest$ac_exeext conftest.$ac_ext
4098 LIBS=$ac_check_lib_save_LIBS
4100 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4101 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4102 if test $ac_cv_lib_socket_connect = yes; then
4103 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4108 # Guillermo Gomez says -lposix is necessary on A/UX.
4109 echo "$as_me:$LINENO: checking for remove" >&5
4110 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4111 if test "${ac_cv_func_remove+set}" = set; then
4112 echo $ECHO_N "(cached) $ECHO_C" >&6
4113 else
4114 cat >conftest.$ac_ext <<_ACEOF
4115 /* confdefs.h. */
4116 _ACEOF
4117 cat confdefs.h >>conftest.$ac_ext
4118 cat >>conftest.$ac_ext <<_ACEOF
4119 /* end confdefs.h. */
4120 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4122 #define remove innocuous_remove
4124 /* System header to define __stub macros and hopefully few prototypes,
4125 which can conflict with char remove (); below.
4126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4127 <limits.h> exists even on freestanding compilers. */
4129 #ifdef __STDC__
4130 # include <limits.h>
4131 #else
4132 # include <assert.h>
4133 #endif
4135 #undef remove
4137 /* Override any gcc2 internal prototype to avoid an error. */
4138 #ifdef __cplusplus
4139 extern "C"
4141 #endif
4142 /* We use char because int might match the return type of a gcc2
4143 builtin and then its argument prototype would still apply. */
4144 char remove ();
4145 /* The GNU C library defines this for functions which it implements
4146 to always fail with ENOSYS. Some functions are actually named
4147 something starting with __ and the normal name is an alias. */
4148 #if defined (__stub_remove) || defined (__stub___remove)
4149 choke me
4150 #else
4151 char (*f) () = remove;
4152 #endif
4153 #ifdef __cplusplus
4155 #endif
4158 main ()
4160 return f != remove;
4162 return 0;
4164 _ACEOF
4165 rm -f conftest.$ac_objext conftest$ac_exeext
4166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4167 (eval $ac_link) 2>conftest.er1
4168 ac_status=$?
4169 grep -v '^ *+' conftest.er1 >conftest.err
4170 rm -f conftest.er1
4171 cat conftest.err >&5
4172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4173 (exit $ac_status); } &&
4174 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4176 (eval $ac_try) 2>&5
4177 ac_status=$?
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); }; } &&
4180 { ac_try='test -s conftest$ac_exeext'
4181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4182 (eval $ac_try) 2>&5
4183 ac_status=$?
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); }; }; then
4186 ac_cv_func_remove=yes
4187 else
4188 echo "$as_me: failed program was:" >&5
4189 sed 's/^/| /' conftest.$ac_ext >&5
4191 ac_cv_func_remove=no
4193 rm -f conftest.err conftest.$ac_objext \
4194 conftest$ac_exeext conftest.$ac_ext
4196 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4197 echo "${ECHO_T}$ac_cv_func_remove" >&6
4199 if test $ac_cv_func_remove = no; then
4200 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4201 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4202 if test "${ac_cv_lib_posix_remove+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 else
4205 ac_check_lib_save_LIBS=$LIBS
4206 LIBS="-lposix $LIBS"
4207 cat >conftest.$ac_ext <<_ACEOF
4208 /* confdefs.h. */
4209 _ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4214 /* Override any gcc2 internal prototype to avoid an error. */
4215 #ifdef __cplusplus
4216 extern "C"
4217 #endif
4218 /* We use char because int might match the return type of a gcc2
4219 builtin and then its argument prototype would still apply. */
4220 char remove ();
4222 main ()
4224 remove ();
4226 return 0;
4228 _ACEOF
4229 rm -f conftest.$ac_objext conftest$ac_exeext
4230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4231 (eval $ac_link) 2>conftest.er1
4232 ac_status=$?
4233 grep -v '^ *+' conftest.er1 >conftest.err
4234 rm -f conftest.er1
4235 cat conftest.err >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); } &&
4238 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4240 (eval $ac_try) 2>&5
4241 ac_status=$?
4242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4243 (exit $ac_status); }; } &&
4244 { ac_try='test -s conftest$ac_exeext'
4245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246 (eval $ac_try) 2>&5
4247 ac_status=$?
4248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4249 (exit $ac_status); }; }; then
4250 ac_cv_lib_posix_remove=yes
4251 else
4252 echo "$as_me: failed program was:" >&5
4253 sed 's/^/| /' conftest.$ac_ext >&5
4255 ac_cv_lib_posix_remove=no
4257 rm -f conftest.err conftest.$ac_objext \
4258 conftest$ac_exeext conftest.$ac_ext
4259 LIBS=$ac_check_lib_save_LIBS
4261 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4262 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4263 if test $ac_cv_lib_posix_remove = yes; then
4264 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4269 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4270 echo "$as_me:$LINENO: checking for shmat" >&5
4271 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4272 if test "${ac_cv_func_shmat+set}" = set; then
4273 echo $ECHO_N "(cached) $ECHO_C" >&6
4274 else
4275 cat >conftest.$ac_ext <<_ACEOF
4276 /* confdefs.h. */
4277 _ACEOF
4278 cat confdefs.h >>conftest.$ac_ext
4279 cat >>conftest.$ac_ext <<_ACEOF
4280 /* end confdefs.h. */
4281 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4283 #define shmat innocuous_shmat
4285 /* System header to define __stub macros and hopefully few prototypes,
4286 which can conflict with char shmat (); below.
4287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4288 <limits.h> exists even on freestanding compilers. */
4290 #ifdef __STDC__
4291 # include <limits.h>
4292 #else
4293 # include <assert.h>
4294 #endif
4296 #undef shmat
4298 /* Override any gcc2 internal prototype to avoid an error. */
4299 #ifdef __cplusplus
4300 extern "C"
4302 #endif
4303 /* We use char because int might match the return type of a gcc2
4304 builtin and then its argument prototype would still apply. */
4305 char shmat ();
4306 /* The GNU C library defines this for functions which it implements
4307 to always fail with ENOSYS. Some functions are actually named
4308 something starting with __ and the normal name is an alias. */
4309 #if defined (__stub_shmat) || defined (__stub___shmat)
4310 choke me
4311 #else
4312 char (*f) () = shmat;
4313 #endif
4314 #ifdef __cplusplus
4316 #endif
4319 main ()
4321 return f != shmat;
4323 return 0;
4325 _ACEOF
4326 rm -f conftest.$ac_objext conftest$ac_exeext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4328 (eval $ac_link) 2>conftest.er1
4329 ac_status=$?
4330 grep -v '^ *+' conftest.er1 >conftest.err
4331 rm -f conftest.er1
4332 cat conftest.err >&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } &&
4335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4337 (eval $ac_try) 2>&5
4338 ac_status=$?
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; } &&
4341 { ac_try='test -s conftest$ac_exeext'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4343 (eval $ac_try) 2>&5
4344 ac_status=$?
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 ac_cv_func_shmat=yes
4348 else
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.$ac_ext >&5
4352 ac_cv_func_shmat=no
4354 rm -f conftest.err conftest.$ac_objext \
4355 conftest$ac_exeext conftest.$ac_ext
4357 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4358 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4360 if test $ac_cv_func_shmat = no; then
4361 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4362 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4363 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4364 echo $ECHO_N "(cached) $ECHO_C" >&6
4365 else
4366 ac_check_lib_save_LIBS=$LIBS
4367 LIBS="-lipc $LIBS"
4368 cat >conftest.$ac_ext <<_ACEOF
4369 /* confdefs.h. */
4370 _ACEOF
4371 cat confdefs.h >>conftest.$ac_ext
4372 cat >>conftest.$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4375 /* Override any gcc2 internal prototype to avoid an error. */
4376 #ifdef __cplusplus
4377 extern "C"
4378 #endif
4379 /* We use char because int might match the return type of a gcc2
4380 builtin and then its argument prototype would still apply. */
4381 char shmat ();
4383 main ()
4385 shmat ();
4387 return 0;
4389 _ACEOF
4390 rm -f conftest.$ac_objext conftest$ac_exeext
4391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4392 (eval $ac_link) 2>conftest.er1
4393 ac_status=$?
4394 grep -v '^ *+' conftest.er1 >conftest.err
4395 rm -f conftest.er1
4396 cat conftest.err >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); } &&
4399 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4401 (eval $ac_try) 2>&5
4402 ac_status=$?
4403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4404 (exit $ac_status); }; } &&
4405 { ac_try='test -s conftest$ac_exeext'
4406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4407 (eval $ac_try) 2>&5
4408 ac_status=$?
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); }; }; then
4411 ac_cv_lib_ipc_shmat=yes
4412 else
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.$ac_ext >&5
4416 ac_cv_lib_ipc_shmat=no
4418 rm -f conftest.err conftest.$ac_objext \
4419 conftest$ac_exeext conftest.$ac_ext
4420 LIBS=$ac_check_lib_save_LIBS
4422 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4423 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4424 if test $ac_cv_lib_ipc_shmat = yes; then
4425 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4431 # Check for libraries that X11R6 Xt/Xaw programs need.
4432 ac_save_LDFLAGS=$LDFLAGS
4433 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4434 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4435 # check for ICE first), but we must link in the order -lSM -lICE or
4436 # we get undefined symbols. So assume we have SM if we have ICE.
4437 # These have to be linked with before -lX11, unlike the other
4438 # libraries we check for below, so use a different variable.
4439 # John Interrante, Karl Berry
4440 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4441 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4442 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4443 echo $ECHO_N "(cached) $ECHO_C" >&6
4444 else
4445 ac_check_lib_save_LIBS=$LIBS
4446 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4447 cat >conftest.$ac_ext <<_ACEOF
4448 /* confdefs.h. */
4449 _ACEOF
4450 cat confdefs.h >>conftest.$ac_ext
4451 cat >>conftest.$ac_ext <<_ACEOF
4452 /* end confdefs.h. */
4454 /* Override any gcc2 internal prototype to avoid an error. */
4455 #ifdef __cplusplus
4456 extern "C"
4457 #endif
4458 /* We use char because int might match the return type of a gcc2
4459 builtin and then its argument prototype would still apply. */
4460 char IceConnectionNumber ();
4462 main ()
4464 IceConnectionNumber ();
4466 return 0;
4468 _ACEOF
4469 rm -f conftest.$ac_objext conftest$ac_exeext
4470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4471 (eval $ac_link) 2>conftest.er1
4472 ac_status=$?
4473 grep -v '^ *+' conftest.er1 >conftest.err
4474 rm -f conftest.er1
4475 cat conftest.err >&5
4476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4477 (exit $ac_status); } &&
4478 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4480 (eval $ac_try) 2>&5
4481 ac_status=$?
4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4483 (exit $ac_status); }; } &&
4484 { ac_try='test -s conftest$ac_exeext'
4485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486 (eval $ac_try) 2>&5
4487 ac_status=$?
4488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4489 (exit $ac_status); }; }; then
4490 ac_cv_lib_ICE_IceConnectionNumber=yes
4491 else
4492 echo "$as_me: failed program was:" >&5
4493 sed 's/^/| /' conftest.$ac_ext >&5
4495 ac_cv_lib_ICE_IceConnectionNumber=no
4497 rm -f conftest.err conftest.$ac_objext \
4498 conftest$ac_exeext conftest.$ac_ext
4499 LIBS=$ac_check_lib_save_LIBS
4501 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4502 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4503 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4504 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4507 LDFLAGS=$ac_save_LDFLAGS
4511 for ac_prog in flex lex
4513 # Extract the first word of "$ac_prog", so it can be a program name with args.
4514 set dummy $ac_prog; ac_word=$2
4515 echo "$as_me:$LINENO: checking for $ac_word" >&5
4516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4517 if test "${ac_cv_prog_LEX+set}" = set; then
4518 echo $ECHO_N "(cached) $ECHO_C" >&6
4519 else
4520 if test -n "$LEX"; then
4521 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4522 else
4523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4524 for as_dir in $PATH
4526 IFS=$as_save_IFS
4527 test -z "$as_dir" && as_dir=.
4528 for ac_exec_ext in '' $ac_executable_extensions; do
4529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4530 ac_cv_prog_LEX="$ac_prog"
4531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4532 break 2
4534 done
4535 done
4539 LEX=$ac_cv_prog_LEX
4540 if test -n "$LEX"; then
4541 echo "$as_me:$LINENO: result: $LEX" >&5
4542 echo "${ECHO_T}$LEX" >&6
4543 else
4544 echo "$as_me:$LINENO: result: no" >&5
4545 echo "${ECHO_T}no" >&6
4548 test -n "$LEX" && break
4549 done
4550 test -n "$LEX" || LEX=":"
4552 if test -z "$LEXLIB"
4553 then
4554 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4555 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4556 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4557 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 else
4559 ac_check_lib_save_LIBS=$LIBS
4560 LIBS="-lfl $LIBS"
4561 cat >conftest.$ac_ext <<_ACEOF
4562 /* confdefs.h. */
4563 _ACEOF
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4566 /* end confdefs.h. */
4568 /* Override any gcc2 internal prototype to avoid an error. */
4569 #ifdef __cplusplus
4570 extern "C"
4571 #endif
4572 /* We use char because int might match the return type of a gcc2
4573 builtin and then its argument prototype would still apply. */
4574 char yywrap ();
4576 main ()
4578 yywrap ();
4580 return 0;
4582 _ACEOF
4583 rm -f conftest.$ac_objext conftest$ac_exeext
4584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4585 (eval $ac_link) 2>conftest.er1
4586 ac_status=$?
4587 grep -v '^ *+' conftest.er1 >conftest.err
4588 rm -f conftest.er1
4589 cat conftest.err >&5
4590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4591 (exit $ac_status); } &&
4592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 (eval $ac_try) 2>&5
4595 ac_status=$?
4596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4597 (exit $ac_status); }; } &&
4598 { ac_try='test -s conftest$ac_exeext'
4599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 (eval $ac_try) 2>&5
4601 ac_status=$?
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); }; }; then
4604 ac_cv_lib_fl_yywrap=yes
4605 else
4606 echo "$as_me: failed program was:" >&5
4607 sed 's/^/| /' conftest.$ac_ext >&5
4609 ac_cv_lib_fl_yywrap=no
4611 rm -f conftest.err conftest.$ac_objext \
4612 conftest$ac_exeext conftest.$ac_ext
4613 LIBS=$ac_check_lib_save_LIBS
4615 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4616 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4617 if test $ac_cv_lib_fl_yywrap = yes; then
4618 LEXLIB="-lfl"
4619 else
4620 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4621 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4622 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4623 echo $ECHO_N "(cached) $ECHO_C" >&6
4624 else
4625 ac_check_lib_save_LIBS=$LIBS
4626 LIBS="-ll $LIBS"
4627 cat >conftest.$ac_ext <<_ACEOF
4628 /* confdefs.h. */
4629 _ACEOF
4630 cat confdefs.h >>conftest.$ac_ext
4631 cat >>conftest.$ac_ext <<_ACEOF
4632 /* end confdefs.h. */
4634 /* Override any gcc2 internal prototype to avoid an error. */
4635 #ifdef __cplusplus
4636 extern "C"
4637 #endif
4638 /* We use char because int might match the return type of a gcc2
4639 builtin and then its argument prototype would still apply. */
4640 char yywrap ();
4642 main ()
4644 yywrap ();
4646 return 0;
4648 _ACEOF
4649 rm -f conftest.$ac_objext conftest$ac_exeext
4650 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4651 (eval $ac_link) 2>conftest.er1
4652 ac_status=$?
4653 grep -v '^ *+' conftest.er1 >conftest.err
4654 rm -f conftest.er1
4655 cat conftest.err >&5
4656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4657 (exit $ac_status); } &&
4658 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4660 (eval $ac_try) 2>&5
4661 ac_status=$?
4662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4663 (exit $ac_status); }; } &&
4664 { ac_try='test -s conftest$ac_exeext'
4665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4666 (eval $ac_try) 2>&5
4667 ac_status=$?
4668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4669 (exit $ac_status); }; }; then
4670 ac_cv_lib_l_yywrap=yes
4671 else
4672 echo "$as_me: failed program was:" >&5
4673 sed 's/^/| /' conftest.$ac_ext >&5
4675 ac_cv_lib_l_yywrap=no
4677 rm -f conftest.err conftest.$ac_objext \
4678 conftest$ac_exeext conftest.$ac_ext
4679 LIBS=$ac_check_lib_save_LIBS
4681 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4682 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4683 if test $ac_cv_lib_l_yywrap = yes; then
4684 LEXLIB="-ll"
4691 if test "x$LEX" != "x:"; then
4692 echo "$as_me:$LINENO: checking lex output file root" >&5
4693 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4694 if test "${ac_cv_prog_lex_root+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 else
4697 # The minimal lex program is just a single line: %%. But some broken lexes
4698 # (Solaris, I think it was) want two %% lines, so accommodate them.
4699 cat >conftest.l <<_ACEOF
4702 _ACEOF
4703 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4704 (eval $LEX conftest.l) 2>&5
4705 ac_status=$?
4706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4707 (exit $ac_status); }
4708 if test -f lex.yy.c; then
4709 ac_cv_prog_lex_root=lex.yy
4710 elif test -f lexyy.c; then
4711 ac_cv_prog_lex_root=lexyy
4712 else
4713 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4714 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4715 { (exit 1); exit 1; }; }
4718 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4719 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4720 rm -f conftest.l
4721 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4723 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4724 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4725 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4727 else
4728 # POSIX says lex can declare yytext either as a pointer or an array; the
4729 # default is implementation-dependent. Figure out which it is, since
4730 # not all implementations provide the %pointer and %array declarations.
4731 ac_cv_prog_lex_yytext_pointer=no
4732 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4733 ac_save_LIBS=$LIBS
4734 LIBS="$LIBS $LEXLIB"
4735 cat >conftest.$ac_ext <<_ACEOF
4736 `cat $LEX_OUTPUT_ROOT.c`
4737 _ACEOF
4738 rm -f conftest.$ac_objext conftest$ac_exeext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4740 (eval $ac_link) 2>conftest.er1
4741 ac_status=$?
4742 grep -v '^ *+' conftest.er1 >conftest.err
4743 rm -f conftest.er1
4744 cat conftest.err >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4749 (eval $ac_try) 2>&5
4750 ac_status=$?
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); }; } &&
4753 { ac_try='test -s conftest$ac_exeext'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4755 (eval $ac_try) 2>&5
4756 ac_status=$?
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; }; then
4759 ac_cv_prog_lex_yytext_pointer=yes
4760 else
4761 echo "$as_me: failed program was:" >&5
4762 sed 's/^/| /' conftest.$ac_ext >&5
4765 rm -f conftest.err conftest.$ac_objext \
4766 conftest$ac_exeext conftest.$ac_ext
4767 LIBS=$ac_save_LIBS
4768 rm -f "${LEX_OUTPUT_ROOT}.c"
4771 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4772 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4773 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4775 cat >>confdefs.h <<\_ACEOF
4776 #define YYTEXT_POINTER 1
4777 _ACEOF
4783 for ac_prog in $LEX flex lex
4785 # Extract the first word of "$ac_prog", so it can be a program name with args.
4786 set dummy $ac_prog; ac_word=$2
4787 echo "$as_me:$LINENO: checking for $ac_word" >&5
4788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4789 if test "${ac_cv_prog_XLEX+set}" = set; then
4790 echo $ECHO_N "(cached) $ECHO_C" >&6
4791 else
4792 if test -n "$XLEX"; then
4793 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4794 else
4795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796 for as_dir in $PATH
4798 IFS=$as_save_IFS
4799 test -z "$as_dir" && as_dir=.
4800 for ac_exec_ext in '' $ac_executable_extensions; do
4801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4802 ac_cv_prog_XLEX="$ac_prog"
4803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4804 break 2
4806 done
4807 done
4811 XLEX=$ac_cv_prog_XLEX
4812 if test -n "$XLEX"; then
4813 echo "$as_me:$LINENO: result: $XLEX" >&5
4814 echo "${ECHO_T}$XLEX" >&6
4815 else
4816 echo "$as_me:$LINENO: result: no" >&5
4817 echo "${ECHO_T}no" >&6
4820 test -n "$XLEX" && break
4821 done
4822 test -n "$XLEX" || XLEX="none"
4824 if test "$XLEX" = "none"
4825 then
4826 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4827 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4828 { (exit 1); exit 1; }; }
4831 for ac_prog in bison
4833 # Extract the first word of "$ac_prog", so it can be a program name with args.
4834 set dummy $ac_prog; ac_word=$2
4835 echo "$as_me:$LINENO: checking for $ac_word" >&5
4836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4837 if test "${ac_cv_prog_BISON+set}" = set; then
4838 echo $ECHO_N "(cached) $ECHO_C" >&6
4839 else
4840 if test -n "$BISON"; then
4841 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4842 else
4843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844 for as_dir in $PATH
4846 IFS=$as_save_IFS
4847 test -z "$as_dir" && as_dir=.
4848 for ac_exec_ext in '' $ac_executable_extensions; do
4849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4850 ac_cv_prog_BISON="$ac_prog"
4851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 break 2
4854 done
4855 done
4859 BISON=$ac_cv_prog_BISON
4860 if test -n "$BISON"; then
4861 echo "$as_me:$LINENO: result: $BISON" >&5
4862 echo "${ECHO_T}$BISON" >&6
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 test -n "$BISON" && break
4869 done
4870 test -n "$BISON" || BISON="none"
4872 if test "$BISON" = "none"
4873 then
4874 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4875 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4876 { (exit 1); exit 1; }; }
4879 if test -n "$ac_tool_prefix"; then
4880 for ac_prog in gas as
4882 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4883 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4884 echo "$as_me:$LINENO: checking for $ac_word" >&5
4885 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4886 if test "${ac_cv_prog_AS+set}" = set; then
4887 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 else
4889 if test -n "$AS"; then
4890 ac_cv_prog_AS="$AS" # Let the user override the test.
4891 else
4892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4893 for as_dir in $PATH
4895 IFS=$as_save_IFS
4896 test -z "$as_dir" && as_dir=.
4897 for ac_exec_ext in '' $ac_executable_extensions; do
4898 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4899 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4900 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4901 break 2
4903 done
4904 done
4908 AS=$ac_cv_prog_AS
4909 if test -n "$AS"; then
4910 echo "$as_me:$LINENO: result: $AS" >&5
4911 echo "${ECHO_T}$AS" >&6
4912 else
4913 echo "$as_me:$LINENO: result: no" >&5
4914 echo "${ECHO_T}no" >&6
4917 test -n "$AS" && break
4918 done
4920 if test -z "$AS"; then
4921 ac_ct_AS=$AS
4922 for ac_prog in gas as
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy $ac_prog; ac_word=$2
4926 echo "$as_me:$LINENO: checking for $ac_word" >&5
4927 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4928 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4929 echo $ECHO_N "(cached) $ECHO_C" >&6
4930 else
4931 if test -n "$ac_ct_AS"; then
4932 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4933 else
4934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4935 for as_dir in $PATH
4937 IFS=$as_save_IFS
4938 test -z "$as_dir" && as_dir=.
4939 for ac_exec_ext in '' $ac_executable_extensions; do
4940 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_ac_ct_AS="$ac_prog"
4942 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 break 2
4945 done
4946 done
4950 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4951 if test -n "$ac_ct_AS"; then
4952 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4953 echo "${ECHO_T}$ac_ct_AS" >&6
4954 else
4955 echo "$as_me:$LINENO: result: no" >&5
4956 echo "${ECHO_T}no" >&6
4959 test -n "$ac_ct_AS" && break
4960 done
4961 test -n "$ac_ct_AS" || ac_ct_AS="as"
4963 AS=$ac_ct_AS
4966 if test -n "$ac_tool_prefix"; then
4967 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4968 set dummy ${ac_tool_prefix}ld; ac_word=$2
4969 echo "$as_me:$LINENO: checking for $ac_word" >&5
4970 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4971 if test "${ac_cv_prog_LD+set}" = set; then
4972 echo $ECHO_N "(cached) $ECHO_C" >&6
4973 else
4974 if test -n "$LD"; then
4975 ac_cv_prog_LD="$LD" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4980 IFS=$as_save_IFS
4981 test -z "$as_dir" && as_dir=.
4982 for ac_exec_ext in '' $ac_executable_extensions; do
4983 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_LD="${ac_tool_prefix}ld"
4985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 break 2
4988 done
4989 done
4993 LD=$ac_cv_prog_LD
4994 if test -n "$LD"; then
4995 echo "$as_me:$LINENO: result: $LD" >&5
4996 echo "${ECHO_T}$LD" >&6
4997 else
4998 echo "$as_me:$LINENO: result: no" >&5
4999 echo "${ECHO_T}no" >&6
5003 if test -z "$ac_cv_prog_LD"; then
5004 ac_ct_LD=$LD
5005 # Extract the first word of "ld", so it can be a program name with args.
5006 set dummy ld; ac_word=$2
5007 echo "$as_me:$LINENO: checking for $ac_word" >&5
5008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5009 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5010 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 else
5012 if test -n "$ac_ct_LD"; then
5013 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5014 else
5015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5016 for as_dir in $PATH
5018 IFS=$as_save_IFS
5019 test -z "$as_dir" && as_dir=.
5020 for ac_exec_ext in '' $ac_executable_extensions; do
5021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5022 ac_cv_prog_ac_ct_LD="ld"
5023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5024 break 2
5026 done
5027 done
5029 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5032 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5033 if test -n "$ac_ct_LD"; then
5034 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5035 echo "${ECHO_T}$ac_ct_LD" >&6
5036 else
5037 echo "$as_me:$LINENO: result: no" >&5
5038 echo "${ECHO_T}no" >&6
5041 LD=$ac_ct_LD
5042 else
5043 LD="$ac_cv_prog_LD"
5046 if test -n "$ac_tool_prefix"; then
5047 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5048 set dummy ${ac_tool_prefix}ar; ac_word=$2
5049 echo "$as_me:$LINENO: checking for $ac_word" >&5
5050 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5051 if test "${ac_cv_prog_AR+set}" = set; then
5052 echo $ECHO_N "(cached) $ECHO_C" >&6
5053 else
5054 if test -n "$AR"; then
5055 ac_cv_prog_AR="$AR" # Let the user override the test.
5056 else
5057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5058 for as_dir in $PATH
5060 IFS=$as_save_IFS
5061 test -z "$as_dir" && as_dir=.
5062 for ac_exec_ext in '' $ac_executable_extensions; do
5063 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5064 ac_cv_prog_AR="${ac_tool_prefix}ar"
5065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5066 break 2
5068 done
5069 done
5073 AR=$ac_cv_prog_AR
5074 if test -n "$AR"; then
5075 echo "$as_me:$LINENO: result: $AR" >&5
5076 echo "${ECHO_T}$AR" >&6
5077 else
5078 echo "$as_me:$LINENO: result: no" >&5
5079 echo "${ECHO_T}no" >&6
5083 if test -z "$ac_cv_prog_AR"; then
5084 ac_ct_AR=$AR
5085 # Extract the first word of "ar", so it can be a program name with args.
5086 set dummy ar; ac_word=$2
5087 echo "$as_me:$LINENO: checking for $ac_word" >&5
5088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5089 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5090 echo $ECHO_N "(cached) $ECHO_C" >&6
5091 else
5092 if test -n "$ac_ct_AR"; then
5093 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5094 else
5095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 for as_dir in $PATH
5098 IFS=$as_save_IFS
5099 test -z "$as_dir" && as_dir=.
5100 for ac_exec_ext in '' $ac_executable_extensions; do
5101 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5102 ac_cv_prog_ac_ct_AR="ar"
5103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5104 break 2
5106 done
5107 done
5109 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5112 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5113 if test -n "$ac_ct_AR"; then
5114 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5115 echo "${ECHO_T}$ac_ct_AR" >&6
5116 else
5117 echo "$as_me:$LINENO: result: no" >&5
5118 echo "${ECHO_T}no" >&6
5121 AR=$ac_ct_AR
5122 else
5123 AR="$ac_cv_prog_AR"
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5153 RANLIB=$ac_cv_prog_RANLIB
5154 if test -n "$RANLIB"; then
5155 echo "$as_me:$LINENO: result: $RANLIB" >&5
5156 echo "${ECHO_T}$RANLIB" >&6
5157 else
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5163 if test -z "$ac_cv_prog_RANLIB"; then
5164 ac_ct_RANLIB=$RANLIB
5165 # Extract the first word of "ranlib", so it can be a program name with args.
5166 set dummy ranlib; ac_word=$2
5167 echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5169 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172 if test -n "$ac_ct_RANLIB"; then
5173 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_RANLIB="ranlib"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5186 done
5187 done
5189 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5192 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5193 if test -n "$ac_ct_RANLIB"; then
5194 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5195 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 RANLIB=$ac_ct_RANLIB
5202 else
5203 RANLIB="$ac_cv_prog_RANLIB"
5206 if test -n "$ac_tool_prefix"; then
5207 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5208 set dummy ${ac_tool_prefix}strip; ac_word=$2
5209 echo "$as_me:$LINENO: checking for $ac_word" >&5
5210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5211 if test "${ac_cv_prog_STRIP+set}" = set; then
5212 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 else
5214 if test -n "$STRIP"; then
5215 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5220 IFS=$as_save_IFS
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 break 2
5228 done
5229 done
5233 STRIP=$ac_cv_prog_STRIP
5234 if test -n "$STRIP"; then
5235 echo "$as_me:$LINENO: result: $STRIP" >&5
5236 echo "${ECHO_T}$STRIP" >&6
5237 else
5238 echo "$as_me:$LINENO: result: no" >&5
5239 echo "${ECHO_T}no" >&6
5243 if test -z "$ac_cv_prog_STRIP"; then
5244 ac_ct_STRIP=$STRIP
5245 # Extract the first word of "strip", so it can be a program name with args.
5246 set dummy strip; ac_word=$2
5247 echo "$as_me:$LINENO: checking for $ac_word" >&5
5248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5249 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5250 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 else
5252 if test -n "$ac_ct_STRIP"; then
5253 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5254 else
5255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5256 for as_dir in $PATH
5258 IFS=$as_save_IFS
5259 test -z "$as_dir" && as_dir=.
5260 for ac_exec_ext in '' $ac_executable_extensions; do
5261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5262 ac_cv_prog_ac_ct_STRIP="strip"
5263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5264 break 2
5266 done
5267 done
5269 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5272 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5273 if test -n "$ac_ct_STRIP"; then
5274 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5275 echo "${ECHO_T}$ac_ct_STRIP" >&6
5276 else
5277 echo "$as_me:$LINENO: result: no" >&5
5278 echo "${ECHO_T}no" >&6
5281 STRIP=$ac_ct_STRIP
5282 else
5283 STRIP="$ac_cv_prog_STRIP"
5286 if test -n "$ac_tool_prefix"; then
5287 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5288 set dummy ${ac_tool_prefix}windres; ac_word=$2
5289 echo "$as_me:$LINENO: checking for $ac_word" >&5
5290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5291 if test "${ac_cv_prog_WINDRES+set}" = set; then
5292 echo $ECHO_N "(cached) $ECHO_C" >&6
5293 else
5294 if test -n "$WINDRES"; then
5295 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5296 else
5297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5298 for as_dir in $PATH
5300 IFS=$as_save_IFS
5301 test -z "$as_dir" && as_dir=.
5302 for ac_exec_ext in '' $ac_executable_extensions; do
5303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5304 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5306 break 2
5308 done
5309 done
5313 WINDRES=$ac_cv_prog_WINDRES
5314 if test -n "$WINDRES"; then
5315 echo "$as_me:$LINENO: result: $WINDRES" >&5
5316 echo "${ECHO_T}$WINDRES" >&6
5317 else
5318 echo "$as_me:$LINENO: result: no" >&5
5319 echo "${ECHO_T}no" >&6
5323 if test -z "$ac_cv_prog_WINDRES"; then
5324 ac_ct_WINDRES=$WINDRES
5325 # Extract the first word of "windres", so it can be a program name with args.
5326 set dummy windres; ac_word=$2
5327 echo "$as_me:$LINENO: checking for $ac_word" >&5
5328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5329 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5330 echo $ECHO_N "(cached) $ECHO_C" >&6
5331 else
5332 if test -n "$ac_ct_WINDRES"; then
5333 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5334 else
5335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5336 for as_dir in $PATH
5338 IFS=$as_save_IFS
5339 test -z "$as_dir" && as_dir=.
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5342 ac_cv_prog_ac_ct_WINDRES="windres"
5343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5344 break 2
5346 done
5347 done
5349 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5352 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5353 if test -n "$ac_ct_WINDRES"; then
5354 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5355 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5356 else
5357 echo "$as_me:$LINENO: result: no" >&5
5358 echo "${ECHO_T}no" >&6
5361 WINDRES=$ac_ct_WINDRES
5362 else
5363 WINDRES="$ac_cv_prog_WINDRES"
5366 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5367 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5368 LN_S=$as_ln_s
5369 if test "$LN_S" = "ln -s"; then
5370 echo "$as_me:$LINENO: result: yes" >&5
5371 echo "${ECHO_T}yes" >&6
5372 else
5373 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5374 echo "${ECHO_T}no, using $LN_S" >&6
5377 echo "$as_me:$LINENO: checking whether ln works" >&5
5378 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5379 rm -f conf$$ conf$$.file
5380 echo >conf$$.file
5381 if ln conf$$.file conf$$ 2>/dev/null; then
5382 LN=ln
5384 echo "$as_me:$LINENO: result: yes" >&5
5385 echo "${ECHO_T}yes" >&6
5386 else
5387 LN="cp -p"
5389 echo "$as_me:$LINENO: result: no, using $LN" >&5
5390 echo "${ECHO_T}no, using $LN" >&6
5392 rm -f conf$$ conf$$.file
5393 echo "$as_me:$LINENO: checking for egrep" >&5
5394 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5395 if test "${ac_cv_prog_egrep+set}" = set; then
5396 echo $ECHO_N "(cached) $ECHO_C" >&6
5397 else
5398 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5399 then ac_cv_prog_egrep='grep -E'
5400 else ac_cv_prog_egrep='egrep'
5403 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5404 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5405 EGREP=$ac_cv_prog_egrep
5408 # Extract the first word of "ldconfig", so it can be a program name with args.
5409 set dummy ldconfig; ac_word=$2
5410 echo "$as_me:$LINENO: checking for $ac_word" >&5
5411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5412 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5413 echo $ECHO_N "(cached) $ECHO_C" >&6
5414 else
5415 case $LDCONFIG in
5416 [\\/]* | ?:[\\/]*)
5417 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5421 for as_dir in /sbin /usr/sbin $PATH
5423 IFS=$as_save_IFS
5424 test -z "$as_dir" && as_dir=.
5425 for ac_exec_ext in '' $ac_executable_extensions; do
5426 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5427 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5429 break 2
5431 done
5432 done
5434 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5436 esac
5438 LDCONFIG=$ac_cv_path_LDCONFIG
5440 if test -n "$LDCONFIG"; then
5441 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5442 echo "${ECHO_T}$LDCONFIG" >&6
5443 else
5444 echo "$as_me:$LINENO: result: no" >&5
5445 echo "${ECHO_T}no" >&6
5448 # Find a good install program. We prefer a C program (faster),
5449 # so one script is as good as another. But avoid the broken or
5450 # incompatible versions:
5451 # SysV /etc/install, /usr/sbin/install
5452 # SunOS /usr/etc/install
5453 # IRIX /sbin/install
5454 # AIX /bin/install
5455 # AmigaOS /C/install, which installs bootblocks on floppy discs
5456 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5457 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5458 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5459 # OS/2's system install, which has a completely different semantic
5460 # ./install, which can be erroneously created by make from ./install.sh.
5461 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5462 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5463 if test -z "$INSTALL"; then
5464 if test "${ac_cv_path_install+set}" = set; then
5465 echo $ECHO_N "(cached) $ECHO_C" >&6
5466 else
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 # Account for people who put trailing slashes in PATH elements.
5473 case $as_dir/ in
5474 ./ | .// | /cC/* | \
5475 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5476 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5477 /usr/ucb/* ) ;;
5479 # OSF1 and SCO ODT 3.0 have their own names for install.
5480 # Don't use installbsd from OSF since it installs stuff as root
5481 # by default.
5482 for ac_prog in ginstall scoinst install; do
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5485 if test $ac_prog = install &&
5486 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5487 # AIX install. It has an incompatible calling convention.
5489 elif test $ac_prog = install &&
5490 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5491 # program-specific install script used by HP pwplus--don't use.
5493 else
5494 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5495 break 3
5498 done
5499 done
5501 esac
5502 done
5506 if test "${ac_cv_path_install+set}" = set; then
5507 INSTALL=$ac_cv_path_install
5508 else
5509 # As a last resort, use the slow shell script. We don't cache a
5510 # path for INSTALL within a source directory, because that will
5511 # break other packages using the cache if that directory is
5512 # removed, or if the path is relative.
5513 INSTALL=$ac_install_sh
5516 echo "$as_me:$LINENO: result: $INSTALL" >&5
5517 echo "${ECHO_T}$INSTALL" >&6
5519 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5520 # It thinks the first close brace ends the variable substitution.
5521 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5523 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5525 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5527 case "$INSTALL" in
5528 [\\/$]* | ?:[\\/]* ) ;;
5529 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5530 esac
5532 for ac_prog in lclint lint
5534 # Extract the first word of "$ac_prog", so it can be a program name with args.
5535 set dummy $ac_prog; ac_word=$2
5536 echo "$as_me:$LINENO: checking for $ac_word" >&5
5537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5538 if test "${ac_cv_prog_LINT+set}" = set; then
5539 echo $ECHO_N "(cached) $ECHO_C" >&6
5540 else
5541 if test -n "$LINT"; then
5542 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5543 else
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 for as_dir in $PATH
5547 IFS=$as_save_IFS
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_LINT="$ac_prog"
5552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 break 2
5555 done
5556 done
5560 LINT=$ac_cv_prog_LINT
5561 if test -n "$LINT"; then
5562 echo "$as_me:$LINENO: result: $LINT" >&5
5563 echo "${ECHO_T}$LINT" >&6
5564 else
5565 echo "$as_me:$LINENO: result: no" >&5
5566 echo "${ECHO_T}no" >&6
5569 test -n "$LINT" && break
5570 done
5572 if test "$LINT" = "lint"
5573 then
5574 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5579 for ac_prog in fontforge
5581 # Extract the first word of "$ac_prog", so it can be a program name with args.
5582 set dummy $ac_prog; ac_word=$2
5583 echo "$as_me:$LINENO: checking for $ac_word" >&5
5584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5585 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5586 echo $ECHO_N "(cached) $ECHO_C" >&6
5587 else
5588 if test -n "$FONTFORGE"; then
5589 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5590 else
5591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5592 for as_dir in $PATH
5594 IFS=$as_save_IFS
5595 test -z "$as_dir" && as_dir=.
5596 for ac_exec_ext in '' $ac_executable_extensions; do
5597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5598 ac_cv_prog_FONTFORGE="$ac_prog"
5599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5600 break 2
5602 done
5603 done
5607 FONTFORGE=$ac_cv_prog_FONTFORGE
5608 if test -n "$FONTFORGE"; then
5609 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5610 echo "${ECHO_T}$FONTFORGE" >&6
5611 else
5612 echo "$as_me:$LINENO: result: no" >&5
5613 echo "${ECHO_T}no" >&6
5616 test -n "$FONTFORGE" && break
5617 done
5618 test -n "$FONTFORGE" || FONTFORGE="false"
5620 for ac_prog in pkg-config
5622 # Extract the first word of "$ac_prog", so it can be a program name with args.
5623 set dummy $ac_prog; ac_word=$2
5624 echo "$as_me:$LINENO: checking for $ac_word" >&5
5625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5626 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
5627 echo $ECHO_N "(cached) $ECHO_C" >&6
5628 else
5629 if test -n "$PKG_CONFIG"; then
5630 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_PKG_CONFIG="$ac_prog"
5640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5648 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5649 if test -n "$PKG_CONFIG"; then
5650 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5651 echo "${ECHO_T}$PKG_CONFIG" >&6
5652 else
5653 echo "$as_me:$LINENO: result: no" >&5
5654 echo "${ECHO_T}no" >&6
5657 test -n "$PKG_CONFIG" && break
5658 done
5659 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
5662 case $host_cpu in
5663 *i[3456789]86*)
5664 for ac_prog in prelink
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy $ac_prog; ac_word=$2
5668 echo "$as_me:$LINENO: checking for $ac_word" >&5
5669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5670 if test "${ac_cv_prog_PRELINK+set}" = set; then
5671 echo $ECHO_N "(cached) $ECHO_C" >&6
5672 else
5673 if test -n "$PRELINK"; then
5674 ac_cv_prog_PRELINK="$PRELINK" # Let the user override the test.
5675 else
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in /sbin /usr/sbin $PATH
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_PRELINK="$ac_prog"
5684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 break 2
5687 done
5688 done
5692 PRELINK=$ac_cv_prog_PRELINK
5693 if test -n "$PRELINK"; then
5694 echo "$as_me:$LINENO: result: $PRELINK" >&5
5695 echo "${ECHO_T}$PRELINK" >&6
5696 else
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5701 test -n "$PRELINK" && break
5702 done
5703 test -n "$PRELINK" || PRELINK="false"
5706 esac
5710 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5711 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5712 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5713 echo $ECHO_N "(cached) $ECHO_C" >&6
5714 else
5715 ac_check_lib_save_LIBS=$LIBS
5716 LIBS="-li386 $LIBS"
5717 cat >conftest.$ac_ext <<_ACEOF
5718 /* confdefs.h. */
5719 _ACEOF
5720 cat confdefs.h >>conftest.$ac_ext
5721 cat >>conftest.$ac_ext <<_ACEOF
5722 /* end confdefs.h. */
5724 /* Override any gcc2 internal prototype to avoid an error. */
5725 #ifdef __cplusplus
5726 extern "C"
5727 #endif
5728 /* We use char because int might match the return type of a gcc2
5729 builtin and then its argument prototype would still apply. */
5730 char i386_set_ldt ();
5732 main ()
5734 i386_set_ldt ();
5736 return 0;
5738 _ACEOF
5739 rm -f conftest.$ac_objext conftest$ac_exeext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5741 (eval $ac_link) 2>conftest.er1
5742 ac_status=$?
5743 grep -v '^ *+' conftest.er1 >conftest.err
5744 rm -f conftest.er1
5745 cat conftest.err >&5
5746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5747 (exit $ac_status); } &&
5748 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5750 (eval $ac_try) 2>&5
5751 ac_status=$?
5752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5753 (exit $ac_status); }; } &&
5754 { ac_try='test -s conftest$ac_exeext'
5755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5756 (eval $ac_try) 2>&5
5757 ac_status=$?
5758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5759 (exit $ac_status); }; }; then
5760 ac_cv_lib_i386_i386_set_ldt=yes
5761 else
5762 echo "$as_me: failed program was:" >&5
5763 sed 's/^/| /' conftest.$ac_ext >&5
5765 ac_cv_lib_i386_i386_set_ldt=no
5767 rm -f conftest.err conftest.$ac_objext \
5768 conftest$ac_exeext conftest.$ac_ext
5769 LIBS=$ac_check_lib_save_LIBS
5771 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5772 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5773 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5774 cat >>confdefs.h <<_ACEOF
5775 #define HAVE_LIBI386 1
5776 _ACEOF
5778 LIBS="-li386 $LIBS"
5783 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5784 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5785 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5787 else
5788 ac_check_lib_save_LIBS=$LIBS
5789 LIBS="-lossaudio $LIBS"
5790 cat >conftest.$ac_ext <<_ACEOF
5791 /* confdefs.h. */
5792 _ACEOF
5793 cat confdefs.h >>conftest.$ac_ext
5794 cat >>conftest.$ac_ext <<_ACEOF
5795 /* end confdefs.h. */
5797 /* Override any gcc2 internal prototype to avoid an error. */
5798 #ifdef __cplusplus
5799 extern "C"
5800 #endif
5801 /* We use char because int might match the return type of a gcc2
5802 builtin and then its argument prototype would still apply. */
5803 char _oss_ioctl ();
5805 main ()
5807 _oss_ioctl ();
5809 return 0;
5811 _ACEOF
5812 rm -f conftest.$ac_objext conftest$ac_exeext
5813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5814 (eval $ac_link) 2>conftest.er1
5815 ac_status=$?
5816 grep -v '^ *+' conftest.er1 >conftest.err
5817 rm -f conftest.er1
5818 cat conftest.err >&5
5819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5820 (exit $ac_status); } &&
5821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5823 (eval $ac_try) 2>&5
5824 ac_status=$?
5825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5826 (exit $ac_status); }; } &&
5827 { ac_try='test -s conftest$ac_exeext'
5828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5829 (eval $ac_try) 2>&5
5830 ac_status=$?
5831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5832 (exit $ac_status); }; }; then
5833 ac_cv_lib_ossaudio__oss_ioctl=yes
5834 else
5835 echo "$as_me: failed program was:" >&5
5836 sed 's/^/| /' conftest.$ac_ext >&5
5838 ac_cv_lib_ossaudio__oss_ioctl=no
5840 rm -f conftest.err conftest.$ac_objext \
5841 conftest$ac_exeext conftest.$ac_ext
5842 LIBS=$ac_check_lib_save_LIBS
5844 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5845 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5846 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5847 cat >>confdefs.h <<_ACEOF
5848 #define HAVE_LIBOSSAUDIO 1
5849 _ACEOF
5851 LIBS="-lossaudio $LIBS"
5856 for ac_func in gethostbyname
5858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5859 echo "$as_me:$LINENO: checking for $ac_func" >&5
5860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5861 if eval "test \"\${$as_ac_var+set}\" = set"; then
5862 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 else
5864 cat >conftest.$ac_ext <<_ACEOF
5865 /* confdefs.h. */
5866 _ACEOF
5867 cat confdefs.h >>conftest.$ac_ext
5868 cat >>conftest.$ac_ext <<_ACEOF
5869 /* end confdefs.h. */
5870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5872 #define $ac_func innocuous_$ac_func
5874 /* System header to define __stub macros and hopefully few prototypes,
5875 which can conflict with char $ac_func (); below.
5876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5877 <limits.h> exists even on freestanding compilers. */
5879 #ifdef __STDC__
5880 # include <limits.h>
5881 #else
5882 # include <assert.h>
5883 #endif
5885 #undef $ac_func
5887 /* Override any gcc2 internal prototype to avoid an error. */
5888 #ifdef __cplusplus
5889 extern "C"
5891 #endif
5892 /* We use char because int might match the return type of a gcc2
5893 builtin and then its argument prototype would still apply. */
5894 char $ac_func ();
5895 /* The GNU C library defines this for functions which it implements
5896 to always fail with ENOSYS. Some functions are actually named
5897 something starting with __ and the normal name is an alias. */
5898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5899 choke me
5900 #else
5901 char (*f) () = $ac_func;
5902 #endif
5903 #ifdef __cplusplus
5905 #endif
5908 main ()
5910 return f != $ac_func;
5912 return 0;
5914 _ACEOF
5915 rm -f conftest.$ac_objext conftest$ac_exeext
5916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5917 (eval $ac_link) 2>conftest.er1
5918 ac_status=$?
5919 grep -v '^ *+' conftest.er1 >conftest.err
5920 rm -f conftest.er1
5921 cat conftest.err >&5
5922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5923 (exit $ac_status); } &&
5924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5926 (eval $ac_try) 2>&5
5927 ac_status=$?
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); }; } &&
5930 { ac_try='test -s conftest$ac_exeext'
5931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5932 (eval $ac_try) 2>&5
5933 ac_status=$?
5934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5935 (exit $ac_status); }; }; then
5936 eval "$as_ac_var=yes"
5937 else
5938 echo "$as_me: failed program was:" >&5
5939 sed 's/^/| /' conftest.$ac_ext >&5
5941 eval "$as_ac_var=no"
5943 rm -f conftest.err conftest.$ac_objext \
5944 conftest$ac_exeext conftest.$ac_ext
5946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5948 if test `eval echo '${'$as_ac_var'}'` = yes; then
5949 cat >>confdefs.h <<_ACEOF
5950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5951 _ACEOF
5953 else
5955 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5956 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5957 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5958 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 else
5960 ac_check_lib_save_LIBS=$LIBS
5961 LIBS="-lnsl $LIBS"
5962 cat >conftest.$ac_ext <<_ACEOF
5963 /* confdefs.h. */
5964 _ACEOF
5965 cat confdefs.h >>conftest.$ac_ext
5966 cat >>conftest.$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5969 /* Override any gcc2 internal prototype to avoid an error. */
5970 #ifdef __cplusplus
5971 extern "C"
5972 #endif
5973 /* We use char because int might match the return type of a gcc2
5974 builtin and then its argument prototype would still apply. */
5975 char gethostbyname ();
5977 main ()
5979 gethostbyname ();
5981 return 0;
5983 _ACEOF
5984 rm -f conftest.$ac_objext conftest$ac_exeext
5985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5986 (eval $ac_link) 2>conftest.er1
5987 ac_status=$?
5988 grep -v '^ *+' conftest.er1 >conftest.err
5989 rm -f conftest.er1
5990 cat conftest.err >&5
5991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5992 (exit $ac_status); } &&
5993 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5995 (eval $ac_try) 2>&5
5996 ac_status=$?
5997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5998 (exit $ac_status); }; } &&
5999 { ac_try='test -s conftest$ac_exeext'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 (eval $ac_try) 2>&5
6002 ac_status=$?
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; }; then
6005 ac_cv_lib_nsl_gethostbyname=yes
6006 else
6007 echo "$as_me: failed program was:" >&5
6008 sed 's/^/| /' conftest.$ac_ext >&5
6010 ac_cv_lib_nsl_gethostbyname=no
6012 rm -f conftest.err conftest.$ac_objext \
6013 conftest$ac_exeext conftest.$ac_ext
6014 LIBS=$ac_check_lib_save_LIBS
6016 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6017 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6018 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6019 cat >>confdefs.h <<_ACEOF
6020 #define HAVE_LIBNSL 1
6021 _ACEOF
6023 LIBS="-lnsl $LIBS"
6028 done
6031 for ac_func in connect
6033 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6034 echo "$as_me:$LINENO: checking for $ac_func" >&5
6035 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6036 if eval "test \"\${$as_ac_var+set}\" = set"; then
6037 echo $ECHO_N "(cached) $ECHO_C" >&6
6038 else
6039 cat >conftest.$ac_ext <<_ACEOF
6040 /* confdefs.h. */
6041 _ACEOF
6042 cat confdefs.h >>conftest.$ac_ext
6043 cat >>conftest.$ac_ext <<_ACEOF
6044 /* end confdefs.h. */
6045 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6047 #define $ac_func innocuous_$ac_func
6049 /* System header to define __stub macros and hopefully few prototypes,
6050 which can conflict with char $ac_func (); below.
6051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6052 <limits.h> exists even on freestanding compilers. */
6054 #ifdef __STDC__
6055 # include <limits.h>
6056 #else
6057 # include <assert.h>
6058 #endif
6060 #undef $ac_func
6062 /* Override any gcc2 internal prototype to avoid an error. */
6063 #ifdef __cplusplus
6064 extern "C"
6066 #endif
6067 /* We use char because int might match the return type of a gcc2
6068 builtin and then its argument prototype would still apply. */
6069 char $ac_func ();
6070 /* The GNU C library defines this for functions which it implements
6071 to always fail with ENOSYS. Some functions are actually named
6072 something starting with __ and the normal name is an alias. */
6073 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6074 choke me
6075 #else
6076 char (*f) () = $ac_func;
6077 #endif
6078 #ifdef __cplusplus
6080 #endif
6083 main ()
6085 return f != $ac_func;
6087 return 0;
6089 _ACEOF
6090 rm -f conftest.$ac_objext conftest$ac_exeext
6091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6092 (eval $ac_link) 2>conftest.er1
6093 ac_status=$?
6094 grep -v '^ *+' conftest.er1 >conftest.err
6095 rm -f conftest.er1
6096 cat conftest.err >&5
6097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6098 (exit $ac_status); } &&
6099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6101 (eval $ac_try) 2>&5
6102 ac_status=$?
6103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6104 (exit $ac_status); }; } &&
6105 { ac_try='test -s conftest$ac_exeext'
6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6107 (eval $ac_try) 2>&5
6108 ac_status=$?
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; }; then
6111 eval "$as_ac_var=yes"
6112 else
6113 echo "$as_me: failed program was:" >&5
6114 sed 's/^/| /' conftest.$ac_ext >&5
6116 eval "$as_ac_var=no"
6118 rm -f conftest.err conftest.$ac_objext \
6119 conftest$ac_exeext conftest.$ac_ext
6121 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6122 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6123 if test `eval echo '${'$as_ac_var'}'` = yes; then
6124 cat >>confdefs.h <<_ACEOF
6125 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6126 _ACEOF
6128 else
6130 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6131 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6132 if test "${ac_cv_lib_socket_connect+set}" = set; then
6133 echo $ECHO_N "(cached) $ECHO_C" >&6
6134 else
6135 ac_check_lib_save_LIBS=$LIBS
6136 LIBS="-lsocket $LIBS"
6137 cat >conftest.$ac_ext <<_ACEOF
6138 /* confdefs.h. */
6139 _ACEOF
6140 cat confdefs.h >>conftest.$ac_ext
6141 cat >>conftest.$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6144 /* Override any gcc2 internal prototype to avoid an error. */
6145 #ifdef __cplusplus
6146 extern "C"
6147 #endif
6148 /* We use char because int might match the return type of a gcc2
6149 builtin and then its argument prototype would still apply. */
6150 char connect ();
6152 main ()
6154 connect ();
6156 return 0;
6158 _ACEOF
6159 rm -f conftest.$ac_objext conftest$ac_exeext
6160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6161 (eval $ac_link) 2>conftest.er1
6162 ac_status=$?
6163 grep -v '^ *+' conftest.er1 >conftest.err
6164 rm -f conftest.er1
6165 cat conftest.err >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6170 (eval $ac_try) 2>&5
6171 ac_status=$?
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; } &&
6174 { ac_try='test -s conftest$ac_exeext'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6176 (eval $ac_try) 2>&5
6177 ac_status=$?
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; }; then
6180 ac_cv_lib_socket_connect=yes
6181 else
6182 echo "$as_me: failed program was:" >&5
6183 sed 's/^/| /' conftest.$ac_ext >&5
6185 ac_cv_lib_socket_connect=no
6187 rm -f conftest.err conftest.$ac_objext \
6188 conftest$ac_exeext conftest.$ac_ext
6189 LIBS=$ac_check_lib_save_LIBS
6191 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6192 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6193 if test $ac_cv_lib_socket_connect = yes; then
6194 cat >>confdefs.h <<_ACEOF
6195 #define HAVE_LIBSOCKET 1
6196 _ACEOF
6198 LIBS="-lsocket $LIBS"
6203 done
6206 for ac_func in inet_aton
6208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6209 echo "$as_me:$LINENO: checking for $ac_func" >&5
6210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6211 if eval "test \"\${$as_ac_var+set}\" = set"; then
6212 echo $ECHO_N "(cached) $ECHO_C" >&6
6213 else
6214 cat >conftest.$ac_ext <<_ACEOF
6215 /* confdefs.h. */
6216 _ACEOF
6217 cat confdefs.h >>conftest.$ac_ext
6218 cat >>conftest.$ac_ext <<_ACEOF
6219 /* end confdefs.h. */
6220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6222 #define $ac_func innocuous_$ac_func
6224 /* System header to define __stub macros and hopefully few prototypes,
6225 which can conflict with char $ac_func (); below.
6226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6227 <limits.h> exists even on freestanding compilers. */
6229 #ifdef __STDC__
6230 # include <limits.h>
6231 #else
6232 # include <assert.h>
6233 #endif
6235 #undef $ac_func
6237 /* Override any gcc2 internal prototype to avoid an error. */
6238 #ifdef __cplusplus
6239 extern "C"
6241 #endif
6242 /* We use char because int might match the return type of a gcc2
6243 builtin and then its argument prototype would still apply. */
6244 char $ac_func ();
6245 /* The GNU C library defines this for functions which it implements
6246 to always fail with ENOSYS. Some functions are actually named
6247 something starting with __ and the normal name is an alias. */
6248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6249 choke me
6250 #else
6251 char (*f) () = $ac_func;
6252 #endif
6253 #ifdef __cplusplus
6255 #endif
6258 main ()
6260 return f != $ac_func;
6262 return 0;
6264 _ACEOF
6265 rm -f conftest.$ac_objext conftest$ac_exeext
6266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6267 (eval $ac_link) 2>conftest.er1
6268 ac_status=$?
6269 grep -v '^ *+' conftest.er1 >conftest.err
6270 rm -f conftest.er1
6271 cat conftest.err >&5
6272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6273 (exit $ac_status); } &&
6274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6276 (eval $ac_try) 2>&5
6277 ac_status=$?
6278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6279 (exit $ac_status); }; } &&
6280 { ac_try='test -s conftest$ac_exeext'
6281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6282 (eval $ac_try) 2>&5
6283 ac_status=$?
6284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6285 (exit $ac_status); }; }; then
6286 eval "$as_ac_var=yes"
6287 else
6288 echo "$as_me: failed program was:" >&5
6289 sed 's/^/| /' conftest.$ac_ext >&5
6291 eval "$as_ac_var=no"
6293 rm -f conftest.err conftest.$ac_objext \
6294 conftest$ac_exeext conftest.$ac_ext
6296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6298 if test `eval echo '${'$as_ac_var'}'` = yes; then
6299 cat >>confdefs.h <<_ACEOF
6300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6301 _ACEOF
6303 else
6305 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6306 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6307 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6309 else
6310 ac_check_lib_save_LIBS=$LIBS
6311 LIBS="-lresolv $LIBS"
6312 cat >conftest.$ac_ext <<_ACEOF
6313 /* confdefs.h. */
6314 _ACEOF
6315 cat confdefs.h >>conftest.$ac_ext
6316 cat >>conftest.$ac_ext <<_ACEOF
6317 /* end confdefs.h. */
6319 /* Override any gcc2 internal prototype to avoid an error. */
6320 #ifdef __cplusplus
6321 extern "C"
6322 #endif
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6325 char inet_aton ();
6327 main ()
6329 inet_aton ();
6331 return 0;
6333 _ACEOF
6334 rm -f conftest.$ac_objext conftest$ac_exeext
6335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6336 (eval $ac_link) 2>conftest.er1
6337 ac_status=$?
6338 grep -v '^ *+' conftest.er1 >conftest.err
6339 rm -f conftest.er1
6340 cat conftest.err >&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } &&
6343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6345 (eval $ac_try) 2>&5
6346 ac_status=$?
6347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6348 (exit $ac_status); }; } &&
6349 { ac_try='test -s conftest$ac_exeext'
6350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6351 (eval $ac_try) 2>&5
6352 ac_status=$?
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); }; }; then
6355 ac_cv_lib_resolv_inet_aton=yes
6356 else
6357 echo "$as_me: failed program was:" >&5
6358 sed 's/^/| /' conftest.$ac_ext >&5
6360 ac_cv_lib_resolv_inet_aton=no
6362 rm -f conftest.err conftest.$ac_objext \
6363 conftest$ac_exeext conftest.$ac_ext
6364 LIBS=$ac_check_lib_save_LIBS
6366 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6367 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6368 if test $ac_cv_lib_resolv_inet_aton = yes; then
6369 cat >>confdefs.h <<_ACEOF
6370 #define HAVE_LIBRESOLV 1
6371 _ACEOF
6373 LIBS="-lresolv $LIBS"
6378 done
6381 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6382 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6383 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6384 echo $ECHO_N "(cached) $ECHO_C" >&6
6385 else
6386 ac_check_lib_save_LIBS=$LIBS
6387 LIBS="-lxpg4 $LIBS"
6388 cat >conftest.$ac_ext <<_ACEOF
6389 /* confdefs.h. */
6390 _ACEOF
6391 cat confdefs.h >>conftest.$ac_ext
6392 cat >>conftest.$ac_ext <<_ACEOF
6393 /* end confdefs.h. */
6395 /* Override any gcc2 internal prototype to avoid an error. */
6396 #ifdef __cplusplus
6397 extern "C"
6398 #endif
6399 /* We use char because int might match the return type of a gcc2
6400 builtin and then its argument prototype would still apply. */
6401 char _xpg4_setrunelocale ();
6403 main ()
6405 _xpg4_setrunelocale ();
6407 return 0;
6409 _ACEOF
6410 rm -f conftest.$ac_objext conftest$ac_exeext
6411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6412 (eval $ac_link) 2>conftest.er1
6413 ac_status=$?
6414 grep -v '^ *+' conftest.er1 >conftest.err
6415 rm -f conftest.er1
6416 cat conftest.err >&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } &&
6419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6421 (eval $ac_try) 2>&5
6422 ac_status=$?
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; } &&
6425 { ac_try='test -s conftest$ac_exeext'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 (eval $ac_try) 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then
6431 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6432 else
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.$ac_ext >&5
6436 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6438 rm -f conftest.err conftest.$ac_objext \
6439 conftest$ac_exeext conftest.$ac_ext
6440 LIBS=$ac_check_lib_save_LIBS
6442 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6443 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6444 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6445 cat >>confdefs.h <<_ACEOF
6446 #define HAVE_LIBXPG4 1
6447 _ACEOF
6449 LIBS="-lxpg4 $LIBS"
6454 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6455 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6456 if test "${ac_cv_lib_poll_poll+set}" = set; then
6457 echo $ECHO_N "(cached) $ECHO_C" >&6
6458 else
6459 ac_check_lib_save_LIBS=$LIBS
6460 LIBS="-lpoll $LIBS"
6461 cat >conftest.$ac_ext <<_ACEOF
6462 /* confdefs.h. */
6463 _ACEOF
6464 cat confdefs.h >>conftest.$ac_ext
6465 cat >>conftest.$ac_ext <<_ACEOF
6466 /* end confdefs.h. */
6468 /* Override any gcc2 internal prototype to avoid an error. */
6469 #ifdef __cplusplus
6470 extern "C"
6471 #endif
6472 /* We use char because int might match the return type of a gcc2
6473 builtin and then its argument prototype would still apply. */
6474 char poll ();
6476 main ()
6478 poll ();
6480 return 0;
6482 _ACEOF
6483 rm -f conftest.$ac_objext conftest$ac_exeext
6484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6485 (eval $ac_link) 2>conftest.er1
6486 ac_status=$?
6487 grep -v '^ *+' conftest.er1 >conftest.err
6488 rm -f conftest.er1
6489 cat conftest.err >&5
6490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6491 (exit $ac_status); } &&
6492 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6494 (eval $ac_try) 2>&5
6495 ac_status=$?
6496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6497 (exit $ac_status); }; } &&
6498 { ac_try='test -s conftest$ac_exeext'
6499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6500 (eval $ac_try) 2>&5
6501 ac_status=$?
6502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6503 (exit $ac_status); }; }; then
6504 ac_cv_lib_poll_poll=yes
6505 else
6506 echo "$as_me: failed program was:" >&5
6507 sed 's/^/| /' conftest.$ac_ext >&5
6509 ac_cv_lib_poll_poll=no
6511 rm -f conftest.err conftest.$ac_objext \
6512 conftest$ac_exeext conftest.$ac_ext
6513 LIBS=$ac_check_lib_save_LIBS
6515 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6516 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6517 if test $ac_cv_lib_poll_poll = yes; then
6518 cat >>confdefs.h <<_ACEOF
6519 #define HAVE_LIBPOLL 1
6520 _ACEOF
6522 LIBS="-lpoll $LIBS"
6527 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6528 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6529 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6530 echo $ECHO_N "(cached) $ECHO_C" >&6
6531 else
6532 ac_check_lib_save_LIBS=$LIBS
6533 LIBS="-lresolv $LIBS"
6534 cat >conftest.$ac_ext <<_ACEOF
6535 /* confdefs.h. */
6536 _ACEOF
6537 cat confdefs.h >>conftest.$ac_ext
6538 cat >>conftest.$ac_ext <<_ACEOF
6539 /* end confdefs.h. */
6541 /* Override any gcc2 internal prototype to avoid an error. */
6542 #ifdef __cplusplus
6543 extern "C"
6544 #endif
6545 /* We use char because int might match the return type of a gcc2
6546 builtin and then its argument prototype would still apply. */
6547 char res_9_init ();
6549 main ()
6551 res_9_init ();
6553 return 0;
6555 _ACEOF
6556 rm -f conftest.$ac_objext conftest$ac_exeext
6557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6558 (eval $ac_link) 2>conftest.er1
6559 ac_status=$?
6560 grep -v '^ *+' conftest.er1 >conftest.err
6561 rm -f conftest.er1
6562 cat conftest.err >&5
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); } &&
6565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6567 (eval $ac_try) 2>&5
6568 ac_status=$?
6569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6570 (exit $ac_status); }; } &&
6571 { ac_try='test -s conftest$ac_exeext'
6572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6573 (eval $ac_try) 2>&5
6574 ac_status=$?
6575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6576 (exit $ac_status); }; }; then
6577 ac_cv_lib_resolv_res_9_init=yes
6578 else
6579 echo "$as_me: failed program was:" >&5
6580 sed 's/^/| /' conftest.$ac_ext >&5
6582 ac_cv_lib_resolv_res_9_init=no
6584 rm -f conftest.err conftest.$ac_objext \
6585 conftest$ac_exeext conftest.$ac_ext
6586 LIBS=$ac_check_lib_save_LIBS
6588 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6589 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6590 if test $ac_cv_lib_resolv_res_9_init = yes; then
6591 cat >>confdefs.h <<_ACEOF
6592 #define HAVE_LIBRESOLV 1
6593 _ACEOF
6595 LIBS="-lresolv $LIBS"
6599 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6600 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6601 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6602 echo $ECHO_N "(cached) $ECHO_C" >&6
6603 else
6604 ac_check_lib_save_LIBS=$LIBS
6605 LIBS="-lpthread $LIBS"
6606 cat >conftest.$ac_ext <<_ACEOF
6607 /* confdefs.h. */
6608 _ACEOF
6609 cat confdefs.h >>conftest.$ac_ext
6610 cat >>conftest.$ac_ext <<_ACEOF
6611 /* end confdefs.h. */
6613 /* Override any gcc2 internal prototype to avoid an error. */
6614 #ifdef __cplusplus
6615 extern "C"
6616 #endif
6617 /* We use char because int might match the return type of a gcc2
6618 builtin and then its argument prototype would still apply. */
6619 char pthread_create ();
6621 main ()
6623 pthread_create ();
6625 return 0;
6627 _ACEOF
6628 rm -f conftest.$ac_objext conftest$ac_exeext
6629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6630 (eval $ac_link) 2>conftest.er1
6631 ac_status=$?
6632 grep -v '^ *+' conftest.er1 >conftest.err
6633 rm -f conftest.er1
6634 cat conftest.err >&5
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); } &&
6637 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6639 (eval $ac_try) 2>&5
6640 ac_status=$?
6641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6642 (exit $ac_status); }; } &&
6643 { ac_try='test -s conftest$ac_exeext'
6644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6645 (eval $ac_try) 2>&5
6646 ac_status=$?
6647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6648 (exit $ac_status); }; }; then
6649 ac_cv_lib_pthread_pthread_create=yes
6650 else
6651 echo "$as_me: failed program was:" >&5
6652 sed 's/^/| /' conftest.$ac_ext >&5
6654 ac_cv_lib_pthread_pthread_create=no
6656 rm -f conftest.err conftest.$ac_objext \
6657 conftest$ac_exeext conftest.$ac_ext
6658 LIBS=$ac_check_lib_save_LIBS
6660 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6661 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6662 if test $ac_cv_lib_pthread_pthread_create = yes; then
6663 LIBPTHREAD="-lpthread"
6668 XLIB=""
6670 XFILES=""
6672 OPENGLFILES=""
6674 GLU32FILES=""
6676 OPENGL_LIBS=""
6680 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6681 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6682 if test "${ac_cv_header_stdc+set}" = set; then
6683 echo $ECHO_N "(cached) $ECHO_C" >&6
6684 else
6685 cat >conftest.$ac_ext <<_ACEOF
6686 /* confdefs.h. */
6687 _ACEOF
6688 cat confdefs.h >>conftest.$ac_ext
6689 cat >>conftest.$ac_ext <<_ACEOF
6690 /* end confdefs.h. */
6691 #include <stdlib.h>
6692 #include <stdarg.h>
6693 #include <string.h>
6694 #include <float.h>
6697 main ()
6701 return 0;
6703 _ACEOF
6704 rm -f conftest.$ac_objext
6705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6706 (eval $ac_compile) 2>conftest.er1
6707 ac_status=$?
6708 grep -v '^ *+' conftest.er1 >conftest.err
6709 rm -f conftest.er1
6710 cat conftest.err >&5
6711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } &&
6713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6715 (eval $ac_try) 2>&5
6716 ac_status=$?
6717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6718 (exit $ac_status); }; } &&
6719 { ac_try='test -s conftest.$ac_objext'
6720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6721 (eval $ac_try) 2>&5
6722 ac_status=$?
6723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6724 (exit $ac_status); }; }; then
6725 ac_cv_header_stdc=yes
6726 else
6727 echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.$ac_ext >&5
6730 ac_cv_header_stdc=no
6732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6734 if test $ac_cv_header_stdc = yes; then
6735 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6736 cat >conftest.$ac_ext <<_ACEOF
6737 /* confdefs.h. */
6738 _ACEOF
6739 cat confdefs.h >>conftest.$ac_ext
6740 cat >>conftest.$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6742 #include <string.h>
6744 _ACEOF
6745 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6746 $EGREP "memchr" >/dev/null 2>&1; then
6748 else
6749 ac_cv_header_stdc=no
6751 rm -f conftest*
6755 if test $ac_cv_header_stdc = yes; then
6756 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6757 cat >conftest.$ac_ext <<_ACEOF
6758 /* confdefs.h. */
6759 _ACEOF
6760 cat confdefs.h >>conftest.$ac_ext
6761 cat >>conftest.$ac_ext <<_ACEOF
6762 /* end confdefs.h. */
6763 #include <stdlib.h>
6765 _ACEOF
6766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6767 $EGREP "free" >/dev/null 2>&1; then
6769 else
6770 ac_cv_header_stdc=no
6772 rm -f conftest*
6776 if test $ac_cv_header_stdc = yes; then
6777 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6778 if test "$cross_compiling" = yes; then
6780 else
6781 cat >conftest.$ac_ext <<_ACEOF
6782 /* confdefs.h. */
6783 _ACEOF
6784 cat confdefs.h >>conftest.$ac_ext
6785 cat >>conftest.$ac_ext <<_ACEOF
6786 /* end confdefs.h. */
6787 #include <ctype.h>
6788 #if ((' ' & 0x0FF) == 0x020)
6789 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6790 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6791 #else
6792 # define ISLOWER(c) \
6793 (('a' <= (c) && (c) <= 'i') \
6794 || ('j' <= (c) && (c) <= 'r') \
6795 || ('s' <= (c) && (c) <= 'z'))
6796 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6797 #endif
6799 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6801 main ()
6803 int i;
6804 for (i = 0; i < 256; i++)
6805 if (XOR (islower (i), ISLOWER (i))
6806 || toupper (i) != TOUPPER (i))
6807 exit(2);
6808 exit (0);
6810 _ACEOF
6811 rm -f conftest$ac_exeext
6812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6813 (eval $ac_link) 2>&5
6814 ac_status=$?
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6818 (eval $ac_try) 2>&5
6819 ac_status=$?
6820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6821 (exit $ac_status); }; }; then
6823 else
6824 echo "$as_me: program exited with status $ac_status" >&5
6825 echo "$as_me: failed program was:" >&5
6826 sed 's/^/| /' conftest.$ac_ext >&5
6828 ( exit $ac_status )
6829 ac_cv_header_stdc=no
6831 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6835 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6836 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6837 if test $ac_cv_header_stdc = yes; then
6839 cat >>confdefs.h <<\_ACEOF
6840 #define STDC_HEADERS 1
6841 _ACEOF
6845 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6855 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6856 inttypes.h stdint.h unistd.h
6858 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6859 echo "$as_me:$LINENO: checking for $ac_header" >&5
6860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6862 echo $ECHO_N "(cached) $ECHO_C" >&6
6863 else
6864 cat >conftest.$ac_ext <<_ACEOF
6865 /* confdefs.h. */
6866 _ACEOF
6867 cat confdefs.h >>conftest.$ac_ext
6868 cat >>conftest.$ac_ext <<_ACEOF
6869 /* end confdefs.h. */
6870 $ac_includes_default
6872 #include <$ac_header>
6873 _ACEOF
6874 rm -f conftest.$ac_objext
6875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6876 (eval $ac_compile) 2>conftest.er1
6877 ac_status=$?
6878 grep -v '^ *+' conftest.er1 >conftest.err
6879 rm -f conftest.er1
6880 cat conftest.err >&5
6881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6882 (exit $ac_status); } &&
6883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6885 (eval $ac_try) 2>&5
6886 ac_status=$?
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }; } &&
6889 { ac_try='test -s conftest.$ac_objext'
6890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6891 (eval $ac_try) 2>&5
6892 ac_status=$?
6893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6894 (exit $ac_status); }; }; then
6895 eval "$as_ac_Header=yes"
6896 else
6897 echo "$as_me: failed program was:" >&5
6898 sed 's/^/| /' conftest.$ac_ext >&5
6900 eval "$as_ac_Header=no"
6902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6905 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6906 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6907 cat >>confdefs.h <<_ACEOF
6908 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6909 _ACEOF
6913 done
7020 for ac_header in \
7021 IOKit/IOKitLib.h \
7022 alsa/asoundlib.h \
7023 arpa/inet.h \
7024 arpa/nameser.h \
7025 asm/types.h \
7026 capi20.h \
7027 cups/cups.h \
7028 curses.h \
7029 direct.h \
7030 dlfcn.h \
7031 elf.h \
7032 float.h \
7033 fontconfig/fontconfig.h \
7034 getopt.h \
7035 gif_lib.h \
7036 ieeefp.h \
7037 io.h \
7038 jack/jack.h \
7039 jpeglib.h \
7040 lber.h \
7041 lcms.h \
7042 lcms/lcms.h \
7043 ldap.h \
7044 libaudioio.h \
7045 link.h \
7046 linux/cdrom.h \
7047 linux/compiler.h \
7048 linux/hdreg.h \
7049 linux/input.h \
7050 linux/ioctl.h \
7051 linux/joystick.h \
7052 linux/major.h \
7053 linux/param.h \
7054 linux/serial.h \
7055 linux/ucdrom.h \
7056 mach/machine.h \
7057 machine/cpu.h \
7058 machine/limits.h \
7059 machine/soundcard.h \
7060 mntent.h \
7061 ncurses.h \
7062 netdb.h \
7063 netinet/in.h \
7064 netinet/in_systm.h \
7065 netinet/tcp.h \
7066 netinet/tcp_fsm.h \
7067 openssl/err.h \
7068 openssl/ssl.h \
7069 poll.h \
7070 process.h \
7071 pthread.h \
7072 pwd.h \
7073 regex.h \
7074 sched.h \
7075 scsi/scsi.h \
7076 scsi/scsi_ioctl.h \
7077 scsi/sg.h \
7078 soundcard.h \
7079 stdint.h \
7080 strings.h \
7081 sys/asoundlib.h \
7082 sys/cdio.h \
7083 sys/elf32.h \
7084 sys/epoll.h \
7085 sys/errno.h \
7086 sys/exec_elf.h \
7087 sys/filio.h \
7088 sys/ioctl.h \
7089 sys/ipc.h \
7090 sys/limits.h \
7091 sys/link.h \
7092 sys/lwp.h \
7093 sys/mman.h \
7094 sys/modem.h \
7095 sys/msg.h \
7096 sys/mtio.h \
7097 sys/param.h \
7098 sys/poll.h \
7099 sys/prctl.h \
7100 sys/ptrace.h \
7101 sys/reg.h \
7102 sys/resource.h \
7103 sys/scsiio.h \
7104 sys/shm.h \
7105 sys/signal.h \
7106 sys/socket.h \
7107 sys/sockio.h \
7108 sys/soundcard.h \
7109 sys/statvfs.h \
7110 sys/strtio.h \
7111 sys/syscall.h \
7112 sys/sysctl.h \
7113 sys/time.h \
7114 sys/times.h \
7115 sys/uio.h \
7116 sys/un.h \
7117 sys/vm86.h \
7118 sys/wait.h \
7119 syscall.h \
7120 termios.h \
7121 unicode/ubidi.h \
7122 unistd.h \
7123 utime.h \
7124 valgrind/memcheck.h
7127 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7129 echo "$as_me:$LINENO: checking for $ac_header" >&5
7130 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7132 echo $ECHO_N "(cached) $ECHO_C" >&6
7134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7136 else
7137 # Is the header compilable?
7138 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7140 cat >conftest.$ac_ext <<_ACEOF
7141 /* confdefs.h. */
7142 _ACEOF
7143 cat confdefs.h >>conftest.$ac_ext
7144 cat >>conftest.$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 $ac_includes_default
7147 #include <$ac_header>
7148 _ACEOF
7149 rm -f conftest.$ac_objext
7150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7151 (eval $ac_compile) 2>conftest.er1
7152 ac_status=$?
7153 grep -v '^ *+' conftest.er1 >conftest.err
7154 rm -f conftest.er1
7155 cat conftest.err >&5
7156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7157 (exit $ac_status); } &&
7158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7160 (eval $ac_try) 2>&5
7161 ac_status=$?
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); }; } &&
7164 { ac_try='test -s conftest.$ac_objext'
7165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7166 (eval $ac_try) 2>&5
7167 ac_status=$?
7168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7169 (exit $ac_status); }; }; then
7170 ac_header_compiler=yes
7171 else
7172 echo "$as_me: failed program was:" >&5
7173 sed 's/^/| /' conftest.$ac_ext >&5
7175 ac_header_compiler=no
7177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7178 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7179 echo "${ECHO_T}$ac_header_compiler" >&6
7181 # Is the header present?
7182 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7183 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7184 cat >conftest.$ac_ext <<_ACEOF
7185 /* confdefs.h. */
7186 _ACEOF
7187 cat confdefs.h >>conftest.$ac_ext
7188 cat >>conftest.$ac_ext <<_ACEOF
7189 /* end confdefs.h. */
7190 #include <$ac_header>
7191 _ACEOF
7192 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7193 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7194 ac_status=$?
7195 grep -v '^ *+' conftest.er1 >conftest.err
7196 rm -f conftest.er1
7197 cat conftest.err >&5
7198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7199 (exit $ac_status); } >/dev/null; then
7200 if test -s conftest.err; then
7201 ac_cpp_err=$ac_c_preproc_warn_flag
7202 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7203 else
7204 ac_cpp_err=
7206 else
7207 ac_cpp_err=yes
7209 if test -z "$ac_cpp_err"; then
7210 ac_header_preproc=yes
7211 else
7212 echo "$as_me: failed program was:" >&5
7213 sed 's/^/| /' conftest.$ac_ext >&5
7215 ac_header_preproc=no
7217 rm -f conftest.err conftest.$ac_ext
7218 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7219 echo "${ECHO_T}$ac_header_preproc" >&6
7221 # So? What about this header?
7222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7223 yes:no: )
7224 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7225 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7226 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7227 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7228 ac_header_preproc=yes
7230 no:yes:* )
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7232 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7234 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7236 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7238 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7239 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7240 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7241 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7242 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7244 cat <<\_ASBOX
7245 ## ------------------------------------ ##
7246 ## Report this to wine-devel@winehq.org ##
7247 ## ------------------------------------ ##
7248 _ASBOX
7250 sed "s/^/$as_me: WARNING: /" >&2
7252 esac
7253 echo "$as_me:$LINENO: checking for $ac_header" >&5
7254 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7255 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7256 echo $ECHO_N "(cached) $ECHO_C" >&6
7257 else
7258 eval "$as_ac_Header=\$ac_header_preproc"
7260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7261 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7265 cat >>confdefs.h <<_ACEOF
7266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7267 _ACEOF
7271 done
7273 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7274 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7275 if test "${ac_cv_header_stat_broken+set}" = set; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7277 else
7278 cat >conftest.$ac_ext <<_ACEOF
7279 /* confdefs.h. */
7280 _ACEOF
7281 cat confdefs.h >>conftest.$ac_ext
7282 cat >>conftest.$ac_ext <<_ACEOF
7283 /* end confdefs.h. */
7284 #include <sys/types.h>
7285 #include <sys/stat.h>
7287 #if defined(S_ISBLK) && defined(S_IFDIR)
7288 # if S_ISBLK (S_IFDIR)
7289 You lose.
7290 # endif
7291 #endif
7293 #if defined(S_ISBLK) && defined(S_IFCHR)
7294 # if S_ISBLK (S_IFCHR)
7295 You lose.
7296 # endif
7297 #endif
7299 #if defined(S_ISLNK) && defined(S_IFREG)
7300 # if S_ISLNK (S_IFREG)
7301 You lose.
7302 # endif
7303 #endif
7305 #if defined(S_ISSOCK) && defined(S_IFREG)
7306 # if S_ISSOCK (S_IFREG)
7307 You lose.
7308 # endif
7309 #endif
7311 _ACEOF
7312 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7313 $EGREP "You lose" >/dev/null 2>&1; then
7314 ac_cv_header_stat_broken=yes
7315 else
7316 ac_cv_header_stat_broken=no
7318 rm -f conftest*
7321 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7322 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7323 if test $ac_cv_header_stat_broken = yes; then
7325 cat >>confdefs.h <<\_ACEOF
7326 #define STAT_MACROS_BROKEN 1
7327 _ACEOF
7337 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
7339 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7340 echo "$as_me:$LINENO: checking for $ac_header" >&5
7341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7343 echo $ECHO_N "(cached) $ECHO_C" >&6
7344 else
7345 cat >conftest.$ac_ext <<_ACEOF
7346 /* confdefs.h. */
7347 _ACEOF
7348 cat confdefs.h >>conftest.$ac_ext
7349 cat >>conftest.$ac_ext <<_ACEOF
7350 /* end confdefs.h. */
7351 #include <sys/types.h>
7352 #if HAVE_SYS_PARAM_H
7353 # include <sys/param.h>
7354 #endif
7356 #include <$ac_header>
7357 _ACEOF
7358 rm -f conftest.$ac_objext
7359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7360 (eval $ac_compile) 2>conftest.er1
7361 ac_status=$?
7362 grep -v '^ *+' conftest.er1 >conftest.err
7363 rm -f conftest.er1
7364 cat conftest.err >&5
7365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7366 (exit $ac_status); } &&
7367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7369 (eval $ac_try) 2>&5
7370 ac_status=$?
7371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7372 (exit $ac_status); }; } &&
7373 { ac_try='test -s conftest.$ac_objext'
7374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7375 (eval $ac_try) 2>&5
7376 ac_status=$?
7377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7378 (exit $ac_status); }; }; then
7379 eval "$as_ac_Header=yes"
7380 else
7381 echo "$as_me: failed program was:" >&5
7382 sed 's/^/| /' conftest.$ac_ext >&5
7384 eval "$as_ac_Header=no"
7386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7391 cat >>confdefs.h <<_ACEOF
7392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7393 _ACEOF
7397 done
7406 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
7408 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7409 echo "$as_me:$LINENO: checking for $ac_header" >&5
7410 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7411 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7412 echo $ECHO_N "(cached) $ECHO_C" >&6
7413 else
7414 cat >conftest.$ac_ext <<_ACEOF
7415 /* confdefs.h. */
7416 _ACEOF
7417 cat confdefs.h >>conftest.$ac_ext
7418 cat >>conftest.$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7420 #include <sys/types.h>
7421 #if HAVE_SYS_SOCKET_H
7422 # include <sys/socket.h>
7423 #endif
7425 #include <$ac_header>
7426 _ACEOF
7427 rm -f conftest.$ac_objext
7428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7429 (eval $ac_compile) 2>conftest.er1
7430 ac_status=$?
7431 grep -v '^ *+' conftest.er1 >conftest.err
7432 rm -f conftest.er1
7433 cat conftest.err >&5
7434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7435 (exit $ac_status); } &&
7436 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7438 (eval $ac_try) 2>&5
7439 ac_status=$?
7440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7441 (exit $ac_status); }; } &&
7442 { ac_try='test -s conftest.$ac_objext'
7443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7444 (eval $ac_try) 2>&5
7445 ac_status=$?
7446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7447 (exit $ac_status); }; }; then
7448 eval "$as_ac_Header=yes"
7449 else
7450 echo "$as_me: failed program was:" >&5
7451 sed 's/^/| /' conftest.$ac_ext >&5
7453 eval "$as_ac_Header=no"
7455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7459 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7460 cat >>confdefs.h <<_ACEOF
7461 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7462 _ACEOF
7466 done
7470 for ac_header in resolv.h
7472 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7473 echo "$as_me:$LINENO: checking for $ac_header" >&5
7474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7476 echo $ECHO_N "(cached) $ECHO_C" >&6
7477 else
7478 cat >conftest.$ac_ext <<_ACEOF
7479 /* confdefs.h. */
7480 _ACEOF
7481 cat confdefs.h >>conftest.$ac_ext
7482 cat >>conftest.$ac_ext <<_ACEOF
7483 /* end confdefs.h. */
7484 #include <sys/types.h>
7485 #if HAVE_SYS_SOCKET_H
7486 # include <sys/socket.h>
7487 #endif
7488 #if HAVE_NETINET_IN_H
7489 # include <netinet/in.h>
7490 #endif
7491 #if HAVE_ARPA_NAMESER_H
7492 # include <arpa/nameser.h>
7493 #endif
7495 #include <$ac_header>
7496 _ACEOF
7497 rm -f conftest.$ac_objext
7498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7499 (eval $ac_compile) 2>conftest.er1
7500 ac_status=$?
7501 grep -v '^ *+' conftest.er1 >conftest.err
7502 rm -f conftest.er1
7503 cat conftest.err >&5
7504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7505 (exit $ac_status); } &&
7506 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7508 (eval $ac_try) 2>&5
7509 ac_status=$?
7510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7511 (exit $ac_status); }; } &&
7512 { ac_try='test -s conftest.$ac_objext'
7513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7514 (eval $ac_try) 2>&5
7515 ac_status=$?
7516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7517 (exit $ac_status); }; }; then
7518 eval "$as_ac_Header=yes"
7519 else
7520 echo "$as_me: failed program was:" >&5
7521 sed 's/^/| /' conftest.$ac_ext >&5
7523 eval "$as_ac_Header=no"
7525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7529 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7530 cat >>confdefs.h <<_ACEOF
7531 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7532 _ACEOF
7536 done
7540 for ac_header in ucontext.h
7542 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7543 echo "$as_me:$LINENO: checking for $ac_header" >&5
7544 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7545 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7547 else
7548 cat >conftest.$ac_ext <<_ACEOF
7549 /* confdefs.h. */
7550 _ACEOF
7551 cat confdefs.h >>conftest.$ac_ext
7552 cat >>conftest.$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 #include <signal.h>
7556 #include <$ac_header>
7557 _ACEOF
7558 rm -f conftest.$ac_objext
7559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7560 (eval $ac_compile) 2>conftest.er1
7561 ac_status=$?
7562 grep -v '^ *+' conftest.er1 >conftest.err
7563 rm -f conftest.er1
7564 cat conftest.err >&5
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); } &&
7567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7569 (eval $ac_try) 2>&5
7570 ac_status=$?
7571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7572 (exit $ac_status); }; } &&
7573 { ac_try='test -s conftest.$ac_objext'
7574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7575 (eval $ac_try) 2>&5
7576 ac_status=$?
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); }; }; then
7579 eval "$as_ac_Header=yes"
7580 else
7581 echo "$as_me: failed program was:" >&5
7582 sed 's/^/| /' conftest.$ac_ext >&5
7584 eval "$as_ac_Header=no"
7586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7591 cat >>confdefs.h <<_ACEOF
7592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7593 _ACEOF
7597 done
7602 for ac_header in linux/ipx.h linux/videodev.h
7604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7605 echo "$as_me:$LINENO: checking for $ac_header" >&5
7606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7608 echo $ECHO_N "(cached) $ECHO_C" >&6
7609 else
7610 cat >conftest.$ac_ext <<_ACEOF
7611 /* confdefs.h. */
7612 _ACEOF
7613 cat confdefs.h >>conftest.$ac_ext
7614 cat >>conftest.$ac_ext <<_ACEOF
7615 /* end confdefs.h. */
7616 #ifdef HAVE_SYS_TIME_H
7617 #include <sys/time.h>
7618 #endif
7619 #include <sys/types.h>
7620 #ifdef HAVE_ASM_TYPES_H
7621 #include <asm/types.h>
7622 #endif
7624 #include <$ac_header>
7625 _ACEOF
7626 rm -f conftest.$ac_objext
7627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7628 (eval $ac_compile) 2>conftest.er1
7629 ac_status=$?
7630 grep -v '^ *+' conftest.er1 >conftest.err
7631 rm -f conftest.er1
7632 cat conftest.err >&5
7633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7634 (exit $ac_status); } &&
7635 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7637 (eval $ac_try) 2>&5
7638 ac_status=$?
7639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); }; } &&
7641 { ac_try='test -s conftest.$ac_objext'
7642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7643 (eval $ac_try) 2>&5
7644 ac_status=$?
7645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7646 (exit $ac_status); }; }; then
7647 eval "$as_ac_Header=yes"
7648 else
7649 echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.$ac_ext >&5
7652 eval "$as_ac_Header=no"
7654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7657 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7658 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7659 cat >>confdefs.h <<_ACEOF
7660 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7661 _ACEOF
7665 done
7669 for ac_header in linux/capi.h
7671 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7672 echo "$as_me:$LINENO: checking for $ac_header" >&5
7673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7675 echo $ECHO_N "(cached) $ECHO_C" >&6
7676 else
7677 cat >conftest.$ac_ext <<_ACEOF
7678 /* confdefs.h. */
7679 _ACEOF
7680 cat confdefs.h >>conftest.$ac_ext
7681 cat >>conftest.$ac_ext <<_ACEOF
7682 /* end confdefs.h. */
7683 #define __user
7685 #include <$ac_header>
7686 _ACEOF
7687 rm -f conftest.$ac_objext
7688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7689 (eval $ac_compile) 2>conftest.er1
7690 ac_status=$?
7691 grep -v '^ *+' conftest.er1 >conftest.err
7692 rm -f conftest.er1
7693 cat conftest.err >&5
7694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7695 (exit $ac_status); } &&
7696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7698 (eval $ac_try) 2>&5
7699 ac_status=$?
7700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7701 (exit $ac_status); }; } &&
7702 { ac_try='test -s conftest.$ac_objext'
7703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7704 (eval $ac_try) 2>&5
7705 ac_status=$?
7706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7707 (exit $ac_status); }; }; then
7708 eval "$as_ac_Header=yes"
7709 else
7710 echo "$as_me: failed program was:" >&5
7711 sed 's/^/| /' conftest.$ac_ext >&5
7713 eval "$as_ac_Header=no"
7715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7718 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7719 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7720 cat >>confdefs.h <<_ACEOF
7721 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7722 _ACEOF
7726 done
7730 if test "$have_x" = "yes"
7731 then
7732 XLIB="-lXext -lX11"
7733 ac_save_CPPFLAGS="$CPPFLAGS"
7734 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7746 for ac_header in X11/Xlib.h \
7747 X11/XKBlib.h \
7748 X11/Xutil.h \
7749 X11/extensions/shape.h \
7750 X11/extensions/XInput.h \
7751 X11/extensions/XShm.h \
7752 X11/extensions/Xrandr.h \
7753 X11/extensions/Xrender.h \
7754 X11/extensions/xf86dga.h \
7755 X11/extensions/xf86vmode.h
7757 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7758 echo "$as_me:$LINENO: checking for $ac_header" >&5
7759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7761 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 else
7763 cat >conftest.$ac_ext <<_ACEOF
7764 /* confdefs.h. */
7765 _ACEOF
7766 cat confdefs.h >>conftest.$ac_ext
7767 cat >>conftest.$ac_ext <<_ACEOF
7768 /* end confdefs.h. */
7769 #ifdef HAVE_X11_XLIB_H
7770 # include <X11/Xlib.h>
7771 #endif
7772 #ifdef HAVE_X11_XUTIL_H
7773 # include <X11/Xutil.h>
7774 #endif
7776 #include <$ac_header>
7777 _ACEOF
7778 rm -f conftest.$ac_objext
7779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7780 (eval $ac_compile) 2>conftest.er1
7781 ac_status=$?
7782 grep -v '^ *+' conftest.er1 >conftest.err
7783 rm -f conftest.er1
7784 cat conftest.err >&5
7785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7786 (exit $ac_status); } &&
7787 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7789 (eval $ac_try) 2>&5
7790 ac_status=$?
7791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7792 (exit $ac_status); }; } &&
7793 { ac_try='test -s conftest.$ac_objext'
7794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7795 (eval $ac_try) 2>&5
7796 ac_status=$?
7797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7798 (exit $ac_status); }; }; then
7799 eval "$as_ac_Header=yes"
7800 else
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.$ac_ext >&5
7804 eval "$as_ac_Header=no"
7806 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7810 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7811 cat >>confdefs.h <<_ACEOF
7812 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7813 _ACEOF
7817 done
7820 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7821 then
7822 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7823 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7824 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7825 echo $ECHO_N "(cached) $ECHO_C" >&6
7826 else
7827 ac_check_lib_save_LIBS=$LIBS
7828 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7829 cat >conftest.$ac_ext <<_ACEOF
7830 /* confdefs.h. */
7831 _ACEOF
7832 cat confdefs.h >>conftest.$ac_ext
7833 cat >>conftest.$ac_ext <<_ACEOF
7834 /* end confdefs.h. */
7836 /* Override any gcc2 internal prototype to avoid an error. */
7837 #ifdef __cplusplus
7838 extern "C"
7839 #endif
7840 /* We use char because int might match the return type of a gcc2
7841 builtin and then its argument prototype would still apply. */
7842 char XkbQueryExtension ();
7844 main ()
7846 XkbQueryExtension ();
7848 return 0;
7850 _ACEOF
7851 rm -f conftest.$ac_objext conftest$ac_exeext
7852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7853 (eval $ac_link) 2>conftest.er1
7854 ac_status=$?
7855 grep -v '^ *+' conftest.er1 >conftest.err
7856 rm -f conftest.er1
7857 cat conftest.err >&5
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); } &&
7860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7862 (eval $ac_try) 2>&5
7863 ac_status=$?
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; } &&
7866 { ac_try='test -s conftest$ac_exeext'
7867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7868 (eval $ac_try) 2>&5
7869 ac_status=$?
7870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7871 (exit $ac_status); }; }; then
7872 ac_cv_lib_X11_XkbQueryExtension=yes
7873 else
7874 echo "$as_me: failed program was:" >&5
7875 sed 's/^/| /' conftest.$ac_ext >&5
7877 ac_cv_lib_X11_XkbQueryExtension=no
7879 rm -f conftest.err conftest.$ac_objext \
7880 conftest$ac_exeext conftest.$ac_ext
7881 LIBS=$ac_check_lib_save_LIBS
7883 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7884 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7885 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7887 cat >>confdefs.h <<\_ACEOF
7888 #define HAVE_XKB 1
7889 _ACEOF
7895 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7896 then
7897 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7898 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7899 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7900 echo $ECHO_N "(cached) $ECHO_C" >&6
7901 else
7902 ac_check_lib_save_LIBS=$LIBS
7903 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7904 cat >conftest.$ac_ext <<_ACEOF
7905 /* confdefs.h. */
7906 _ACEOF
7907 cat confdefs.h >>conftest.$ac_ext
7908 cat >>conftest.$ac_ext <<_ACEOF
7909 /* end confdefs.h. */
7911 /* Override any gcc2 internal prototype to avoid an error. */
7912 #ifdef __cplusplus
7913 extern "C"
7914 #endif
7915 /* We use char because int might match the return type of a gcc2
7916 builtin and then its argument prototype would still apply. */
7917 char XShmQueryExtension ();
7919 main ()
7921 XShmQueryExtension ();
7923 return 0;
7925 _ACEOF
7926 rm -f conftest.$ac_objext conftest$ac_exeext
7927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7928 (eval $ac_link) 2>conftest.er1
7929 ac_status=$?
7930 grep -v '^ *+' conftest.er1 >conftest.err
7931 rm -f conftest.er1
7932 cat conftest.err >&5
7933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7934 (exit $ac_status); } &&
7935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7937 (eval $ac_try) 2>&5
7938 ac_status=$?
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try='test -s conftest$ac_exeext'
7942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7943 (eval $ac_try) 2>&5
7944 ac_status=$?
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); }; }; then
7947 ac_cv_lib_Xext_XShmQueryExtension=yes
7948 else
7949 echo "$as_me: failed program was:" >&5
7950 sed 's/^/| /' conftest.$ac_ext >&5
7952 ac_cv_lib_Xext_XShmQueryExtension=no
7954 rm -f conftest.err conftest.$ac_objext \
7955 conftest$ac_exeext conftest.$ac_ext
7956 LIBS=$ac_check_lib_save_LIBS
7958 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7959 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7960 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7962 cat >>confdefs.h <<\_ACEOF
7963 #define HAVE_LIBXXSHM 1
7964 _ACEOF
7970 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7971 then
7972 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7973 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7974 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7975 echo $ECHO_N "(cached) $ECHO_C" >&6
7976 else
7977 ac_check_lib_save_LIBS=$LIBS
7978 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7979 cat >conftest.$ac_ext <<_ACEOF
7980 /* confdefs.h. */
7981 _ACEOF
7982 cat confdefs.h >>conftest.$ac_ext
7983 cat >>conftest.$ac_ext <<_ACEOF
7984 /* end confdefs.h. */
7986 /* Override any gcc2 internal prototype to avoid an error. */
7987 #ifdef __cplusplus
7988 extern "C"
7989 #endif
7990 /* We use char because int might match the return type of a gcc2
7991 builtin and then its argument prototype would still apply. */
7992 char XShapeQueryExtension ();
7994 main ()
7996 XShapeQueryExtension ();
7998 return 0;
8000 _ACEOF
8001 rm -f conftest.$ac_objext conftest$ac_exeext
8002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8003 (eval $ac_link) 2>conftest.er1
8004 ac_status=$?
8005 grep -v '^ *+' conftest.er1 >conftest.err
8006 rm -f conftest.er1
8007 cat conftest.err >&5
8008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8009 (exit $ac_status); } &&
8010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8012 (eval $ac_try) 2>&5
8013 ac_status=$?
8014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8015 (exit $ac_status); }; } &&
8016 { ac_try='test -s conftest$ac_exeext'
8017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8018 (eval $ac_try) 2>&5
8019 ac_status=$?
8020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8021 (exit $ac_status); }; }; then
8022 ac_cv_lib_Xext_XShapeQueryExtension=yes
8023 else
8024 echo "$as_me: failed program was:" >&5
8025 sed 's/^/| /' conftest.$ac_ext >&5
8027 ac_cv_lib_Xext_XShapeQueryExtension=no
8029 rm -f conftest.err conftest.$ac_objext \
8030 conftest$ac_exeext conftest.$ac_ext
8031 LIBS=$ac_check_lib_save_LIBS
8033 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8034 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8035 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8037 cat >>confdefs.h <<\_ACEOF
8038 #define HAVE_LIBXSHAPE 1
8039 _ACEOF
8045 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
8046 then
8047 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
8048 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
8049 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
8050 echo $ECHO_N "(cached) $ECHO_C" >&6
8051 else
8052 ac_check_lib_save_LIBS=$LIBS
8053 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8054 cat >conftest.$ac_ext <<_ACEOF
8055 /* confdefs.h. */
8056 _ACEOF
8057 cat confdefs.h >>conftest.$ac_ext
8058 cat >>conftest.$ac_ext <<_ACEOF
8059 /* end confdefs.h. */
8061 /* Override any gcc2 internal prototype to avoid an error. */
8062 #ifdef __cplusplus
8063 extern "C"
8064 #endif
8065 /* We use char because int might match the return type of a gcc2
8066 builtin and then its argument prototype would still apply. */
8067 char XDGAQueryExtension ();
8069 main ()
8071 XDGAQueryExtension ();
8073 return 0;
8075 _ACEOF
8076 rm -f conftest.$ac_objext conftest$ac_exeext
8077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8078 (eval $ac_link) 2>conftest.er1
8079 ac_status=$?
8080 grep -v '^ *+' conftest.er1 >conftest.err
8081 rm -f conftest.er1
8082 cat conftest.err >&5
8083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8084 (exit $ac_status); } &&
8085 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8087 (eval $ac_try) 2>&5
8088 ac_status=$?
8089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); }; } &&
8091 { ac_try='test -s conftest$ac_exeext'
8092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8093 (eval $ac_try) 2>&5
8094 ac_status=$?
8095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8096 (exit $ac_status); }; }; then
8097 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
8098 else
8099 echo "$as_me: failed program was:" >&5
8100 sed 's/^/| /' conftest.$ac_ext >&5
8102 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
8104 rm -f conftest.err conftest.$ac_objext \
8105 conftest$ac_exeext conftest.$ac_ext
8106 LIBS=$ac_check_lib_save_LIBS
8108 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
8109 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
8110 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
8112 cat >>confdefs.h <<\_ACEOF
8113 #define HAVE_LIBXXF86DGA2 1
8114 _ACEOF
8116 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
8122 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8123 then
8124 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8125 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
8126 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8127 echo $ECHO_N "(cached) $ECHO_C" >&6
8128 else
8129 ac_check_lib_save_LIBS=$LIBS
8130 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8131 cat >conftest.$ac_ext <<_ACEOF
8132 /* confdefs.h. */
8133 _ACEOF
8134 cat confdefs.h >>conftest.$ac_ext
8135 cat >>conftest.$ac_ext <<_ACEOF
8136 /* end confdefs.h. */
8138 /* Override any gcc2 internal prototype to avoid an error. */
8139 #ifdef __cplusplus
8140 extern "C"
8141 #endif
8142 /* We use char because int might match the return type of a gcc2
8143 builtin and then its argument prototype would still apply. */
8144 char XF86VidModeQueryExtension ();
8146 main ()
8148 XF86VidModeQueryExtension ();
8150 return 0;
8152 _ACEOF
8153 rm -f conftest.$ac_objext conftest$ac_exeext
8154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8155 (eval $ac_link) 2>conftest.er1
8156 ac_status=$?
8157 grep -v '^ *+' conftest.er1 >conftest.err
8158 rm -f conftest.er1
8159 cat conftest.err >&5
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); } &&
8162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8164 (eval $ac_try) 2>&5
8165 ac_status=$?
8166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8167 (exit $ac_status); }; } &&
8168 { ac_try='test -s conftest$ac_exeext'
8169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8170 (eval $ac_try) 2>&5
8171 ac_status=$?
8172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8173 (exit $ac_status); }; }; then
8174 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
8175 else
8176 echo "$as_me: failed program was:" >&5
8177 sed 's/^/| /' conftest.$ac_ext >&5
8179 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
8181 rm -f conftest.err conftest.$ac_objext \
8182 conftest$ac_exeext conftest.$ac_ext
8183 LIBS=$ac_check_lib_save_LIBS
8185 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
8186 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
8187 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
8189 cat >>confdefs.h <<\_ACEOF
8190 #define HAVE_LIBXXF86VM 1
8191 _ACEOF
8193 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
8199 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
8200 then
8201 cat >conftest.$ac_ext <<_ACEOF
8202 /* confdefs.h. */
8203 _ACEOF
8204 cat confdefs.h >>conftest.$ac_ext
8205 cat >>conftest.$ac_ext <<_ACEOF
8206 /* end confdefs.h. */
8207 #include <X11/Xlib.h>
8208 #include <X11/extensions/Xrandr.h>
8210 main ()
8212 static typeof(XRRSetScreenConfigAndRate) * func;
8214 return 0;
8216 _ACEOF
8217 rm -f conftest.$ac_objext
8218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8219 (eval $ac_compile) 2>conftest.er1
8220 ac_status=$?
8221 grep -v '^ *+' conftest.er1 >conftest.err
8222 rm -f conftest.er1
8223 cat conftest.err >&5
8224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8225 (exit $ac_status); } &&
8226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8228 (eval $ac_try) 2>&5
8229 ac_status=$?
8230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8231 (exit $ac_status); }; } &&
8232 { ac_try='test -s conftest.$ac_objext'
8233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8234 (eval $ac_try) 2>&5
8235 ac_status=$?
8236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8237 (exit $ac_status); }; }; then
8239 cat >>confdefs.h <<\_ACEOF
8240 #define HAVE_LIBXRANDR 1
8241 _ACEOF
8243 else
8244 echo "$as_me: failed program was:" >&5
8245 sed 's/^/| /' conftest.$ac_ext >&5
8248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8251 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
8252 then
8253 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
8254 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
8255 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
8256 echo $ECHO_N "(cached) $ECHO_C" >&6
8257 else
8258 ac_check_lib_save_LIBS=$LIBS
8259 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8260 cat >conftest.$ac_ext <<_ACEOF
8261 /* confdefs.h. */
8262 _ACEOF
8263 cat confdefs.h >>conftest.$ac_ext
8264 cat >>conftest.$ac_ext <<_ACEOF
8265 /* end confdefs.h. */
8267 /* Override any gcc2 internal prototype to avoid an error. */
8268 #ifdef __cplusplus
8269 extern "C"
8270 #endif
8271 /* We use char because int might match the return type of a gcc2
8272 builtin and then its argument prototype would still apply. */
8273 char XRenderSetPictureTransform ();
8275 main ()
8277 XRenderSetPictureTransform ();
8279 return 0;
8281 _ACEOF
8282 rm -f conftest.$ac_objext conftest$ac_exeext
8283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8284 (eval $ac_link) 2>conftest.er1
8285 ac_status=$?
8286 grep -v '^ *+' conftest.er1 >conftest.err
8287 rm -f conftest.er1
8288 cat conftest.err >&5
8289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8290 (exit $ac_status); } &&
8291 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8293 (eval $ac_try) 2>&5
8294 ac_status=$?
8295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8296 (exit $ac_status); }; } &&
8297 { ac_try='test -s conftest$ac_exeext'
8298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8299 (eval $ac_try) 2>&5
8300 ac_status=$?
8301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8302 (exit $ac_status); }; }; then
8303 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
8304 else
8305 echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.$ac_ext >&5
8308 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
8310 rm -f conftest.err conftest.$ac_objext \
8311 conftest$ac_exeext conftest.$ac_ext
8312 LIBS=$ac_check_lib_save_LIBS
8314 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8315 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
8316 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
8318 cat >>confdefs.h <<\_ACEOF
8319 #define HAVE_XRENDERSETPICTURETRANSFORM 1
8320 _ACEOF
8326 if test "x$with_opengl" != "xno"
8327 then
8332 for ac_header in GL/gl.h GL/glx.h GL/glext.h GL/glu.h
8334 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8335 echo "$as_me:$LINENO: checking for $ac_header" >&5
8336 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8338 echo $ECHO_N "(cached) $ECHO_C" >&6
8339 else
8340 cat >conftest.$ac_ext <<_ACEOF
8341 /* confdefs.h. */
8342 _ACEOF
8343 cat confdefs.h >>conftest.$ac_ext
8344 cat >>conftest.$ac_ext <<_ACEOF
8345 /* end confdefs.h. */
8346 #ifdef HAVE_GL_GLX_H
8347 # include <GL/glx.h>
8348 #endif
8350 #include <$ac_header>
8351 _ACEOF
8352 rm -f conftest.$ac_objext
8353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8354 (eval $ac_compile) 2>conftest.er1
8355 ac_status=$?
8356 grep -v '^ *+' conftest.er1 >conftest.err
8357 rm -f conftest.er1
8358 cat conftest.err >&5
8359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8360 (exit $ac_status); } &&
8361 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8363 (eval $ac_try) 2>&5
8364 ac_status=$?
8365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8366 (exit $ac_status); }; } &&
8367 { ac_try='test -s conftest.$ac_objext'
8368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8369 (eval $ac_try) 2>&5
8370 ac_status=$?
8371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8372 (exit $ac_status); }; }; then
8373 eval "$as_ac_Header=yes"
8374 else
8375 echo "$as_me: failed program was:" >&5
8376 sed 's/^/| /' conftest.$ac_ext >&5
8378 eval "$as_ac_Header=no"
8380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8383 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8384 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8385 cat >>confdefs.h <<_ACEOF
8386 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8387 _ACEOF
8391 done
8393 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8394 then
8395 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
8396 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
8397 if test "${wine_cv_opengl_version_OK+set}" = set; then
8398 echo $ECHO_N "(cached) $ECHO_C" >&6
8399 else
8400 cat >conftest.$ac_ext <<_ACEOF
8401 /* confdefs.h. */
8402 _ACEOF
8403 cat confdefs.h >>conftest.$ac_ext
8404 cat >>conftest.$ac_ext <<_ACEOF
8405 /* end confdefs.h. */
8406 #include <GL/gl.h>
8408 main ()
8410 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8412 return 0;
8414 _ACEOF
8415 rm -f conftest.$ac_objext
8416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8417 (eval $ac_compile) 2>conftest.er1
8418 ac_status=$?
8419 grep -v '^ *+' conftest.er1 >conftest.err
8420 rm -f conftest.er1
8421 cat conftest.err >&5
8422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8423 (exit $ac_status); } &&
8424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8426 (eval $ac_try) 2>&5
8427 ac_status=$?
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); }; } &&
8430 { ac_try='test -s conftest.$ac_objext'
8431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8432 (eval $ac_try) 2>&5
8433 ac_status=$?
8434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8435 (exit $ac_status); }; }; then
8436 wine_cv_opengl_version_OK="yes"
8437 else
8438 echo "$as_me: failed program was:" >&5
8439 sed 's/^/| /' conftest.$ac_ext >&5
8441 wine_cv_opengl_version_OK="no"
8444 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8447 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8448 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8450 if test "$wine_cv_opengl_version_OK" = "yes"
8451 then
8452 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8453 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8454 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8455 echo $ECHO_N "(cached) $ECHO_C" >&6
8456 else
8457 ac_check_lib_save_LIBS=$LIBS
8458 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8459 cat >conftest.$ac_ext <<_ACEOF
8460 /* confdefs.h. */
8461 _ACEOF
8462 cat confdefs.h >>conftest.$ac_ext
8463 cat >>conftest.$ac_ext <<_ACEOF
8464 /* end confdefs.h. */
8466 /* Override any gcc2 internal prototype to avoid an error. */
8467 #ifdef __cplusplus
8468 extern "C"
8469 #endif
8470 /* We use char because int might match the return type of a gcc2
8471 builtin and then its argument prototype would still apply. */
8472 char glXCreateContext ();
8474 main ()
8476 glXCreateContext ();
8478 return 0;
8480 _ACEOF
8481 rm -f conftest.$ac_objext conftest$ac_exeext
8482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8483 (eval $ac_link) 2>conftest.er1
8484 ac_status=$?
8485 grep -v '^ *+' conftest.er1 >conftest.err
8486 rm -f conftest.er1
8487 cat conftest.err >&5
8488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8489 (exit $ac_status); } &&
8490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8492 (eval $ac_try) 2>&5
8493 ac_status=$?
8494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8495 (exit $ac_status); }; } &&
8496 { ac_try='test -s conftest$ac_exeext'
8497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8498 (eval $ac_try) 2>&5
8499 ac_status=$?
8500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8501 (exit $ac_status); }; }; then
8502 ac_cv_lib_GL_glXCreateContext=yes
8503 else
8504 echo "$as_me: failed program was:" >&5
8505 sed 's/^/| /' conftest.$ac_ext >&5
8507 ac_cv_lib_GL_glXCreateContext=no
8509 rm -f conftest.err conftest.$ac_objext \
8510 conftest$ac_exeext conftest.$ac_ext
8511 LIBS=$ac_check_lib_save_LIBS
8513 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8514 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8515 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8516 OPENGL_LIBS="-lGL"
8521 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8522 then
8523 OPENGLFILES='$(OPENGLFILES)'
8525 cat >>confdefs.h <<\_ACEOF
8526 #define HAVE_OPENGL 1
8527 _ACEOF
8529 else
8530 if test -f /usr/X11R6/lib/libGL.a
8531 then
8532 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8533 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8534 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8535 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8536 { (exit 1); exit 1; }; }
8540 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8541 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8542 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8543 echo $ECHO_N "(cached) $ECHO_C" >&6
8544 else
8545 ac_check_lib_save_LIBS=$LIBS
8546 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8547 $LIBS"
8548 cat >conftest.$ac_ext <<_ACEOF
8549 /* confdefs.h. */
8550 _ACEOF
8551 cat confdefs.h >>conftest.$ac_ext
8552 cat >>conftest.$ac_ext <<_ACEOF
8553 /* end confdefs.h. */
8555 /* Override any gcc2 internal prototype to avoid an error. */
8556 #ifdef __cplusplus
8557 extern "C"
8558 #endif
8559 /* We use char because int might match the return type of a gcc2
8560 builtin and then its argument prototype would still apply. */
8561 char gluLookAt ();
8563 main ()
8565 gluLookAt ();
8567 return 0;
8569 _ACEOF
8570 rm -f conftest.$ac_objext conftest$ac_exeext
8571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8572 (eval $ac_link) 2>conftest.er1
8573 ac_status=$?
8574 grep -v '^ *+' conftest.er1 >conftest.err
8575 rm -f conftest.er1
8576 cat conftest.err >&5
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); } &&
8579 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8581 (eval $ac_try) 2>&5
8582 ac_status=$?
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); }; } &&
8585 { ac_try='test -s conftest$ac_exeext'
8586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8587 (eval $ac_try) 2>&5
8588 ac_status=$?
8589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8590 (exit $ac_status); }; }; then
8591 ac_cv_lib_GLU_gluLookAt=yes
8592 else
8593 echo "$as_me: failed program was:" >&5
8594 sed 's/^/| /' conftest.$ac_ext >&5
8596 ac_cv_lib_GLU_gluLookAt=no
8598 rm -f conftest.err conftest.$ac_objext \
8599 conftest$ac_exeext conftest.$ac_ext
8600 LIBS=$ac_check_lib_save_LIBS
8602 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8603 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8604 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8605 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8606 GLU32FILES='$(GLU32FILES)'
8612 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8613 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8614 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8615 echo $ECHO_N "(cached) $ECHO_C" >&6
8616 else
8617 ac_check_lib_save_LIBS=$LIBS
8618 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8619 cat >conftest.$ac_ext <<_ACEOF
8620 /* confdefs.h. */
8621 _ACEOF
8622 cat confdefs.h >>conftest.$ac_ext
8623 cat >>conftest.$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8626 /* Override any gcc2 internal prototype to avoid an error. */
8627 #ifdef __cplusplus
8628 extern "C"
8629 #endif
8630 /* We use char because int might match the return type of a gcc2
8631 builtin and then its argument prototype would still apply. */
8632 char glutMainLoop ();
8634 main ()
8636 glutMainLoop ();
8638 return 0;
8640 _ACEOF
8641 rm -f conftest.$ac_objext conftest$ac_exeext
8642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8643 (eval $ac_link) 2>conftest.er1
8644 ac_status=$?
8645 grep -v '^ *+' conftest.er1 >conftest.err
8646 rm -f conftest.er1
8647 cat conftest.err >&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } &&
8650 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8652 (eval $ac_try) 2>&5
8653 ac_status=$?
8654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8655 (exit $ac_status); }; } &&
8656 { ac_try='test -s conftest$ac_exeext'
8657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8658 (eval $ac_try) 2>&5
8659 ac_status=$?
8660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8661 (exit $ac_status); }; }; then
8662 ac_cv_lib_glut_glutMainLoop=yes
8663 else
8664 echo "$as_me: failed program was:" >&5
8665 sed 's/^/| /' conftest.$ac_ext >&5
8667 ac_cv_lib_glut_glutMainLoop=no
8669 rm -f conftest.err conftest.$ac_objext \
8670 conftest$ac_exeext conftest.$ac_ext
8671 LIBS=$ac_check_lib_save_LIBS
8673 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8674 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8675 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8676 GLUT_LIBS="-lglut -lXmu -lXi"
8678 GLUT32FILES='$(GLUT32FILES)'
8685 NASLIBS=""
8688 for ac_header in audio/audiolib.h
8690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8691 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8692 echo "$as_me:$LINENO: checking for $ac_header" >&5
8693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8695 echo $ECHO_N "(cached) $ECHO_C" >&6
8697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8699 else
8700 # Is the header compilable?
8701 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8702 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8703 cat >conftest.$ac_ext <<_ACEOF
8704 /* confdefs.h. */
8705 _ACEOF
8706 cat confdefs.h >>conftest.$ac_ext
8707 cat >>conftest.$ac_ext <<_ACEOF
8708 /* end confdefs.h. */
8709 $ac_includes_default
8710 #include <$ac_header>
8711 _ACEOF
8712 rm -f conftest.$ac_objext
8713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8714 (eval $ac_compile) 2>conftest.er1
8715 ac_status=$?
8716 grep -v '^ *+' conftest.er1 >conftest.err
8717 rm -f conftest.er1
8718 cat conftest.err >&5
8719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8720 (exit $ac_status); } &&
8721 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8723 (eval $ac_try) 2>&5
8724 ac_status=$?
8725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8726 (exit $ac_status); }; } &&
8727 { ac_try='test -s conftest.$ac_objext'
8728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8729 (eval $ac_try) 2>&5
8730 ac_status=$?
8731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8732 (exit $ac_status); }; }; then
8733 ac_header_compiler=yes
8734 else
8735 echo "$as_me: failed program was:" >&5
8736 sed 's/^/| /' conftest.$ac_ext >&5
8738 ac_header_compiler=no
8740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8742 echo "${ECHO_T}$ac_header_compiler" >&6
8744 # Is the header present?
8745 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8746 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8747 cat >conftest.$ac_ext <<_ACEOF
8748 /* confdefs.h. */
8749 _ACEOF
8750 cat confdefs.h >>conftest.$ac_ext
8751 cat >>conftest.$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <$ac_header>
8754 _ACEOF
8755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8757 ac_status=$?
8758 grep -v '^ *+' conftest.er1 >conftest.err
8759 rm -f conftest.er1
8760 cat conftest.err >&5
8761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8762 (exit $ac_status); } >/dev/null; then
8763 if test -s conftest.err; then
8764 ac_cpp_err=$ac_c_preproc_warn_flag
8765 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8766 else
8767 ac_cpp_err=
8769 else
8770 ac_cpp_err=yes
8772 if test -z "$ac_cpp_err"; then
8773 ac_header_preproc=yes
8774 else
8775 echo "$as_me: failed program was:" >&5
8776 sed 's/^/| /' conftest.$ac_ext >&5
8778 ac_header_preproc=no
8780 rm -f conftest.err conftest.$ac_ext
8781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8782 echo "${ECHO_T}$ac_header_preproc" >&6
8784 # So? What about this header?
8785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8786 yes:no: )
8787 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8788 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8789 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8790 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8791 ac_header_preproc=yes
8793 no:yes:* )
8794 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8795 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8796 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8797 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8798 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8799 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8800 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8801 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8802 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8803 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8804 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8805 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8807 cat <<\_ASBOX
8808 ## ------------------------------------ ##
8809 ## Report this to wine-devel@winehq.org ##
8810 ## ------------------------------------ ##
8811 _ASBOX
8813 sed "s/^/$as_me: WARNING: /" >&2
8815 esac
8816 echo "$as_me:$LINENO: checking for $ac_header" >&5
8817 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8818 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8819 echo $ECHO_N "(cached) $ECHO_C" >&6
8820 else
8821 eval "$as_ac_Header=\$ac_header_preproc"
8823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8824 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8828 cat >>confdefs.h <<_ACEOF
8829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8830 _ACEOF
8832 for ac_header in audio/soundlib.h
8834 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8835 echo "$as_me:$LINENO: checking for $ac_header" >&5
8836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8838 echo $ECHO_N "(cached) $ECHO_C" >&6
8839 else
8840 cat >conftest.$ac_ext <<_ACEOF
8841 /* confdefs.h. */
8842 _ACEOF
8843 cat confdefs.h >>conftest.$ac_ext
8844 cat >>conftest.$ac_ext <<_ACEOF
8845 /* end confdefs.h. */
8846 #include <audio/audiolib.h>
8848 #include <$ac_header>
8849 _ACEOF
8850 rm -f conftest.$ac_objext
8851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8852 (eval $ac_compile) 2>conftest.er1
8853 ac_status=$?
8854 grep -v '^ *+' conftest.er1 >conftest.err
8855 rm -f conftest.er1
8856 cat conftest.err >&5
8857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8858 (exit $ac_status); } &&
8859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8861 (eval $ac_try) 2>&5
8862 ac_status=$?
8863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8864 (exit $ac_status); }; } &&
8865 { ac_try='test -s conftest.$ac_objext'
8866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8867 (eval $ac_try) 2>&5
8868 ac_status=$?
8869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8870 (exit $ac_status); }; }; then
8871 eval "$as_ac_Header=yes"
8872 else
8873 echo "$as_me: failed program was:" >&5
8874 sed 's/^/| /' conftest.$ac_ext >&5
8876 eval "$as_ac_Header=no"
8878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8882 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8883 cat >>confdefs.h <<_ACEOF
8884 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8885 _ACEOF
8889 done
8891 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8892 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8893 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8894 echo $ECHO_N "(cached) $ECHO_C" >&6
8895 else
8896 ac_check_lib_save_LIBS=$LIBS
8897 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8898 cat >conftest.$ac_ext <<_ACEOF
8899 /* confdefs.h. */
8900 _ACEOF
8901 cat confdefs.h >>conftest.$ac_ext
8902 cat >>conftest.$ac_ext <<_ACEOF
8903 /* end confdefs.h. */
8905 /* Override any gcc2 internal prototype to avoid an error. */
8906 #ifdef __cplusplus
8907 extern "C"
8908 #endif
8909 /* We use char because int might match the return type of a gcc2
8910 builtin and then its argument prototype would still apply. */
8911 char AuCreateFlow ();
8913 main ()
8915 AuCreateFlow ();
8917 return 0;
8919 _ACEOF
8920 rm -f conftest.$ac_objext conftest$ac_exeext
8921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8922 (eval $ac_link) 2>conftest.er1
8923 ac_status=$?
8924 grep -v '^ *+' conftest.er1 >conftest.err
8925 rm -f conftest.er1
8926 cat conftest.err >&5
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); } &&
8929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8931 (eval $ac_try) 2>&5
8932 ac_status=$?
8933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8934 (exit $ac_status); }; } &&
8935 { ac_try='test -s conftest$ac_exeext'
8936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8937 (eval $ac_try) 2>&5
8938 ac_status=$?
8939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8940 (exit $ac_status); }; }; then
8941 ac_cv_lib_audio_AuCreateFlow=yes
8942 else
8943 echo "$as_me: failed program was:" >&5
8944 sed 's/^/| /' conftest.$ac_ext >&5
8946 ac_cv_lib_audio_AuCreateFlow=no
8948 rm -f conftest.err conftest.$ac_objext \
8949 conftest$ac_exeext conftest.$ac_ext
8950 LIBS=$ac_check_lib_save_LIBS
8952 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8953 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8954 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8956 cat >>confdefs.h <<\_ACEOF
8957 #define HAVE_NAS 1
8958 _ACEOF
8960 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8965 done
8968 CPPFLAGS="$ac_save_CPPFLAGS"
8969 XFILES='$(XFILES)'
8970 else
8971 XLIB=""
8972 X_CFLAGS=""
8973 X_LIBS=""
8977 XML2LIBS=""
8979 XML2INCL=""
8981 XSLTLIBS=""
8983 XSLTINCL=""
8985 if test "$PKG_CONFIG" != "false"
8986 then
8987 ac_save_CPPFLAGS="$CPPFLAGS"
8988 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0`"
8989 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0`"
8990 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8992 for ac_header in libxml/parser.h
8994 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8995 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8996 echo "$as_me:$LINENO: checking for $ac_header" >&5
8997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8999 echo $ECHO_N "(cached) $ECHO_C" >&6
9001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9003 else
9004 # Is the header compilable?
9005 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9006 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9007 cat >conftest.$ac_ext <<_ACEOF
9008 /* confdefs.h. */
9009 _ACEOF
9010 cat confdefs.h >>conftest.$ac_ext
9011 cat >>conftest.$ac_ext <<_ACEOF
9012 /* end confdefs.h. */
9013 $ac_includes_default
9014 #include <$ac_header>
9015 _ACEOF
9016 rm -f conftest.$ac_objext
9017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9018 (eval $ac_compile) 2>conftest.er1
9019 ac_status=$?
9020 grep -v '^ *+' conftest.er1 >conftest.err
9021 rm -f conftest.er1
9022 cat conftest.err >&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } &&
9025 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9027 (eval $ac_try) 2>&5
9028 ac_status=$?
9029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9030 (exit $ac_status); }; } &&
9031 { ac_try='test -s conftest.$ac_objext'
9032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9033 (eval $ac_try) 2>&5
9034 ac_status=$?
9035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9036 (exit $ac_status); }; }; then
9037 ac_header_compiler=yes
9038 else
9039 echo "$as_me: failed program was:" >&5
9040 sed 's/^/| /' conftest.$ac_ext >&5
9042 ac_header_compiler=no
9044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9045 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9046 echo "${ECHO_T}$ac_header_compiler" >&6
9048 # Is the header present?
9049 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9050 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9051 cat >conftest.$ac_ext <<_ACEOF
9052 /* confdefs.h. */
9053 _ACEOF
9054 cat confdefs.h >>conftest.$ac_ext
9055 cat >>conftest.$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9057 #include <$ac_header>
9058 _ACEOF
9059 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9060 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9061 ac_status=$?
9062 grep -v '^ *+' conftest.er1 >conftest.err
9063 rm -f conftest.er1
9064 cat conftest.err >&5
9065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9066 (exit $ac_status); } >/dev/null; then
9067 if test -s conftest.err; then
9068 ac_cpp_err=$ac_c_preproc_warn_flag
9069 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9070 else
9071 ac_cpp_err=
9073 else
9074 ac_cpp_err=yes
9076 if test -z "$ac_cpp_err"; then
9077 ac_header_preproc=yes
9078 else
9079 echo "$as_me: failed program was:" >&5
9080 sed 's/^/| /' conftest.$ac_ext >&5
9082 ac_header_preproc=no
9084 rm -f conftest.err conftest.$ac_ext
9085 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9086 echo "${ECHO_T}$ac_header_preproc" >&6
9088 # So? What about this header?
9089 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9090 yes:no: )
9091 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9092 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9094 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9095 ac_header_preproc=yes
9097 no:yes:* )
9098 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9099 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9100 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9101 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9102 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9103 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9104 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9105 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9106 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9107 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9108 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9109 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9111 cat <<\_ASBOX
9112 ## ------------------------------------ ##
9113 ## Report this to wine-devel@winehq.org ##
9114 ## ------------------------------------ ##
9115 _ASBOX
9117 sed "s/^/$as_me: WARNING: /" >&2
9119 esac
9120 echo "$as_me:$LINENO: checking for $ac_header" >&5
9121 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9122 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9123 echo $ECHO_N "(cached) $ECHO_C" >&6
9124 else
9125 eval "$as_ac_Header=\$ac_header_preproc"
9127 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9128 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9131 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9132 cat >>confdefs.h <<_ACEOF
9133 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9134 _ACEOF
9135 echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
9136 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6
9137 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
9138 echo $ECHO_N "(cached) $ECHO_C" >&6
9139 else
9140 ac_check_lib_save_LIBS=$LIBS
9141 LIBS="-lxml2 $ac_xml_libs $LIBS"
9142 cat >conftest.$ac_ext <<_ACEOF
9143 /* confdefs.h. */
9144 _ACEOF
9145 cat confdefs.h >>conftest.$ac_ext
9146 cat >>conftest.$ac_ext <<_ACEOF
9147 /* end confdefs.h. */
9149 /* Override any gcc2 internal prototype to avoid an error. */
9150 #ifdef __cplusplus
9151 extern "C"
9152 #endif
9153 /* We use char because int might match the return type of a gcc2
9154 builtin and then its argument prototype would still apply. */
9155 char xmlParseMemory ();
9157 main ()
9159 xmlParseMemory ();
9161 return 0;
9163 _ACEOF
9164 rm -f conftest.$ac_objext conftest$ac_exeext
9165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9166 (eval $ac_link) 2>conftest.er1
9167 ac_status=$?
9168 grep -v '^ *+' conftest.er1 >conftest.err
9169 rm -f conftest.er1
9170 cat conftest.err >&5
9171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9172 (exit $ac_status); } &&
9173 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9175 (eval $ac_try) 2>&5
9176 ac_status=$?
9177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9178 (exit $ac_status); }; } &&
9179 { ac_try='test -s conftest$ac_exeext'
9180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9181 (eval $ac_try) 2>&5
9182 ac_status=$?
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); }; }; then
9185 ac_cv_lib_xml2_xmlParseMemory=yes
9186 else
9187 echo "$as_me: failed program was:" >&5
9188 sed 's/^/| /' conftest.$ac_ext >&5
9190 ac_cv_lib_xml2_xmlParseMemory=no
9192 rm -f conftest.err conftest.$ac_objext \
9193 conftest$ac_exeext conftest.$ac_ext
9194 LIBS=$ac_check_lib_save_LIBS
9196 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9197 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6
9198 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
9200 cat >>confdefs.h <<\_ACEOF
9201 #define HAVE_LIBXML2 1
9202 _ACEOF
9204 XML2LIBS="$ac_xml_libs"
9205 XML2INCL="$ac_xml_cflags"
9208 echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
9209 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6
9210 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
9211 echo $ECHO_N "(cached) $ECHO_C" >&6
9212 else
9213 ac_check_lib_save_LIBS=$LIBS
9214 LIBS="-lxml2 $ac_xml_libs $LIBS"
9215 cat >conftest.$ac_ext <<_ACEOF
9216 /* confdefs.h. */
9217 _ACEOF
9218 cat confdefs.h >>conftest.$ac_ext
9219 cat >>conftest.$ac_ext <<_ACEOF
9220 /* end confdefs.h. */
9222 /* Override any gcc2 internal prototype to avoid an error. */
9223 #ifdef __cplusplus
9224 extern "C"
9225 #endif
9226 /* We use char because int might match the return type of a gcc2
9227 builtin and then its argument prototype would still apply. */
9228 char xmlReadMemory ();
9230 main ()
9232 xmlReadMemory ();
9234 return 0;
9236 _ACEOF
9237 rm -f conftest.$ac_objext conftest$ac_exeext
9238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9239 (eval $ac_link) 2>conftest.er1
9240 ac_status=$?
9241 grep -v '^ *+' conftest.er1 >conftest.err
9242 rm -f conftest.er1
9243 cat conftest.err >&5
9244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9245 (exit $ac_status); } &&
9246 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9248 (eval $ac_try) 2>&5
9249 ac_status=$?
9250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9251 (exit $ac_status); }; } &&
9252 { ac_try='test -s conftest$ac_exeext'
9253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9254 (eval $ac_try) 2>&5
9255 ac_status=$?
9256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257 (exit $ac_status); }; }; then
9258 ac_cv_lib_xml2_xmlReadMemory=yes
9259 else
9260 echo "$as_me: failed program was:" >&5
9261 sed 's/^/| /' conftest.$ac_ext >&5
9263 ac_cv_lib_xml2_xmlReadMemory=no
9265 rm -f conftest.err conftest.$ac_objext \
9266 conftest$ac_exeext conftest.$ac_ext
9267 LIBS=$ac_check_lib_save_LIBS
9269 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9270 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6
9271 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
9273 cat >>confdefs.h <<\_ACEOF
9274 #define HAVE_XMLREADMEMORY 1
9275 _ACEOF
9282 done
9284 CPPFLAGS="$ac_save_CPPFLAGS"
9285 ac_xslt_libs="`$PKG_CONFIG --libs libxslt`"
9286 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt`"
9287 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
9290 for ac_header in libxslt/pattern.h libxslt/transform.h
9292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9293 echo "$as_me:$LINENO: checking for $ac_header" >&5
9294 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9295 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9296 echo $ECHO_N "(cached) $ECHO_C" >&6
9297 else
9298 cat >conftest.$ac_ext <<_ACEOF
9299 /* confdefs.h. */
9300 _ACEOF
9301 cat confdefs.h >>conftest.$ac_ext
9302 cat >>conftest.$ac_ext <<_ACEOF
9303 /* end confdefs.h. */
9304 #ifdef HAVE_LIBXSLT_PATTERN_H
9305 # include <libxslt/pattern.h>
9306 #endif
9308 #include <$ac_header>
9309 _ACEOF
9310 rm -f conftest.$ac_objext
9311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9312 (eval $ac_compile) 2>conftest.er1
9313 ac_status=$?
9314 grep -v '^ *+' conftest.er1 >conftest.err
9315 rm -f conftest.er1
9316 cat conftest.err >&5
9317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9318 (exit $ac_status); } &&
9319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9321 (eval $ac_try) 2>&5
9322 ac_status=$?
9323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9324 (exit $ac_status); }; } &&
9325 { ac_try='test -s conftest.$ac_objext'
9326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9327 (eval $ac_try) 2>&5
9328 ac_status=$?
9329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9330 (exit $ac_status); }; }; then
9331 eval "$as_ac_Header=yes"
9332 else
9333 echo "$as_me: failed program was:" >&5
9334 sed 's/^/| /' conftest.$ac_ext >&5
9336 eval "$as_ac_Header=no"
9338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9340 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9341 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9342 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9343 cat >>confdefs.h <<_ACEOF
9344 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9345 _ACEOF
9346 echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
9347 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6
9348 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
9349 echo $ECHO_N "(cached) $ECHO_C" >&6
9350 else
9351 ac_check_lib_save_LIBS=$LIBS
9352 LIBS="-lxslt $ac_xslt_libs $LIBS"
9353 cat >conftest.$ac_ext <<_ACEOF
9354 /* confdefs.h. */
9355 _ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9360 /* Override any gcc2 internal prototype to avoid an error. */
9361 #ifdef __cplusplus
9362 extern "C"
9363 #endif
9364 /* We use char because int might match the return type of a gcc2
9365 builtin and then its argument prototype would still apply. */
9366 char xsltCompilePattern ();
9368 main ()
9370 xsltCompilePattern ();
9372 return 0;
9374 _ACEOF
9375 rm -f conftest.$ac_objext conftest$ac_exeext
9376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9377 (eval $ac_link) 2>conftest.er1
9378 ac_status=$?
9379 grep -v '^ *+' conftest.er1 >conftest.err
9380 rm -f conftest.er1
9381 cat conftest.err >&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); } &&
9384 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9386 (eval $ac_try) 2>&5
9387 ac_status=$?
9388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9389 (exit $ac_status); }; } &&
9390 { ac_try='test -s conftest$ac_exeext'
9391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9392 (eval $ac_try) 2>&5
9393 ac_status=$?
9394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9395 (exit $ac_status); }; }; then
9396 ac_cv_lib_xslt_xsltCompilePattern=yes
9397 else
9398 echo "$as_me: failed program was:" >&5
9399 sed 's/^/| /' conftest.$ac_ext >&5
9401 ac_cv_lib_xslt_xsltCompilePattern=no
9403 rm -f conftest.err conftest.$ac_objext \
9404 conftest$ac_exeext conftest.$ac_ext
9405 LIBS=$ac_check_lib_save_LIBS
9407 echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
9408 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6
9409 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
9411 cat >>confdefs.h <<\_ACEOF
9412 #define HAVE_LIBXSLT 1
9413 _ACEOF
9415 XSLTLIBS="$ac_xslt_libs"
9416 XSLTINCL="$ac_xslt_cflags"
9422 done
9424 CPPFLAGS="$ac_save_CPPFLAGS"
9427 HALINCL=""
9429 if test "$PKG_CONFIG" != "false"
9430 then
9431 ac_save_CPPFLAGS="$CPPFLAGS"
9432 ac_hal_libs="`$PKG_CONFIG --libs hal`"
9433 ac_hal_cflags="`$PKG_CONFIG --cflags hal`"
9434 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
9437 for ac_header in dbus/dbus.h hal/libhal.h
9439 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9441 echo "$as_me:$LINENO: checking for $ac_header" >&5
9442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9447 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9448 else
9449 # Is the header compilable?
9450 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9451 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9452 cat >conftest.$ac_ext <<_ACEOF
9453 /* confdefs.h. */
9454 _ACEOF
9455 cat confdefs.h >>conftest.$ac_ext
9456 cat >>conftest.$ac_ext <<_ACEOF
9457 /* end confdefs.h. */
9458 $ac_includes_default
9459 #include <$ac_header>
9460 _ACEOF
9461 rm -f conftest.$ac_objext
9462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9463 (eval $ac_compile) 2>conftest.er1
9464 ac_status=$?
9465 grep -v '^ *+' conftest.er1 >conftest.err
9466 rm -f conftest.er1
9467 cat conftest.err >&5
9468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9469 (exit $ac_status); } &&
9470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9472 (eval $ac_try) 2>&5
9473 ac_status=$?
9474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9475 (exit $ac_status); }; } &&
9476 { ac_try='test -s conftest.$ac_objext'
9477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9478 (eval $ac_try) 2>&5
9479 ac_status=$?
9480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9481 (exit $ac_status); }; }; then
9482 ac_header_compiler=yes
9483 else
9484 echo "$as_me: failed program was:" >&5
9485 sed 's/^/| /' conftest.$ac_ext >&5
9487 ac_header_compiler=no
9489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9490 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9491 echo "${ECHO_T}$ac_header_compiler" >&6
9493 # Is the header present?
9494 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9495 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9496 cat >conftest.$ac_ext <<_ACEOF
9497 /* confdefs.h. */
9498 _ACEOF
9499 cat confdefs.h >>conftest.$ac_ext
9500 cat >>conftest.$ac_ext <<_ACEOF
9501 /* end confdefs.h. */
9502 #include <$ac_header>
9503 _ACEOF
9504 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9505 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9506 ac_status=$?
9507 grep -v '^ *+' conftest.er1 >conftest.err
9508 rm -f conftest.er1
9509 cat conftest.err >&5
9510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9511 (exit $ac_status); } >/dev/null; then
9512 if test -s conftest.err; then
9513 ac_cpp_err=$ac_c_preproc_warn_flag
9514 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9515 else
9516 ac_cpp_err=
9518 else
9519 ac_cpp_err=yes
9521 if test -z "$ac_cpp_err"; then
9522 ac_header_preproc=yes
9523 else
9524 echo "$as_me: failed program was:" >&5
9525 sed 's/^/| /' conftest.$ac_ext >&5
9527 ac_header_preproc=no
9529 rm -f conftest.err conftest.$ac_ext
9530 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9531 echo "${ECHO_T}$ac_header_preproc" >&6
9533 # So? What about this header?
9534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9535 yes:no: )
9536 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9537 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9538 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9539 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9540 ac_header_preproc=yes
9542 no:yes:* )
9543 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9544 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9545 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9546 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9547 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9548 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9549 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9550 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9551 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9552 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9553 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9554 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9556 cat <<\_ASBOX
9557 ## ------------------------------------ ##
9558 ## Report this to wine-devel@winehq.org ##
9559 ## ------------------------------------ ##
9560 _ASBOX
9562 sed "s/^/$as_me: WARNING: /" >&2
9564 esac
9565 echo "$as_me:$LINENO: checking for $ac_header" >&5
9566 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9568 echo $ECHO_N "(cached) $ECHO_C" >&6
9569 else
9570 eval "$as_ac_Header=\$ac_header_preproc"
9572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9576 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9577 cat >>confdefs.h <<_ACEOF
9578 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9579 _ACEOF
9583 done
9585 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9586 then
9587 echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
9588 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6
9589 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
9590 echo $ECHO_N "(cached) $ECHO_C" >&6
9591 else
9592 ac_check_lib_save_LIBS=$LIBS
9593 LIBS="-lhal $LIBS"
9594 cat >conftest.$ac_ext <<_ACEOF
9595 /* confdefs.h. */
9596 _ACEOF
9597 cat confdefs.h >>conftest.$ac_ext
9598 cat >>conftest.$ac_ext <<_ACEOF
9599 /* end confdefs.h. */
9601 /* Override any gcc2 internal prototype to avoid an error. */
9602 #ifdef __cplusplus
9603 extern "C"
9604 #endif
9605 /* We use char because int might match the return type of a gcc2
9606 builtin and then its argument prototype would still apply. */
9607 char libhal_ctx_new ();
9609 main ()
9611 libhal_ctx_new ();
9613 return 0;
9615 _ACEOF
9616 rm -f conftest.$ac_objext conftest$ac_exeext
9617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9618 (eval $ac_link) 2>conftest.er1
9619 ac_status=$?
9620 grep -v '^ *+' conftest.er1 >conftest.err
9621 rm -f conftest.er1
9622 cat conftest.err >&5
9623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9624 (exit $ac_status); } &&
9625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9627 (eval $ac_try) 2>&5
9628 ac_status=$?
9629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9630 (exit $ac_status); }; } &&
9631 { ac_try='test -s conftest$ac_exeext'
9632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9633 (eval $ac_try) 2>&5
9634 ac_status=$?
9635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9636 (exit $ac_status); }; }; then
9637 ac_cv_lib_hal_libhal_ctx_new=yes
9638 else
9639 echo "$as_me: failed program was:" >&5
9640 sed 's/^/| /' conftest.$ac_ext >&5
9642 ac_cv_lib_hal_libhal_ctx_new=no
9644 rm -f conftest.err conftest.$ac_objext \
9645 conftest$ac_exeext conftest.$ac_ext
9646 LIBS=$ac_check_lib_save_LIBS
9648 echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
9649 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6
9650 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
9651 echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
9652 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6
9653 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
9654 echo $ECHO_N "(cached) $ECHO_C" >&6
9655 else
9656 ac_check_lib_save_LIBS=$LIBS
9657 LIBS="-ldbus-1 $ac_hal_libs $LIBS"
9658 cat >conftest.$ac_ext <<_ACEOF
9659 /* confdefs.h. */
9660 _ACEOF
9661 cat confdefs.h >>conftest.$ac_ext
9662 cat >>conftest.$ac_ext <<_ACEOF
9663 /* end confdefs.h. */
9665 /* Override any gcc2 internal prototype to avoid an error. */
9666 #ifdef __cplusplus
9667 extern "C"
9668 #endif
9669 /* We use char because int might match the return type of a gcc2
9670 builtin and then its argument prototype would still apply. */
9671 char dbus_connection_close ();
9673 main ()
9675 dbus_connection_close ();
9677 return 0;
9679 _ACEOF
9680 rm -f conftest.$ac_objext conftest$ac_exeext
9681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9682 (eval $ac_link) 2>conftest.er1
9683 ac_status=$?
9684 grep -v '^ *+' conftest.er1 >conftest.err
9685 rm -f conftest.er1
9686 cat conftest.err >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } &&
9689 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9691 (eval $ac_try) 2>&5
9692 ac_status=$?
9693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9694 (exit $ac_status); }; } &&
9695 { ac_try='test -s conftest$ac_exeext'
9696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9697 (eval $ac_try) 2>&5
9698 ac_status=$?
9699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9700 (exit $ac_status); }; }; then
9701 ac_cv_lib_dbus_1_dbus_connection_close=yes
9702 else
9703 echo "$as_me: failed program was:" >&5
9704 sed 's/^/| /' conftest.$ac_ext >&5
9706 ac_cv_lib_dbus_1_dbus_connection_close=no
9708 rm -f conftest.err conftest.$ac_objext \
9709 conftest$ac_exeext conftest.$ac_ext
9710 LIBS=$ac_check_lib_save_LIBS
9712 echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9713 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6
9714 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
9716 cat >>confdefs.h <<\_ACEOF
9717 #define HAVE_LIBHAL 1
9718 _ACEOF
9720 HALINCL="$ac_hal_cflags"
9726 CPPFLAGS="$ac_save_CPPFLAGS"
9729 CURSESLIBS=""
9730 if test "x$with_curses" != "xno"
9731 then
9732 if test "$ac_cv_header_ncurses_h" = "yes"
9733 then
9734 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
9735 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
9736 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
9737 echo $ECHO_N "(cached) $ECHO_C" >&6
9738 else
9739 ac_check_lib_save_LIBS=$LIBS
9740 LIBS="-lncurses $LIBS"
9741 cat >conftest.$ac_ext <<_ACEOF
9742 /* confdefs.h. */
9743 _ACEOF
9744 cat confdefs.h >>conftest.$ac_ext
9745 cat >>conftest.$ac_ext <<_ACEOF
9746 /* end confdefs.h. */
9748 /* Override any gcc2 internal prototype to avoid an error. */
9749 #ifdef __cplusplus
9750 extern "C"
9751 #endif
9752 /* We use char because int might match the return type of a gcc2
9753 builtin and then its argument prototype would still apply. */
9754 char waddch ();
9756 main ()
9758 waddch ();
9760 return 0;
9762 _ACEOF
9763 rm -f conftest.$ac_objext conftest$ac_exeext
9764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9765 (eval $ac_link) 2>conftest.er1
9766 ac_status=$?
9767 grep -v '^ *+' conftest.er1 >conftest.err
9768 rm -f conftest.er1
9769 cat conftest.err >&5
9770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9771 (exit $ac_status); } &&
9772 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774 (eval $ac_try) 2>&5
9775 ac_status=$?
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; } &&
9778 { ac_try='test -s conftest$ac_exeext'
9779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 (eval $ac_try) 2>&5
9781 ac_status=$?
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); }; }; then
9784 ac_cv_lib_ncurses_waddch=yes
9785 else
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9789 ac_cv_lib_ncurses_waddch=no
9791 rm -f conftest.err conftest.$ac_objext \
9792 conftest$ac_exeext conftest.$ac_ext
9793 LIBS=$ac_check_lib_save_LIBS
9795 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
9796 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
9797 if test $ac_cv_lib_ncurses_waddch = yes; then
9799 cat >>confdefs.h <<\_ACEOF
9800 #define HAVE_LIBNCURSES 1
9801 _ACEOF
9803 CURSESLIBS="-lncurses"
9806 elif test "$ac_cv_header_curses_h" = "yes"
9807 then
9808 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
9809 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
9810 if test "${ac_cv_lib_curses_waddch+set}" = set; then
9811 echo $ECHO_N "(cached) $ECHO_C" >&6
9812 else
9813 ac_check_lib_save_LIBS=$LIBS
9814 LIBS="-lcurses $LIBS"
9815 cat >conftest.$ac_ext <<_ACEOF
9816 /* confdefs.h. */
9817 _ACEOF
9818 cat confdefs.h >>conftest.$ac_ext
9819 cat >>conftest.$ac_ext <<_ACEOF
9820 /* end confdefs.h. */
9822 /* Override any gcc2 internal prototype to avoid an error. */
9823 #ifdef __cplusplus
9824 extern "C"
9825 #endif
9826 /* We use char because int might match the return type of a gcc2
9827 builtin and then its argument prototype would still apply. */
9828 char waddch ();
9830 main ()
9832 waddch ();
9834 return 0;
9836 _ACEOF
9837 rm -f conftest.$ac_objext conftest$ac_exeext
9838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9839 (eval $ac_link) 2>conftest.er1
9840 ac_status=$?
9841 grep -v '^ *+' conftest.er1 >conftest.err
9842 rm -f conftest.er1
9843 cat conftest.err >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); } &&
9846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9848 (eval $ac_try) 2>&5
9849 ac_status=$?
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; } &&
9852 { ac_try='test -s conftest$ac_exeext'
9853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9854 (eval $ac_try) 2>&5
9855 ac_status=$?
9856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9857 (exit $ac_status); }; }; then
9858 ac_cv_lib_curses_waddch=yes
9859 else
9860 echo "$as_me: failed program was:" >&5
9861 sed 's/^/| /' conftest.$ac_ext >&5
9863 ac_cv_lib_curses_waddch=no
9865 rm -f conftest.err conftest.$ac_objext \
9866 conftest$ac_exeext conftest.$ac_ext
9867 LIBS=$ac_check_lib_save_LIBS
9869 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
9870 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
9871 if test $ac_cv_lib_curses_waddch = yes; then
9873 cat >>confdefs.h <<\_ACEOF
9874 #define HAVE_LIBCURSES 1
9875 _ACEOF
9877 CURSESLIBS="-lcurses"
9884 # Extract the first word of "sane-config", so it can be a program name with args.
9885 set dummy sane-config; ac_word=$2
9886 echo "$as_me:$LINENO: checking for $ac_word" >&5
9887 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9888 if test "${ac_cv_prog_sane_devel+set}" = set; then
9889 echo $ECHO_N "(cached) $ECHO_C" >&6
9890 else
9891 if test -n "$sane_devel"; then
9892 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
9893 else
9894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9895 for as_dir in $PATH
9897 IFS=$as_save_IFS
9898 test -z "$as_dir" && as_dir=.
9899 for ac_exec_ext in '' $ac_executable_extensions; do
9900 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9901 ac_cv_prog_sane_devel="sane-config"
9902 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9903 break 2
9905 done
9906 done
9908 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
9911 sane_devel=$ac_cv_prog_sane_devel
9912 if test -n "$sane_devel"; then
9913 echo "$as_me:$LINENO: result: $sane_devel" >&5
9914 echo "${ECHO_T}$sane_devel" >&6
9915 else
9916 echo "$as_me:$LINENO: result: no" >&5
9917 echo "${ECHO_T}no" >&6
9920 SANELIBS=""
9922 SANEINCL=""
9924 if test "$sane_devel" != "no"
9925 then
9926 SANELIBS="`$sane_devel --libs`"
9927 SANEINCL="`$sane_devel --cflags`"
9928 ac_save_CPPFLAGS="$CPPFLAGS"
9929 ac_save_LIBS="$LIBS"
9930 CPPFLAGS="$CPPFLAGS $SANEINCL"
9931 LIBS="$LIBS $SANELIBS"
9932 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9933 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9934 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9935 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9938 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9939 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9940 else
9941 # Is the header compilable?
9942 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
9943 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
9944 cat >conftest.$ac_ext <<_ACEOF
9945 /* confdefs.h. */
9946 _ACEOF
9947 cat confdefs.h >>conftest.$ac_ext
9948 cat >>conftest.$ac_ext <<_ACEOF
9949 /* end confdefs.h. */
9950 $ac_includes_default
9951 #include <sane/sane.h>
9952 _ACEOF
9953 rm -f conftest.$ac_objext
9954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9955 (eval $ac_compile) 2>conftest.er1
9956 ac_status=$?
9957 grep -v '^ *+' conftest.er1 >conftest.err
9958 rm -f conftest.er1
9959 cat conftest.err >&5
9960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9961 (exit $ac_status); } &&
9962 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964 (eval $ac_try) 2>&5
9965 ac_status=$?
9966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9967 (exit $ac_status); }; } &&
9968 { ac_try='test -s conftest.$ac_objext'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 (eval $ac_try) 2>&5
9971 ac_status=$?
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; }; then
9974 ac_header_compiler=yes
9975 else
9976 echo "$as_me: failed program was:" >&5
9977 sed 's/^/| /' conftest.$ac_ext >&5
9979 ac_header_compiler=no
9981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9982 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9983 echo "${ECHO_T}$ac_header_compiler" >&6
9985 # Is the header present?
9986 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9987 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9988 cat >conftest.$ac_ext <<_ACEOF
9989 /* confdefs.h. */
9990 _ACEOF
9991 cat confdefs.h >>conftest.$ac_ext
9992 cat >>conftest.$ac_ext <<_ACEOF
9993 /* end confdefs.h. */
9994 #include <sane/sane.h>
9995 _ACEOF
9996 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9997 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9998 ac_status=$?
9999 grep -v '^ *+' conftest.er1 >conftest.err
10000 rm -f conftest.er1
10001 cat conftest.err >&5
10002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10003 (exit $ac_status); } >/dev/null; then
10004 if test -s conftest.err; then
10005 ac_cpp_err=$ac_c_preproc_warn_flag
10006 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10007 else
10008 ac_cpp_err=
10010 else
10011 ac_cpp_err=yes
10013 if test -z "$ac_cpp_err"; then
10014 ac_header_preproc=yes
10015 else
10016 echo "$as_me: failed program was:" >&5
10017 sed 's/^/| /' conftest.$ac_ext >&5
10019 ac_header_preproc=no
10021 rm -f conftest.err conftest.$ac_ext
10022 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10023 echo "${ECHO_T}$ac_header_preproc" >&6
10025 # So? What about this header?
10026 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10027 yes:no: )
10028 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
10029 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10030 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
10031 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
10032 ac_header_preproc=yes
10034 no:yes:* )
10035 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
10036 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
10037 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
10038 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
10039 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
10040 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
10041 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
10042 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
10043 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
10044 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
10045 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
10046 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
10048 cat <<\_ASBOX
10049 ## ------------------------------------ ##
10050 ## Report this to wine-devel@winehq.org ##
10051 ## ------------------------------------ ##
10052 _ASBOX
10054 sed "s/^/$as_me: WARNING: /" >&2
10056 esac
10057 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
10058 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
10059 if test "${ac_cv_header_sane_sane_h+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10061 else
10062 ac_cv_header_sane_sane_h=$ac_header_preproc
10064 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
10065 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
10068 if test $ac_cv_header_sane_sane_h = yes; then
10069 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
10070 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
10071 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
10072 echo $ECHO_N "(cached) $ECHO_C" >&6
10073 else
10074 ac_check_lib_save_LIBS=$LIBS
10075 LIBS="-lsane $LIBS"
10076 cat >conftest.$ac_ext <<_ACEOF
10077 /* confdefs.h. */
10078 _ACEOF
10079 cat confdefs.h >>conftest.$ac_ext
10080 cat >>conftest.$ac_ext <<_ACEOF
10081 /* end confdefs.h. */
10083 /* Override any gcc2 internal prototype to avoid an error. */
10084 #ifdef __cplusplus
10085 extern "C"
10086 #endif
10087 /* We use char because int might match the return type of a gcc2
10088 builtin and then its argument prototype would still apply. */
10089 char sane_open ();
10091 main ()
10093 sane_open ();
10095 return 0;
10097 _ACEOF
10098 rm -f conftest.$ac_objext conftest$ac_exeext
10099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10100 (eval $ac_link) 2>conftest.er1
10101 ac_status=$?
10102 grep -v '^ *+' conftest.er1 >conftest.err
10103 rm -f conftest.er1
10104 cat conftest.err >&5
10105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10106 (exit $ac_status); } &&
10107 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10109 (eval $ac_try) 2>&5
10110 ac_status=$?
10111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10112 (exit $ac_status); }; } &&
10113 { ac_try='test -s conftest$ac_exeext'
10114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10115 (eval $ac_try) 2>&5
10116 ac_status=$?
10117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10118 (exit $ac_status); }; }; then
10119 ac_cv_lib_sane_sane_open=yes
10120 else
10121 echo "$as_me: failed program was:" >&5
10122 sed 's/^/| /' conftest.$ac_ext >&5
10124 ac_cv_lib_sane_sane_open=no
10126 rm -f conftest.err conftest.$ac_objext \
10127 conftest$ac_exeext conftest.$ac_ext
10128 LIBS=$ac_check_lib_save_LIBS
10130 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
10131 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
10132 if test $ac_cv_lib_sane_sane_open = yes; then
10134 cat >>confdefs.h <<\_ACEOF
10135 #define HAVE_SANE 1
10136 _ACEOF
10138 else
10139 SANELIBS=""
10140 SANEINCL=""
10143 else
10144 SANELIBS=""
10145 SANEINCL=""
10149 LIBS="$ac_save_LIBS"
10150 CPPFLAGS="$ac_save_CPPFLAGS"
10153 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10154 set dummy gphoto2-config; ac_word=$2
10155 echo "$as_me:$LINENO: checking for $ac_word" >&5
10156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10157 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
10158 echo $ECHO_N "(cached) $ECHO_C" >&6
10159 else
10160 if test -n "$gphoto2_devel"; then
10161 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
10162 else
10163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10164 for as_dir in $PATH
10166 IFS=$as_save_IFS
10167 test -z "$as_dir" && as_dir=.
10168 for ac_exec_ext in '' $ac_executable_extensions; do
10169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10170 ac_cv_prog_gphoto2_devel="gphoto2-config"
10171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10172 break 2
10174 done
10175 done
10177 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
10180 gphoto2_devel=$ac_cv_prog_gphoto2_devel
10181 if test -n "$gphoto2_devel"; then
10182 echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
10183 echo "${ECHO_T}$gphoto2_devel" >&6
10184 else
10185 echo "$as_me:$LINENO: result: no" >&5
10186 echo "${ECHO_T}no" >&6
10189 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10190 set dummy gphoto2-port-config; ac_word=$2
10191 echo "$as_me:$LINENO: checking for $ac_word" >&5
10192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10193 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
10194 echo $ECHO_N "(cached) $ECHO_C" >&6
10195 else
10196 if test -n "$gphoto2port_devel"; then
10197 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
10198 else
10199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10200 for as_dir in $PATH
10202 IFS=$as_save_IFS
10203 test -z "$as_dir" && as_dir=.
10204 for ac_exec_ext in '' $ac_executable_extensions; do
10205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10206 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
10207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10208 break 2
10210 done
10211 done
10213 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
10216 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
10217 if test -n "$gphoto2port_devel"; then
10218 echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
10219 echo "${ECHO_T}$gphoto2port_devel" >&6
10220 else
10221 echo "$as_me:$LINENO: result: no" >&5
10222 echo "${ECHO_T}no" >&6
10225 GPHOTO2LIBS=""
10227 GPHOTO2INCL=""
10229 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10230 then
10231 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10232 GPHOTO2LIBS=""
10233 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10235 case "$i" in
10236 -L/usr/lib|-L/usr/lib64) ;;
10237 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
10238 esac
10239 done
10240 ac_save_CPPFLAGS="$CPPFLAGS"
10241 ac_save_LIBS="$LIBS"
10242 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
10243 LIBS="$LIBS $GPHOTO2LIBS"
10244 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10245 echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10246 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6
10247 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10250 echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10251 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6
10252 else
10253 # Is the header compilable?
10254 echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
10255 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6
10256 cat >conftest.$ac_ext <<_ACEOF
10257 /* confdefs.h. */
10258 _ACEOF
10259 cat confdefs.h >>conftest.$ac_ext
10260 cat >>conftest.$ac_ext <<_ACEOF
10261 /* end confdefs.h. */
10262 $ac_includes_default
10263 #include <gphoto2-camera.h>
10264 _ACEOF
10265 rm -f conftest.$ac_objext
10266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10267 (eval $ac_compile) 2>conftest.er1
10268 ac_status=$?
10269 grep -v '^ *+' conftest.er1 >conftest.err
10270 rm -f conftest.er1
10271 cat conftest.err >&5
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); } &&
10274 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10277 ac_status=$?
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; } &&
10280 { ac_try='test -s conftest.$ac_objext'
10281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10282 (eval $ac_try) 2>&5
10283 ac_status=$?
10284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); }; }; then
10286 ac_header_compiler=yes
10287 else
10288 echo "$as_me: failed program was:" >&5
10289 sed 's/^/| /' conftest.$ac_ext >&5
10291 ac_header_compiler=no
10293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10294 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10295 echo "${ECHO_T}$ac_header_compiler" >&6
10297 # Is the header present?
10298 echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
10299 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6
10300 cat >conftest.$ac_ext <<_ACEOF
10301 /* confdefs.h. */
10302 _ACEOF
10303 cat confdefs.h >>conftest.$ac_ext
10304 cat >>conftest.$ac_ext <<_ACEOF
10305 /* end confdefs.h. */
10306 #include <gphoto2-camera.h>
10307 _ACEOF
10308 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10309 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
10310 ac_status=$?
10311 grep -v '^ *+' conftest.er1 >conftest.err
10312 rm -f conftest.er1
10313 cat conftest.err >&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); } >/dev/null; then
10316 if test -s conftest.err; then
10317 ac_cpp_err=$ac_c_preproc_warn_flag
10318 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10319 else
10320 ac_cpp_err=
10322 else
10323 ac_cpp_err=yes
10325 if test -z "$ac_cpp_err"; then
10326 ac_header_preproc=yes
10327 else
10328 echo "$as_me: failed program was:" >&5
10329 sed 's/^/| /' conftest.$ac_ext >&5
10331 ac_header_preproc=no
10333 rm -f conftest.err conftest.$ac_ext
10334 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10335 echo "${ECHO_T}$ac_header_preproc" >&6
10337 # So? What about this header?
10338 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10339 yes:no: )
10340 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
10341 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10342 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
10343 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
10344 ac_header_preproc=yes
10346 no:yes:* )
10347 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
10348 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
10349 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
10350 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
10351 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
10352 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
10353 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
10354 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
10355 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
10356 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
10357 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
10358 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
10360 cat <<\_ASBOX
10361 ## ------------------------------------ ##
10362 ## Report this to wine-devel@winehq.org ##
10363 ## ------------------------------------ ##
10364 _ASBOX
10366 sed "s/^/$as_me: WARNING: /" >&2
10368 esac
10369 echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
10370 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6
10371 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
10372 echo $ECHO_N "(cached) $ECHO_C" >&6
10373 else
10374 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
10376 echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
10377 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6
10380 if test $ac_cv_header_gphoto2_camera_h = yes; then
10381 echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
10382 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6
10383 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
10384 echo $ECHO_N "(cached) $ECHO_C" >&6
10385 else
10386 ac_check_lib_save_LIBS=$LIBS
10387 LIBS="-lgphoto2 $LIBS"
10388 cat >conftest.$ac_ext <<_ACEOF
10389 /* confdefs.h. */
10390 _ACEOF
10391 cat confdefs.h >>conftest.$ac_ext
10392 cat >>conftest.$ac_ext <<_ACEOF
10393 /* end confdefs.h. */
10395 /* Override any gcc2 internal prototype to avoid an error. */
10396 #ifdef __cplusplus
10397 extern "C"
10398 #endif
10399 /* We use char because int might match the return type of a gcc2
10400 builtin and then its argument prototype would still apply. */
10401 char gp_camera_new ();
10403 main ()
10405 gp_camera_new ();
10407 return 0;
10409 _ACEOF
10410 rm -f conftest.$ac_objext conftest$ac_exeext
10411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10412 (eval $ac_link) 2>conftest.er1
10413 ac_status=$?
10414 grep -v '^ *+' conftest.er1 >conftest.err
10415 rm -f conftest.er1
10416 cat conftest.err >&5
10417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10418 (exit $ac_status); } &&
10419 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10421 (eval $ac_try) 2>&5
10422 ac_status=$?
10423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10424 (exit $ac_status); }; } &&
10425 { ac_try='test -s conftest$ac_exeext'
10426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10427 (eval $ac_try) 2>&5
10428 ac_status=$?
10429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10430 (exit $ac_status); }; }; then
10431 ac_cv_lib_gphoto2_gp_camera_new=yes
10432 else
10433 echo "$as_me: failed program was:" >&5
10434 sed 's/^/| /' conftest.$ac_ext >&5
10436 ac_cv_lib_gphoto2_gp_camera_new=no
10438 rm -f conftest.err conftest.$ac_objext \
10439 conftest$ac_exeext conftest.$ac_ext
10440 LIBS=$ac_check_lib_save_LIBS
10442 echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10443 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6
10444 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
10446 cat >>confdefs.h <<\_ACEOF
10447 #define HAVE_GPHOTO2 1
10448 _ACEOF
10450 else
10451 GPHOTO2LIBS=""
10452 GPHOTO2INCL=""
10455 else
10456 GPHOTO2LIBS=""
10457 GPHOTO2INCL=""
10461 LIBS="$ac_save_LIBS"
10462 CPPFLAGS="$ac_save_CPPFLAGS"
10465 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
10466 then
10467 saved_libs="$LIBS"
10468 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
10469 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
10470 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
10471 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
10472 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
10473 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10474 cat >conftest.$ac_ext <<_ACEOF
10475 /* confdefs.h. */
10476 _ACEOF
10477 cat confdefs.h >>conftest.$ac_ext
10478 cat >>conftest.$ac_ext <<_ACEOF
10479 /* end confdefs.h. */
10480 #include <unicode/ubidi.h>
10482 main ()
10484 ubidi_open()
10486 return 0;
10488 _ACEOF
10489 rm -f conftest.$ac_objext conftest$ac_exeext
10490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10491 (eval $ac_link) 2>conftest.er1
10492 ac_status=$?
10493 grep -v '^ *+' conftest.er1 >conftest.err
10494 rm -f conftest.er1
10495 cat conftest.err >&5
10496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10497 (exit $ac_status); } &&
10498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10500 (eval $ac_try) 2>&5
10501 ac_status=$?
10502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10503 (exit $ac_status); }; } &&
10504 { ac_try='test -s conftest$ac_exeext'
10505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10506 (eval $ac_try) 2>&5
10507 ac_status=$?
10508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10509 (exit $ac_status); }; }; then
10511 cat >>confdefs.h <<\_ACEOF
10512 #define HAVE_ICU 1
10513 _ACEOF
10515 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
10517 echo "$as_me:$LINENO: result: yes" >&5
10518 echo "${ECHO_T}yes" >&6
10519 else
10520 echo "$as_me: failed program was:" >&5
10521 sed 's/^/| /' conftest.$ac_ext >&5
10523 echo "$as_me:$LINENO: result: no" >&5
10524 echo "${ECHO_T}no" >&6
10526 rm -f conftest.err conftest.$ac_objext \
10527 conftest$ac_exeext conftest.$ac_ext
10528 LIBS="$saved_libs"
10531 RESOLVLIBS=""
10533 if test "$ac_cv_header_resolv_h" = "yes"
10534 then
10535 echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
10536 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6
10537 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
10538 echo $ECHO_N "(cached) $ECHO_C" >&6
10539 else
10540 ac_check_lib_save_LIBS=$LIBS
10541 LIBS="-lresolv $LIBS"
10542 cat >conftest.$ac_ext <<_ACEOF
10543 /* confdefs.h. */
10544 _ACEOF
10545 cat confdefs.h >>conftest.$ac_ext
10546 cat >>conftest.$ac_ext <<_ACEOF
10547 /* end confdefs.h. */
10549 /* Override any gcc2 internal prototype to avoid an error. */
10550 #ifdef __cplusplus
10551 extern "C"
10552 #endif
10553 /* We use char because int might match the return type of a gcc2
10554 builtin and then its argument prototype would still apply. */
10555 char res_query ();
10557 main ()
10559 res_query ();
10561 return 0;
10563 _ACEOF
10564 rm -f conftest.$ac_objext conftest$ac_exeext
10565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10566 (eval $ac_link) 2>conftest.er1
10567 ac_status=$?
10568 grep -v '^ *+' conftest.er1 >conftest.err
10569 rm -f conftest.er1
10570 cat conftest.err >&5
10571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10572 (exit $ac_status); } &&
10573 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10575 (eval $ac_try) 2>&5
10576 ac_status=$?
10577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10578 (exit $ac_status); }; } &&
10579 { ac_try='test -s conftest$ac_exeext'
10580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10581 (eval $ac_try) 2>&5
10582 ac_status=$?
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 (exit $ac_status); }; }; then
10585 ac_cv_lib_resolv_res_query=yes
10586 else
10587 echo "$as_me: failed program was:" >&5
10588 sed 's/^/| /' conftest.$ac_ext >&5
10590 ac_cv_lib_resolv_res_query=no
10592 rm -f conftest.err conftest.$ac_objext \
10593 conftest$ac_exeext conftest.$ac_ext
10594 LIBS=$ac_check_lib_save_LIBS
10596 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
10597 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6
10598 if test $ac_cv_lib_resolv_res_query = yes; then
10600 cat >>confdefs.h <<\_ACEOF
10601 #define HAVE_RESOLV 1
10602 _ACEOF
10604 RESOLVLIBS="-lresolv"
10609 LCMSLIBS=""
10611 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10612 then
10613 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
10614 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
10615 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
10616 echo $ECHO_N "(cached) $ECHO_C" >&6
10617 else
10618 ac_check_lib_save_LIBS=$LIBS
10619 LIBS="-llcms $LIBS"
10620 cat >conftest.$ac_ext <<_ACEOF
10621 /* confdefs.h. */
10622 _ACEOF
10623 cat confdefs.h >>conftest.$ac_ext
10624 cat >>conftest.$ac_ext <<_ACEOF
10625 /* end confdefs.h. */
10627 /* Override any gcc2 internal prototype to avoid an error. */
10628 #ifdef __cplusplus
10629 extern "C"
10630 #endif
10631 /* We use char because int might match the return type of a gcc2
10632 builtin and then its argument prototype would still apply. */
10633 char cmsOpenProfileFromFile ();
10635 main ()
10637 cmsOpenProfileFromFile ();
10639 return 0;
10641 _ACEOF
10642 rm -f conftest.$ac_objext conftest$ac_exeext
10643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10644 (eval $ac_link) 2>conftest.er1
10645 ac_status=$?
10646 grep -v '^ *+' conftest.er1 >conftest.err
10647 rm -f conftest.er1
10648 cat conftest.err >&5
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); } &&
10651 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10653 (eval $ac_try) 2>&5
10654 ac_status=$?
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; } &&
10657 { ac_try='test -s conftest$ac_exeext'
10658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10659 (eval $ac_try) 2>&5
10660 ac_status=$?
10661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10662 (exit $ac_status); }; }; then
10663 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
10664 else
10665 echo "$as_me: failed program was:" >&5
10666 sed 's/^/| /' conftest.$ac_ext >&5
10668 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
10670 rm -f conftest.err conftest.$ac_objext \
10671 conftest$ac_exeext conftest.$ac_ext
10672 LIBS=$ac_check_lib_save_LIBS
10674 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10675 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
10676 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
10678 cat >>confdefs.h <<\_ACEOF
10679 #define HAVE_LCMS 1
10680 _ACEOF
10682 LCMSLIBS="-llcms"
10687 LDAPLIBS=""
10689 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
10690 then
10691 echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
10692 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6
10693 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
10694 echo $ECHO_N "(cached) $ECHO_C" >&6
10695 else
10696 ac_check_lib_save_LIBS=$LIBS
10697 LIBS="-lldap_r $LIBPTHREAD $LIBS"
10698 cat >conftest.$ac_ext <<_ACEOF
10699 /* confdefs.h. */
10700 _ACEOF
10701 cat confdefs.h >>conftest.$ac_ext
10702 cat >>conftest.$ac_ext <<_ACEOF
10703 /* end confdefs.h. */
10705 /* Override any gcc2 internal prototype to avoid an error. */
10706 #ifdef __cplusplus
10707 extern "C"
10708 #endif
10709 /* We use char because int might match the return type of a gcc2
10710 builtin and then its argument prototype would still apply. */
10711 char ldap_initialize ();
10713 main ()
10715 ldap_initialize ();
10717 return 0;
10719 _ACEOF
10720 rm -f conftest.$ac_objext conftest$ac_exeext
10721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10722 (eval $ac_link) 2>conftest.er1
10723 ac_status=$?
10724 grep -v '^ *+' conftest.er1 >conftest.err
10725 rm -f conftest.er1
10726 cat conftest.err >&5
10727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10728 (exit $ac_status); } &&
10729 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10731 (eval $ac_try) 2>&5
10732 ac_status=$?
10733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10734 (exit $ac_status); }; } &&
10735 { ac_try='test -s conftest$ac_exeext'
10736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10737 (eval $ac_try) 2>&5
10738 ac_status=$?
10739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10740 (exit $ac_status); }; }; then
10741 ac_cv_lib_ldap_r_ldap_initialize=yes
10742 else
10743 echo "$as_me: failed program was:" >&5
10744 sed 's/^/| /' conftest.$ac_ext >&5
10746 ac_cv_lib_ldap_r_ldap_initialize=no
10748 rm -f conftest.err conftest.$ac_objext \
10749 conftest$ac_exeext conftest.$ac_ext
10750 LIBS=$ac_check_lib_save_LIBS
10752 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
10753 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6
10754 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
10755 echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
10756 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6
10757 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
10758 echo $ECHO_N "(cached) $ECHO_C" >&6
10759 else
10760 ac_check_lib_save_LIBS=$LIBS
10761 LIBS="-llber $LIBPTHREAD $LIBS"
10762 cat >conftest.$ac_ext <<_ACEOF
10763 /* confdefs.h. */
10764 _ACEOF
10765 cat confdefs.h >>conftest.$ac_ext
10766 cat >>conftest.$ac_ext <<_ACEOF
10767 /* end confdefs.h. */
10769 /* Override any gcc2 internal prototype to avoid an error. */
10770 #ifdef __cplusplus
10771 extern "C"
10772 #endif
10773 /* We use char because int might match the return type of a gcc2
10774 builtin and then its argument prototype would still apply. */
10775 char ber_init ();
10777 main ()
10779 ber_init ();
10781 return 0;
10783 _ACEOF
10784 rm -f conftest.$ac_objext conftest$ac_exeext
10785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10786 (eval $ac_link) 2>conftest.er1
10787 ac_status=$?
10788 grep -v '^ *+' conftest.er1 >conftest.err
10789 rm -f conftest.er1
10790 cat conftest.err >&5
10791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10792 (exit $ac_status); } &&
10793 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10795 (eval $ac_try) 2>&5
10796 ac_status=$?
10797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10798 (exit $ac_status); }; } &&
10799 { ac_try='test -s conftest$ac_exeext'
10800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10801 (eval $ac_try) 2>&5
10802 ac_status=$?
10803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10804 (exit $ac_status); }; }; then
10805 ac_cv_lib_lber_ber_init=yes
10806 else
10807 echo "$as_me: failed program was:" >&5
10808 sed 's/^/| /' conftest.$ac_ext >&5
10810 ac_cv_lib_lber_ber_init=no
10812 rm -f conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10814 LIBS=$ac_check_lib_save_LIBS
10816 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
10817 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6
10818 if test $ac_cv_lib_lber_ber_init = yes; then
10820 cat >>confdefs.h <<\_ACEOF
10821 #define HAVE_LDAP 1
10822 _ACEOF
10824 LDAPLIBS="-lldap_r -llber"
10829 ac_wine_check_funcs_save_LIBS="$LIBS"
10830 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
10835 for ac_func in \
10836 ldap_count_references \
10837 ldap_first_reference \
10838 ldap_next_reference \
10839 ldap_parse_reference
10841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10842 echo "$as_me:$LINENO: checking for $ac_func" >&5
10843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10844 if eval "test \"\${$as_ac_var+set}\" = set"; then
10845 echo $ECHO_N "(cached) $ECHO_C" >&6
10846 else
10847 cat >conftest.$ac_ext <<_ACEOF
10848 /* confdefs.h. */
10849 _ACEOF
10850 cat confdefs.h >>conftest.$ac_ext
10851 cat >>conftest.$ac_ext <<_ACEOF
10852 /* end confdefs.h. */
10853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10855 #define $ac_func innocuous_$ac_func
10857 /* System header to define __stub macros and hopefully few prototypes,
10858 which can conflict with char $ac_func (); below.
10859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10860 <limits.h> exists even on freestanding compilers. */
10862 #ifdef __STDC__
10863 # include <limits.h>
10864 #else
10865 # include <assert.h>
10866 #endif
10868 #undef $ac_func
10870 /* Override any gcc2 internal prototype to avoid an error. */
10871 #ifdef __cplusplus
10872 extern "C"
10874 #endif
10875 /* We use char because int might match the return type of a gcc2
10876 builtin and then its argument prototype would still apply. */
10877 char $ac_func ();
10878 /* The GNU C library defines this for functions which it implements
10879 to always fail with ENOSYS. Some functions are actually named
10880 something starting with __ and the normal name is an alias. */
10881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10882 choke me
10883 #else
10884 char (*f) () = $ac_func;
10885 #endif
10886 #ifdef __cplusplus
10888 #endif
10891 main ()
10893 return f != $ac_func;
10895 return 0;
10897 _ACEOF
10898 rm -f conftest.$ac_objext conftest$ac_exeext
10899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10900 (eval $ac_link) 2>conftest.er1
10901 ac_status=$?
10902 grep -v '^ *+' conftest.er1 >conftest.err
10903 rm -f conftest.er1
10904 cat conftest.err >&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); } &&
10907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10910 ac_status=$?
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; } &&
10913 { ac_try='test -s conftest$ac_exeext'
10914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10915 (eval $ac_try) 2>&5
10916 ac_status=$?
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); }; }; then
10919 eval "$as_ac_var=yes"
10920 else
10921 echo "$as_me: failed program was:" >&5
10922 sed 's/^/| /' conftest.$ac_ext >&5
10924 eval "$as_ac_var=no"
10926 rm -f conftest.err conftest.$ac_objext \
10927 conftest$ac_exeext conftest.$ac_ext
10929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10930 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10931 if test `eval echo '${'$as_ac_var'}'` = yes; then
10932 cat >>confdefs.h <<_ACEOF
10933 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10934 _ACEOF
10937 done
10939 LIBS="$ac_wine_check_funcs_save_LIBS"
10942 FREETYPELIBS=""
10944 FREETYPEINCL=""
10946 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
10947 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
10948 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10950 else
10951 ac_check_lib_save_LIBS=$LIBS
10952 LIBS="-lfreetype $X_LIBS $LIBS"
10953 cat >conftest.$ac_ext <<_ACEOF
10954 /* confdefs.h. */
10955 _ACEOF
10956 cat confdefs.h >>conftest.$ac_ext
10957 cat >>conftest.$ac_ext <<_ACEOF
10958 /* end confdefs.h. */
10960 /* Override any gcc2 internal prototype to avoid an error. */
10961 #ifdef __cplusplus
10962 extern "C"
10963 #endif
10964 /* We use char because int might match the return type of a gcc2
10965 builtin and then its argument prototype would still apply. */
10966 char FT_Init_FreeType ();
10968 main ()
10970 FT_Init_FreeType ();
10972 return 0;
10974 _ACEOF
10975 rm -f conftest.$ac_objext conftest$ac_exeext
10976 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10977 (eval $ac_link) 2>conftest.er1
10978 ac_status=$?
10979 grep -v '^ *+' conftest.er1 >conftest.err
10980 rm -f conftest.er1
10981 cat conftest.err >&5
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); } &&
10984 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10986 (eval $ac_try) 2>&5
10987 ac_status=$?
10988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10989 (exit $ac_status); }; } &&
10990 { ac_try='test -s conftest$ac_exeext'
10991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10992 (eval $ac_try) 2>&5
10993 ac_status=$?
10994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10995 (exit $ac_status); }; }; then
10996 ac_cv_lib_freetype_FT_Init_FreeType=yes
10997 else
10998 echo "$as_me: failed program was:" >&5
10999 sed 's/^/| /' conftest.$ac_ext >&5
11001 ac_cv_lib_freetype_FT_Init_FreeType=no
11003 rm -f conftest.err conftest.$ac_objext \
11004 conftest$ac_exeext conftest.$ac_ext
11005 LIBS=$ac_check_lib_save_LIBS
11007 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
11008 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
11009 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
11010 ft_lib=yes
11011 else
11012 ft_lib=no
11015 if test "$ft_lib" = "no"
11016 then
11017 wine_cv_msg_freetype=no
11018 else
11019 # Extract the first word of "freetype-config", so it can be a program name with args.
11020 set dummy freetype-config; ac_word=$2
11021 echo "$as_me:$LINENO: checking for $ac_word" >&5
11022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11023 if test "${ac_cv_prog_ft_devel+set}" = set; then
11024 echo $ECHO_N "(cached) $ECHO_C" >&6
11025 else
11026 if test -n "$ft_devel"; then
11027 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
11028 else
11029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11030 for as_dir in $PATH
11032 IFS=$as_save_IFS
11033 test -z "$as_dir" && as_dir=.
11034 for ac_exec_ext in '' $ac_executable_extensions; do
11035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11036 ac_cv_prog_ft_devel="freetype-config"
11037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11038 break 2
11040 done
11041 done
11043 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
11046 ft_devel=$ac_cv_prog_ft_devel
11047 if test -n "$ft_devel"; then
11048 echo "$as_me:$LINENO: result: $ft_devel" >&5
11049 echo "${ECHO_T}$ft_devel" >&6
11050 else
11051 echo "$as_me:$LINENO: result: no" >&5
11052 echo "${ECHO_T}no" >&6
11055 if test "$ft_devel" = "no"
11056 then
11057 # Extract the first word of "freetype2-config", so it can be a program name with args.
11058 set dummy freetype2-config; ac_word=$2
11059 echo "$as_me:$LINENO: checking for $ac_word" >&5
11060 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11061 if test "${ac_cv_prog_ft_devel2+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11063 else
11064 if test -n "$ft_devel2"; then
11065 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
11066 else
11067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11068 for as_dir in $PATH
11070 IFS=$as_save_IFS
11071 test -z "$as_dir" && as_dir=.
11072 for ac_exec_ext in '' $ac_executable_extensions; do
11073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11074 ac_cv_prog_ft_devel2="freetype2-config"
11075 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11076 break 2
11078 done
11079 done
11081 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
11084 ft_devel2=$ac_cv_prog_ft_devel2
11085 if test -n "$ft_devel2"; then
11086 echo "$as_me:$LINENO: result: $ft_devel2" >&5
11087 echo "${ECHO_T}$ft_devel2" >&6
11088 else
11089 echo "$as_me:$LINENO: result: no" >&5
11090 echo "${ECHO_T}no" >&6
11093 if test "$ft_devel2" = "freetype2-config"
11094 then
11095 ft_devel=$ft_devel2
11098 if test "$ft_devel" = "no"
11099 then
11100 wine_cv_msg_freetype=yes
11101 else
11102 FREETYPELIBS=`$ft_devel --libs`
11103 FREETYPEINCL=`$ft_devel --cflags`
11104 ac_save_CPPFLAGS="$CPPFLAGS"
11105 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
11117 for ac_header in ft2build.h \
11118 freetype/freetype.h \
11119 freetype/ftglyph.h \
11120 freetype/tttables.h \
11121 freetype/ftnames.h \
11122 freetype/ftsnames.h \
11123 freetype/ttnameid.h \
11124 freetype/ftoutln.h \
11125 freetype/ftwinfnt.h \
11126 freetype/ftmodapi.h \
11127 freetype/internal/sfnt.h
11129 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
11130 echo "$as_me:$LINENO: checking for $ac_header" >&5
11131 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
11132 if eval "test \"\${$as_ac_Header+set}\" = set"; then
11133 echo $ECHO_N "(cached) $ECHO_C" >&6
11134 else
11135 cat >conftest.$ac_ext <<_ACEOF
11136 /* confdefs.h. */
11137 _ACEOF
11138 cat confdefs.h >>conftest.$ac_ext
11139 cat >>conftest.$ac_ext <<_ACEOF
11140 /* end confdefs.h. */
11141 #if HAVE_FT2BUILD_H
11142 #include <ft2build.h>
11143 #endif
11145 #include <$ac_header>
11146 _ACEOF
11147 rm -f conftest.$ac_objext
11148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11149 (eval $ac_compile) 2>conftest.er1
11150 ac_status=$?
11151 grep -v '^ *+' conftest.er1 >conftest.err
11152 rm -f conftest.er1
11153 cat conftest.err >&5
11154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11155 (exit $ac_status); } &&
11156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11158 (eval $ac_try) 2>&5
11159 ac_status=$?
11160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11161 (exit $ac_status); }; } &&
11162 { ac_try='test -s conftest.$ac_objext'
11163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11164 (eval $ac_try) 2>&5
11165 ac_status=$?
11166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11167 (exit $ac_status); }; }; then
11168 eval "$as_ac_Header=yes"
11169 else
11170 echo "$as_me: failed program was:" >&5
11171 sed 's/^/| /' conftest.$ac_ext >&5
11173 eval "$as_ac_Header=no"
11175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
11178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
11179 if test `eval echo '${'$as_ac_Header'}'` = yes; then
11180 cat >>confdefs.h <<_ACEOF
11181 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
11182 _ACEOF
11186 done
11188 cat >conftest.$ac_ext <<_ACEOF
11189 /* confdefs.h. */
11190 _ACEOF
11191 cat confdefs.h >>conftest.$ac_ext
11192 cat >>conftest.$ac_ext <<_ACEOF
11193 /* end confdefs.h. */
11194 #include <ft2build.h>
11195 #include <freetype/fttrigon.h>
11196 _ACEOF
11197 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
11198 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
11199 ac_status=$?
11200 grep -v '^ *+' conftest.er1 >conftest.err
11201 rm -f conftest.er1
11202 cat conftest.err >&5
11203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11204 (exit $ac_status); } >/dev/null; then
11205 if test -s conftest.err; then
11206 ac_cpp_err=$ac_c_preproc_warn_flag
11207 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11208 else
11209 ac_cpp_err=
11211 else
11212 ac_cpp_err=yes
11214 if test -z "$ac_cpp_err"; then
11216 cat >>confdefs.h <<\_ACEOF
11217 #define HAVE_FREETYPE_FTTRIGON_H 1
11218 _ACEOF
11220 wine_cv_fttrigon=yes
11221 else
11222 echo "$as_me: failed program was:" >&5
11223 sed 's/^/| /' conftest.$ac_ext >&5
11225 wine_cv_fttrigon=no
11227 rm -f conftest.err conftest.$ac_ext
11228 echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
11229 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6
11230 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
11231 echo $ECHO_N "(cached) $ECHO_C" >&6
11232 else
11233 cat >conftest.$ac_ext <<_ACEOF
11234 /* confdefs.h. */
11235 _ACEOF
11236 cat confdefs.h >>conftest.$ac_ext
11237 cat >>conftest.$ac_ext <<_ACEOF
11238 /* end confdefs.h. */
11239 #include <freetype/ftmodapi.h>
11242 main ()
11244 if ((FT_TrueTypeEngineType *) 0)
11245 return 0;
11246 if (sizeof (FT_TrueTypeEngineType))
11247 return 0;
11249 return 0;
11251 _ACEOF
11252 rm -f conftest.$ac_objext
11253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11254 (eval $ac_compile) 2>conftest.er1
11255 ac_status=$?
11256 grep -v '^ *+' conftest.er1 >conftest.err
11257 rm -f conftest.er1
11258 cat conftest.err >&5
11259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11260 (exit $ac_status); } &&
11261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11263 (eval $ac_try) 2>&5
11264 ac_status=$?
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); }; } &&
11267 { ac_try='test -s conftest.$ac_objext'
11268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11269 (eval $ac_try) 2>&5
11270 ac_status=$?
11271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11272 (exit $ac_status); }; }; then
11273 ac_cv_type_FT_TrueTypeEngineType=yes
11274 else
11275 echo "$as_me: failed program was:" >&5
11276 sed 's/^/| /' conftest.$ac_ext >&5
11278 ac_cv_type_FT_TrueTypeEngineType=no
11280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11282 echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
11283 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6
11284 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
11286 cat >>confdefs.h <<_ACEOF
11287 #define HAVE_FT_TRUETYPEENGINETYPE 1
11288 _ACEOF
11293 ac_save_CFLAGS="$CFLAGS"
11294 CFLAGS="$CFLAGS $FREETYPELIBS"
11296 for ac_func in FT_Load_Sfnt_Table
11298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11299 echo "$as_me:$LINENO: checking for $ac_func" >&5
11300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11301 if eval "test \"\${$as_ac_var+set}\" = set"; then
11302 echo $ECHO_N "(cached) $ECHO_C" >&6
11303 else
11304 cat >conftest.$ac_ext <<_ACEOF
11305 /* confdefs.h. */
11306 _ACEOF
11307 cat confdefs.h >>conftest.$ac_ext
11308 cat >>conftest.$ac_ext <<_ACEOF
11309 /* end confdefs.h. */
11310 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11311 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11312 #define $ac_func innocuous_$ac_func
11314 /* System header to define __stub macros and hopefully few prototypes,
11315 which can conflict with char $ac_func (); below.
11316 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11317 <limits.h> exists even on freestanding compilers. */
11319 #ifdef __STDC__
11320 # include <limits.h>
11321 #else
11322 # include <assert.h>
11323 #endif
11325 #undef $ac_func
11327 /* Override any gcc2 internal prototype to avoid an error. */
11328 #ifdef __cplusplus
11329 extern "C"
11331 #endif
11332 /* We use char because int might match the return type of a gcc2
11333 builtin and then its argument prototype would still apply. */
11334 char $ac_func ();
11335 /* The GNU C library defines this for functions which it implements
11336 to always fail with ENOSYS. Some functions are actually named
11337 something starting with __ and the normal name is an alias. */
11338 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11339 choke me
11340 #else
11341 char (*f) () = $ac_func;
11342 #endif
11343 #ifdef __cplusplus
11345 #endif
11348 main ()
11350 return f != $ac_func;
11352 return 0;
11354 _ACEOF
11355 rm -f conftest.$ac_objext conftest$ac_exeext
11356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11357 (eval $ac_link) 2>conftest.er1
11358 ac_status=$?
11359 grep -v '^ *+' conftest.er1 >conftest.err
11360 rm -f conftest.er1
11361 cat conftest.err >&5
11362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11363 (exit $ac_status); } &&
11364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11366 (eval $ac_try) 2>&5
11367 ac_status=$?
11368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11369 (exit $ac_status); }; } &&
11370 { ac_try='test -s conftest$ac_exeext'
11371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11372 (eval $ac_try) 2>&5
11373 ac_status=$?
11374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11375 (exit $ac_status); }; }; then
11376 eval "$as_ac_var=yes"
11377 else
11378 echo "$as_me: failed program was:" >&5
11379 sed 's/^/| /' conftest.$ac_ext >&5
11381 eval "$as_ac_var=no"
11383 rm -f conftest.err conftest.$ac_objext \
11384 conftest$ac_exeext conftest.$ac_ext
11386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11388 if test `eval echo '${'$as_ac_var'}'` = yes; then
11389 cat >>confdefs.h <<_ACEOF
11390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11391 _ACEOF
11394 done
11396 CFLAGS="$ac_save_CFLAGS"
11397 CPPFLAGS="$ac_save_CPPFLAGS"
11398 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11399 then
11401 cat >>confdefs.h <<\_ACEOF
11402 #define HAVE_FREETYPE 1
11403 _ACEOF
11405 wine_cv_msg_freetype=no
11406 else
11407 FREETYPELIBS=""
11408 FREETYPEINCL=""
11409 wine_cv_msg_freetype=yes
11414 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
11415 then
11416 FONTSSUBDIRS="fonts"
11418 wine_cv_msg_fonts=no
11419 else
11420 wine_cv_msg_fonts=yes
11423 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
11424 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
11425 if test "${ac_cv_c_ppdev+set}" = set; then
11426 echo $ECHO_N "(cached) $ECHO_C" >&6
11427 else
11428 cat >conftest.$ac_ext <<_ACEOF
11429 /* confdefs.h. */
11430 _ACEOF
11431 cat confdefs.h >>conftest.$ac_ext
11432 cat >>conftest.$ac_ext <<_ACEOF
11433 /* end confdefs.h. */
11434 #include <linux/ppdev.h>
11436 main ()
11438 ioctl (1,PPCLAIM,0)
11440 return 0;
11442 _ACEOF
11443 rm -f conftest.$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11446 ac_status=$?
11447 grep -v '^ *+' conftest.er1 >conftest.err
11448 rm -f conftest.er1
11449 cat conftest.err >&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11454 (eval $ac_try) 2>&5
11455 ac_status=$?
11456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11457 (exit $ac_status); }; } &&
11458 { ac_try='test -s conftest.$ac_objext'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11461 ac_status=$?
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; }; then
11464 ac_cv_c_ppdev="yes"
11465 else
11466 echo "$as_me: failed program was:" >&5
11467 sed 's/^/| /' conftest.$ac_ext >&5
11469 ac_cv_c_ppdev="no"
11471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11474 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
11475 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
11476 if test "$ac_cv_c_ppdev" = "yes"
11477 then
11479 cat >>confdefs.h <<\_ACEOF
11480 #define HAVE_PPDEV 1
11481 _ACEOF
11485 echo "$as_me:$LINENO: checking for va_copy" >&5
11486 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
11487 if test "${ac_cv_c_va_copy+set}" = set; then
11488 echo $ECHO_N "(cached) $ECHO_C" >&6
11489 else
11490 cat >conftest.$ac_ext <<_ACEOF
11491 /* confdefs.h. */
11492 _ACEOF
11493 cat confdefs.h >>conftest.$ac_ext
11494 cat >>conftest.$ac_ext <<_ACEOF
11495 /* end confdefs.h. */
11496 #include <stdarg.h>
11498 main ()
11500 va_list ap1, ap2;
11501 va_copy(ap1,ap2);
11504 return 0;
11506 _ACEOF
11507 rm -f conftest.$ac_objext conftest$ac_exeext
11508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11509 (eval $ac_link) 2>conftest.er1
11510 ac_status=$?
11511 grep -v '^ *+' conftest.er1 >conftest.err
11512 rm -f conftest.er1
11513 cat conftest.err >&5
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); } &&
11516 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11518 (eval $ac_try) 2>&5
11519 ac_status=$?
11520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11521 (exit $ac_status); }; } &&
11522 { ac_try='test -s conftest$ac_exeext'
11523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11524 (eval $ac_try) 2>&5
11525 ac_status=$?
11526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11527 (exit $ac_status); }; }; then
11528 ac_cv_c_va_copy="yes"
11529 else
11530 echo "$as_me: failed program was:" >&5
11531 sed 's/^/| /' conftest.$ac_ext >&5
11533 ac_cv_c_va_copy="no"
11535 rm -f conftest.err conftest.$ac_objext \
11536 conftest$ac_exeext conftest.$ac_ext
11539 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
11540 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
11541 if test "$ac_cv_c_va_copy" = "yes"
11542 then
11544 cat >>confdefs.h <<\_ACEOF
11545 #define HAVE_VA_COPY 1
11546 _ACEOF
11549 echo "$as_me:$LINENO: checking for __va_copy" >&5
11550 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
11551 if test "${ac_cv_c___va_copy+set}" = set; then
11552 echo $ECHO_N "(cached) $ECHO_C" >&6
11553 else
11554 cat >conftest.$ac_ext <<_ACEOF
11555 /* confdefs.h. */
11556 _ACEOF
11557 cat confdefs.h >>conftest.$ac_ext
11558 cat >>conftest.$ac_ext <<_ACEOF
11559 /* end confdefs.h. */
11560 #include <stdarg.h>
11562 main ()
11564 va_list ap1, ap2;
11565 __va_copy(ap1,ap2);
11568 return 0;
11570 _ACEOF
11571 rm -f conftest.$ac_objext conftest$ac_exeext
11572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11573 (eval $ac_link) 2>conftest.er1
11574 ac_status=$?
11575 grep -v '^ *+' conftest.er1 >conftest.err
11576 rm -f conftest.er1
11577 cat conftest.err >&5
11578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11579 (exit $ac_status); } &&
11580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11582 (eval $ac_try) 2>&5
11583 ac_status=$?
11584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11585 (exit $ac_status); }; } &&
11586 { ac_try='test -s conftest$ac_exeext'
11587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11588 (eval $ac_try) 2>&5
11589 ac_status=$?
11590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11591 (exit $ac_status); }; }; then
11592 ac_cv_c___va_copy="yes"
11593 else
11594 echo "$as_me: failed program was:" >&5
11595 sed 's/^/| /' conftest.$ac_ext >&5
11597 ac_cv_c___va_copy="no"
11599 rm -f conftest.err conftest.$ac_objext \
11600 conftest$ac_exeext conftest.$ac_ext
11603 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
11604 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
11605 if test "$ac_cv_c___va_copy" = "yes"
11606 then
11608 cat >>confdefs.h <<\_ACEOF
11609 #define HAVE___VA_COPY 1
11610 _ACEOF
11614 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
11615 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
11616 if test "${ac_cv_c_sigsetjmp+set}" = set; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 else
11619 cat >conftest.$ac_ext <<_ACEOF
11620 /* confdefs.h. */
11621 _ACEOF
11622 cat confdefs.h >>conftest.$ac_ext
11623 cat >>conftest.$ac_ext <<_ACEOF
11624 /* end confdefs.h. */
11625 #include <setjmp.h>
11627 main ()
11629 sigjmp_buf buf;
11630 sigsetjmp( buf, 1 );
11631 siglongjmp( buf, 1 );
11633 return 0;
11635 _ACEOF
11636 rm -f conftest.$ac_objext conftest$ac_exeext
11637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11638 (eval $ac_link) 2>conftest.er1
11639 ac_status=$?
11640 grep -v '^ *+' conftest.er1 >conftest.err
11641 rm -f conftest.er1
11642 cat conftest.err >&5
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); } &&
11645 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 (eval $ac_try) 2>&5
11648 ac_status=$?
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; } &&
11651 { ac_try='test -s conftest$ac_exeext'
11652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11653 (eval $ac_try) 2>&5
11654 ac_status=$?
11655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11656 (exit $ac_status); }; }; then
11657 ac_cv_c_sigsetjmp="yes"
11658 else
11659 echo "$as_me: failed program was:" >&5
11660 sed 's/^/| /' conftest.$ac_ext >&5
11662 ac_cv_c_sigsetjmp="no"
11664 rm -f conftest.err conftest.$ac_objext \
11665 conftest$ac_exeext conftest.$ac_ext
11668 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
11669 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
11670 if test "$ac_cv_c_sigsetjmp" = "yes"
11671 then
11673 cat >>confdefs.h <<\_ACEOF
11674 #define HAVE_SIGSETJMP 1
11675 _ACEOF
11679 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
11680 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
11681 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
11682 echo $ECHO_N "(cached) $ECHO_C" >&6
11683 else
11684 cat >conftest.$ac_ext <<_ACEOF
11685 /* confdefs.h. */
11686 _ACEOF
11687 cat confdefs.h >>conftest.$ac_ext
11688 cat >>conftest.$ac_ext <<_ACEOF
11689 /* end confdefs.h. */
11690 #define _GNU_SOURCE
11691 #include <pthread.h>
11694 main ()
11696 if ((pthread_rwlock_t *) 0)
11697 return 0;
11698 if (sizeof (pthread_rwlock_t))
11699 return 0;
11701 return 0;
11703 _ACEOF
11704 rm -f conftest.$ac_objext
11705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11706 (eval $ac_compile) 2>conftest.er1
11707 ac_status=$?
11708 grep -v '^ *+' conftest.er1 >conftest.err
11709 rm -f conftest.er1
11710 cat conftest.err >&5
11711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11712 (exit $ac_status); } &&
11713 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11715 (eval $ac_try) 2>&5
11716 ac_status=$?
11717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11718 (exit $ac_status); }; } &&
11719 { ac_try='test -s conftest.$ac_objext'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11722 ac_status=$?
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; }; then
11725 ac_cv_type_pthread_rwlock_t=yes
11726 else
11727 echo "$as_me: failed program was:" >&5
11728 sed 's/^/| /' conftest.$ac_ext >&5
11730 ac_cv_type_pthread_rwlock_t=no
11732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11734 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
11735 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
11736 if test $ac_cv_type_pthread_rwlock_t = yes; then
11738 cat >>confdefs.h <<_ACEOF
11739 #define HAVE_PTHREAD_RWLOCK_T 1
11740 _ACEOF
11744 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
11745 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
11746 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11748 else
11749 cat >conftest.$ac_ext <<_ACEOF
11750 /* confdefs.h. */
11751 _ACEOF
11752 cat confdefs.h >>conftest.$ac_ext
11753 cat >>conftest.$ac_ext <<_ACEOF
11754 /* end confdefs.h. */
11755 #define _GNU_SOURCE
11756 #include <pthread.h>
11759 main ()
11761 if ((pthread_rwlockattr_t *) 0)
11762 return 0;
11763 if (sizeof (pthread_rwlockattr_t))
11764 return 0;
11766 return 0;
11768 _ACEOF
11769 rm -f conftest.$ac_objext
11770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11771 (eval $ac_compile) 2>conftest.er1
11772 ac_status=$?
11773 grep -v '^ *+' conftest.er1 >conftest.err
11774 rm -f conftest.er1
11775 cat conftest.err >&5
11776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11777 (exit $ac_status); } &&
11778 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11780 (eval $ac_try) 2>&5
11781 ac_status=$?
11782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11783 (exit $ac_status); }; } &&
11784 { ac_try='test -s conftest.$ac_objext'
11785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11786 (eval $ac_try) 2>&5
11787 ac_status=$?
11788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11789 (exit $ac_status); }; }; then
11790 ac_cv_type_pthread_rwlockattr_t=yes
11791 else
11792 echo "$as_me: failed program was:" >&5
11793 sed 's/^/| /' conftest.$ac_ext >&5
11795 ac_cv_type_pthread_rwlockattr_t=no
11797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11799 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
11800 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
11801 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
11803 cat >>confdefs.h <<_ACEOF
11804 #define HAVE_PTHREAD_RWLOCKATTR_T 1
11805 _ACEOF
11811 ac_wine_check_funcs_save_LIBS="$LIBS"
11812 LIBS="$LIBS $LIBPTHREAD"
11816 for ac_func in \
11817 pthread_getattr_np \
11818 pthread_get_stackaddr_np \
11819 pthread_get_stacksize_np
11821 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11822 echo "$as_me:$LINENO: checking for $ac_func" >&5
11823 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11824 if eval "test \"\${$as_ac_var+set}\" = set"; then
11825 echo $ECHO_N "(cached) $ECHO_C" >&6
11826 else
11827 cat >conftest.$ac_ext <<_ACEOF
11828 /* confdefs.h. */
11829 _ACEOF
11830 cat confdefs.h >>conftest.$ac_ext
11831 cat >>conftest.$ac_ext <<_ACEOF
11832 /* end confdefs.h. */
11833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11835 #define $ac_func innocuous_$ac_func
11837 /* System header to define __stub macros and hopefully few prototypes,
11838 which can conflict with char $ac_func (); below.
11839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11840 <limits.h> exists even on freestanding compilers. */
11842 #ifdef __STDC__
11843 # include <limits.h>
11844 #else
11845 # include <assert.h>
11846 #endif
11848 #undef $ac_func
11850 /* Override any gcc2 internal prototype to avoid an error. */
11851 #ifdef __cplusplus
11852 extern "C"
11854 #endif
11855 /* We use char because int might match the return type of a gcc2
11856 builtin and then its argument prototype would still apply. */
11857 char $ac_func ();
11858 /* The GNU C library defines this for functions which it implements
11859 to always fail with ENOSYS. Some functions are actually named
11860 something starting with __ and the normal name is an alias. */
11861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11862 choke me
11863 #else
11864 char (*f) () = $ac_func;
11865 #endif
11866 #ifdef __cplusplus
11868 #endif
11871 main ()
11873 return f != $ac_func;
11875 return 0;
11877 _ACEOF
11878 rm -f conftest.$ac_objext conftest$ac_exeext
11879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11880 (eval $ac_link) 2>conftest.er1
11881 ac_status=$?
11882 grep -v '^ *+' conftest.er1 >conftest.err
11883 rm -f conftest.er1
11884 cat conftest.err >&5
11885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11886 (exit $ac_status); } &&
11887 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11889 (eval $ac_try) 2>&5
11890 ac_status=$?
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); }; } &&
11893 { ac_try='test -s conftest$ac_exeext'
11894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11895 (eval $ac_try) 2>&5
11896 ac_status=$?
11897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11898 (exit $ac_status); }; }; then
11899 eval "$as_ac_var=yes"
11900 else
11901 echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.$ac_ext >&5
11904 eval "$as_ac_var=no"
11906 rm -f conftest.err conftest.$ac_objext \
11907 conftest$ac_exeext conftest.$ac_ext
11909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11911 if test `eval echo '${'$as_ac_var'}'` = yes; then
11912 cat >>confdefs.h <<_ACEOF
11913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11914 _ACEOF
11917 done
11919 LIBS="$ac_wine_check_funcs_save_LIBS"
11921 # Extract the first word of "artsc-config", so it can be a program name with args.
11922 set dummy artsc-config; ac_word=$2
11923 echo "$as_me:$LINENO: checking for $ac_word" >&5
11924 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11925 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
11926 echo $ECHO_N "(cached) $ECHO_C" >&6
11927 else
11928 case $ARTSCCONFIG in
11929 [\\/]* | ?:[\\/]*)
11930 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
11933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11934 for as_dir in $PATH
11936 IFS=$as_save_IFS
11937 test -z "$as_dir" && as_dir=.
11938 for ac_exec_ext in '' $ac_executable_extensions; do
11939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11940 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
11941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11942 break 2
11944 done
11945 done
11948 esac
11950 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
11952 if test -n "$ARTSCCONFIG"; then
11953 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
11954 echo "${ECHO_T}$ARTSCCONFIG" >&6
11955 else
11956 echo "$as_me:$LINENO: result: no" >&5
11957 echo "${ECHO_T}no" >&6
11960 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
11961 then
11962 ARTSC_CFLAGS=""
11963 for i in `$ARTSCCONFIG --cflags`
11965 case "$i" in
11966 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
11967 esac
11968 done
11969 ARTSC_LIBS=""
11970 for i in `$ARTSCCONFIG --libs`
11972 case "$i" in
11973 -L/usr/lib|-L/usr/lib64) ;;
11974 -L*|-l*) ARTSC_LIBS="$ARTSC_LIBS $i";;
11975 esac
11976 done
11977 save_CFLAGS="$CFLAGS"
11978 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
11979 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
11980 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
11981 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
11982 echo $ECHO_N "(cached) $ECHO_C" >&6
11983 else
11984 ac_check_lib_save_LIBS=$LIBS
11985 LIBS="-lartsc $ARTSC_LIBS $LIBS"
11986 cat >conftest.$ac_ext <<_ACEOF
11987 /* confdefs.h. */
11988 _ACEOF
11989 cat confdefs.h >>conftest.$ac_ext
11990 cat >>conftest.$ac_ext <<_ACEOF
11991 /* end confdefs.h. */
11993 /* Override any gcc2 internal prototype to avoid an error. */
11994 #ifdef __cplusplus
11995 extern "C"
11996 #endif
11997 /* We use char because int might match the return type of a gcc2
11998 builtin and then its argument prototype would still apply. */
11999 char arts_init ();
12001 main ()
12003 arts_init ();
12005 return 0;
12007 _ACEOF
12008 rm -f conftest.$ac_objext conftest$ac_exeext
12009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12010 (eval $ac_link) 2>conftest.er1
12011 ac_status=$?
12012 grep -v '^ *+' conftest.er1 >conftest.err
12013 rm -f conftest.er1
12014 cat conftest.err >&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); } &&
12017 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12020 ac_status=$?
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; } &&
12023 { ac_try='test -s conftest$ac_exeext'
12024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12025 (eval $ac_try) 2>&5
12026 ac_status=$?
12027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12028 (exit $ac_status); }; }; then
12029 ac_cv_lib_artsc_arts_init=yes
12030 else
12031 echo "$as_me: failed program was:" >&5
12032 sed 's/^/| /' conftest.$ac_ext >&5
12034 ac_cv_lib_artsc_arts_init=no
12036 rm -f conftest.err conftest.$ac_objext \
12037 conftest$ac_exeext conftest.$ac_ext
12038 LIBS=$ac_check_lib_save_LIBS
12040 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
12041 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
12042 if test $ac_cv_lib_artsc_arts_init = yes; then
12043 cat >conftest.$ac_ext <<_ACEOF
12044 /* confdefs.h. */
12045 _ACEOF
12046 cat confdefs.h >>conftest.$ac_ext
12047 cat >>conftest.$ac_ext <<_ACEOF
12048 /* end confdefs.h. */
12049 #include <artsc.h>
12051 main ()
12053 arts_stream_t stream;
12055 return 0;
12057 _ACEOF
12058 rm -f conftest.$ac_objext
12059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12060 (eval $ac_compile) 2>conftest.er1
12061 ac_status=$?
12062 grep -v '^ *+' conftest.er1 >conftest.err
12063 rm -f conftest.er1
12064 cat conftest.err >&5
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); } &&
12067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try='test -s conftest.$ac_objext'
12074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075 (eval $ac_try) 2>&5
12076 ac_status=$?
12077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12078 (exit $ac_status); }; }; then
12079 ARTSLIBS=$ARTSC_LIBS
12081 ARTSINCL=$ARTSC_CFLAGS
12084 cat >>confdefs.h <<\_ACEOF
12085 #define HAVE_ARTS 1
12086 _ACEOF
12088 else
12089 echo "$as_me: failed program was:" >&5
12090 sed 's/^/| /' conftest.$ac_ext >&5
12093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12096 CFLAGS="$save_CFLAGS"
12099 # Extract the first word of "esd-config", so it can be a program name with args.
12100 set dummy esd-config; ac_word=$2
12101 echo "$as_me:$LINENO: checking for $ac_word" >&5
12102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12103 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 else
12106 case $ESDCONFIG in
12107 [\\/]* | ?:[\\/]*)
12108 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
12111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12112 for as_dir in $PATH
12114 IFS=$as_save_IFS
12115 test -z "$as_dir" && as_dir=.
12116 for ac_exec_ext in '' $ac_executable_extensions; do
12117 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12118 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
12119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12120 break 2
12122 done
12123 done
12126 esac
12128 ESDCONFIG=$ac_cv_path_ESDCONFIG
12130 if test -n "$ESDCONFIG"; then
12131 echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
12132 echo "${ECHO_T}$ESDCONFIG" >&6
12133 else
12134 echo "$as_me:$LINENO: result: no" >&5
12135 echo "${ECHO_T}no" >&6
12138 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
12139 then
12140 ESD_CFLAGS=""
12141 for i in `$ESDCONFIG --cflags`
12143 case "$i" in
12144 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
12145 esac
12146 done
12147 ESD_LIBS=`$ESDCONFIG --libs`
12148 save_CFLAGS="$CFLAGS"
12149 CFLAGS="$CFLAGS $ESD_CFLAGS"
12150 echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
12151 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6
12152 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
12153 echo $ECHO_N "(cached) $ECHO_C" >&6
12154 else
12155 ac_check_lib_save_LIBS=$LIBS
12156 LIBS="-lesd $LIBS"
12157 cat >conftest.$ac_ext <<_ACEOF
12158 /* confdefs.h. */
12159 _ACEOF
12160 cat confdefs.h >>conftest.$ac_ext
12161 cat >>conftest.$ac_ext <<_ACEOF
12162 /* end confdefs.h. */
12164 /* Override any gcc2 internal prototype to avoid an error. */
12165 #ifdef __cplusplus
12166 extern "C"
12167 #endif
12168 /* We use char because int might match the return type of a gcc2
12169 builtin and then its argument prototype would still apply. */
12170 char esd_open_sound ();
12172 main ()
12174 esd_open_sound ();
12176 return 0;
12178 _ACEOF
12179 rm -f conftest.$ac_objext conftest$ac_exeext
12180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12181 (eval $ac_link) 2>conftest.er1
12182 ac_status=$?
12183 grep -v '^ *+' conftest.er1 >conftest.err
12184 rm -f conftest.er1
12185 cat conftest.err >&5
12186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12187 (exit $ac_status); } &&
12188 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12190 (eval $ac_try) 2>&5
12191 ac_status=$?
12192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12193 (exit $ac_status); }; } &&
12194 { ac_try='test -s conftest$ac_exeext'
12195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12196 (eval $ac_try) 2>&5
12197 ac_status=$?
12198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12199 (exit $ac_status); }; }; then
12200 ac_cv_lib_esd_esd_open_sound=yes
12201 else
12202 echo "$as_me: failed program was:" >&5
12203 sed 's/^/| /' conftest.$ac_ext >&5
12205 ac_cv_lib_esd_esd_open_sound=no
12207 rm -f conftest.err conftest.$ac_objext \
12208 conftest$ac_exeext conftest.$ac_ext
12209 LIBS=$ac_check_lib_save_LIBS
12211 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
12212 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6
12213 if test $ac_cv_lib_esd_esd_open_sound = yes; then
12214 ESDLIBS=$ESD_LIBS
12216 ESDINCL=$ESD_CFLAGS
12219 cat >>confdefs.h <<\_ACEOF
12220 #define HAVE_ESD 1
12221 _ACEOF
12225 CFLAGS="$save_CFLAGS"
12228 ALSALIBS=""
12230 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12231 then
12232 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
12233 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
12234 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
12235 echo $ECHO_N "(cached) $ECHO_C" >&6
12236 else
12237 ac_check_lib_save_LIBS=$LIBS
12238 LIBS="-lasound $LIBS"
12239 cat >conftest.$ac_ext <<_ACEOF
12240 /* confdefs.h. */
12241 _ACEOF
12242 cat confdefs.h >>conftest.$ac_ext
12243 cat >>conftest.$ac_ext <<_ACEOF
12244 /* end confdefs.h. */
12246 /* Override any gcc2 internal prototype to avoid an error. */
12247 #ifdef __cplusplus
12248 extern "C"
12249 #endif
12250 /* We use char because int might match the return type of a gcc2
12251 builtin and then its argument prototype would still apply. */
12252 char snd_pcm_hw_params_get_access ();
12254 main ()
12256 snd_pcm_hw_params_get_access ();
12258 return 0;
12260 _ACEOF
12261 rm -f conftest.$ac_objext conftest$ac_exeext
12262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12263 (eval $ac_link) 2>conftest.er1
12264 ac_status=$?
12265 grep -v '^ *+' conftest.er1 >conftest.err
12266 rm -f conftest.er1
12267 cat conftest.err >&5
12268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269 (exit $ac_status); } &&
12270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12272 (eval $ac_try) 2>&5
12273 ac_status=$?
12274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12275 (exit $ac_status); }; } &&
12276 { ac_try='test -s conftest$ac_exeext'
12277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12278 (eval $ac_try) 2>&5
12279 ac_status=$?
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); }; }; then
12282 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
12283 else
12284 echo "$as_me: failed program was:" >&5
12285 sed 's/^/| /' conftest.$ac_ext >&5
12287 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
12289 rm -f conftest.err conftest.$ac_objext \
12290 conftest$ac_exeext conftest.$ac_ext
12291 LIBS=$ac_check_lib_save_LIBS
12293 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
12294 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
12295 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
12296 cat >conftest.$ac_ext <<_ACEOF
12297 /* confdefs.h. */
12298 _ACEOF
12299 cat confdefs.h >>conftest.$ac_ext
12300 cat >>conftest.$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12302 #ifdef HAVE_ALSA_ASOUNDLIB_H
12303 #include <alsa/asoundlib.h>
12304 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12305 #include <sys/asoundlib.h>
12306 #endif
12308 main ()
12310 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
12312 return 0;
12314 _ACEOF
12315 rm -f conftest.$ac_objext
12316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12317 (eval $ac_compile) 2>conftest.er1
12318 ac_status=$?
12319 grep -v '^ *+' conftest.er1 >conftest.err
12320 rm -f conftest.er1
12321 cat conftest.err >&5
12322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12323 (exit $ac_status); } &&
12324 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12326 (eval $ac_try) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; } &&
12330 { ac_try='test -s conftest.$ac_objext'
12331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12332 (eval $ac_try) 2>&5
12333 ac_status=$?
12334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12335 (exit $ac_status); }; }; then
12337 cat >>confdefs.h <<\_ACEOF
12338 #define HAVE_ALSA 1
12339 _ACEOF
12341 ALSALIBS="-lasound"
12342 else
12343 echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.$ac_ext >&5
12347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12353 AUDIOIOLIBS=""
12355 if test "$ac_cv_header_libaudioio_h" = "yes"
12356 then
12357 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
12358 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
12359 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
12360 echo $ECHO_N "(cached) $ECHO_C" >&6
12361 else
12362 ac_check_lib_save_LIBS=$LIBS
12363 LIBS="-laudioio $LIBS"
12364 cat >conftest.$ac_ext <<_ACEOF
12365 /* confdefs.h. */
12366 _ACEOF
12367 cat confdefs.h >>conftest.$ac_ext
12368 cat >>conftest.$ac_ext <<_ACEOF
12369 /* end confdefs.h. */
12371 /* Override any gcc2 internal prototype to avoid an error. */
12372 #ifdef __cplusplus
12373 extern "C"
12374 #endif
12375 /* We use char because int might match the return type of a gcc2
12376 builtin and then its argument prototype would still apply. */
12377 char AudioIOGetVersion ();
12379 main ()
12381 AudioIOGetVersion ();
12383 return 0;
12385 _ACEOF
12386 rm -f conftest.$ac_objext conftest$ac_exeext
12387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12388 (eval $ac_link) 2>conftest.er1
12389 ac_status=$?
12390 grep -v '^ *+' conftest.er1 >conftest.err
12391 rm -f conftest.er1
12392 cat conftest.err >&5
12393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12394 (exit $ac_status); } &&
12395 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12397 (eval $ac_try) 2>&5
12398 ac_status=$?
12399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12400 (exit $ac_status); }; } &&
12401 { ac_try='test -s conftest$ac_exeext'
12402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12403 (eval $ac_try) 2>&5
12404 ac_status=$?
12405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12406 (exit $ac_status); }; }; then
12407 ac_cv_lib_audioio_AudioIOGetVersion=yes
12408 else
12409 echo "$as_me: failed program was:" >&5
12410 sed 's/^/| /' conftest.$ac_ext >&5
12412 ac_cv_lib_audioio_AudioIOGetVersion=no
12414 rm -f conftest.err conftest.$ac_objext \
12415 conftest$ac_exeext conftest.$ac_ext
12416 LIBS=$ac_check_lib_save_LIBS
12418 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
12419 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
12420 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
12421 AUDIOIOLIBS="-laudioio"
12423 cat >>confdefs.h <<\_ACEOF
12424 #define HAVE_LIBAUDIOIO 1
12425 _ACEOF
12432 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
12433 then
12434 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
12435 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
12436 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
12437 echo $ECHO_N "(cached) $ECHO_C" >&6
12438 else
12439 ac_check_lib_save_LIBS=$LIBS
12440 LIBS="-lcapi20 $LIBS"
12441 cat >conftest.$ac_ext <<_ACEOF
12442 /* confdefs.h. */
12443 _ACEOF
12444 cat confdefs.h >>conftest.$ac_ext
12445 cat >>conftest.$ac_ext <<_ACEOF
12446 /* end confdefs.h. */
12448 /* Override any gcc2 internal prototype to avoid an error. */
12449 #ifdef __cplusplus
12450 extern "C"
12451 #endif
12452 /* We use char because int might match the return type of a gcc2
12453 builtin and then its argument prototype would still apply. */
12454 char capi20_register ();
12456 main ()
12458 capi20_register ();
12460 return 0;
12462 _ACEOF
12463 rm -f conftest.$ac_objext conftest$ac_exeext
12464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12465 (eval $ac_link) 2>conftest.er1
12466 ac_status=$?
12467 grep -v '^ *+' conftest.er1 >conftest.err
12468 rm -f conftest.er1
12469 cat conftest.err >&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } &&
12472 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12474 (eval $ac_try) 2>&5
12475 ac_status=$?
12476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12477 (exit $ac_status); }; } &&
12478 { ac_try='test -s conftest$ac_exeext'
12479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12480 (eval $ac_try) 2>&5
12481 ac_status=$?
12482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12483 (exit $ac_status); }; }; then
12484 ac_cv_lib_capi20_capi20_register=yes
12485 else
12486 echo "$as_me: failed program was:" >&5
12487 sed 's/^/| /' conftest.$ac_ext >&5
12489 ac_cv_lib_capi20_capi20_register=no
12491 rm -f conftest.err conftest.$ac_objext \
12492 conftest$ac_exeext conftest.$ac_ext
12493 LIBS=$ac_check_lib_save_LIBS
12495 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
12496 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
12497 if test $ac_cv_lib_capi20_capi20_register = yes; then
12499 cat >>confdefs.h <<\_ACEOF
12500 #define HAVE_CAPI4LINUX 1
12501 _ACEOF
12508 EXTRACFLAGS=""
12510 if test "x${GCC}" = "xyes"
12511 then
12512 EXTRACFLAGS="-Wall -pipe"
12514 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
12515 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
12516 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
12517 echo $ECHO_N "(cached) $ECHO_C" >&6
12518 else
12519 if test "$cross_compiling" = yes; then
12520 ac_cv_c_gcc_strength_bug="yes"
12521 else
12522 cat >conftest.$ac_ext <<_ACEOF
12523 /* confdefs.h. */
12524 _ACEOF
12525 cat confdefs.h >>conftest.$ac_ext
12526 cat >>conftest.$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12529 int L[4] = {0,1,2,3};
12530 int main(void) {
12531 static int Array[3];
12532 unsigned int B = 3;
12533 int i;
12534 for(i=0; i<B; i++) Array[i] = i - 3;
12535 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12536 L[i] = 4;
12538 exit( Array[1] != -2 || L[2] != 3);
12540 _ACEOF
12541 rm -f conftest$ac_exeext
12542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12543 (eval $ac_link) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12548 (eval $ac_try) 2>&5
12549 ac_status=$?
12550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12551 (exit $ac_status); }; }; then
12552 ac_cv_c_gcc_strength_bug="no"
12553 else
12554 echo "$as_me: program exited with status $ac_status" >&5
12555 echo "$as_me: failed program was:" >&5
12556 sed 's/^/| /' conftest.$ac_ext >&5
12558 ( exit $ac_status )
12559 ac_cv_c_gcc_strength_bug="yes"
12561 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12564 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
12565 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
12566 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12567 then
12568 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
12571 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
12572 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
12573 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
12574 echo $ECHO_N "(cached) $ECHO_C" >&6
12575 else
12576 ac_wine_try_cflags_saved=$CFLAGS
12577 CFLAGS="$CFLAGS -fshort-wchar"
12578 cat >conftest.$ac_ext <<_ACEOF
12579 /* confdefs.h. */
12580 _ACEOF
12581 cat confdefs.h >>conftest.$ac_ext
12582 cat >>conftest.$ac_ext <<_ACEOF
12583 /* end confdefs.h. */
12586 main ()
12590 return 0;
12592 _ACEOF
12593 rm -f conftest.$ac_objext conftest$ac_exeext
12594 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12595 (eval $ac_link) 2>conftest.er1
12596 ac_status=$?
12597 grep -v '^ *+' conftest.er1 >conftest.err
12598 rm -f conftest.er1
12599 cat conftest.err >&5
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); } &&
12602 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12604 (eval $ac_try) 2>&5
12605 ac_status=$?
12606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12607 (exit $ac_status); }; } &&
12608 { ac_try='test -s conftest$ac_exeext'
12609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12610 (eval $ac_try) 2>&5
12611 ac_status=$?
12612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12613 (exit $ac_status); }; }; then
12614 ac_cv_c_gcc_fshort_wchar="yes"
12615 else
12616 echo "$as_me: failed program was:" >&5
12617 sed 's/^/| /' conftest.$ac_ext >&5
12619 ac_cv_c_gcc_fshort_wchar="no"
12621 rm -f conftest.err conftest.$ac_objext \
12622 conftest$ac_exeext conftest.$ac_ext
12623 CFLAGS=$ac_wine_try_cflags_saved
12625 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
12626 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
12627 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
12628 then
12630 cat >>confdefs.h <<\_ACEOF
12631 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
12632 _ACEOF
12636 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
12637 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
12638 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
12639 echo $ECHO_N "(cached) $ECHO_C" >&6
12640 else
12641 ac_wine_try_cflags_saved=$CFLAGS
12642 CFLAGS="$CFLAGS -fno-strict-aliasing"
12643 cat >conftest.$ac_ext <<_ACEOF
12644 /* confdefs.h. */
12645 _ACEOF
12646 cat confdefs.h >>conftest.$ac_ext
12647 cat >>conftest.$ac_ext <<_ACEOF
12648 /* end confdefs.h. */
12651 main ()
12655 return 0;
12657 _ACEOF
12658 rm -f conftest.$ac_objext conftest$ac_exeext
12659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12660 (eval $ac_link) 2>conftest.er1
12661 ac_status=$?
12662 grep -v '^ *+' conftest.er1 >conftest.err
12663 rm -f conftest.er1
12664 cat conftest.err >&5
12665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12666 (exit $ac_status); } &&
12667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12669 (eval $ac_try) 2>&5
12670 ac_status=$?
12671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12672 (exit $ac_status); }; } &&
12673 { ac_try='test -s conftest$ac_exeext'
12674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12675 (eval $ac_try) 2>&5
12676 ac_status=$?
12677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12678 (exit $ac_status); }; }; then
12679 ac_cv_c_gcc_no_strict_aliasing="yes"
12680 else
12681 echo "$as_me: failed program was:" >&5
12682 sed 's/^/| /' conftest.$ac_ext >&5
12684 ac_cv_c_gcc_no_strict_aliasing="no"
12686 rm -f conftest.err conftest.$ac_objext \
12687 conftest$ac_exeext conftest.$ac_ext
12688 CFLAGS=$ac_wine_try_cflags_saved
12690 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
12691 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
12692 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
12693 then
12694 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
12697 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
12698 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
12699 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
12700 echo $ECHO_N "(cached) $ECHO_C" >&6
12701 else
12702 ac_wine_try_cflags_saved=$CFLAGS
12703 CFLAGS="$CFLAGS -gstabs+"
12704 cat >conftest.$ac_ext <<_ACEOF
12705 /* confdefs.h. */
12706 _ACEOF
12707 cat confdefs.h >>conftest.$ac_ext
12708 cat >>conftest.$ac_ext <<_ACEOF
12709 /* end confdefs.h. */
12712 main ()
12716 return 0;
12718 _ACEOF
12719 rm -f conftest.$ac_objext conftest$ac_exeext
12720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12721 (eval $ac_link) 2>conftest.er1
12722 ac_status=$?
12723 grep -v '^ *+' conftest.er1 >conftest.err
12724 rm -f conftest.er1
12725 cat conftest.err >&5
12726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12727 (exit $ac_status); } &&
12728 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12730 (eval $ac_try) 2>&5
12731 ac_status=$?
12732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12733 (exit $ac_status); }; } &&
12734 { ac_try='test -s conftest$ac_exeext'
12735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12736 (eval $ac_try) 2>&5
12737 ac_status=$?
12738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12739 (exit $ac_status); }; }; then
12740 ac_cv_c_gcc_gstabs="yes"
12741 else
12742 echo "$as_me: failed program was:" >&5
12743 sed 's/^/| /' conftest.$ac_ext >&5
12745 ac_cv_c_gcc_gstabs="no"
12747 rm -f conftest.err conftest.$ac_objext \
12748 conftest$ac_exeext conftest.$ac_ext
12749 CFLAGS=$ac_wine_try_cflags_saved
12751 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
12752 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
12753 if test "$ac_cv_c_gcc_gstabs" = "yes"
12754 then
12755 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
12758 echo "$as_me:$LINENO: checking for gcc -Wdeclaration-after-statement support" >&5
12759 echo $ECHO_N "checking for gcc -Wdeclaration-after-statement support... $ECHO_C" >&6
12760 if test "${ac_cv_c_gcc_decl_after_statement+set}" = set; then
12761 echo $ECHO_N "(cached) $ECHO_C" >&6
12762 else
12763 ac_wine_try_cflags_saved=$CFLAGS
12764 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
12765 cat >conftest.$ac_ext <<_ACEOF
12766 /* confdefs.h. */
12767 _ACEOF
12768 cat confdefs.h >>conftest.$ac_ext
12769 cat >>conftest.$ac_ext <<_ACEOF
12770 /* end confdefs.h. */
12773 main ()
12777 return 0;
12779 _ACEOF
12780 rm -f conftest.$ac_objext conftest$ac_exeext
12781 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12782 (eval $ac_link) 2>conftest.er1
12783 ac_status=$?
12784 grep -v '^ *+' conftest.er1 >conftest.err
12785 rm -f conftest.er1
12786 cat conftest.err >&5
12787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12788 (exit $ac_status); } &&
12789 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12791 (eval $ac_try) 2>&5
12792 ac_status=$?
12793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12794 (exit $ac_status); }; } &&
12795 { ac_try='test -s conftest$ac_exeext'
12796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12797 (eval $ac_try) 2>&5
12798 ac_status=$?
12799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12800 (exit $ac_status); }; }; then
12801 ac_cv_c_gcc_decl_after_statement="yes"
12802 else
12803 echo "$as_me: failed program was:" >&5
12804 sed 's/^/| /' conftest.$ac_ext >&5
12806 ac_cv_c_gcc_decl_after_statement="no"
12808 rm -f conftest.err conftest.$ac_objext \
12809 conftest$ac_exeext conftest.$ac_ext
12810 CFLAGS=$ac_wine_try_cflags_saved
12812 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_decl_after_statement" >&5
12813 echo "${ECHO_T}$ac_cv_c_gcc_decl_after_statement" >&6
12814 if test "$ac_cv_c_gcc_decl_after_statement" = "yes"
12815 then
12816 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
12819 saved_CFLAGS="$CFLAGS"
12820 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
12821 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
12822 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
12823 if test "${ac_cv_c_string_h_warnings+set}" = set; then
12824 echo $ECHO_N "(cached) $ECHO_C" >&6
12825 else
12826 cat >conftest.$ac_ext <<_ACEOF
12827 /* confdefs.h. */
12828 _ACEOF
12829 cat confdefs.h >>conftest.$ac_ext
12830 cat >>conftest.$ac_ext <<_ACEOF
12831 /* end confdefs.h. */
12832 #include <string.h>
12834 main ()
12838 return 0;
12840 _ACEOF
12841 rm -f conftest.$ac_objext
12842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12843 (eval $ac_compile) 2>conftest.er1
12844 ac_status=$?
12845 grep -v '^ *+' conftest.er1 >conftest.err
12846 rm -f conftest.er1
12847 cat conftest.err >&5
12848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12849 (exit $ac_status); } &&
12850 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12852 (eval $ac_try) 2>&5
12853 ac_status=$?
12854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12855 (exit $ac_status); }; } &&
12856 { ac_try='test -s conftest.$ac_objext'
12857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12858 (eval $ac_try) 2>&5
12859 ac_status=$?
12860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12861 (exit $ac_status); }; }; then
12862 ac_cv_c_string_h_warnings=no
12863 else
12864 echo "$as_me: failed program was:" >&5
12865 sed 's/^/| /' conftest.$ac_ext >&5
12867 ac_cv_c_string_h_warnings=yes
12869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12871 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
12872 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
12873 CFLAGS="$saved_CFLAGS"
12874 if test "$ac_cv_c_string_h_warnings" = "no"
12875 then
12876 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
12879 BUILTINFLAG=""
12881 saved_CFLAGS="$CFLAGS"
12882 CFLAGS="$CFLAGS -Werror"
12883 echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
12884 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6
12885 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
12886 echo $ECHO_N "(cached) $ECHO_C" >&6
12887 else
12888 cat >conftest.$ac_ext <<_ACEOF
12889 /* confdefs.h. */
12890 _ACEOF
12891 cat confdefs.h >>conftest.$ac_ext
12892 cat >>conftest.$ac_ext <<_ACEOF
12893 /* end confdefs.h. */
12896 main ()
12898 int iswlower(unsigned short);
12900 return 0;
12902 _ACEOF
12903 rm -f conftest.$ac_objext
12904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12905 (eval $ac_compile) 2>conftest.er1
12906 ac_status=$?
12907 grep -v '^ *+' conftest.er1 >conftest.err
12908 rm -f conftest.er1
12909 cat conftest.err >&5
12910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12911 (exit $ac_status); } &&
12912 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12914 (eval $ac_try) 2>&5
12915 ac_status=$?
12916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12917 (exit $ac_status); }; } &&
12918 { ac_try='test -s conftest.$ac_objext'
12919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12920 (eval $ac_try) 2>&5
12921 ac_status=$?
12922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12923 (exit $ac_status); }; }; then
12924 ac_cv_c_builtin_wchar_ctype=no
12925 else
12926 echo "$as_me: failed program was:" >&5
12927 sed 's/^/| /' conftest.$ac_ext >&5
12929 ac_cv_c_builtin_wchar_ctype=yes
12931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12933 echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
12934 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6
12935 CFLAGS="$saved_CFLAGS"
12936 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
12937 then
12938 BUILTINFLAG=""
12939 for builtin in \
12940 iswalnum iswalpha iswcntrl iswdigit iswgraph iswlower \
12941 iswprint iswpunct iswspace iswupper iswxdigit towlower towupper
12943 BUILTINFLAG="$BUILTINFLAG -fno-builtin-$builtin"
12944 done
12949 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
12950 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
12951 if test "${ac_cv_asm_func_def+set}" = set; then
12952 echo $ECHO_N "(cached) $ECHO_C" >&6
12953 else
12954 cat >conftest.$ac_ext <<_ACEOF
12955 /* confdefs.h. */
12956 _ACEOF
12957 cat confdefs.h >>conftest.$ac_ext
12958 cat >>conftest.$ac_ext <<_ACEOF
12959 /* end confdefs.h. */
12960 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
12963 main ()
12967 return 0;
12969 _ACEOF
12970 rm -f conftest.$ac_objext conftest$ac_exeext
12971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12972 (eval $ac_link) 2>conftest.er1
12973 ac_status=$?
12974 grep -v '^ *+' conftest.er1 >conftest.err
12975 rm -f conftest.er1
12976 cat conftest.err >&5
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); } &&
12979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12981 (eval $ac_try) 2>&5
12982 ac_status=$?
12983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12984 (exit $ac_status); }; } &&
12985 { ac_try='test -s conftest$ac_exeext'
12986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12987 (eval $ac_try) 2>&5
12988 ac_status=$?
12989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12990 (exit $ac_status); }; }; then
12991 ac_cv_asm_func_def=".def"
12992 else
12993 echo "$as_me: failed program was:" >&5
12994 sed 's/^/| /' conftest.$ac_ext >&5
12996 cat >conftest.$ac_ext <<_ACEOF
12997 /* confdefs.h. */
12998 _ACEOF
12999 cat confdefs.h >>conftest.$ac_ext
13000 cat >>conftest.$ac_ext <<_ACEOF
13001 /* end confdefs.h. */
13002 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
13005 main ()
13009 return 0;
13011 _ACEOF
13012 rm -f conftest.$ac_objext conftest$ac_exeext
13013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13014 (eval $ac_link) 2>conftest.er1
13015 ac_status=$?
13016 grep -v '^ *+' conftest.er1 >conftest.err
13017 rm -f conftest.er1
13018 cat conftest.err >&5
13019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13020 (exit $ac_status); } &&
13021 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13023 (eval $ac_try) 2>&5
13024 ac_status=$?
13025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13026 (exit $ac_status); }; } &&
13027 { ac_try='test -s conftest$ac_exeext'
13028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13029 (eval $ac_try) 2>&5
13030 ac_status=$?
13031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13032 (exit $ac_status); }; }; then
13033 ac_cv_asm_func_def=".type @function"
13034 else
13035 echo "$as_me: failed program was:" >&5
13036 sed 's/^/| /' conftest.$ac_ext >&5
13038 cat >conftest.$ac_ext <<_ACEOF
13039 /* confdefs.h. */
13040 _ACEOF
13041 cat confdefs.h >>conftest.$ac_ext
13042 cat >>conftest.$ac_ext <<_ACEOF
13043 /* end confdefs.h. */
13044 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
13047 main ()
13051 return 0;
13053 _ACEOF
13054 rm -f conftest.$ac_objext conftest$ac_exeext
13055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13056 (eval $ac_link) 2>conftest.er1
13057 ac_status=$?
13058 grep -v '^ *+' conftest.er1 >conftest.err
13059 rm -f conftest.er1
13060 cat conftest.err >&5
13061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13062 (exit $ac_status); } &&
13063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13065 (eval $ac_try) 2>&5
13066 ac_status=$?
13067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13068 (exit $ac_status); }; } &&
13069 { ac_try='test -s conftest$ac_exeext'
13070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13071 (eval $ac_try) 2>&5
13072 ac_status=$?
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); }; }; then
13075 ac_cv_asm_func_def=".type 2"
13076 else
13077 echo "$as_me: failed program was:" >&5
13078 sed 's/^/| /' conftest.$ac_ext >&5
13080 ac_cv_asm_func_def="unknown"
13082 rm -f conftest.err conftest.$ac_objext \
13083 conftest$ac_exeext conftest.$ac_ext
13085 rm -f conftest.err conftest.$ac_objext \
13086 conftest$ac_exeext conftest.$ac_ext
13088 rm -f conftest.err conftest.$ac_objext \
13089 conftest$ac_exeext conftest.$ac_ext
13091 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
13092 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
13096 case "$ac_cv_asm_func_def" in
13097 ".def")
13098 cat >>confdefs.h <<\_ACEOF
13099 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
13100 _ACEOF
13102 ".type @function")
13103 cat >>confdefs.h <<\_ACEOF
13104 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
13105 _ACEOF
13107 ".type 2")
13108 cat >>confdefs.h <<\_ACEOF
13109 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
13110 _ACEOF
13113 cat >>confdefs.h <<\_ACEOF
13114 #define __ASM_FUNC(name) ""
13115 _ACEOF
13117 esac
13120 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
13121 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
13122 if test "${ac_cv_c_extern_prefix+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 else
13125 cat >conftest.$ac_ext <<_ACEOF
13126 /* confdefs.h. */
13127 _ACEOF
13128 cat confdefs.h >>conftest.$ac_ext
13129 cat >>conftest.$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
13132 extern int ac_test;
13134 main ()
13136 if (ac_test) return 1
13138 return 0;
13140 _ACEOF
13141 rm -f conftest.$ac_objext conftest$ac_exeext
13142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13143 (eval $ac_link) 2>conftest.er1
13144 ac_status=$?
13145 grep -v '^ *+' conftest.er1 >conftest.err
13146 rm -f conftest.er1
13147 cat conftest.err >&5
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); } &&
13150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13152 (eval $ac_try) 2>&5
13153 ac_status=$?
13154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13155 (exit $ac_status); }; } &&
13156 { ac_try='test -s conftest$ac_exeext'
13157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13158 (eval $ac_try) 2>&5
13159 ac_status=$?
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); }; }; then
13162 ac_cv_c_extern_prefix="yes"
13163 else
13164 echo "$as_me: failed program was:" >&5
13165 sed 's/^/| /' conftest.$ac_ext >&5
13167 ac_cv_c_extern_prefix="no"
13169 rm -f conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13172 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
13173 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
13177 if test "$ac_cv_c_extern_prefix" = "yes"
13178 then
13179 cat >>confdefs.h <<\_ACEOF
13180 #define __ASM_NAME(name) "_" name
13181 _ACEOF
13183 else
13184 cat >>confdefs.h <<\_ACEOF
13185 #define __ASM_NAME(name) name
13186 _ACEOF
13191 DLLEXT=""
13193 DLLFLAGS="-D_REENTRANT"
13195 DLLIBS=""
13197 LDSHARED=""
13199 LDDLLFLAGS=""
13201 LIBEXT="so"
13203 IMPLIBEXT="def"
13206 case $host_os in
13207 cygwin*|mingw32*)
13208 if test -n "$ac_tool_prefix"; then
13209 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
13210 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
13211 echo "$as_me:$LINENO: checking for $ac_word" >&5
13212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13213 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
13214 echo $ECHO_N "(cached) $ECHO_C" >&6
13215 else
13216 if test -n "$DLLTOOL"; then
13217 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
13218 else
13219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13220 for as_dir in $PATH
13222 IFS=$as_save_IFS
13223 test -z "$as_dir" && as_dir=.
13224 for ac_exec_ext in '' $ac_executable_extensions; do
13225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13226 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
13227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13228 break 2
13230 done
13231 done
13235 DLLTOOL=$ac_cv_prog_DLLTOOL
13236 if test -n "$DLLTOOL"; then
13237 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
13238 echo "${ECHO_T}$DLLTOOL" >&6
13239 else
13240 echo "$as_me:$LINENO: result: no" >&5
13241 echo "${ECHO_T}no" >&6
13245 if test -z "$ac_cv_prog_DLLTOOL"; then
13246 ac_ct_DLLTOOL=$DLLTOOL
13247 # Extract the first word of "dlltool", so it can be a program name with args.
13248 set dummy dlltool; ac_word=$2
13249 echo "$as_me:$LINENO: checking for $ac_word" >&5
13250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13251 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
13252 echo $ECHO_N "(cached) $ECHO_C" >&6
13253 else
13254 if test -n "$ac_ct_DLLTOOL"; then
13255 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
13256 else
13257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13258 for as_dir in $PATH
13260 IFS=$as_save_IFS
13261 test -z "$as_dir" && as_dir=.
13262 for ac_exec_ext in '' $ac_executable_extensions; do
13263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13264 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
13265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13266 break 2
13268 done
13269 done
13271 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
13274 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
13275 if test -n "$ac_ct_DLLTOOL"; then
13276 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
13277 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
13278 else
13279 echo "$as_me:$LINENO: result: no" >&5
13280 echo "${ECHO_T}no" >&6
13283 DLLTOOL=$ac_ct_DLLTOOL
13284 else
13285 DLLTOOL="$ac_cv_prog_DLLTOOL"
13288 if test -n "$ac_tool_prefix"; then
13289 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
13290 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
13291 echo "$as_me:$LINENO: checking for $ac_word" >&5
13292 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13293 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
13294 echo $ECHO_N "(cached) $ECHO_C" >&6
13295 else
13296 if test -n "$DLLWRAP"; then
13297 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
13298 else
13299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13300 for as_dir in $PATH
13302 IFS=$as_save_IFS
13303 test -z "$as_dir" && as_dir=.
13304 for ac_exec_ext in '' $ac_executable_extensions; do
13305 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13306 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
13307 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13308 break 2
13310 done
13311 done
13315 DLLWRAP=$ac_cv_prog_DLLWRAP
13316 if test -n "$DLLWRAP"; then
13317 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
13318 echo "${ECHO_T}$DLLWRAP" >&6
13319 else
13320 echo "$as_me:$LINENO: result: no" >&5
13321 echo "${ECHO_T}no" >&6
13325 if test -z "$ac_cv_prog_DLLWRAP"; then
13326 ac_ct_DLLWRAP=$DLLWRAP
13327 # Extract the first word of "dllwrap", so it can be a program name with args.
13328 set dummy dllwrap; ac_word=$2
13329 echo "$as_me:$LINENO: checking for $ac_word" >&5
13330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13331 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
13332 echo $ECHO_N "(cached) $ECHO_C" >&6
13333 else
13334 if test -n "$ac_ct_DLLWRAP"; then
13335 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
13336 else
13337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13338 for as_dir in $PATH
13340 IFS=$as_save_IFS
13341 test -z "$as_dir" && as_dir=.
13342 for ac_exec_ext in '' $ac_executable_extensions; do
13343 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13344 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
13345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13346 break 2
13348 done
13349 done
13351 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
13354 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
13355 if test -n "$ac_ct_DLLWRAP"; then
13356 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
13357 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
13358 else
13359 echo "$as_me:$LINENO: result: no" >&5
13360 echo "${ECHO_T}no" >&6
13363 DLLWRAP=$ac_ct_DLLWRAP
13364 else
13365 DLLWRAP="$ac_cv_prog_DLLWRAP"
13368 if test "$DLLWRAP" = "false"; then
13369 LIBEXT="a"
13370 else
13371 LIBEXT="dll"
13373 IMPLIBEXT="a"
13374 WIN16_FILES=""
13375 WIN16_INSTALL=""
13378 if test "$ac_cv_header_dlfcn_h" = "yes"
13379 then
13381 for ac_func in dlopen
13383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13384 echo "$as_me:$LINENO: checking for $ac_func" >&5
13385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13386 if eval "test \"\${$as_ac_var+set}\" = set"; then
13387 echo $ECHO_N "(cached) $ECHO_C" >&6
13388 else
13389 cat >conftest.$ac_ext <<_ACEOF
13390 /* confdefs.h. */
13391 _ACEOF
13392 cat confdefs.h >>conftest.$ac_ext
13393 cat >>conftest.$ac_ext <<_ACEOF
13394 /* end confdefs.h. */
13395 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13396 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13397 #define $ac_func innocuous_$ac_func
13399 /* System header to define __stub macros and hopefully few prototypes,
13400 which can conflict with char $ac_func (); below.
13401 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13402 <limits.h> exists even on freestanding compilers. */
13404 #ifdef __STDC__
13405 # include <limits.h>
13406 #else
13407 # include <assert.h>
13408 #endif
13410 #undef $ac_func
13412 /* Override any gcc2 internal prototype to avoid an error. */
13413 #ifdef __cplusplus
13414 extern "C"
13416 #endif
13417 /* We use char because int might match the return type of a gcc2
13418 builtin and then its argument prototype would still apply. */
13419 char $ac_func ();
13420 /* The GNU C library defines this for functions which it implements
13421 to always fail with ENOSYS. Some functions are actually named
13422 something starting with __ and the normal name is an alias. */
13423 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13424 choke me
13425 #else
13426 char (*f) () = $ac_func;
13427 #endif
13428 #ifdef __cplusplus
13430 #endif
13433 main ()
13435 return f != $ac_func;
13437 return 0;
13439 _ACEOF
13440 rm -f conftest.$ac_objext conftest$ac_exeext
13441 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13442 (eval $ac_link) 2>conftest.er1
13443 ac_status=$?
13444 grep -v '^ *+' conftest.er1 >conftest.err
13445 rm -f conftest.er1
13446 cat conftest.err >&5
13447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13448 (exit $ac_status); } &&
13449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13451 (eval $ac_try) 2>&5
13452 ac_status=$?
13453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13454 (exit $ac_status); }; } &&
13455 { ac_try='test -s conftest$ac_exeext'
13456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13457 (eval $ac_try) 2>&5
13458 ac_status=$?
13459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13460 (exit $ac_status); }; }; then
13461 eval "$as_ac_var=yes"
13462 else
13463 echo "$as_me: failed program was:" >&5
13464 sed 's/^/| /' conftest.$ac_ext >&5
13466 eval "$as_ac_var=no"
13468 rm -f conftest.err conftest.$ac_objext \
13469 conftest$ac_exeext conftest.$ac_ext
13471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13473 if test `eval echo '${'$as_ac_var'}'` = yes; then
13474 cat >>confdefs.h <<_ACEOF
13475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13476 _ACEOF
13478 else
13479 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
13480 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
13481 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
13482 echo $ECHO_N "(cached) $ECHO_C" >&6
13483 else
13484 ac_check_lib_save_LIBS=$LIBS
13485 LIBS="-ldl $LIBS"
13486 cat >conftest.$ac_ext <<_ACEOF
13487 /* confdefs.h. */
13488 _ACEOF
13489 cat confdefs.h >>conftest.$ac_ext
13490 cat >>conftest.$ac_ext <<_ACEOF
13491 /* end confdefs.h. */
13493 /* Override any gcc2 internal prototype to avoid an error. */
13494 #ifdef __cplusplus
13495 extern "C"
13496 #endif
13497 /* We use char because int might match the return type of a gcc2
13498 builtin and then its argument prototype would still apply. */
13499 char dlopen ();
13501 main ()
13503 dlopen ();
13505 return 0;
13507 _ACEOF
13508 rm -f conftest.$ac_objext conftest$ac_exeext
13509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13510 (eval $ac_link) 2>conftest.er1
13511 ac_status=$?
13512 grep -v '^ *+' conftest.er1 >conftest.err
13513 rm -f conftest.er1
13514 cat conftest.err >&5
13515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13516 (exit $ac_status); } &&
13517 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13519 (eval $ac_try) 2>&5
13520 ac_status=$?
13521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13522 (exit $ac_status); }; } &&
13523 { ac_try='test -s conftest$ac_exeext'
13524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13525 (eval $ac_try) 2>&5
13526 ac_status=$?
13527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13528 (exit $ac_status); }; }; then
13529 ac_cv_lib_dl_dlopen=yes
13530 else
13531 echo "$as_me: failed program was:" >&5
13532 sed 's/^/| /' conftest.$ac_ext >&5
13534 ac_cv_lib_dl_dlopen=no
13536 rm -f conftest.err conftest.$ac_objext \
13537 conftest$ac_exeext conftest.$ac_ext
13538 LIBS=$ac_check_lib_save_LIBS
13540 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
13541 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
13542 if test $ac_cv_lib_dl_dlopen = yes; then
13544 cat >>confdefs.h <<\_ACEOF
13545 #define HAVE_DLOPEN 1
13546 _ACEOF
13548 DLLIBS="-ldl"
13549 else
13550 LIBEXT="a"
13554 done
13556 ac_wine_check_funcs_save_LIBS="$LIBS"
13557 LIBS="$LIBS $DLLIBS"
13559 for ac_func in dladdr
13561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13562 echo "$as_me:$LINENO: checking for $ac_func" >&5
13563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13564 if eval "test \"\${$as_ac_var+set}\" = set"; then
13565 echo $ECHO_N "(cached) $ECHO_C" >&6
13566 else
13567 cat >conftest.$ac_ext <<_ACEOF
13568 /* confdefs.h. */
13569 _ACEOF
13570 cat confdefs.h >>conftest.$ac_ext
13571 cat >>conftest.$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13575 #define $ac_func innocuous_$ac_func
13577 /* System header to define __stub macros and hopefully few prototypes,
13578 which can conflict with char $ac_func (); below.
13579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13580 <limits.h> exists even on freestanding compilers. */
13582 #ifdef __STDC__
13583 # include <limits.h>
13584 #else
13585 # include <assert.h>
13586 #endif
13588 #undef $ac_func
13590 /* Override any gcc2 internal prototype to avoid an error. */
13591 #ifdef __cplusplus
13592 extern "C"
13594 #endif
13595 /* We use char because int might match the return type of a gcc2
13596 builtin and then its argument prototype would still apply. */
13597 char $ac_func ();
13598 /* The GNU C library defines this for functions which it implements
13599 to always fail with ENOSYS. Some functions are actually named
13600 something starting with __ and the normal name is an alias. */
13601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13602 choke me
13603 #else
13604 char (*f) () = $ac_func;
13605 #endif
13606 #ifdef __cplusplus
13608 #endif
13611 main ()
13613 return f != $ac_func;
13615 return 0;
13617 _ACEOF
13618 rm -f conftest.$ac_objext conftest$ac_exeext
13619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13620 (eval $ac_link) 2>conftest.er1
13621 ac_status=$?
13622 grep -v '^ *+' conftest.er1 >conftest.err
13623 rm -f conftest.er1
13624 cat conftest.err >&5
13625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13626 (exit $ac_status); } &&
13627 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13629 (eval $ac_try) 2>&5
13630 ac_status=$?
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); }; } &&
13633 { ac_try='test -s conftest$ac_exeext'
13634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13635 (eval $ac_try) 2>&5
13636 ac_status=$?
13637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13638 (exit $ac_status); }; }; then
13639 eval "$as_ac_var=yes"
13640 else
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.$ac_ext >&5
13644 eval "$as_ac_var=no"
13646 rm -f conftest.err conftest.$ac_objext \
13647 conftest$ac_exeext conftest.$ac_ext
13649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13651 if test `eval echo '${'$as_ac_var'}'` = yes; then
13652 cat >>confdefs.h <<_ACEOF
13653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13654 _ACEOF
13657 done
13659 LIBS="$ac_wine_check_funcs_save_LIBS"
13660 else
13661 LIBEXT="a"
13664 if test "$LIBEXT" = "so"
13665 then
13666 DLLFLAGS="$DLLFLAGS -fPIC"
13667 DLLEXT=".so"
13668 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
13669 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
13670 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
13671 echo $ECHO_N "(cached) $ECHO_C" >&6
13672 else
13673 ac_wine_try_cflags_saved=$CFLAGS
13674 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
13675 cat >conftest.$ac_ext <<_ACEOF
13676 void myfunc() {}
13677 _ACEOF
13678 rm -f conftest.$ac_objext conftest$ac_exeext
13679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13680 (eval $ac_link) 2>conftest.er1
13681 ac_status=$?
13682 grep -v '^ *+' conftest.er1 >conftest.err
13683 rm -f conftest.er1
13684 cat conftest.err >&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); } &&
13687 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13690 ac_status=$?
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; } &&
13693 { ac_try='test -s conftest$ac_exeext'
13694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13695 (eval $ac_try) 2>&5
13696 ac_status=$?
13697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13698 (exit $ac_status); }; }; then
13699 ac_cv_c_dll_gnuelf="yes"
13700 else
13701 echo "$as_me: failed program was:" >&5
13702 sed 's/^/| /' conftest.$ac_ext >&5
13704 ac_cv_c_dll_gnuelf="no"
13706 rm -f conftest.err conftest.$ac_objext \
13707 conftest$ac_exeext conftest.$ac_ext
13708 CFLAGS=$ac_wine_try_cflags_saved
13710 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
13711 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
13712 if test "$ac_cv_c_dll_gnuelf" = "yes"
13713 then
13714 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
13715 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
13716 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
13717 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
13718 if test "${ac_cv_c_dll_zdefs+set}" = set; then
13719 echo $ECHO_N "(cached) $ECHO_C" >&6
13720 else
13721 ac_wine_try_cflags_saved=$CFLAGS
13722 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
13723 cat >conftest.$ac_ext <<_ACEOF
13724 /* confdefs.h. */
13725 _ACEOF
13726 cat confdefs.h >>conftest.$ac_ext
13727 cat >>conftest.$ac_ext <<_ACEOF
13728 /* end confdefs.h. */
13731 main ()
13735 return 0;
13737 _ACEOF
13738 rm -f conftest.$ac_objext conftest$ac_exeext
13739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13740 (eval $ac_link) 2>conftest.er1
13741 ac_status=$?
13742 grep -v '^ *+' conftest.er1 >conftest.err
13743 rm -f conftest.er1
13744 cat conftest.err >&5
13745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13746 (exit $ac_status); } &&
13747 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13750 ac_status=$?
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; } &&
13753 { ac_try='test -s conftest$ac_exeext'
13754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13755 (eval $ac_try) 2>&5
13756 ac_status=$?
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); }; }; then
13759 ac_cv_c_dll_zdefs="yes"
13760 else
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.$ac_ext >&5
13764 ac_cv_c_dll_zdefs="no"
13766 rm -f conftest.err conftest.$ac_objext \
13767 conftest$ac_exeext conftest.$ac_ext
13768 CFLAGS=$ac_wine_try_cflags_saved
13770 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
13771 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
13772 if test "$ac_cv_c_dll_zdefs" = "yes"
13773 then
13774 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
13777 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
13778 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
13779 if test "${ac_cv_c_dll_init_fini+set}" = set; then
13780 echo $ECHO_N "(cached) $ECHO_C" >&6
13781 else
13782 ac_wine_try_cflags_saved=$CFLAGS
13783 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
13784 cat >conftest.$ac_ext <<_ACEOF
13785 /* confdefs.h. */
13786 _ACEOF
13787 cat confdefs.h >>conftest.$ac_ext
13788 cat >>conftest.$ac_ext <<_ACEOF
13789 /* end confdefs.h. */
13792 main ()
13796 return 0;
13798 _ACEOF
13799 rm -f conftest.$ac_objext conftest$ac_exeext
13800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13801 (eval $ac_link) 2>conftest.er1
13802 ac_status=$?
13803 grep -v '^ *+' conftest.er1 >conftest.err
13804 rm -f conftest.er1
13805 cat conftest.err >&5
13806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13807 (exit $ac_status); } &&
13808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13811 ac_status=$?
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try='test -s conftest$ac_exeext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13817 ac_status=$?
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13820 ac_cv_c_dll_init_fini="yes"
13821 else
13822 echo "$as_me: failed program was:" >&5
13823 sed 's/^/| /' conftest.$ac_ext >&5
13825 ac_cv_c_dll_init_fini="no"
13827 rm -f conftest.err conftest.$ac_objext \
13828 conftest$ac_exeext conftest.$ac_ext
13829 CFLAGS=$ac_wine_try_cflags_saved
13831 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
13832 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
13833 if test "$ac_cv_c_dll_init_fini" = "yes"
13834 then
13835 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
13838 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
13839 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
13840 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
13841 echo $ECHO_N "(cached) $ECHO_C" >&6
13842 else
13843 echo '{ global: *; };' >conftest.map
13844 ac_wine_try_cflags_saved=$CFLAGS
13845 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
13846 cat >conftest.$ac_ext <<_ACEOF
13847 /* confdefs.h. */
13848 _ACEOF
13849 cat confdefs.h >>conftest.$ac_ext
13850 cat >>conftest.$ac_ext <<_ACEOF
13851 /* end confdefs.h. */
13854 main ()
13858 return 0;
13860 _ACEOF
13861 rm -f conftest.$ac_objext conftest$ac_exeext
13862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13863 (eval $ac_link) 2>conftest.er1
13864 ac_status=$?
13865 grep -v '^ *+' conftest.er1 >conftest.err
13866 rm -f conftest.er1
13867 cat conftest.err >&5
13868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13869 (exit $ac_status); } &&
13870 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13872 (eval $ac_try) 2>&5
13873 ac_status=$?
13874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13875 (exit $ac_status); }; } &&
13876 { ac_try='test -s conftest$ac_exeext'
13877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13878 (eval $ac_try) 2>&5
13879 ac_status=$?
13880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13881 (exit $ac_status); }; }; then
13882 ac_cv_c_ld_version_scripts="yes"
13883 else
13884 echo "$as_me: failed program was:" >&5
13885 sed 's/^/| /' conftest.$ac_ext >&5
13887 ac_cv_c_ld_version_scripts="no"
13889 rm -f conftest.err conftest.$ac_objext \
13890 conftest$ac_exeext conftest.$ac_ext
13891 CFLAGS=$ac_wine_try_cflags_saved
13892 rm -f conftest.map
13894 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
13895 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
13896 if test "$ac_cv_c_ld_version_scripts" = "yes"
13897 then
13898 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
13901 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
13902 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
13903 if test "${ac_cv_c_export_dynamic+set}" = set; then
13904 echo $ECHO_N "(cached) $ECHO_C" >&6
13905 else
13906 ac_wine_try_cflags_saved=$CFLAGS
13907 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
13908 cat >conftest.$ac_ext <<_ACEOF
13909 /* confdefs.h. */
13910 _ACEOF
13911 cat confdefs.h >>conftest.$ac_ext
13912 cat >>conftest.$ac_ext <<_ACEOF
13913 /* end confdefs.h. */
13916 main ()
13920 return 0;
13922 _ACEOF
13923 rm -f conftest.$ac_objext conftest$ac_exeext
13924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13925 (eval $ac_link) 2>conftest.er1
13926 ac_status=$?
13927 grep -v '^ *+' conftest.er1 >conftest.err
13928 rm -f conftest.er1
13929 cat conftest.err >&5
13930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13931 (exit $ac_status); } &&
13932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13934 (eval $ac_try) 2>&5
13935 ac_status=$?
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); }; } &&
13938 { ac_try='test -s conftest$ac_exeext'
13939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13940 (eval $ac_try) 2>&5
13941 ac_status=$?
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; }; then
13944 ac_cv_c_export_dynamic="yes"
13945 else
13946 echo "$as_me: failed program was:" >&5
13947 sed 's/^/| /' conftest.$ac_ext >&5
13949 ac_cv_c_export_dynamic="no"
13951 rm -f conftest.err conftest.$ac_objext \
13952 conftest$ac_exeext conftest.$ac_ext
13953 CFLAGS=$ac_wine_try_cflags_saved
13955 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
13956 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
13957 if test "$ac_cv_c_export_dynamic" = "yes"
13958 then
13959 LDEXECFLAGS="-Wl,--export-dynamic"
13963 echo "$as_me:$LINENO: checking whether the linker accepts --rpath" >&5
13964 echo $ECHO_N "checking whether the linker accepts --rpath... $ECHO_C" >&6
13965 if test "${ac_cv_ld_rpath+set}" = set; then
13966 echo $ECHO_N "(cached) $ECHO_C" >&6
13967 else
13968 ac_wine_try_cflags_saved=$CFLAGS
13969 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
13970 cat >conftest.$ac_ext <<_ACEOF
13971 /* confdefs.h. */
13972 _ACEOF
13973 cat confdefs.h >>conftest.$ac_ext
13974 cat >>conftest.$ac_ext <<_ACEOF
13975 /* end confdefs.h. */
13978 main ()
13982 return 0;
13984 _ACEOF
13985 rm -f conftest.$ac_objext conftest$ac_exeext
13986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13987 (eval $ac_link) 2>conftest.er1
13988 ac_status=$?
13989 grep -v '^ *+' conftest.er1 >conftest.err
13990 rm -f conftest.er1
13991 cat conftest.err >&5
13992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); } &&
13994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13996 (eval $ac_try) 2>&5
13997 ac_status=$?
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 (exit $ac_status); }; } &&
14000 { ac_try='test -s conftest$ac_exeext'
14001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14002 (eval $ac_try) 2>&5
14003 ac_status=$?
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); }; }; then
14006 ac_cv_ld_rpath="yes"
14007 else
14008 echo "$as_me: failed program was:" >&5
14009 sed 's/^/| /' conftest.$ac_ext >&5
14011 ac_cv_ld_rpath="no"
14013 rm -f conftest.err conftest.$ac_objext \
14014 conftest$ac_exeext conftest.$ac_ext
14015 CFLAGS=$ac_wine_try_cflags_saved
14017 echo "$as_me:$LINENO: result: $ac_cv_ld_rpath" >&5
14018 echo "${ECHO_T}$ac_cv_ld_rpath" >&6
14019 if test "$ac_cv_ld_rpath" = "yes"
14020 then
14021 LDEXERPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
14023 LDDLLRPATH="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(dlldir) \$(libdir)\`"
14027 case $host_cpu in
14028 *i[3456789]86*)
14029 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
14030 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6
14031 if test "${ac_cv_ld_reloc_exec+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 else
14034 ac_wine_try_cflags_saved=$CFLAGS
14035 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
14036 cat >conftest.$ac_ext <<_ACEOF
14037 /* confdefs.h. */
14038 _ACEOF
14039 cat confdefs.h >>conftest.$ac_ext
14040 cat >>conftest.$ac_ext <<_ACEOF
14041 /* end confdefs.h. */
14044 main ()
14048 return 0;
14050 _ACEOF
14051 rm -f conftest.$ac_objext conftest$ac_exeext
14052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14053 (eval $ac_link) 2>conftest.er1
14054 ac_status=$?
14055 grep -v '^ *+' conftest.er1 >conftest.err
14056 rm -f conftest.er1
14057 cat conftest.err >&5
14058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14059 (exit $ac_status); } &&
14060 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14062 (eval $ac_try) 2>&5
14063 ac_status=$?
14064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14065 (exit $ac_status); }; } &&
14066 { ac_try='test -s conftest$ac_exeext'
14067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14068 (eval $ac_try) 2>&5
14069 ac_status=$?
14070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14071 (exit $ac_status); }; }; then
14072 ac_cv_ld_reloc_exec="yes"
14073 else
14074 echo "$as_me: failed program was:" >&5
14075 sed 's/^/| /' conftest.$ac_ext >&5
14077 ac_cv_ld_reloc_exec="no"
14079 rm -f conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 CFLAGS=$ac_wine_try_cflags_saved
14083 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
14084 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
14085 if test "$ac_cv_ld_reloc_exec" = "yes"
14086 then
14087 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
14090 esac
14092 else
14093 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
14094 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
14095 if test "${ac_cv_c_dll_unixware+set}" = set; then
14096 echo $ECHO_N "(cached) $ECHO_C" >&6
14097 else
14098 ac_wine_try_cflags_saved=$CFLAGS
14099 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
14100 cat >conftest.$ac_ext <<_ACEOF
14101 void myfunc() {}
14102 _ACEOF
14103 rm -f conftest.$ac_objext conftest$ac_exeext
14104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14105 (eval $ac_link) 2>conftest.er1
14106 ac_status=$?
14107 grep -v '^ *+' conftest.er1 >conftest.err
14108 rm -f conftest.er1
14109 cat conftest.err >&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } &&
14112 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14114 (eval $ac_try) 2>&5
14115 ac_status=$?
14116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14117 (exit $ac_status); }; } &&
14118 { ac_try='test -s conftest$ac_exeext'
14119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14120 (eval $ac_try) 2>&5
14121 ac_status=$?
14122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14123 (exit $ac_status); }; }; then
14124 ac_cv_c_dll_unixware="yes"
14125 else
14126 echo "$as_me: failed program was:" >&5
14127 sed 's/^/| /' conftest.$ac_ext >&5
14129 ac_cv_c_dll_unixware="no"
14131 rm -f conftest.err conftest.$ac_objext \
14132 conftest$ac_exeext conftest.$ac_ext
14133 CFLAGS=$ac_wine_try_cflags_saved
14135 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
14136 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
14137 if test "$ac_cv_c_dll_unixware" = "yes"
14138 then
14139 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
14140 LDDLLFLAGS="-Wl,-G,-B,symbolic"
14142 else
14143 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
14144 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
14145 if test "${ac_cv_c_dll_macho+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148 ac_wine_try_cflags_saved=$CFLAGS
14149 CFLAGS="$CFLAGS -bundle"
14150 cat >conftest.$ac_ext <<_ACEOF
14151 void myfunc() {}
14152 _ACEOF
14153 rm -f conftest.$ac_objext conftest$ac_exeext
14154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14155 (eval $ac_link) 2>conftest.er1
14156 ac_status=$?
14157 grep -v '^ *+' conftest.er1 >conftest.err
14158 rm -f conftest.er1
14159 cat conftest.err >&5
14160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14161 (exit $ac_status); } &&
14162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14164 (eval $ac_try) 2>&5
14165 ac_status=$?
14166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14167 (exit $ac_status); }; } &&
14168 { ac_try='test -s conftest$ac_exeext'
14169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14170 (eval $ac_try) 2>&5
14171 ac_status=$?
14172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14173 (exit $ac_status); }; }; then
14174 ac_cv_c_dll_macho="yes"
14175 else
14176 echo "$as_me: failed program was:" >&5
14177 sed 's/^/| /' conftest.$ac_ext >&5
14179 ac_cv_c_dll_macho="no"
14181 rm -f conftest.err conftest.$ac_objext \
14182 conftest$ac_exeext conftest.$ac_ext
14183 CFLAGS=$ac_wine_try_cflags_saved
14185 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
14186 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
14187 if test "$ac_cv_c_dll_macho" = "yes"
14188 then
14189 LIBEXT="dylib"
14190 LDDLLFLAGS="-bundle"
14191 LDSHARED="\$(CC) -dynamiclib"
14192 STRIP="$STRIP -u -r"
14193 COREFOUNDATIONLIB="-framework CoreFoundation"
14195 IOKITLIB="-framework IOKit -framework CoreFoundation"
14197 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7ffe0000"
14199 case $host_cpu in
14200 *powerpc*)
14201 CFLAGS="$CFLAGS -ffixed-r13"
14202 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning"
14204 esac
14206 else
14207 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
14208 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
14209 if test "${ac_cv_c_dll_hpux+set}" = set; then
14210 echo $ECHO_N "(cached) $ECHO_C" >&6
14211 else
14212 ac_wine_try_cflags_saved=$CFLAGS
14213 CFLAGS="$CFLAGS -shared"
14214 cat >conftest.$ac_ext <<_ACEOF
14215 void myfunc() {}
14216 _ACEOF
14217 rm -f conftest.$ac_objext conftest$ac_exeext
14218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14219 (eval $ac_link) 2>conftest.er1
14220 ac_status=$?
14221 grep -v '^ *+' conftest.er1 >conftest.err
14222 rm -f conftest.er1
14223 cat conftest.err >&5
14224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14225 (exit $ac_status); } &&
14226 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14228 (eval $ac_try) 2>&5
14229 ac_status=$?
14230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14231 (exit $ac_status); }; } &&
14232 { ac_try='test -s conftest$ac_exeext'
14233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14234 (eval $ac_try) 2>&5
14235 ac_status=$?
14236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14237 (exit $ac_status); }; }; then
14238 ac_cv_c_dll_hpux="yes"
14239 else
14240 echo "$as_me: failed program was:" >&5
14241 sed 's/^/| /' conftest.$ac_ext >&5
14243 ac_cv_c_dll_hpux="no"
14245 rm -f conftest.err conftest.$ac_objext \
14246 conftest$ac_exeext conftest.$ac_ext
14247 CFLAGS=$ac_wine_try_cflags_saved
14249 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
14250 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
14251 if test "$ac_cv_c_dll_hpux" = "yes"
14252 then
14253 LIBEXT="sl"
14254 DLLEXT=".sl"
14255 LDDLLFLAGS="-shared -fPIC"
14256 LDSHARED="\$(CC) -shared"
14263 CROSSTEST=""
14265 if test "$cross_compiling" = "no"
14266 then
14267 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
14269 # Extract the first word of "$ac_prog", so it can be a program name with args.
14270 set dummy $ac_prog; ac_word=$2
14271 echo "$as_me:$LINENO: checking for $ac_word" >&5
14272 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14273 if test "${ac_cv_prog_CROSSCC+set}" = set; then
14274 echo $ECHO_N "(cached) $ECHO_C" >&6
14275 else
14276 if test -n "$CROSSCC"; then
14277 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
14278 else
14279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14280 for as_dir in $PATH
14282 IFS=$as_save_IFS
14283 test -z "$as_dir" && as_dir=.
14284 for ac_exec_ext in '' $ac_executable_extensions; do
14285 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14286 ac_cv_prog_CROSSCC="$ac_prog"
14287 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14288 break 2
14290 done
14291 done
14295 CROSSCC=$ac_cv_prog_CROSSCC
14296 if test -n "$CROSSCC"; then
14297 echo "$as_me:$LINENO: result: $CROSSCC" >&5
14298 echo "${ECHO_T}$CROSSCC" >&6
14299 else
14300 echo "$as_me:$LINENO: result: no" >&5
14301 echo "${ECHO_T}no" >&6
14304 test -n "$CROSSCC" && break
14305 done
14306 test -n "$CROSSCC" || CROSSCC="false"
14308 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
14310 # Extract the first word of "$ac_prog", so it can be a program name with args.
14311 set dummy $ac_prog; ac_word=$2
14312 echo "$as_me:$LINENO: checking for $ac_word" >&5
14313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14314 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
14315 echo $ECHO_N "(cached) $ECHO_C" >&6
14316 else
14317 if test -n "$DLLTOOL"; then
14318 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
14319 else
14320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14321 for as_dir in $PATH
14323 IFS=$as_save_IFS
14324 test -z "$as_dir" && as_dir=.
14325 for ac_exec_ext in '' $ac_executable_extensions; do
14326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14327 ac_cv_prog_DLLTOOL="$ac_prog"
14328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14329 break 2
14331 done
14332 done
14336 DLLTOOL=$ac_cv_prog_DLLTOOL
14337 if test -n "$DLLTOOL"; then
14338 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
14339 echo "${ECHO_T}$DLLTOOL" >&6
14340 else
14341 echo "$as_me:$LINENO: result: no" >&5
14342 echo "${ECHO_T}no" >&6
14345 test -n "$DLLTOOL" && break
14346 done
14347 test -n "$DLLTOOL" || DLLTOOL="false"
14349 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
14351 # Extract the first word of "$ac_prog", so it can be a program name with args.
14352 set dummy $ac_prog; ac_word=$2
14353 echo "$as_me:$LINENO: checking for $ac_word" >&5
14354 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14355 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
14356 echo $ECHO_N "(cached) $ECHO_C" >&6
14357 else
14358 if test -n "$CROSSWINDRES"; then
14359 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
14360 else
14361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14362 for as_dir in $PATH
14364 IFS=$as_save_IFS
14365 test -z "$as_dir" && as_dir=.
14366 for ac_exec_ext in '' $ac_executable_extensions; do
14367 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14368 ac_cv_prog_CROSSWINDRES="$ac_prog"
14369 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14370 break 2
14372 done
14373 done
14377 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
14378 if test -n "$CROSSWINDRES"; then
14379 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
14380 echo "${ECHO_T}$CROSSWINDRES" >&6
14381 else
14382 echo "$as_me:$LINENO: result: no" >&5
14383 echo "${ECHO_T}no" >&6
14386 test -n "$CROSSWINDRES" && break
14387 done
14388 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
14390 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
14393 esac
14395 if test "$LIBEXT" = "a"; then
14396 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
14397 It is currently not possible to build Wine without shared library
14398 (.so) support to allow transparent switch between .so and .dll files.
14399 If you are using Linux, you will need a newer binutils.
14400 " >&5
14401 echo "$as_me: error: could not find a way to build shared libraries.
14402 It is currently not possible to build Wine without shared library
14403 (.so) support to allow transparent switch between .so and .dll files.
14404 If you are using Linux, you will need a newer binutils.
14405 " >&2;}
14406 { (exit 1); exit 1; }; }
14409 case $build_os in
14410 cygwin*|mingw32*)
14411 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
14413 darwin*|macosx*)
14414 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
14417 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
14419 esac
14421 case $host_os in
14422 mingw32*)
14423 CRTLIBS="-lmsvcrt"
14425 SOCKETLIBS="-lws2_32"
14428 esac
14430 case $host_cpu in
14431 *i[3456789]86*)
14432 case $host_os in
14433 linux* | k*bsd*-gnu)
14434 MAIN_BINARY="wine-glibc"
14436 EXTRA_BINARIES="wine-kthread wine-pthread wine-preloader"
14438 darwin*|freebsd*)
14439 MAIN_BINARY="wine-pthread"
14442 MAIN_BINARY="wine-kthread"
14444 esac
14446 *) MAIN_BINARY="wine-pthread"
14448 esac
14451 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
14452 then
14453 # Extract the first word of "ldd", so it can be a program name with args.
14454 set dummy ldd; ac_word=$2
14455 echo "$as_me:$LINENO: checking for $ac_word" >&5
14456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14457 if test "${ac_cv_path_LDD+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14459 else
14460 case $LDD in
14461 [\\/]* | ?:[\\/]*)
14462 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
14465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14466 as_dummy="/sbin:/usr/sbin:$PATH"
14467 for as_dir in $as_dummy
14469 IFS=$as_save_IFS
14470 test -z "$as_dir" && as_dir=.
14471 for ac_exec_ext in '' $ac_executable_extensions; do
14472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14473 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
14474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14475 break 2
14477 done
14478 done
14480 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
14482 esac
14484 LDD=$ac_cv_path_LDD
14486 if test -n "$LDD"; then
14487 echo "$as_me:$LINENO: result: $LDD" >&5
14488 echo "${ECHO_T}$LDD" >&6
14489 else
14490 echo "$as_me:$LINENO: result: no" >&5
14491 echo "${ECHO_T}no" >&6
14494 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
14495 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
14496 if test "${ac_cv_lib_soname_X11+set}" = set; then
14497 echo $ECHO_N "(cached) $ECHO_C" >&6
14498 else
14499 ac_get_soname_save_LIBS=$LIBS
14500 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14501 cat >conftest.$ac_ext <<_ACEOF
14502 /* confdefs.h. */
14503 _ACEOF
14504 cat confdefs.h >>conftest.$ac_ext
14505 cat >>conftest.$ac_ext <<_ACEOF
14506 /* end confdefs.h. */
14508 /* Override any gcc2 internal prototype to avoid an error. */
14509 #ifdef __cplusplus
14510 extern "C"
14511 #endif
14512 /* We use char because int might match the return type of a gcc2
14513 builtin and then its argument prototype would still apply. */
14514 char XCreateWindow ();
14516 main ()
14518 XCreateWindow ();
14520 return 0;
14522 _ACEOF
14523 rm -f conftest.$ac_objext conftest$ac_exeext
14524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14525 (eval $ac_link) 2>conftest.er1
14526 ac_status=$?
14527 grep -v '^ *+' conftest.er1 >conftest.err
14528 rm -f conftest.er1
14529 cat conftest.err >&5
14530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14531 (exit $ac_status); } &&
14532 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14534 (eval $ac_try) 2>&5
14535 ac_status=$?
14536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14537 (exit $ac_status); }; } &&
14538 { ac_try='test -s conftest$ac_exeext'
14539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14540 (eval $ac_try) 2>&5
14541 ac_status=$?
14542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14543 (exit $ac_status); }; }; then
14544 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14545 if test "x$ac_cv_lib_soname_X11" = "x"
14546 then
14547 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14549 else
14550 echo "$as_me: failed program was:" >&5
14551 sed 's/^/| /' conftest.$ac_ext >&5
14553 ac_cv_lib_soname_X11="libX11.$LIBEXT"
14555 rm -f conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 LIBS=$ac_get_soname_save_LIBS
14559 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
14560 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
14561 if test "${ac_cv_lib_soname_X11+set}" = set; then
14563 cat >>confdefs.h <<_ACEOF
14564 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
14565 _ACEOF
14569 echo "$as_me:$LINENO: checking for -lXext soname" >&5
14570 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
14571 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14572 echo $ECHO_N "(cached) $ECHO_C" >&6
14573 else
14574 ac_get_soname_save_LIBS=$LIBS
14575 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14576 cat >conftest.$ac_ext <<_ACEOF
14577 /* confdefs.h. */
14578 _ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14583 /* Override any gcc2 internal prototype to avoid an error. */
14584 #ifdef __cplusplus
14585 extern "C"
14586 #endif
14587 /* We use char because int might match the return type of a gcc2
14588 builtin and then its argument prototype would still apply. */
14589 char XextCreateExtension ();
14591 main ()
14593 XextCreateExtension ();
14595 return 0;
14597 _ACEOF
14598 rm -f conftest.$ac_objext conftest$ac_exeext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14600 (eval $ac_link) 2>conftest.er1
14601 ac_status=$?
14602 grep -v '^ *+' conftest.er1 >conftest.err
14603 rm -f conftest.er1
14604 cat conftest.err >&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } &&
14607 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14609 (eval $ac_try) 2>&5
14610 ac_status=$?
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); }; } &&
14613 { ac_try='test -s conftest$ac_exeext'
14614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14615 (eval $ac_try) 2>&5
14616 ac_status=$?
14617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14618 (exit $ac_status); }; }; then
14619 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14620 if test "x$ac_cv_lib_soname_Xext" = "x"
14621 then
14622 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14624 else
14625 echo "$as_me: failed program was:" >&5
14626 sed 's/^/| /' conftest.$ac_ext >&5
14628 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
14630 rm -f conftest.err conftest.$ac_objext \
14631 conftest$ac_exeext conftest.$ac_ext
14632 LIBS=$ac_get_soname_save_LIBS
14634 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
14635 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
14636 if test "${ac_cv_lib_soname_Xext+set}" = set; then
14638 cat >>confdefs.h <<_ACEOF
14639 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
14640 _ACEOF
14644 echo "$as_me:$LINENO: checking for -lXi soname" >&5
14645 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
14646 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14647 echo $ECHO_N "(cached) $ECHO_C" >&6
14648 else
14649 ac_get_soname_save_LIBS=$LIBS
14650 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14651 cat >conftest.$ac_ext <<_ACEOF
14652 /* confdefs.h. */
14653 _ACEOF
14654 cat confdefs.h >>conftest.$ac_ext
14655 cat >>conftest.$ac_ext <<_ACEOF
14656 /* end confdefs.h. */
14658 /* Override any gcc2 internal prototype to avoid an error. */
14659 #ifdef __cplusplus
14660 extern "C"
14661 #endif
14662 /* We use char because int might match the return type of a gcc2
14663 builtin and then its argument prototype would still apply. */
14664 char XOpenDevice ();
14666 main ()
14668 XOpenDevice ();
14670 return 0;
14672 _ACEOF
14673 rm -f conftest.$ac_objext conftest$ac_exeext
14674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14675 (eval $ac_link) 2>conftest.er1
14676 ac_status=$?
14677 grep -v '^ *+' conftest.er1 >conftest.err
14678 rm -f conftest.er1
14679 cat conftest.err >&5
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); } &&
14682 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14684 (eval $ac_try) 2>&5
14685 ac_status=$?
14686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14687 (exit $ac_status); }; } &&
14688 { ac_try='test -s conftest$ac_exeext'
14689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14690 (eval $ac_try) 2>&5
14691 ac_status=$?
14692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14693 (exit $ac_status); }; }; then
14694 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14695 if test "x$ac_cv_lib_soname_Xi" = "x"
14696 then
14697 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14699 else
14700 echo "$as_me: failed program was:" >&5
14701 sed 's/^/| /' conftest.$ac_ext >&5
14703 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
14705 rm -f conftest.err conftest.$ac_objext \
14706 conftest$ac_exeext conftest.$ac_ext
14707 LIBS=$ac_get_soname_save_LIBS
14709 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
14710 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
14711 if test "${ac_cv_lib_soname_Xi+set}" = set; then
14713 cat >>confdefs.h <<_ACEOF
14714 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
14715 _ACEOF
14719 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
14720 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
14721 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14722 echo $ECHO_N "(cached) $ECHO_C" >&6
14723 else
14724 ac_get_soname_save_LIBS=$LIBS
14725 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14726 cat >conftest.$ac_ext <<_ACEOF
14727 /* confdefs.h. */
14728 _ACEOF
14729 cat confdefs.h >>conftest.$ac_ext
14730 cat >>conftest.$ac_ext <<_ACEOF
14731 /* end confdefs.h. */
14733 /* Override any gcc2 internal prototype to avoid an error. */
14734 #ifdef __cplusplus
14735 extern "C"
14736 #endif
14737 /* We use char because int might match the return type of a gcc2
14738 builtin and then its argument prototype would still apply. */
14739 char XRenderQueryExtension ();
14741 main ()
14743 XRenderQueryExtension ();
14745 return 0;
14747 _ACEOF
14748 rm -f conftest.$ac_objext conftest$ac_exeext
14749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14750 (eval $ac_link) 2>conftest.er1
14751 ac_status=$?
14752 grep -v '^ *+' conftest.er1 >conftest.err
14753 rm -f conftest.er1
14754 cat conftest.err >&5
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); } &&
14757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14759 (eval $ac_try) 2>&5
14760 ac_status=$?
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); }; } &&
14763 { ac_try='test -s conftest$ac_exeext'
14764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14765 (eval $ac_try) 2>&5
14766 ac_status=$?
14767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14768 (exit $ac_status); }; }; then
14769 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14770 if test "x$ac_cv_lib_soname_Xrender" = "x"
14771 then
14772 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14774 else
14775 echo "$as_me: failed program was:" >&5
14776 sed 's/^/| /' conftest.$ac_ext >&5
14778 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
14780 rm -f conftest.err conftest.$ac_objext \
14781 conftest$ac_exeext conftest.$ac_ext
14782 LIBS=$ac_get_soname_save_LIBS
14784 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
14785 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
14786 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
14788 cat >>confdefs.h <<_ACEOF
14789 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
14790 _ACEOF
14794 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
14795 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
14796 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14797 echo $ECHO_N "(cached) $ECHO_C" >&6
14798 else
14799 ac_get_soname_save_LIBS=$LIBS
14800 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
14801 cat >conftest.$ac_ext <<_ACEOF
14802 /* confdefs.h. */
14803 _ACEOF
14804 cat confdefs.h >>conftest.$ac_ext
14805 cat >>conftest.$ac_ext <<_ACEOF
14806 /* end confdefs.h. */
14808 /* Override any gcc2 internal prototype to avoid an error. */
14809 #ifdef __cplusplus
14810 extern "C"
14811 #endif
14812 /* We use char because int might match the return type of a gcc2
14813 builtin and then its argument prototype would still apply. */
14814 char XRRQueryExtension ();
14816 main ()
14818 XRRQueryExtension ();
14820 return 0;
14822 _ACEOF
14823 rm -f conftest.$ac_objext conftest$ac_exeext
14824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14825 (eval $ac_link) 2>conftest.er1
14826 ac_status=$?
14827 grep -v '^ *+' conftest.er1 >conftest.err
14828 rm -f conftest.er1
14829 cat conftest.err >&5
14830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14831 (exit $ac_status); } &&
14832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14834 (eval $ac_try) 2>&5
14835 ac_status=$?
14836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14837 (exit $ac_status); }; } &&
14838 { ac_try='test -s conftest$ac_exeext'
14839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14840 (eval $ac_try) 2>&5
14841 ac_status=$?
14842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); }; }; then
14844 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14845 if test "x$ac_cv_lib_soname_Xrandr" = "x"
14846 then
14847 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14849 else
14850 echo "$as_me: failed program was:" >&5
14851 sed 's/^/| /' conftest.$ac_ext >&5
14853 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
14855 rm -f conftest.err conftest.$ac_objext \
14856 conftest$ac_exeext conftest.$ac_ext
14857 LIBS=$ac_get_soname_save_LIBS
14859 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
14860 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
14861 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
14863 cat >>confdefs.h <<_ACEOF
14864 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
14865 _ACEOF
14869 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
14870 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
14871 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14872 echo $ECHO_N "(cached) $ECHO_C" >&6
14873 else
14874 ac_get_soname_save_LIBS=$LIBS
14875 LIBS="-lfreetype $X_LIBS $LIBS"
14876 cat >conftest.$ac_ext <<_ACEOF
14877 /* confdefs.h. */
14878 _ACEOF
14879 cat confdefs.h >>conftest.$ac_ext
14880 cat >>conftest.$ac_ext <<_ACEOF
14881 /* end confdefs.h. */
14883 /* Override any gcc2 internal prototype to avoid an error. */
14884 #ifdef __cplusplus
14885 extern "C"
14886 #endif
14887 /* We use char because int might match the return type of a gcc2
14888 builtin and then its argument prototype would still apply. */
14889 char FT_Init_FreeType ();
14891 main ()
14893 FT_Init_FreeType ();
14895 return 0;
14897 _ACEOF
14898 rm -f conftest.$ac_objext conftest$ac_exeext
14899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14900 (eval $ac_link) 2>conftest.er1
14901 ac_status=$?
14902 grep -v '^ *+' conftest.er1 >conftest.err
14903 rm -f conftest.er1
14904 cat conftest.err >&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } &&
14907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14910 ac_status=$?
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try='test -s conftest$ac_exeext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14916 ac_status=$?
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14920 if test "x$ac_cv_lib_soname_freetype" = "x"
14921 then
14922 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14924 else
14925 echo "$as_me: failed program was:" >&5
14926 sed 's/^/| /' conftest.$ac_ext >&5
14928 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
14930 rm -f conftest.err conftest.$ac_objext \
14931 conftest$ac_exeext conftest.$ac_ext
14932 LIBS=$ac_get_soname_save_LIBS
14934 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
14935 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
14936 if test "${ac_cv_lib_soname_freetype+set}" = set; then
14938 cat >>confdefs.h <<_ACEOF
14939 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14940 _ACEOF
14944 echo "$as_me:$LINENO: checking for -lGL soname" >&5
14945 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
14946 if test "${ac_cv_lib_soname_GL+set}" = set; then
14947 echo $ECHO_N "(cached) $ECHO_C" >&6
14948 else
14949 ac_get_soname_save_LIBS=$LIBS
14950 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
14951 cat >conftest.$ac_ext <<_ACEOF
14952 /* confdefs.h. */
14953 _ACEOF
14954 cat confdefs.h >>conftest.$ac_ext
14955 cat >>conftest.$ac_ext <<_ACEOF
14956 /* end confdefs.h. */
14958 /* Override any gcc2 internal prototype to avoid an error. */
14959 #ifdef __cplusplus
14960 extern "C"
14961 #endif
14962 /* We use char because int might match the return type of a gcc2
14963 builtin and then its argument prototype would still apply. */
14964 char glXQueryExtension ();
14966 main ()
14968 glXQueryExtension ();
14970 return 0;
14972 _ACEOF
14973 rm -f conftest.$ac_objext conftest$ac_exeext
14974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14975 (eval $ac_link) 2>conftest.er1
14976 ac_status=$?
14977 grep -v '^ *+' conftest.er1 >conftest.err
14978 rm -f conftest.er1
14979 cat conftest.err >&5
14980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14981 (exit $ac_status); } &&
14982 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14984 (eval $ac_try) 2>&5
14985 ac_status=$?
14986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14987 (exit $ac_status); }; } &&
14988 { ac_try='test -s conftest$ac_exeext'
14989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14990 (eval $ac_try) 2>&5
14991 ac_status=$?
14992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14993 (exit $ac_status); }; }; then
14994 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14995 if test "x$ac_cv_lib_soname_GL" = "x"
14996 then
14997 ac_cv_lib_soname_GL="libGL.$LIBEXT"
14999 else
15000 echo "$as_me: failed program was:" >&5
15001 sed 's/^/| /' conftest.$ac_ext >&5
15003 ac_cv_lib_soname_GL="libGL.$LIBEXT"
15005 rm -f conftest.err conftest.$ac_objext \
15006 conftest$ac_exeext conftest.$ac_ext
15007 LIBS=$ac_get_soname_save_LIBS
15009 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
15010 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
15011 if test "${ac_cv_lib_soname_GL+set}" = set; then
15013 cat >>confdefs.h <<_ACEOF
15014 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
15015 _ACEOF
15019 echo "$as_me:$LINENO: checking for -ldbus-1 soname" >&5
15020 echo $ECHO_N "checking for -ldbus-1 soname... $ECHO_C" >&6
15021 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15022 echo $ECHO_N "(cached) $ECHO_C" >&6
15023 else
15024 ac_get_soname_save_LIBS=$LIBS
15025 LIBS="-ldbus-1 $LIBS"
15026 cat >conftest.$ac_ext <<_ACEOF
15027 /* confdefs.h. */
15028 _ACEOF
15029 cat confdefs.h >>conftest.$ac_ext
15030 cat >>conftest.$ac_ext <<_ACEOF
15031 /* end confdefs.h. */
15033 /* Override any gcc2 internal prototype to avoid an error. */
15034 #ifdef __cplusplus
15035 extern "C"
15036 #endif
15037 /* We use char because int might match the return type of a gcc2
15038 builtin and then its argument prototype would still apply. */
15039 char dbus_error_init ();
15041 main ()
15043 dbus_error_init ();
15045 return 0;
15047 _ACEOF
15048 rm -f conftest.$ac_objext conftest$ac_exeext
15049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15050 (eval $ac_link) 2>conftest.er1
15051 ac_status=$?
15052 grep -v '^ *+' conftest.er1 >conftest.err
15053 rm -f conftest.er1
15054 cat conftest.err >&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15060 ac_status=$?
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; } &&
15063 { ac_try='test -s conftest$ac_exeext'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15066 ac_status=$?
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; }; then
15069 ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest$ac_exeext | grep libdbus-1\\.$LIBEXT | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15070 if test "x$ac_cv_lib_soname_dbus_1" = "x"
15071 then
15072 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
15074 else
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.$ac_ext >&5
15078 ac_cv_lib_soname_dbus_1="libdbus-1.$LIBEXT"
15080 rm -f conftest.err conftest.$ac_objext \
15081 conftest$ac_exeext conftest.$ac_ext
15082 LIBS=$ac_get_soname_save_LIBS
15084 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_dbus_1" >&5
15085 echo "${ECHO_T}$ac_cv_lib_soname_dbus_1" >&6
15086 if test "${ac_cv_lib_soname_dbus_1+set}" = set; then
15088 cat >>confdefs.h <<_ACEOF
15089 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
15090 _ACEOF
15094 echo "$as_me:$LINENO: checking for -lhal soname" >&5
15095 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6
15096 if test "${ac_cv_lib_soname_hal+set}" = set; then
15097 echo $ECHO_N "(cached) $ECHO_C" >&6
15098 else
15099 ac_get_soname_save_LIBS=$LIBS
15100 LIBS="-lhal $LIBS"
15101 cat >conftest.$ac_ext <<_ACEOF
15102 /* confdefs.h. */
15103 _ACEOF
15104 cat confdefs.h >>conftest.$ac_ext
15105 cat >>conftest.$ac_ext <<_ACEOF
15106 /* end confdefs.h. */
15108 /* Override any gcc2 internal prototype to avoid an error. */
15109 #ifdef __cplusplus
15110 extern "C"
15111 #endif
15112 /* We use char because int might match the return type of a gcc2
15113 builtin and then its argument prototype would still apply. */
15114 char libhal_ctx_new ();
15116 main ()
15118 libhal_ctx_new ();
15120 return 0;
15122 _ACEOF
15123 rm -f conftest.$ac_objext conftest$ac_exeext
15124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15125 (eval $ac_link) 2>conftest.er1
15126 ac_status=$?
15127 grep -v '^ *+' conftest.er1 >conftest.err
15128 rm -f conftest.er1
15129 cat conftest.err >&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); } &&
15132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15135 ac_status=$?
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; } &&
15138 { ac_try='test -s conftest$ac_exeext'
15139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15140 (eval $ac_try) 2>&5
15141 ac_status=$?
15142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15143 (exit $ac_status); }; }; then
15144 ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest$ac_exeext | grep libhal\\.$LIBEXT | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15145 if test "x$ac_cv_lib_soname_hal" = "x"
15146 then
15147 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15149 else
15150 echo "$as_me: failed program was:" >&5
15151 sed 's/^/| /' conftest.$ac_ext >&5
15153 ac_cv_lib_soname_hal="libhal.$LIBEXT"
15155 rm -f conftest.err conftest.$ac_objext \
15156 conftest$ac_exeext conftest.$ac_ext
15157 LIBS=$ac_get_soname_save_LIBS
15159 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
15160 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6
15161 if test "${ac_cv_lib_soname_hal+set}" = set; then
15163 cat >>confdefs.h <<_ACEOF
15164 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
15165 _ACEOF
15169 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
15170 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
15171 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15172 echo $ECHO_N "(cached) $ECHO_C" >&6
15173 else
15174 ac_get_soname_save_LIBS=$LIBS
15175 LIBS="-ltxc_dxtn $LIBS"
15176 cat >conftest.$ac_ext <<_ACEOF
15177 /* confdefs.h. */
15178 _ACEOF
15179 cat confdefs.h >>conftest.$ac_ext
15180 cat >>conftest.$ac_ext <<_ACEOF
15181 /* end confdefs.h. */
15183 /* Override any gcc2 internal prototype to avoid an error. */
15184 #ifdef __cplusplus
15185 extern "C"
15186 #endif
15187 /* We use char because int might match the return type of a gcc2
15188 builtin and then its argument prototype would still apply. */
15189 char fetch_2d_texel_rgba_dxt1 ();
15191 main ()
15193 fetch_2d_texel_rgba_dxt1 ();
15195 return 0;
15197 _ACEOF
15198 rm -f conftest.$ac_objext conftest$ac_exeext
15199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15200 (eval $ac_link) 2>conftest.er1
15201 ac_status=$?
15202 grep -v '^ *+' conftest.er1 >conftest.err
15203 rm -f conftest.er1
15204 cat conftest.err >&5
15205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15206 (exit $ac_status); } &&
15207 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15209 (eval $ac_try) 2>&5
15210 ac_status=$?
15211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15212 (exit $ac_status); }; } &&
15213 { ac_try='test -s conftest$ac_exeext'
15214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15215 (eval $ac_try) 2>&5
15216 ac_status=$?
15217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15218 (exit $ac_status); }; }; then
15219 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed -e "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15220 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
15221 then
15222 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15224 else
15225 echo "$as_me: failed program was:" >&5
15226 sed 's/^/| /' conftest.$ac_ext >&5
15228 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
15230 rm -f conftest.err conftest.$ac_objext \
15231 conftest$ac_exeext conftest.$ac_ext
15232 LIBS=$ac_get_soname_save_LIBS
15234 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
15235 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
15236 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
15238 cat >>confdefs.h <<_ACEOF
15239 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
15240 _ACEOF
15244 echo "$as_me:$LINENO: checking for -lcups soname" >&5
15245 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
15246 if test "${ac_cv_lib_soname_cups+set}" = set; then
15247 echo $ECHO_N "(cached) $ECHO_C" >&6
15248 else
15249 ac_get_soname_save_LIBS=$LIBS
15250 LIBS="-lcups $LIBS"
15251 cat >conftest.$ac_ext <<_ACEOF
15252 /* confdefs.h. */
15253 _ACEOF
15254 cat confdefs.h >>conftest.$ac_ext
15255 cat >>conftest.$ac_ext <<_ACEOF
15256 /* end confdefs.h. */
15258 /* Override any gcc2 internal prototype to avoid an error. */
15259 #ifdef __cplusplus
15260 extern "C"
15261 #endif
15262 /* We use char because int might match the return type of a gcc2
15263 builtin and then its argument prototype would still apply. */
15264 char cupsGetDefault ();
15266 main ()
15268 cupsGetDefault ();
15270 return 0;
15272 _ACEOF
15273 rm -f conftest.$ac_objext conftest$ac_exeext
15274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15275 (eval $ac_link) 2>conftest.er1
15276 ac_status=$?
15277 grep -v '^ *+' conftest.er1 >conftest.err
15278 rm -f conftest.er1
15279 cat conftest.err >&5
15280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15281 (exit $ac_status); } &&
15282 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15284 (eval $ac_try) 2>&5
15285 ac_status=$?
15286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15287 (exit $ac_status); }; } &&
15288 { ac_try='test -s conftest$ac_exeext'
15289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15290 (eval $ac_try) 2>&5
15291 ac_status=$?
15292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15293 (exit $ac_status); }; }; then
15294 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15295 if test "x$ac_cv_lib_soname_cups" = "x"
15296 then
15297 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15299 else
15300 echo "$as_me: failed program was:" >&5
15301 sed 's/^/| /' conftest.$ac_ext >&5
15303 ac_cv_lib_soname_cups="libcups.$LIBEXT"
15305 rm -f conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15307 LIBS=$ac_get_soname_save_LIBS
15309 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
15310 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
15311 if test "${ac_cv_lib_soname_cups+set}" = set; then
15313 cat >>confdefs.h <<_ACEOF
15314 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15315 _ACEOF
15319 echo "$as_me:$LINENO: checking for -ljack soname" >&5
15320 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
15321 if test "${ac_cv_lib_soname_jack+set}" = set; then
15322 echo $ECHO_N "(cached) $ECHO_C" >&6
15323 else
15324 ac_get_soname_save_LIBS=$LIBS
15325 LIBS="-ljack $LIBS"
15326 cat >conftest.$ac_ext <<_ACEOF
15327 /* confdefs.h. */
15328 _ACEOF
15329 cat confdefs.h >>conftest.$ac_ext
15330 cat >>conftest.$ac_ext <<_ACEOF
15331 /* end confdefs.h. */
15333 /* Override any gcc2 internal prototype to avoid an error. */
15334 #ifdef __cplusplus
15335 extern "C"
15336 #endif
15337 /* We use char because int might match the return type of a gcc2
15338 builtin and then its argument prototype would still apply. */
15339 char jack_client_new ();
15341 main ()
15343 jack_client_new ();
15345 return 0;
15347 _ACEOF
15348 rm -f conftest.$ac_objext conftest$ac_exeext
15349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15350 (eval $ac_link) 2>conftest.er1
15351 ac_status=$?
15352 grep -v '^ *+' conftest.er1 >conftest.err
15353 rm -f conftest.er1
15354 cat conftest.err >&5
15355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15356 (exit $ac_status); } &&
15357 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15359 (eval $ac_try) 2>&5
15360 ac_status=$?
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); }; } &&
15363 { ac_try='test -s conftest$ac_exeext'
15364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15365 (eval $ac_try) 2>&5
15366 ac_status=$?
15367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15368 (exit $ac_status); }; }; then
15369 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed -e "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15370 if test "x$ac_cv_lib_soname_jack" = "x"
15371 then
15372 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15374 else
15375 echo "$as_me: failed program was:" >&5
15376 sed 's/^/| /' conftest.$ac_ext >&5
15378 ac_cv_lib_soname_jack="libjack.$LIBEXT"
15380 rm -f conftest.err conftest.$ac_objext \
15381 conftest$ac_exeext conftest.$ac_ext
15382 LIBS=$ac_get_soname_save_LIBS
15384 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
15385 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
15386 if test "${ac_cv_lib_soname_jack+set}" = set; then
15388 cat >>confdefs.h <<_ACEOF
15389 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
15390 _ACEOF
15394 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
15395 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
15396 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15397 echo $ECHO_N "(cached) $ECHO_C" >&6
15398 else
15399 ac_get_soname_save_LIBS=$LIBS
15400 LIBS="-lfontconfig $LIBS"
15401 cat >conftest.$ac_ext <<_ACEOF
15402 /* confdefs.h. */
15403 _ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15408 /* Override any gcc2 internal prototype to avoid an error. */
15409 #ifdef __cplusplus
15410 extern "C"
15411 #endif
15412 /* We use char because int might match the return type of a gcc2
15413 builtin and then its argument prototype would still apply. */
15414 char FcInit ();
15416 main ()
15418 FcInit ();
15420 return 0;
15422 _ACEOF
15423 rm -f conftest.$ac_objext conftest$ac_exeext
15424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15425 (eval $ac_link) 2>conftest.er1
15426 ac_status=$?
15427 grep -v '^ *+' conftest.er1 >conftest.err
15428 rm -f conftest.er1
15429 cat conftest.err >&5
15430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15431 (exit $ac_status); } &&
15432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15434 (eval $ac_try) 2>&5
15435 ac_status=$?
15436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15437 (exit $ac_status); }; } &&
15438 { ac_try='test -s conftest$ac_exeext'
15439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15440 (eval $ac_try) 2>&5
15441 ac_status=$?
15442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15443 (exit $ac_status); }; }; then
15444 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15445 if test "x$ac_cv_lib_soname_fontconfig" = "x"
15446 then
15447 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15449 else
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.$ac_ext >&5
15453 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
15455 rm -f conftest.err conftest.$ac_objext \
15456 conftest$ac_exeext conftest.$ac_ext
15457 LIBS=$ac_get_soname_save_LIBS
15459 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
15460 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
15461 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
15463 cat >>confdefs.h <<_ACEOF
15464 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15465 _ACEOF
15469 echo "$as_me:$LINENO: checking for -lssl soname" >&5
15470 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
15471 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15473 else
15474 ac_get_soname_save_LIBS=$LIBS
15475 LIBS="-lssl $LIBS"
15476 cat >conftest.$ac_ext <<_ACEOF
15477 /* confdefs.h. */
15478 _ACEOF
15479 cat confdefs.h >>conftest.$ac_ext
15480 cat >>conftest.$ac_ext <<_ACEOF
15481 /* end confdefs.h. */
15483 /* Override any gcc2 internal prototype to avoid an error. */
15484 #ifdef __cplusplus
15485 extern "C"
15486 #endif
15487 /* We use char because int might match the return type of a gcc2
15488 builtin and then its argument prototype would still apply. */
15489 char SSL_library_init ();
15491 main ()
15493 SSL_library_init ();
15495 return 0;
15497 _ACEOF
15498 rm -f conftest.$ac_objext conftest$ac_exeext
15499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15500 (eval $ac_link) 2>conftest.er1
15501 ac_status=$?
15502 grep -v '^ *+' conftest.er1 >conftest.err
15503 rm -f conftest.er1
15504 cat conftest.err >&5
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); } &&
15507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15509 (eval $ac_try) 2>&5
15510 ac_status=$?
15511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15512 (exit $ac_status); }; } &&
15513 { ac_try='test -s conftest$ac_exeext'
15514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15515 (eval $ac_try) 2>&5
15516 ac_status=$?
15517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15518 (exit $ac_status); }; }; then
15519 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15520 if test "x$ac_cv_lib_soname_ssl" = "x"
15521 then
15522 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15524 else
15525 echo "$as_me: failed program was:" >&5
15526 sed 's/^/| /' conftest.$ac_ext >&5
15528 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
15530 rm -f conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext conftest.$ac_ext
15532 LIBS=$ac_get_soname_save_LIBS
15534 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
15535 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
15536 if test "${ac_cv_lib_soname_ssl+set}" = set; then
15538 cat >>confdefs.h <<_ACEOF
15539 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
15540 _ACEOF
15544 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
15545 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
15546 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15547 echo $ECHO_N "(cached) $ECHO_C" >&6
15548 else
15549 ac_get_soname_save_LIBS=$LIBS
15550 LIBS="-lcrypto $LIBS"
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15558 /* Override any gcc2 internal prototype to avoid an error. */
15559 #ifdef __cplusplus
15560 extern "C"
15561 #endif
15562 /* We use char because int might match the return type of a gcc2
15563 builtin and then its argument prototype would still apply. */
15564 char BIO_new_socket ();
15566 main ()
15568 BIO_new_socket ();
15570 return 0;
15572 _ACEOF
15573 rm -f conftest.$ac_objext conftest$ac_exeext
15574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15575 (eval $ac_link) 2>conftest.er1
15576 ac_status=$?
15577 grep -v '^ *+' conftest.er1 >conftest.err
15578 rm -f conftest.er1
15579 cat conftest.err >&5
15580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } &&
15582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15584 (eval $ac_try) 2>&5
15585 ac_status=$?
15586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15587 (exit $ac_status); }; } &&
15588 { ac_try='test -s conftest$ac_exeext'
15589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15590 (eval $ac_try) 2>&5
15591 ac_status=$?
15592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15593 (exit $ac_status); }; }; then
15594 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15595 if test "x$ac_cv_lib_soname_crypto" = "x"
15596 then
15597 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15599 else
15600 echo "$as_me: failed program was:" >&5
15601 sed 's/^/| /' conftest.$ac_ext >&5
15603 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
15605 rm -f conftest.err conftest.$ac_objext \
15606 conftest$ac_exeext conftest.$ac_ext
15607 LIBS=$ac_get_soname_save_LIBS
15609 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
15610 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
15611 if test "${ac_cv_lib_soname_crypto+set}" = set; then
15613 cat >>confdefs.h <<_ACEOF
15614 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
15615 _ACEOF
15619 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
15620 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
15621 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15622 echo $ECHO_N "(cached) $ECHO_C" >&6
15623 else
15624 ac_get_soname_save_LIBS=$LIBS
15625 LIBS="-lncurses $LIBS"
15626 cat >conftest.$ac_ext <<_ACEOF
15627 /* confdefs.h. */
15628 _ACEOF
15629 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15633 /* Override any gcc2 internal prototype to avoid an error. */
15634 #ifdef __cplusplus
15635 extern "C"
15636 #endif
15637 /* We use char because int might match the return type of a gcc2
15638 builtin and then its argument prototype would still apply. */
15639 char waddch ();
15641 main ()
15643 waddch ();
15645 return 0;
15647 _ACEOF
15648 rm -f conftest.$ac_objext conftest$ac_exeext
15649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15650 (eval $ac_link) 2>conftest.er1
15651 ac_status=$?
15652 grep -v '^ *+' conftest.er1 >conftest.err
15653 rm -f conftest.er1
15654 cat conftest.err >&5
15655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15656 (exit $ac_status); } &&
15657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15659 (eval $ac_try) 2>&5
15660 ac_status=$?
15661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15662 (exit $ac_status); }; } &&
15663 { ac_try='test -s conftest$ac_exeext'
15664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15665 (eval $ac_try) 2>&5
15666 ac_status=$?
15667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15668 (exit $ac_status); }; }; then
15669 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15670 if test "x$ac_cv_lib_soname_ncurses" = "x"
15671 then
15672 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15674 else
15675 echo "$as_me: failed program was:" >&5
15676 sed 's/^/| /' conftest.$ac_ext >&5
15678 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
15680 rm -f conftest.err conftest.$ac_objext \
15681 conftest$ac_exeext conftest.$ac_ext
15682 LIBS=$ac_get_soname_save_LIBS
15684 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
15685 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
15686 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
15688 cat >>confdefs.h <<_ACEOF
15689 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
15690 _ACEOF
15694 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
15695 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
15696 if test "${ac_cv_lib_soname_curses+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else
15699 ac_get_soname_save_LIBS=$LIBS
15700 LIBS="-lcurses $LIBS"
15701 cat >conftest.$ac_ext <<_ACEOF
15702 /* confdefs.h. */
15703 _ACEOF
15704 cat confdefs.h >>conftest.$ac_ext
15705 cat >>conftest.$ac_ext <<_ACEOF
15706 /* end confdefs.h. */
15708 /* Override any gcc2 internal prototype to avoid an error. */
15709 #ifdef __cplusplus
15710 extern "C"
15711 #endif
15712 /* We use char because int might match the return type of a gcc2
15713 builtin and then its argument prototype would still apply. */
15714 char waddch ();
15716 main ()
15718 waddch ();
15720 return 0;
15722 _ACEOF
15723 rm -f conftest.$ac_objext conftest$ac_exeext
15724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15725 (eval $ac_link) 2>conftest.er1
15726 ac_status=$?
15727 grep -v '^ *+' conftest.er1 >conftest.err
15728 rm -f conftest.er1
15729 cat conftest.err >&5
15730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15731 (exit $ac_status); } &&
15732 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15734 (eval $ac_try) 2>&5
15735 ac_status=$?
15736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15737 (exit $ac_status); }; } &&
15738 { ac_try='test -s conftest$ac_exeext'
15739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15740 (eval $ac_try) 2>&5
15741 ac_status=$?
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); }; }; then
15744 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15745 if test "x$ac_cv_lib_soname_curses" = "x"
15746 then
15747 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15749 else
15750 echo "$as_me: failed program was:" >&5
15751 sed 's/^/| /' conftest.$ac_ext >&5
15753 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
15755 rm -f conftest.err conftest.$ac_objext \
15756 conftest$ac_exeext conftest.$ac_ext
15757 LIBS=$ac_get_soname_save_LIBS
15759 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
15760 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
15761 if test "${ac_cv_lib_soname_curses+set}" = set; then
15763 cat >>confdefs.h <<_ACEOF
15764 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
15765 _ACEOF
15769 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
15770 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
15771 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15772 echo $ECHO_N "(cached) $ECHO_C" >&6
15773 else
15774 ac_get_soname_save_LIBS=$LIBS
15775 LIBS="-ljpeg $LIBS"
15776 cat >conftest.$ac_ext <<_ACEOF
15777 /* confdefs.h. */
15778 _ACEOF
15779 cat confdefs.h >>conftest.$ac_ext
15780 cat >>conftest.$ac_ext <<_ACEOF
15781 /* end confdefs.h. */
15783 /* Override any gcc2 internal prototype to avoid an error. */
15784 #ifdef __cplusplus
15785 extern "C"
15786 #endif
15787 /* We use char because int might match the return type of a gcc2
15788 builtin and then its argument prototype would still apply. */
15789 char jpeg_start_decompress ();
15791 main ()
15793 jpeg_start_decompress ();
15795 return 0;
15797 _ACEOF
15798 rm -f conftest.$ac_objext conftest$ac_exeext
15799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15800 (eval $ac_link) 2>conftest.er1
15801 ac_status=$?
15802 grep -v '^ *+' conftest.er1 >conftest.err
15803 rm -f conftest.er1
15804 cat conftest.err >&5
15805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15806 (exit $ac_status); } &&
15807 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15809 (eval $ac_try) 2>&5
15810 ac_status=$?
15811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15812 (exit $ac_status); }; } &&
15813 { ac_try='test -s conftest$ac_exeext'
15814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15815 (eval $ac_try) 2>&5
15816 ac_status=$?
15817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15818 (exit $ac_status); }; }; then
15819 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15820 if test "x$ac_cv_lib_soname_jpeg" = "x"
15821 then
15822 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15824 else
15825 echo "$as_me: failed program was:" >&5
15826 sed 's/^/| /' conftest.$ac_ext >&5
15828 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
15830 rm -f conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15832 LIBS=$ac_get_soname_save_LIBS
15834 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
15835 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
15836 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
15838 cat >>confdefs.h <<_ACEOF
15839 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15840 _ACEOF
15844 echo "$as_me:$LINENO: checking for -lungif soname" >&5
15845 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
15846 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15847 echo $ECHO_N "(cached) $ECHO_C" >&6
15848 else
15849 ac_get_soname_save_LIBS=$LIBS
15850 LIBS="-lungif $LIBS"
15851 cat >conftest.$ac_ext <<_ACEOF
15852 /* confdefs.h. */
15853 _ACEOF
15854 cat confdefs.h >>conftest.$ac_ext
15855 cat >>conftest.$ac_ext <<_ACEOF
15856 /* end confdefs.h. */
15858 /* Override any gcc2 internal prototype to avoid an error. */
15859 #ifdef __cplusplus
15860 extern "C"
15861 #endif
15862 /* We use char because int might match the return type of a gcc2
15863 builtin and then its argument prototype would still apply. */
15864 char DGifOpen ();
15866 main ()
15868 DGifOpen ();
15870 return 0;
15872 _ACEOF
15873 rm -f conftest.$ac_objext conftest$ac_exeext
15874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15875 (eval $ac_link) 2>conftest.er1
15876 ac_status=$?
15877 grep -v '^ *+' conftest.er1 >conftest.err
15878 rm -f conftest.er1
15879 cat conftest.err >&5
15880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15881 (exit $ac_status); } &&
15882 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15885 ac_status=$?
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; } &&
15888 { ac_try='test -s conftest$ac_exeext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15891 ac_status=$?
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed -e "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15895 if test "x$ac_cv_lib_soname_ungif" = "x"
15896 then
15897 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15903 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
15905 rm -f conftest.err conftest.$ac_objext \
15906 conftest$ac_exeext conftest.$ac_ext
15907 LIBS=$ac_get_soname_save_LIBS
15909 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
15910 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
15911 if test "${ac_cv_lib_soname_ungif+set}" = set; then
15913 cat >>confdefs.h <<_ACEOF
15914 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
15915 _ACEOF
15919 echo "$as_me:$LINENO: checking for -lgif soname" >&5
15920 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
15921 if test "${ac_cv_lib_soname_gif+set}" = set; then
15922 echo $ECHO_N "(cached) $ECHO_C" >&6
15923 else
15924 ac_get_soname_save_LIBS=$LIBS
15925 LIBS="-lgif $LIBS"
15926 cat >conftest.$ac_ext <<_ACEOF
15927 /* confdefs.h. */
15928 _ACEOF
15929 cat confdefs.h >>conftest.$ac_ext
15930 cat >>conftest.$ac_ext <<_ACEOF
15931 /* end confdefs.h. */
15933 /* Override any gcc2 internal prototype to avoid an error. */
15934 #ifdef __cplusplus
15935 extern "C"
15936 #endif
15937 /* We use char because int might match the return type of a gcc2
15938 builtin and then its argument prototype would still apply. */
15939 char DGifOpen ();
15941 main ()
15943 DGifOpen ();
15945 return 0;
15947 _ACEOF
15948 rm -f conftest.$ac_objext conftest$ac_exeext
15949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15950 (eval $ac_link) 2>conftest.er1
15951 ac_status=$?
15952 grep -v '^ *+' conftest.er1 >conftest.err
15953 rm -f conftest.er1
15954 cat conftest.err >&5
15955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15956 (exit $ac_status); } &&
15957 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15959 (eval $ac_try) 2>&5
15960 ac_status=$?
15961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15962 (exit $ac_status); }; } &&
15963 { ac_try='test -s conftest$ac_exeext'
15964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15965 (eval $ac_try) 2>&5
15966 ac_status=$?
15967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15968 (exit $ac_status); }; }; then
15969 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed -e "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15970 if test "x$ac_cv_lib_soname_gif" = "x"
15971 then
15972 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15974 else
15975 echo "$as_me: failed program was:" >&5
15976 sed 's/^/| /' conftest.$ac_ext >&5
15978 ac_cv_lib_soname_gif="libgif.$LIBEXT"
15980 rm -f conftest.err conftest.$ac_objext \
15981 conftest$ac_exeext conftest.$ac_ext
15982 LIBS=$ac_get_soname_save_LIBS
15984 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
15985 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
15986 if test "${ac_cv_lib_soname_gif+set}" = set; then
15988 cat >>confdefs.h <<_ACEOF
15989 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
15990 _ACEOF
15994 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
15995 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
15996 if test "${ac_cv_lib_soname_capi20+set}" = set; then
15997 echo $ECHO_N "(cached) $ECHO_C" >&6
15998 else
15999 ac_get_soname_save_LIBS=$LIBS
16000 LIBS="-lcapi20 $LIBS"
16001 cat >conftest.$ac_ext <<_ACEOF
16002 /* confdefs.h. */
16003 _ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16008 /* Override any gcc2 internal prototype to avoid an error. */
16009 #ifdef __cplusplus
16010 extern "C"
16011 #endif
16012 /* We use char because int might match the return type of a gcc2
16013 builtin and then its argument prototype would still apply. */
16014 char capi20_isinstalled ();
16016 main ()
16018 capi20_isinstalled ();
16020 return 0;
16022 _ACEOF
16023 rm -f conftest.$ac_objext conftest$ac_exeext
16024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16025 (eval $ac_link) 2>conftest.er1
16026 ac_status=$?
16027 grep -v '^ *+' conftest.er1 >conftest.err
16028 rm -f conftest.er1
16029 cat conftest.err >&5
16030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16031 (exit $ac_status); } &&
16032 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16034 (eval $ac_try) 2>&5
16035 ac_status=$?
16036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16037 (exit $ac_status); }; } &&
16038 { ac_try='test -s conftest$ac_exeext'
16039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16040 (eval $ac_try) 2>&5
16041 ac_status=$?
16042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16043 (exit $ac_status); }; }; then
16044 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16045 if test "x$ac_cv_lib_soname_capi20" = "x"
16046 then
16047 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
16049 else
16050 echo "$as_me: failed program was:" >&5
16051 sed 's/^/| /' conftest.$ac_ext >&5
16053 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
16055 rm -f conftest.err conftest.$ac_objext \
16056 conftest$ac_exeext conftest.$ac_ext
16057 LIBS=$ac_get_soname_save_LIBS
16059 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
16060 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
16061 if test "${ac_cv_lib_soname_capi20+set}" = set; then
16063 cat >>confdefs.h <<_ACEOF
16064 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
16065 _ACEOF
16137 for ac_func in \
16138 _lwp_create \
16139 _lwp_self \
16140 _pclose \
16141 _popen \
16142 _snprintf \
16143 _spawnvp \
16144 _stricmp \
16145 _strnicmp \
16146 _vsnprintf \
16147 asctime_r \
16148 chsize \
16149 clone \
16150 epoll_create \
16151 ffs \
16152 finite \
16153 fork \
16154 fpclass \
16155 fstatfs \
16156 fstatvfs \
16157 ftruncate \
16158 futimes \
16159 futimesat \
16160 getaddrinfo \
16161 getnameinfo \
16162 getnetbyname \
16163 getopt_long \
16164 getpagesize \
16165 getprotobyname \
16166 getprotobynumber \
16167 getpwuid \
16168 getservbyport \
16169 gettid \
16170 gettimeofday \
16171 getuid \
16172 inet_network \
16173 lstat \
16174 memmove \
16175 mmap \
16176 pclose \
16177 popen \
16178 prctl \
16179 pread \
16180 pwrite \
16181 readlink \
16182 rfork \
16183 sched_yield \
16184 select \
16185 sendmsg \
16186 settimeofday \
16187 sigaltstack \
16188 sigprocmask \
16189 snprintf \
16190 spawnvp \
16191 statfs \
16192 statvfs \
16193 strcasecmp \
16194 strerror \
16195 strncasecmp \
16196 tcgetattr \
16197 timegm \
16198 usleep \
16199 vsnprintf \
16200 wait4 \
16201 waitpid \
16204 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16205 echo "$as_me:$LINENO: checking for $ac_func" >&5
16206 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16207 if eval "test \"\${$as_ac_var+set}\" = set"; then
16208 echo $ECHO_N "(cached) $ECHO_C" >&6
16209 else
16210 cat >conftest.$ac_ext <<_ACEOF
16211 /* confdefs.h. */
16212 _ACEOF
16213 cat confdefs.h >>conftest.$ac_ext
16214 cat >>conftest.$ac_ext <<_ACEOF
16215 /* end confdefs.h. */
16216 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16217 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16218 #define $ac_func innocuous_$ac_func
16220 /* System header to define __stub macros and hopefully few prototypes,
16221 which can conflict with char $ac_func (); below.
16222 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16223 <limits.h> exists even on freestanding compilers. */
16225 #ifdef __STDC__
16226 # include <limits.h>
16227 #else
16228 # include <assert.h>
16229 #endif
16231 #undef $ac_func
16233 /* Override any gcc2 internal prototype to avoid an error. */
16234 #ifdef __cplusplus
16235 extern "C"
16237 #endif
16238 /* We use char because int might match the return type of a gcc2
16239 builtin and then its argument prototype would still apply. */
16240 char $ac_func ();
16241 /* The GNU C library defines this for functions which it implements
16242 to always fail with ENOSYS. Some functions are actually named
16243 something starting with __ and the normal name is an alias. */
16244 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16245 choke me
16246 #else
16247 char (*f) () = $ac_func;
16248 #endif
16249 #ifdef __cplusplus
16251 #endif
16254 main ()
16256 return f != $ac_func;
16258 return 0;
16260 _ACEOF
16261 rm -f conftest.$ac_objext conftest$ac_exeext
16262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16263 (eval $ac_link) 2>conftest.er1
16264 ac_status=$?
16265 grep -v '^ *+' conftest.er1 >conftest.err
16266 rm -f conftest.er1
16267 cat conftest.err >&5
16268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16269 (exit $ac_status); } &&
16270 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16272 (eval $ac_try) 2>&5
16273 ac_status=$?
16274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16275 (exit $ac_status); }; } &&
16276 { ac_try='test -s conftest$ac_exeext'
16277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16278 (eval $ac_try) 2>&5
16279 ac_status=$?
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); }; }; then
16282 eval "$as_ac_var=yes"
16283 else
16284 echo "$as_me: failed program was:" >&5
16285 sed 's/^/| /' conftest.$ac_ext >&5
16287 eval "$as_ac_var=no"
16289 rm -f conftest.err conftest.$ac_objext \
16290 conftest$ac_exeext conftest.$ac_ext
16292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16294 if test `eval echo '${'$as_ac_var'}'` = yes; then
16295 cat >>confdefs.h <<_ACEOF
16296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16297 _ACEOF
16300 done
16305 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16306 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
16307 if test "${ac_cv_c_const+set}" = set; then
16308 echo $ECHO_N "(cached) $ECHO_C" >&6
16309 else
16310 cat >conftest.$ac_ext <<_ACEOF
16311 /* confdefs.h. */
16312 _ACEOF
16313 cat confdefs.h >>conftest.$ac_ext
16314 cat >>conftest.$ac_ext <<_ACEOF
16315 /* end confdefs.h. */
16318 main ()
16320 /* FIXME: Include the comments suggested by Paul. */
16321 #ifndef __cplusplus
16322 /* Ultrix mips cc rejects this. */
16323 typedef int charset[2];
16324 const charset x;
16325 /* SunOS 4.1.1 cc rejects this. */
16326 char const *const *ccp;
16327 char **p;
16328 /* NEC SVR4.0.2 mips cc rejects this. */
16329 struct point {int x, y;};
16330 static struct point const zero = {0,0};
16331 /* AIX XL C 1.02.0.0 rejects this.
16332 It does not let you subtract one const X* pointer from another in
16333 an arm of an if-expression whose if-part is not a constant
16334 expression */
16335 const char *g = "string";
16336 ccp = &g + (g ? g-g : 0);
16337 /* HPUX 7.0 cc rejects these. */
16338 ++ccp;
16339 p = (char**) ccp;
16340 ccp = (char const *const *) p;
16341 { /* SCO 3.2v4 cc rejects this. */
16342 char *t;
16343 char const *s = 0 ? (char *) 0 : (char const *) 0;
16345 *t++ = 0;
16347 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
16348 int x[] = {25, 17};
16349 const int *foo = &x[0];
16350 ++foo;
16352 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
16353 typedef const int *iptr;
16354 iptr p = 0;
16355 ++p;
16357 { /* AIX XL C 1.02.0.0 rejects this saying
16358 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
16359 struct s { int j; const int *ap[3]; };
16360 struct s *b; b->j = 5;
16362 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
16363 const int foo = 10;
16365 #endif
16368 return 0;
16370 _ACEOF
16371 rm -f conftest.$ac_objext
16372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16373 (eval $ac_compile) 2>conftest.er1
16374 ac_status=$?
16375 grep -v '^ *+' conftest.er1 >conftest.err
16376 rm -f conftest.er1
16377 cat conftest.err >&5
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); } &&
16380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16383 ac_status=$?
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; } &&
16386 { ac_try='test -s conftest.$ac_objext'
16387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16388 (eval $ac_try) 2>&5
16389 ac_status=$?
16390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16391 (exit $ac_status); }; }; then
16392 ac_cv_c_const=yes
16393 else
16394 echo "$as_me: failed program was:" >&5
16395 sed 's/^/| /' conftest.$ac_ext >&5
16397 ac_cv_c_const=no
16399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16401 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
16402 echo "${ECHO_T}$ac_cv_c_const" >&6
16403 if test $ac_cv_c_const = no; then
16405 cat >>confdefs.h <<\_ACEOF
16406 #define const
16407 _ACEOF
16411 echo "$as_me:$LINENO: checking for inline" >&5
16412 echo $ECHO_N "checking for inline... $ECHO_C" >&6
16413 if test "${ac_cv_c_inline+set}" = set; then
16414 echo $ECHO_N "(cached) $ECHO_C" >&6
16415 else
16416 ac_cv_c_inline=no
16417 for ac_kw in inline __inline__ __inline; do
16418 cat >conftest.$ac_ext <<_ACEOF
16419 /* confdefs.h. */
16420 _ACEOF
16421 cat confdefs.h >>conftest.$ac_ext
16422 cat >>conftest.$ac_ext <<_ACEOF
16423 /* end confdefs.h. */
16424 #ifndef __cplusplus
16425 typedef int foo_t;
16426 static $ac_kw foo_t static_foo () {return 0; }
16427 $ac_kw foo_t foo () {return 0; }
16428 #endif
16430 _ACEOF
16431 rm -f conftest.$ac_objext
16432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16433 (eval $ac_compile) 2>conftest.er1
16434 ac_status=$?
16435 grep -v '^ *+' conftest.er1 >conftest.err
16436 rm -f conftest.er1
16437 cat conftest.err >&5
16438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16439 (exit $ac_status); } &&
16440 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16442 (eval $ac_try) 2>&5
16443 ac_status=$?
16444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16445 (exit $ac_status); }; } &&
16446 { ac_try='test -s conftest.$ac_objext'
16447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16448 (eval $ac_try) 2>&5
16449 ac_status=$?
16450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16451 (exit $ac_status); }; }; then
16452 ac_cv_c_inline=$ac_kw; break
16453 else
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.$ac_ext >&5
16458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16459 done
16462 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
16463 echo "${ECHO_T}$ac_cv_c_inline" >&6
16466 case $ac_cv_c_inline in
16467 inline | yes) ;;
16469 case $ac_cv_c_inline in
16470 no) ac_val=;;
16471 *) ac_val=$ac_cv_c_inline;;
16472 esac
16473 cat >>confdefs.h <<_ACEOF
16474 #ifndef __cplusplus
16475 #define inline $ac_val
16476 #endif
16477 _ACEOF
16479 esac
16481 echo "$as_me:$LINENO: checking for mode_t" >&5
16482 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
16483 if test "${ac_cv_type_mode_t+set}" = set; then
16484 echo $ECHO_N "(cached) $ECHO_C" >&6
16485 else
16486 cat >conftest.$ac_ext <<_ACEOF
16487 /* confdefs.h. */
16488 _ACEOF
16489 cat confdefs.h >>conftest.$ac_ext
16490 cat >>conftest.$ac_ext <<_ACEOF
16491 /* end confdefs.h. */
16492 $ac_includes_default
16494 main ()
16496 if ((mode_t *) 0)
16497 return 0;
16498 if (sizeof (mode_t))
16499 return 0;
16501 return 0;
16503 _ACEOF
16504 rm -f conftest.$ac_objext
16505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16506 (eval $ac_compile) 2>conftest.er1
16507 ac_status=$?
16508 grep -v '^ *+' conftest.er1 >conftest.err
16509 rm -f conftest.er1
16510 cat conftest.err >&5
16511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16512 (exit $ac_status); } &&
16513 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16515 (eval $ac_try) 2>&5
16516 ac_status=$?
16517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16518 (exit $ac_status); }; } &&
16519 { ac_try='test -s conftest.$ac_objext'
16520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16521 (eval $ac_try) 2>&5
16522 ac_status=$?
16523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16524 (exit $ac_status); }; }; then
16525 ac_cv_type_mode_t=yes
16526 else
16527 echo "$as_me: failed program was:" >&5
16528 sed 's/^/| /' conftest.$ac_ext >&5
16530 ac_cv_type_mode_t=no
16532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16534 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
16535 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
16536 if test $ac_cv_type_mode_t = yes; then
16538 cat >>confdefs.h <<_ACEOF
16539 #define HAVE_MODE_T 1
16540 _ACEOF
16544 echo "$as_me:$LINENO: checking for off_t" >&5
16545 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
16546 if test "${ac_cv_type_off_t+set}" = set; then
16547 echo $ECHO_N "(cached) $ECHO_C" >&6
16548 else
16549 cat >conftest.$ac_ext <<_ACEOF
16550 /* confdefs.h. */
16551 _ACEOF
16552 cat confdefs.h >>conftest.$ac_ext
16553 cat >>conftest.$ac_ext <<_ACEOF
16554 /* end confdefs.h. */
16555 $ac_includes_default
16557 main ()
16559 if ((off_t *) 0)
16560 return 0;
16561 if (sizeof (off_t))
16562 return 0;
16564 return 0;
16566 _ACEOF
16567 rm -f conftest.$ac_objext
16568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16569 (eval $ac_compile) 2>conftest.er1
16570 ac_status=$?
16571 grep -v '^ *+' conftest.er1 >conftest.err
16572 rm -f conftest.er1
16573 cat conftest.err >&5
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); } &&
16576 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16578 (eval $ac_try) 2>&5
16579 ac_status=$?
16580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16581 (exit $ac_status); }; } &&
16582 { ac_try='test -s conftest.$ac_objext'
16583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16584 (eval $ac_try) 2>&5
16585 ac_status=$?
16586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16587 (exit $ac_status); }; }; then
16588 ac_cv_type_off_t=yes
16589 else
16590 echo "$as_me: failed program was:" >&5
16591 sed 's/^/| /' conftest.$ac_ext >&5
16593 ac_cv_type_off_t=no
16595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16597 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
16598 echo "${ECHO_T}$ac_cv_type_off_t" >&6
16599 if test $ac_cv_type_off_t = yes; then
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_OFF_T 1
16603 _ACEOF
16607 echo "$as_me:$LINENO: checking for pid_t" >&5
16608 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
16609 if test "${ac_cv_type_pid_t+set}" = set; then
16610 echo $ECHO_N "(cached) $ECHO_C" >&6
16611 else
16612 cat >conftest.$ac_ext <<_ACEOF
16613 /* confdefs.h. */
16614 _ACEOF
16615 cat confdefs.h >>conftest.$ac_ext
16616 cat >>conftest.$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16618 $ac_includes_default
16620 main ()
16622 if ((pid_t *) 0)
16623 return 0;
16624 if (sizeof (pid_t))
16625 return 0;
16627 return 0;
16629 _ACEOF
16630 rm -f conftest.$ac_objext
16631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16632 (eval $ac_compile) 2>conftest.er1
16633 ac_status=$?
16634 grep -v '^ *+' conftest.er1 >conftest.err
16635 rm -f conftest.er1
16636 cat conftest.err >&5
16637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16638 (exit $ac_status); } &&
16639 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16641 (eval $ac_try) 2>&5
16642 ac_status=$?
16643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16644 (exit $ac_status); }; } &&
16645 { ac_try='test -s conftest.$ac_objext'
16646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16647 (eval $ac_try) 2>&5
16648 ac_status=$?
16649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16650 (exit $ac_status); }; }; then
16651 ac_cv_type_pid_t=yes
16652 else
16653 echo "$as_me: failed program was:" >&5
16654 sed 's/^/| /' conftest.$ac_ext >&5
16656 ac_cv_type_pid_t=no
16658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16660 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
16661 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
16662 if test $ac_cv_type_pid_t = yes; then
16664 cat >>confdefs.h <<_ACEOF
16665 #define HAVE_PID_T 1
16666 _ACEOF
16670 echo "$as_me:$LINENO: checking for size_t" >&5
16671 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
16672 if test "${ac_cv_type_size_t+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675 cat >conftest.$ac_ext <<_ACEOF
16676 /* confdefs.h. */
16677 _ACEOF
16678 cat confdefs.h >>conftest.$ac_ext
16679 cat >>conftest.$ac_ext <<_ACEOF
16680 /* end confdefs.h. */
16681 $ac_includes_default
16683 main ()
16685 if ((size_t *) 0)
16686 return 0;
16687 if (sizeof (size_t))
16688 return 0;
16690 return 0;
16692 _ACEOF
16693 rm -f conftest.$ac_objext
16694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16695 (eval $ac_compile) 2>conftest.er1
16696 ac_status=$?
16697 grep -v '^ *+' conftest.er1 >conftest.err
16698 rm -f conftest.er1
16699 cat conftest.err >&5
16700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16701 (exit $ac_status); } &&
16702 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16704 (eval $ac_try) 2>&5
16705 ac_status=$?
16706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16707 (exit $ac_status); }; } &&
16708 { ac_try='test -s conftest.$ac_objext'
16709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16710 (eval $ac_try) 2>&5
16711 ac_status=$?
16712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16713 (exit $ac_status); }; }; then
16714 ac_cv_type_size_t=yes
16715 else
16716 echo "$as_me: failed program was:" >&5
16717 sed 's/^/| /' conftest.$ac_ext >&5
16719 ac_cv_type_size_t=no
16721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16723 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
16724 echo "${ECHO_T}$ac_cv_type_size_t" >&6
16725 if test $ac_cv_type_size_t = yes; then
16727 cat >>confdefs.h <<_ACEOF
16728 #define HAVE_SIZE_T 1
16729 _ACEOF
16733 echo "$as_me:$LINENO: checking for ssize_t" >&5
16734 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
16735 if test "${ac_cv_type_ssize_t+set}" = set; then
16736 echo $ECHO_N "(cached) $ECHO_C" >&6
16737 else
16738 cat >conftest.$ac_ext <<_ACEOF
16739 /* confdefs.h. */
16740 _ACEOF
16741 cat confdefs.h >>conftest.$ac_ext
16742 cat >>conftest.$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 $ac_includes_default
16746 main ()
16748 if ((ssize_t *) 0)
16749 return 0;
16750 if (sizeof (ssize_t))
16751 return 0;
16753 return 0;
16755 _ACEOF
16756 rm -f conftest.$ac_objext
16757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16758 (eval $ac_compile) 2>conftest.er1
16759 ac_status=$?
16760 grep -v '^ *+' conftest.er1 >conftest.err
16761 rm -f conftest.er1
16762 cat conftest.err >&5
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); } &&
16765 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16767 (eval $ac_try) 2>&5
16768 ac_status=$?
16769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16770 (exit $ac_status); }; } &&
16771 { ac_try='test -s conftest.$ac_objext'
16772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16773 (eval $ac_try) 2>&5
16774 ac_status=$?
16775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); }; }; then
16777 ac_cv_type_ssize_t=yes
16778 else
16779 echo "$as_me: failed program was:" >&5
16780 sed 's/^/| /' conftest.$ac_ext >&5
16782 ac_cv_type_ssize_t=no
16784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16786 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
16787 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
16788 if test $ac_cv_type_ssize_t = yes; then
16790 cat >>confdefs.h <<_ACEOF
16791 #define HAVE_SSIZE_T 1
16792 _ACEOF
16796 echo "$as_me:$LINENO: checking for long long" >&5
16797 echo $ECHO_N "checking for long long... $ECHO_C" >&6
16798 if test "${ac_cv_type_long_long+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 else
16801 cat >conftest.$ac_ext <<_ACEOF
16802 /* confdefs.h. */
16803 _ACEOF
16804 cat confdefs.h >>conftest.$ac_ext
16805 cat >>conftest.$ac_ext <<_ACEOF
16806 /* end confdefs.h. */
16807 $ac_includes_default
16809 main ()
16811 if ((long long *) 0)
16812 return 0;
16813 if (sizeof (long long))
16814 return 0;
16816 return 0;
16818 _ACEOF
16819 rm -f conftest.$ac_objext
16820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16821 (eval $ac_compile) 2>conftest.er1
16822 ac_status=$?
16823 grep -v '^ *+' conftest.er1 >conftest.err
16824 rm -f conftest.er1
16825 cat conftest.err >&5
16826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16827 (exit $ac_status); } &&
16828 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16830 (eval $ac_try) 2>&5
16831 ac_status=$?
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); }; } &&
16834 { ac_try='test -s conftest.$ac_objext'
16835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16836 (eval $ac_try) 2>&5
16837 ac_status=$?
16838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16839 (exit $ac_status); }; }; then
16840 ac_cv_type_long_long=yes
16841 else
16842 echo "$as_me: failed program was:" >&5
16843 sed 's/^/| /' conftest.$ac_ext >&5
16845 ac_cv_type_long_long=no
16847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16849 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
16850 echo "${ECHO_T}$ac_cv_type_long_long" >&6
16851 if test $ac_cv_type_long_long = yes; then
16853 cat >>confdefs.h <<_ACEOF
16854 #define HAVE_LONG_LONG 1
16855 _ACEOF
16859 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
16860 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
16861 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
16862 echo $ECHO_N "(cached) $ECHO_C" >&6
16863 else
16864 cat >conftest.$ac_ext <<_ACEOF
16865 /* confdefs.h. */
16866 _ACEOF
16867 cat confdefs.h >>conftest.$ac_ext
16868 cat >>conftest.$ac_ext <<_ACEOF
16869 /* end confdefs.h. */
16870 $ac_includes_default
16872 main ()
16874 if ((fsblkcnt_t *) 0)
16875 return 0;
16876 if (sizeof (fsblkcnt_t))
16877 return 0;
16879 return 0;
16881 _ACEOF
16882 rm -f conftest.$ac_objext
16883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16884 (eval $ac_compile) 2>conftest.er1
16885 ac_status=$?
16886 grep -v '^ *+' conftest.er1 >conftest.err
16887 rm -f conftest.er1
16888 cat conftest.err >&5
16889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16890 (exit $ac_status); } &&
16891 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16893 (eval $ac_try) 2>&5
16894 ac_status=$?
16895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16896 (exit $ac_status); }; } &&
16897 { ac_try='test -s conftest.$ac_objext'
16898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16899 (eval $ac_try) 2>&5
16900 ac_status=$?
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); }; }; then
16903 ac_cv_type_fsblkcnt_t=yes
16904 else
16905 echo "$as_me: failed program was:" >&5
16906 sed 's/^/| /' conftest.$ac_ext >&5
16908 ac_cv_type_fsblkcnt_t=no
16910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16912 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
16913 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
16914 if test $ac_cv_type_fsblkcnt_t = yes; then
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_FSBLKCNT_T 1
16918 _ACEOF
16922 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
16923 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
16924 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
16925 echo $ECHO_N "(cached) $ECHO_C" >&6
16926 else
16927 cat >conftest.$ac_ext <<_ACEOF
16928 /* confdefs.h. */
16929 _ACEOF
16930 cat confdefs.h >>conftest.$ac_ext
16931 cat >>conftest.$ac_ext <<_ACEOF
16932 /* end confdefs.h. */
16933 $ac_includes_default
16935 main ()
16937 if ((fsfilcnt_t *) 0)
16938 return 0;
16939 if (sizeof (fsfilcnt_t))
16940 return 0;
16942 return 0;
16944 _ACEOF
16945 rm -f conftest.$ac_objext
16946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16947 (eval $ac_compile) 2>conftest.er1
16948 ac_status=$?
16949 grep -v '^ *+' conftest.er1 >conftest.err
16950 rm -f conftest.er1
16951 cat conftest.err >&5
16952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); } &&
16954 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16956 (eval $ac_try) 2>&5
16957 ac_status=$?
16958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16959 (exit $ac_status); }; } &&
16960 { ac_try='test -s conftest.$ac_objext'
16961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16962 (eval $ac_try) 2>&5
16963 ac_status=$?
16964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16965 (exit $ac_status); }; }; then
16966 ac_cv_type_fsfilcnt_t=yes
16967 else
16968 echo "$as_me: failed program was:" >&5
16969 sed 's/^/| /' conftest.$ac_ext >&5
16971 ac_cv_type_fsfilcnt_t=no
16973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16975 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
16976 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
16977 if test $ac_cv_type_fsfilcnt_t = yes; then
16979 cat >>confdefs.h <<_ACEOF
16980 #define HAVE_FSFILCNT_T 1
16981 _ACEOF
16986 echo "$as_me:$LINENO: checking for sigset_t" >&5
16987 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
16988 if test "${ac_cv_type_sigset_t+set}" = set; then
16989 echo $ECHO_N "(cached) $ECHO_C" >&6
16990 else
16991 cat >conftest.$ac_ext <<_ACEOF
16992 /* confdefs.h. */
16993 _ACEOF
16994 cat confdefs.h >>conftest.$ac_ext
16995 cat >>conftest.$ac_ext <<_ACEOF
16996 /* end confdefs.h. */
16997 #include <signal.h>
17000 main ()
17002 if ((sigset_t *) 0)
17003 return 0;
17004 if (sizeof (sigset_t))
17005 return 0;
17007 return 0;
17009 _ACEOF
17010 rm -f conftest.$ac_objext
17011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17012 (eval $ac_compile) 2>conftest.er1
17013 ac_status=$?
17014 grep -v '^ *+' conftest.er1 >conftest.err
17015 rm -f conftest.er1
17016 cat conftest.err >&5
17017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17018 (exit $ac_status); } &&
17019 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17021 (eval $ac_try) 2>&5
17022 ac_status=$?
17023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17024 (exit $ac_status); }; } &&
17025 { ac_try='test -s conftest.$ac_objext'
17026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17027 (eval $ac_try) 2>&5
17028 ac_status=$?
17029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17030 (exit $ac_status); }; }; then
17031 ac_cv_type_sigset_t=yes
17032 else
17033 echo "$as_me: failed program was:" >&5
17034 sed 's/^/| /' conftest.$ac_ext >&5
17036 ac_cv_type_sigset_t=no
17038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17040 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
17041 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
17042 if test $ac_cv_type_sigset_t = yes; then
17044 cat >>confdefs.h <<_ACEOF
17045 #define HAVE_SIGSET_T 1
17046 _ACEOF
17051 echo "$as_me:$LINENO: checking for request_sense" >&5
17052 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6
17053 if test "${ac_cv_type_request_sense+set}" = set; then
17054 echo $ECHO_N "(cached) $ECHO_C" >&6
17055 else
17056 cat >conftest.$ac_ext <<_ACEOF
17057 /* confdefs.h. */
17058 _ACEOF
17059 cat confdefs.h >>conftest.$ac_ext
17060 cat >>conftest.$ac_ext <<_ACEOF
17061 /* end confdefs.h. */
17062 #include <linux/cdrom.h>
17065 main ()
17067 if ((request_sense *) 0)
17068 return 0;
17069 if (sizeof (request_sense))
17070 return 0;
17072 return 0;
17074 _ACEOF
17075 rm -f conftest.$ac_objext
17076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17077 (eval $ac_compile) 2>conftest.er1
17078 ac_status=$?
17079 grep -v '^ *+' conftest.er1 >conftest.err
17080 rm -f conftest.er1
17081 cat conftest.err >&5
17082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17083 (exit $ac_status); } &&
17084 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17086 (eval $ac_try) 2>&5
17087 ac_status=$?
17088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17089 (exit $ac_status); }; } &&
17090 { ac_try='test -s conftest.$ac_objext'
17091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17092 (eval $ac_try) 2>&5
17093 ac_status=$?
17094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17095 (exit $ac_status); }; }; then
17096 ac_cv_type_request_sense=yes
17097 else
17098 echo "$as_me: failed program was:" >&5
17099 sed 's/^/| /' conftest.$ac_ext >&5
17101 ac_cv_type_request_sense=no
17103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17105 echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
17106 echo "${ECHO_T}$ac_cv_type_request_sense" >&6
17107 if test $ac_cv_type_request_sense = yes; then
17109 cat >>confdefs.h <<_ACEOF
17110 #define HAVE_REQUEST_SENSE 1
17111 _ACEOF
17117 echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
17118 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6
17119 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122 cat >conftest.$ac_ext <<_ACEOF
17123 /* confdefs.h. */
17124 _ACEOF
17125 cat confdefs.h >>conftest.$ac_ext
17126 cat >>conftest.$ac_ext <<_ACEOF
17127 /* end confdefs.h. */
17128 #ifdef HAVE_LINUX_INPUT_H
17129 #include <linux/input.h>
17130 #endif
17133 main ()
17135 static struct ff_effect ac_aggr;
17136 if (ac_aggr.direction)
17137 return 0;
17139 return 0;
17141 _ACEOF
17142 rm -f conftest.$ac_objext
17143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17144 (eval $ac_compile) 2>conftest.er1
17145 ac_status=$?
17146 grep -v '^ *+' conftest.er1 >conftest.err
17147 rm -f conftest.er1
17148 cat conftest.err >&5
17149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17150 (exit $ac_status); } &&
17151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17153 (eval $ac_try) 2>&5
17154 ac_status=$?
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); }; } &&
17157 { ac_try='test -s conftest.$ac_objext'
17158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17159 (eval $ac_try) 2>&5
17160 ac_status=$?
17161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17162 (exit $ac_status); }; }; then
17163 ac_cv_member_struct_ff_effect_direction=yes
17164 else
17165 echo "$as_me: failed program was:" >&5
17166 sed 's/^/| /' conftest.$ac_ext >&5
17168 cat >conftest.$ac_ext <<_ACEOF
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174 #ifdef HAVE_LINUX_INPUT_H
17175 #include <linux/input.h>
17176 #endif
17179 main ()
17181 static struct ff_effect ac_aggr;
17182 if (sizeof ac_aggr.direction)
17183 return 0;
17185 return 0;
17187 _ACEOF
17188 rm -f conftest.$ac_objext
17189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17190 (eval $ac_compile) 2>conftest.er1
17191 ac_status=$?
17192 grep -v '^ *+' conftest.er1 >conftest.err
17193 rm -f conftest.er1
17194 cat conftest.err >&5
17195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17196 (exit $ac_status); } &&
17197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17199 (eval $ac_try) 2>&5
17200 ac_status=$?
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); }; } &&
17203 { ac_try='test -s conftest.$ac_objext'
17204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17205 (eval $ac_try) 2>&5
17206 ac_status=$?
17207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17208 (exit $ac_status); }; }; then
17209 ac_cv_member_struct_ff_effect_direction=yes
17210 else
17211 echo "$as_me: failed program was:" >&5
17212 sed 's/^/| /' conftest.$ac_ext >&5
17214 ac_cv_member_struct_ff_effect_direction=no
17216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17220 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
17221 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6
17222 if test $ac_cv_member_struct_ff_effect_direction = yes; then
17224 cat >>confdefs.h <<_ACEOF
17225 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
17226 _ACEOF
17232 echo "$as_me:$LINENO: checking for sigaddset" >&5
17233 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
17234 if test "${wine_cv_have_sigaddset+set}" = set; then
17235 echo $ECHO_N "(cached) $ECHO_C" >&6
17236 else
17237 cat >conftest.$ac_ext <<_ACEOF
17238 /* confdefs.h. */
17239 _ACEOF
17240 cat confdefs.h >>conftest.$ac_ext
17241 cat >>conftest.$ac_ext <<_ACEOF
17242 /* end confdefs.h. */
17243 #include <signal.h>
17245 main ()
17247 sigset_t set; sigaddset(&set,SIGTERM);
17249 return 0;
17251 _ACEOF
17252 rm -f conftest.$ac_objext conftest$ac_exeext
17253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17254 (eval $ac_link) 2>conftest.er1
17255 ac_status=$?
17256 grep -v '^ *+' conftest.er1 >conftest.err
17257 rm -f conftest.er1
17258 cat conftest.err >&5
17259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17260 (exit $ac_status); } &&
17261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17263 (eval $ac_try) 2>&5
17264 ac_status=$?
17265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17266 (exit $ac_status); }; } &&
17267 { ac_try='test -s conftest$ac_exeext'
17268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17269 (eval $ac_try) 2>&5
17270 ac_status=$?
17271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17272 (exit $ac_status); }; }; then
17273 wine_cv_have_sigaddset=yes
17274 else
17275 echo "$as_me: failed program was:" >&5
17276 sed 's/^/| /' conftest.$ac_ext >&5
17278 wine_cv_have_sigaddset=no
17280 rm -f conftest.err conftest.$ac_objext \
17281 conftest$ac_exeext conftest.$ac_ext
17283 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
17284 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
17285 if test "$wine_cv_have_sigaddset" = "yes"
17286 then
17288 cat >>confdefs.h <<\_ACEOF
17289 #define HAVE_SIGADDSET 1
17290 _ACEOF
17295 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
17296 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
17297 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 else
17300 cat >conftest.$ac_ext <<_ACEOF
17301 /* confdefs.h. */
17302 _ACEOF
17303 cat confdefs.h >>conftest.$ac_ext
17304 cat >>conftest.$ac_ext <<_ACEOF
17305 /* end confdefs.h. */
17307 #include <netdb.h>
17310 main ()
17313 char *name=NULL;
17314 struct hostent he;
17315 struct hostent *result;
17316 char *buf=NULL;
17317 int bufsize=0;
17318 int res,errnr;
17319 char *addr=NULL;
17320 int addrlen=0;
17321 int addrtype=0;
17322 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
17323 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
17326 return 0;
17328 _ACEOF
17329 rm -f conftest.$ac_objext conftest$ac_exeext
17330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17331 (eval $ac_link) 2>conftest.er1
17332 ac_status=$?
17333 grep -v '^ *+' conftest.er1 >conftest.err
17334 rm -f conftest.er1
17335 cat conftest.err >&5
17336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17337 (exit $ac_status); } &&
17338 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17340 (eval $ac_try) 2>&5
17341 ac_status=$?
17342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17343 (exit $ac_status); }; } &&
17344 { ac_try='test -s conftest$ac_exeext'
17345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17346 (eval $ac_try) 2>&5
17347 ac_status=$?
17348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17349 (exit $ac_status); }; }; then
17350 wine_cv_linux_gethostbyname_r_6=yes
17351 else
17352 echo "$as_me: failed program was:" >&5
17353 sed 's/^/| /' conftest.$ac_ext >&5
17355 wine_cv_linux_gethostbyname_r_6=no
17358 rm -f conftest.err conftest.$ac_objext \
17359 conftest$ac_exeext conftest.$ac_ext
17362 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
17363 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
17364 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
17365 then
17367 cat >>confdefs.h <<\_ACEOF
17368 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
17369 _ACEOF
17373 if test "$ac_cv_header_linux_joystick_h" = "yes"
17374 then
17375 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
17376 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
17377 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
17378 echo $ECHO_N "(cached) $ECHO_C" >&6
17379 else
17380 cat >conftest.$ac_ext <<_ACEOF
17381 /* confdefs.h. */
17382 _ACEOF
17383 cat confdefs.h >>conftest.$ac_ext
17384 cat >>conftest.$ac_ext <<_ACEOF
17385 /* end confdefs.h. */
17387 #include <sys/ioctl.h>
17388 #include <linux/joystick.h>
17390 struct js_event blub;
17391 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
17392 #error "no 2.2 header"
17393 #endif
17396 main ()
17398 /*empty*/
17400 return 0;
17402 _ACEOF
17403 rm -f conftest.$ac_objext
17404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17405 (eval $ac_compile) 2>conftest.er1
17406 ac_status=$?
17407 grep -v '^ *+' conftest.er1 >conftest.err
17408 rm -f conftest.er1
17409 cat conftest.err >&5
17410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17411 (exit $ac_status); } &&
17412 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17414 (eval $ac_try) 2>&5
17415 ac_status=$?
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; } &&
17418 { ac_try='test -s conftest.$ac_objext'
17419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17420 (eval $ac_try) 2>&5
17421 ac_status=$?
17422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17423 (exit $ac_status); }; }; then
17424 wine_cv_linux_joystick_22_api=yes
17425 else
17426 echo "$as_me: failed program was:" >&5
17427 sed 's/^/| /' conftest.$ac_ext >&5
17429 wine_cv_linux_joystick_22_api=no
17431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17434 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
17435 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
17436 if test "$wine_cv_linux_joystick_22_api" = "yes"
17437 then
17439 cat >>confdefs.h <<\_ACEOF
17440 #define HAVE_LINUX_22_JOYSTICK_API 1
17441 _ACEOF
17447 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
17448 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
17449 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17451 else
17452 cat >conftest.$ac_ext <<_ACEOF
17453 /* confdefs.h. */
17454 _ACEOF
17455 cat confdefs.h >>conftest.$ac_ext
17456 cat >>conftest.$ac_ext <<_ACEOF
17457 /* end confdefs.h. */
17458 #include <sys/types.h>
17459 #ifdef HAVE_SYS_PARAM_H
17460 # include <sys/param.h>
17461 #endif
17462 #ifdef HAVE_SYS_MOUNT_H
17463 # include <sys/mount.h>
17464 #endif
17465 #ifdef HAVE_SYS_VFS_H
17466 # include <sys/vfs.h>
17467 #endif
17468 #ifdef HAVE_SYS_STATFS_H
17469 # include <sys/statfs.h>
17470 #endif
17473 main ()
17475 static struct statfs ac_aggr;
17476 if (ac_aggr.f_bfree)
17477 return 0;
17479 return 0;
17481 _ACEOF
17482 rm -f conftest.$ac_objext
17483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17484 (eval $ac_compile) 2>conftest.er1
17485 ac_status=$?
17486 grep -v '^ *+' conftest.er1 >conftest.err
17487 rm -f conftest.er1
17488 cat conftest.err >&5
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); } &&
17491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17494 ac_status=$?
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; } &&
17497 { ac_try='test -s conftest.$ac_objext'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17500 ac_status=$?
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; }; then
17503 ac_cv_member_struct_statfs_f_bfree=yes
17504 else
17505 echo "$as_me: failed program was:" >&5
17506 sed 's/^/| /' conftest.$ac_ext >&5
17508 cat >conftest.$ac_ext <<_ACEOF
17509 /* confdefs.h. */
17510 _ACEOF
17511 cat confdefs.h >>conftest.$ac_ext
17512 cat >>conftest.$ac_ext <<_ACEOF
17513 /* end confdefs.h. */
17514 #include <sys/types.h>
17515 #ifdef HAVE_SYS_PARAM_H
17516 # include <sys/param.h>
17517 #endif
17518 #ifdef HAVE_SYS_MOUNT_H
17519 # include <sys/mount.h>
17520 #endif
17521 #ifdef HAVE_SYS_VFS_H
17522 # include <sys/vfs.h>
17523 #endif
17524 #ifdef HAVE_SYS_STATFS_H
17525 # include <sys/statfs.h>
17526 #endif
17529 main ()
17531 static struct statfs ac_aggr;
17532 if (sizeof ac_aggr.f_bfree)
17533 return 0;
17535 return 0;
17537 _ACEOF
17538 rm -f conftest.$ac_objext
17539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17540 (eval $ac_compile) 2>conftest.er1
17541 ac_status=$?
17542 grep -v '^ *+' conftest.er1 >conftest.err
17543 rm -f conftest.er1
17544 cat conftest.err >&5
17545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17546 (exit $ac_status); } &&
17547 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17549 (eval $ac_try) 2>&5
17550 ac_status=$?
17551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17552 (exit $ac_status); }; } &&
17553 { ac_try='test -s conftest.$ac_objext'
17554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17555 (eval $ac_try) 2>&5
17556 ac_status=$?
17557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17558 (exit $ac_status); }; }; then
17559 ac_cv_member_struct_statfs_f_bfree=yes
17560 else
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17564 ac_cv_member_struct_statfs_f_bfree=no
17566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17570 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
17571 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
17572 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
17574 cat >>confdefs.h <<_ACEOF
17575 #define HAVE_STRUCT_STATFS_F_BFREE 1
17576 _ACEOF
17580 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
17581 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
17582 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
17583 echo $ECHO_N "(cached) $ECHO_C" >&6
17584 else
17585 cat >conftest.$ac_ext <<_ACEOF
17586 /* confdefs.h. */
17587 _ACEOF
17588 cat confdefs.h >>conftest.$ac_ext
17589 cat >>conftest.$ac_ext <<_ACEOF
17590 /* end confdefs.h. */
17591 #include <sys/types.h>
17592 #ifdef HAVE_SYS_PARAM_H
17593 # include <sys/param.h>
17594 #endif
17595 #ifdef HAVE_SYS_MOUNT_H
17596 # include <sys/mount.h>
17597 #endif
17598 #ifdef HAVE_SYS_VFS_H
17599 # include <sys/vfs.h>
17600 #endif
17601 #ifdef HAVE_SYS_STATFS_H
17602 # include <sys/statfs.h>
17603 #endif
17606 main ()
17608 static struct statfs ac_aggr;
17609 if (ac_aggr.f_bavail)
17610 return 0;
17612 return 0;
17614 _ACEOF
17615 rm -f conftest.$ac_objext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17617 (eval $ac_compile) 2>conftest.er1
17618 ac_status=$?
17619 grep -v '^ *+' conftest.er1 >conftest.err
17620 rm -f conftest.er1
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17633 ac_status=$?
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 ac_cv_member_struct_statfs_f_bavail=yes
17637 else
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.$ac_ext >&5
17641 cat >conftest.$ac_ext <<_ACEOF
17642 /* confdefs.h. */
17643 _ACEOF
17644 cat confdefs.h >>conftest.$ac_ext
17645 cat >>conftest.$ac_ext <<_ACEOF
17646 /* end confdefs.h. */
17647 #include <sys/types.h>
17648 #ifdef HAVE_SYS_PARAM_H
17649 # include <sys/param.h>
17650 #endif
17651 #ifdef HAVE_SYS_MOUNT_H
17652 # include <sys/mount.h>
17653 #endif
17654 #ifdef HAVE_SYS_VFS_H
17655 # include <sys/vfs.h>
17656 #endif
17657 #ifdef HAVE_SYS_STATFS_H
17658 # include <sys/statfs.h>
17659 #endif
17662 main ()
17664 static struct statfs ac_aggr;
17665 if (sizeof ac_aggr.f_bavail)
17666 return 0;
17668 return 0;
17670 _ACEOF
17671 rm -f conftest.$ac_objext
17672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17673 (eval $ac_compile) 2>conftest.er1
17674 ac_status=$?
17675 grep -v '^ *+' conftest.er1 >conftest.err
17676 rm -f conftest.er1
17677 cat conftest.err >&5
17678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17679 (exit $ac_status); } &&
17680 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17682 (eval $ac_try) 2>&5
17683 ac_status=$?
17684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17685 (exit $ac_status); }; } &&
17686 { ac_try='test -s conftest.$ac_objext'
17687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17688 (eval $ac_try) 2>&5
17689 ac_status=$?
17690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17691 (exit $ac_status); }; }; then
17692 ac_cv_member_struct_statfs_f_bavail=yes
17693 else
17694 echo "$as_me: failed program was:" >&5
17695 sed 's/^/| /' conftest.$ac_ext >&5
17697 ac_cv_member_struct_statfs_f_bavail=no
17699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17703 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
17704 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
17705 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
17707 cat >>confdefs.h <<_ACEOF
17708 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
17709 _ACEOF
17713 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
17714 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
17715 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
17716 echo $ECHO_N "(cached) $ECHO_C" >&6
17717 else
17718 cat >conftest.$ac_ext <<_ACEOF
17719 /* confdefs.h. */
17720 _ACEOF
17721 cat confdefs.h >>conftest.$ac_ext
17722 cat >>conftest.$ac_ext <<_ACEOF
17723 /* end confdefs.h. */
17724 #include <sys/types.h>
17725 #ifdef HAVE_SYS_PARAM_H
17726 # include <sys/param.h>
17727 #endif
17728 #ifdef HAVE_SYS_MOUNT_H
17729 # include <sys/mount.h>
17730 #endif
17731 #ifdef HAVE_SYS_VFS_H
17732 # include <sys/vfs.h>
17733 #endif
17734 #ifdef HAVE_SYS_STATFS_H
17735 # include <sys/statfs.h>
17736 #endif
17739 main ()
17741 static struct statfs ac_aggr;
17742 if (ac_aggr.f_frsize)
17743 return 0;
17745 return 0;
17747 _ACEOF
17748 rm -f conftest.$ac_objext
17749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17750 (eval $ac_compile) 2>conftest.er1
17751 ac_status=$?
17752 grep -v '^ *+' conftest.er1 >conftest.err
17753 rm -f conftest.er1
17754 cat conftest.err >&5
17755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17756 (exit $ac_status); } &&
17757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17759 (eval $ac_try) 2>&5
17760 ac_status=$?
17761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17762 (exit $ac_status); }; } &&
17763 { ac_try='test -s conftest.$ac_objext'
17764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17765 (eval $ac_try) 2>&5
17766 ac_status=$?
17767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17768 (exit $ac_status); }; }; then
17769 ac_cv_member_struct_statfs_f_frsize=yes
17770 else
17771 echo "$as_me: failed program was:" >&5
17772 sed 's/^/| /' conftest.$ac_ext >&5
17774 cat >conftest.$ac_ext <<_ACEOF
17775 /* confdefs.h. */
17776 _ACEOF
17777 cat confdefs.h >>conftest.$ac_ext
17778 cat >>conftest.$ac_ext <<_ACEOF
17779 /* end confdefs.h. */
17780 #include <sys/types.h>
17781 #ifdef HAVE_SYS_PARAM_H
17782 # include <sys/param.h>
17783 #endif
17784 #ifdef HAVE_SYS_MOUNT_H
17785 # include <sys/mount.h>
17786 #endif
17787 #ifdef HAVE_SYS_VFS_H
17788 # include <sys/vfs.h>
17789 #endif
17790 #ifdef HAVE_SYS_STATFS_H
17791 # include <sys/statfs.h>
17792 #endif
17795 main ()
17797 static struct statfs ac_aggr;
17798 if (sizeof ac_aggr.f_frsize)
17799 return 0;
17801 return 0;
17803 _ACEOF
17804 rm -f conftest.$ac_objext
17805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17806 (eval $ac_compile) 2>conftest.er1
17807 ac_status=$?
17808 grep -v '^ *+' conftest.er1 >conftest.err
17809 rm -f conftest.er1
17810 cat conftest.err >&5
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); } &&
17813 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17816 ac_status=$?
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; } &&
17819 { ac_try='test -s conftest.$ac_objext'
17820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17821 (eval $ac_try) 2>&5
17822 ac_status=$?
17823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17824 (exit $ac_status); }; }; then
17825 ac_cv_member_struct_statfs_f_frsize=yes
17826 else
17827 echo "$as_me: failed program was:" >&5
17828 sed 's/^/| /' conftest.$ac_ext >&5
17830 ac_cv_member_struct_statfs_f_frsize=no
17832 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17836 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
17837 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
17838 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
17840 cat >>confdefs.h <<_ACEOF
17841 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
17842 _ACEOF
17846 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
17847 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
17848 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 #include <sys/types.h>
17858 #ifdef HAVE_SYS_PARAM_H
17859 # include <sys/param.h>
17860 #endif
17861 #ifdef HAVE_SYS_MOUNT_H
17862 # include <sys/mount.h>
17863 #endif
17864 #ifdef HAVE_SYS_VFS_H
17865 # include <sys/vfs.h>
17866 #endif
17867 #ifdef HAVE_SYS_STATFS_H
17868 # include <sys/statfs.h>
17869 #endif
17872 main ()
17874 static struct statfs ac_aggr;
17875 if (ac_aggr.f_ffree)
17876 return 0;
17878 return 0;
17880 _ACEOF
17881 rm -f conftest.$ac_objext
17882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17883 (eval $ac_compile) 2>conftest.er1
17884 ac_status=$?
17885 grep -v '^ *+' conftest.er1 >conftest.err
17886 rm -f conftest.er1
17887 cat conftest.err >&5
17888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17889 (exit $ac_status); } &&
17890 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17892 (eval $ac_try) 2>&5
17893 ac_status=$?
17894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17895 (exit $ac_status); }; } &&
17896 { ac_try='test -s conftest.$ac_objext'
17897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17898 (eval $ac_try) 2>&5
17899 ac_status=$?
17900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17901 (exit $ac_status); }; }; then
17902 ac_cv_member_struct_statfs_f_ffree=yes
17903 else
17904 echo "$as_me: failed program was:" >&5
17905 sed 's/^/| /' conftest.$ac_ext >&5
17907 cat >conftest.$ac_ext <<_ACEOF
17908 /* confdefs.h. */
17909 _ACEOF
17910 cat confdefs.h >>conftest.$ac_ext
17911 cat >>conftest.$ac_ext <<_ACEOF
17912 /* end confdefs.h. */
17913 #include <sys/types.h>
17914 #ifdef HAVE_SYS_PARAM_H
17915 # include <sys/param.h>
17916 #endif
17917 #ifdef HAVE_SYS_MOUNT_H
17918 # include <sys/mount.h>
17919 #endif
17920 #ifdef HAVE_SYS_VFS_H
17921 # include <sys/vfs.h>
17922 #endif
17923 #ifdef HAVE_SYS_STATFS_H
17924 # include <sys/statfs.h>
17925 #endif
17928 main ()
17930 static struct statfs ac_aggr;
17931 if (sizeof ac_aggr.f_ffree)
17932 return 0;
17934 return 0;
17936 _ACEOF
17937 rm -f conftest.$ac_objext
17938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17939 (eval $ac_compile) 2>conftest.er1
17940 ac_status=$?
17941 grep -v '^ *+' conftest.er1 >conftest.err
17942 rm -f conftest.er1
17943 cat conftest.err >&5
17944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17945 (exit $ac_status); } &&
17946 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17948 (eval $ac_try) 2>&5
17949 ac_status=$?
17950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17951 (exit $ac_status); }; } &&
17952 { ac_try='test -s conftest.$ac_objext'
17953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17954 (eval $ac_try) 2>&5
17955 ac_status=$?
17956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17957 (exit $ac_status); }; }; then
17958 ac_cv_member_struct_statfs_f_ffree=yes
17959 else
17960 echo "$as_me: failed program was:" >&5
17961 sed 's/^/| /' conftest.$ac_ext >&5
17963 ac_cv_member_struct_statfs_f_ffree=no
17965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17969 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
17970 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
17971 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
17973 cat >>confdefs.h <<_ACEOF
17974 #define HAVE_STRUCT_STATFS_F_FFREE 1
17975 _ACEOF
17979 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
17980 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
17981 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
17982 echo $ECHO_N "(cached) $ECHO_C" >&6
17983 else
17984 cat >conftest.$ac_ext <<_ACEOF
17985 /* confdefs.h. */
17986 _ACEOF
17987 cat confdefs.h >>conftest.$ac_ext
17988 cat >>conftest.$ac_ext <<_ACEOF
17989 /* end confdefs.h. */
17990 #include <sys/types.h>
17991 #ifdef HAVE_SYS_PARAM_H
17992 # include <sys/param.h>
17993 #endif
17994 #ifdef HAVE_SYS_MOUNT_H
17995 # include <sys/mount.h>
17996 #endif
17997 #ifdef HAVE_SYS_VFS_H
17998 # include <sys/vfs.h>
17999 #endif
18000 #ifdef HAVE_SYS_STATFS_H
18001 # include <sys/statfs.h>
18002 #endif
18005 main ()
18007 static struct statfs ac_aggr;
18008 if (ac_aggr.f_favail)
18009 return 0;
18011 return 0;
18013 _ACEOF
18014 rm -f conftest.$ac_objext
18015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18016 (eval $ac_compile) 2>conftest.er1
18017 ac_status=$?
18018 grep -v '^ *+' conftest.er1 >conftest.err
18019 rm -f conftest.er1
18020 cat conftest.err >&5
18021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18022 (exit $ac_status); } &&
18023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18025 (eval $ac_try) 2>&5
18026 ac_status=$?
18027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18028 (exit $ac_status); }; } &&
18029 { ac_try='test -s conftest.$ac_objext'
18030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18031 (eval $ac_try) 2>&5
18032 ac_status=$?
18033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18034 (exit $ac_status); }; }; then
18035 ac_cv_member_struct_statfs_f_favail=yes
18036 else
18037 echo "$as_me: failed program was:" >&5
18038 sed 's/^/| /' conftest.$ac_ext >&5
18040 cat >conftest.$ac_ext <<_ACEOF
18041 /* confdefs.h. */
18042 _ACEOF
18043 cat confdefs.h >>conftest.$ac_ext
18044 cat >>conftest.$ac_ext <<_ACEOF
18045 /* end confdefs.h. */
18046 #include <sys/types.h>
18047 #ifdef HAVE_SYS_PARAM_H
18048 # include <sys/param.h>
18049 #endif
18050 #ifdef HAVE_SYS_MOUNT_H
18051 # include <sys/mount.h>
18052 #endif
18053 #ifdef HAVE_SYS_VFS_H
18054 # include <sys/vfs.h>
18055 #endif
18056 #ifdef HAVE_SYS_STATFS_H
18057 # include <sys/statfs.h>
18058 #endif
18061 main ()
18063 static struct statfs ac_aggr;
18064 if (sizeof ac_aggr.f_favail)
18065 return 0;
18067 return 0;
18069 _ACEOF
18070 rm -f conftest.$ac_objext
18071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18072 (eval $ac_compile) 2>conftest.er1
18073 ac_status=$?
18074 grep -v '^ *+' conftest.er1 >conftest.err
18075 rm -f conftest.er1
18076 cat conftest.err >&5
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); } &&
18079 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18081 (eval $ac_try) 2>&5
18082 ac_status=$?
18083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18084 (exit $ac_status); }; } &&
18085 { ac_try='test -s conftest.$ac_objext'
18086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18087 (eval $ac_try) 2>&5
18088 ac_status=$?
18089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18090 (exit $ac_status); }; }; then
18091 ac_cv_member_struct_statfs_f_favail=yes
18092 else
18093 echo "$as_me: failed program was:" >&5
18094 sed 's/^/| /' conftest.$ac_ext >&5
18096 ac_cv_member_struct_statfs_f_favail=no
18098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18102 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
18103 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
18104 if test $ac_cv_member_struct_statfs_f_favail = yes; then
18106 cat >>confdefs.h <<_ACEOF
18107 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18108 _ACEOF
18112 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
18113 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
18114 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
18115 echo $ECHO_N "(cached) $ECHO_C" >&6
18116 else
18117 cat >conftest.$ac_ext <<_ACEOF
18118 /* confdefs.h. */
18119 _ACEOF
18120 cat confdefs.h >>conftest.$ac_ext
18121 cat >>conftest.$ac_ext <<_ACEOF
18122 /* end confdefs.h. */
18123 #include <sys/types.h>
18124 #ifdef HAVE_SYS_PARAM_H
18125 # include <sys/param.h>
18126 #endif
18127 #ifdef HAVE_SYS_MOUNT_H
18128 # include <sys/mount.h>
18129 #endif
18130 #ifdef HAVE_SYS_VFS_H
18131 # include <sys/vfs.h>
18132 #endif
18133 #ifdef HAVE_SYS_STATFS_H
18134 # include <sys/statfs.h>
18135 #endif
18138 main ()
18140 static struct statfs ac_aggr;
18141 if (ac_aggr.f_namelen)
18142 return 0;
18144 return 0;
18146 _ACEOF
18147 rm -f conftest.$ac_objext
18148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18149 (eval $ac_compile) 2>conftest.er1
18150 ac_status=$?
18151 grep -v '^ *+' conftest.er1 >conftest.err
18152 rm -f conftest.er1
18153 cat conftest.err >&5
18154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18155 (exit $ac_status); } &&
18156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18158 (eval $ac_try) 2>&5
18159 ac_status=$?
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); }; } &&
18162 { ac_try='test -s conftest.$ac_objext'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; }; then
18168 ac_cv_member_struct_statfs_f_namelen=yes
18169 else
18170 echo "$as_me: failed program was:" >&5
18171 sed 's/^/| /' conftest.$ac_ext >&5
18173 cat >conftest.$ac_ext <<_ACEOF
18174 /* confdefs.h. */
18175 _ACEOF
18176 cat confdefs.h >>conftest.$ac_ext
18177 cat >>conftest.$ac_ext <<_ACEOF
18178 /* end confdefs.h. */
18179 #include <sys/types.h>
18180 #ifdef HAVE_SYS_PARAM_H
18181 # include <sys/param.h>
18182 #endif
18183 #ifdef HAVE_SYS_MOUNT_H
18184 # include <sys/mount.h>
18185 #endif
18186 #ifdef HAVE_SYS_VFS_H
18187 # include <sys/vfs.h>
18188 #endif
18189 #ifdef HAVE_SYS_STATFS_H
18190 # include <sys/statfs.h>
18191 #endif
18194 main ()
18196 static struct statfs ac_aggr;
18197 if (sizeof ac_aggr.f_namelen)
18198 return 0;
18200 return 0;
18202 _ACEOF
18203 rm -f conftest.$ac_objext
18204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18205 (eval $ac_compile) 2>conftest.er1
18206 ac_status=$?
18207 grep -v '^ *+' conftest.er1 >conftest.err
18208 rm -f conftest.er1
18209 cat conftest.err >&5
18210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18211 (exit $ac_status); } &&
18212 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18214 (eval $ac_try) 2>&5
18215 ac_status=$?
18216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18217 (exit $ac_status); }; } &&
18218 { ac_try='test -s conftest.$ac_objext'
18219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18220 (eval $ac_try) 2>&5
18221 ac_status=$?
18222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18223 (exit $ac_status); }; }; then
18224 ac_cv_member_struct_statfs_f_namelen=yes
18225 else
18226 echo "$as_me: failed program was:" >&5
18227 sed 's/^/| /' conftest.$ac_ext >&5
18229 ac_cv_member_struct_statfs_f_namelen=no
18231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18235 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
18236 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
18237 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
18239 cat >>confdefs.h <<_ACEOF
18240 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18241 _ACEOF
18247 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
18248 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
18249 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
18250 echo $ECHO_N "(cached) $ECHO_C" >&6
18251 else
18252 cat >conftest.$ac_ext <<_ACEOF
18253 /* confdefs.h. */
18254 _ACEOF
18255 cat confdefs.h >>conftest.$ac_ext
18256 cat >>conftest.$ac_ext <<_ACEOF
18257 /* end confdefs.h. */
18258 #ifdef HAVE_SYS_STATVFS_H
18259 #include <sys/statvfs.h>
18260 #endif
18263 main ()
18265 static struct statvfs ac_aggr;
18266 if (ac_aggr.f_blocks)
18267 return 0;
18269 return 0;
18271 _ACEOF
18272 rm -f conftest.$ac_objext
18273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18274 (eval $ac_compile) 2>conftest.er1
18275 ac_status=$?
18276 grep -v '^ *+' conftest.er1 >conftest.err
18277 rm -f conftest.er1
18278 cat conftest.err >&5
18279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18280 (exit $ac_status); } &&
18281 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18283 (eval $ac_try) 2>&5
18284 ac_status=$?
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); }; } &&
18287 { ac_try='test -s conftest.$ac_objext'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; }; then
18293 ac_cv_member_struct_statvfs_f_blocks=yes
18294 else
18295 echo "$as_me: failed program was:" >&5
18296 sed 's/^/| /' conftest.$ac_ext >&5
18298 cat >conftest.$ac_ext <<_ACEOF
18299 /* confdefs.h. */
18300 _ACEOF
18301 cat confdefs.h >>conftest.$ac_ext
18302 cat >>conftest.$ac_ext <<_ACEOF
18303 /* end confdefs.h. */
18304 #ifdef HAVE_SYS_STATVFS_H
18305 #include <sys/statvfs.h>
18306 #endif
18309 main ()
18311 static struct statvfs ac_aggr;
18312 if (sizeof ac_aggr.f_blocks)
18313 return 0;
18315 return 0;
18317 _ACEOF
18318 rm -f conftest.$ac_objext
18319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18320 (eval $ac_compile) 2>conftest.er1
18321 ac_status=$?
18322 grep -v '^ *+' conftest.er1 >conftest.err
18323 rm -f conftest.er1
18324 cat conftest.err >&5
18325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18326 (exit $ac_status); } &&
18327 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18329 (eval $ac_try) 2>&5
18330 ac_status=$?
18331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18332 (exit $ac_status); }; } &&
18333 { ac_try='test -s conftest.$ac_objext'
18334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18335 (eval $ac_try) 2>&5
18336 ac_status=$?
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); }; }; then
18339 ac_cv_member_struct_statvfs_f_blocks=yes
18340 else
18341 echo "$as_me: failed program was:" >&5
18342 sed 's/^/| /' conftest.$ac_ext >&5
18344 ac_cv_member_struct_statvfs_f_blocks=no
18346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18350 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
18351 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
18352 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
18354 cat >>confdefs.h <<_ACEOF
18355 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18356 _ACEOF
18362 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
18363 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
18364 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 else
18367 cat >conftest.$ac_ext <<_ACEOF
18368 /* confdefs.h. */
18369 _ACEOF
18370 cat confdefs.h >>conftest.$ac_ext
18371 cat >>conftest.$ac_ext <<_ACEOF
18372 /* end confdefs.h. */
18373 #include <sys/types.h>
18374 #ifdef HAVE_SYS_SOCKET_H
18375 # include <sys/socket.h>
18376 #endif
18377 #ifdef HAVE_SYS_UN_H
18378 # include <sys/un.h>
18379 #endif
18382 main ()
18384 static struct msghdr ac_aggr;
18385 if (ac_aggr.msg_accrights)
18386 return 0;
18388 return 0;
18390 _ACEOF
18391 rm -f conftest.$ac_objext
18392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18393 (eval $ac_compile) 2>conftest.er1
18394 ac_status=$?
18395 grep -v '^ *+' conftest.er1 >conftest.err
18396 rm -f conftest.er1
18397 cat conftest.err >&5
18398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18399 (exit $ac_status); } &&
18400 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18402 (eval $ac_try) 2>&5
18403 ac_status=$?
18404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18405 (exit $ac_status); }; } &&
18406 { ac_try='test -s conftest.$ac_objext'
18407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18408 (eval $ac_try) 2>&5
18409 ac_status=$?
18410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18411 (exit $ac_status); }; }; then
18412 ac_cv_member_struct_msghdr_msg_accrights=yes
18413 else
18414 echo "$as_me: failed program was:" >&5
18415 sed 's/^/| /' conftest.$ac_ext >&5
18417 cat >conftest.$ac_ext <<_ACEOF
18418 /* confdefs.h. */
18419 _ACEOF
18420 cat confdefs.h >>conftest.$ac_ext
18421 cat >>conftest.$ac_ext <<_ACEOF
18422 /* end confdefs.h. */
18423 #include <sys/types.h>
18424 #ifdef HAVE_SYS_SOCKET_H
18425 # include <sys/socket.h>
18426 #endif
18427 #ifdef HAVE_SYS_UN_H
18428 # include <sys/un.h>
18429 #endif
18432 main ()
18434 static struct msghdr ac_aggr;
18435 if (sizeof ac_aggr.msg_accrights)
18436 return 0;
18438 return 0;
18440 _ACEOF
18441 rm -f conftest.$ac_objext
18442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18443 (eval $ac_compile) 2>conftest.er1
18444 ac_status=$?
18445 grep -v '^ *+' conftest.er1 >conftest.err
18446 rm -f conftest.er1
18447 cat conftest.err >&5
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); } &&
18450 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18452 (eval $ac_try) 2>&5
18453 ac_status=$?
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); }; } &&
18456 { ac_try='test -s conftest.$ac_objext'
18457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18458 (eval $ac_try) 2>&5
18459 ac_status=$?
18460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18461 (exit $ac_status); }; }; then
18462 ac_cv_member_struct_msghdr_msg_accrights=yes
18463 else
18464 echo "$as_me: failed program was:" >&5
18465 sed 's/^/| /' conftest.$ac_ext >&5
18467 ac_cv_member_struct_msghdr_msg_accrights=no
18469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18473 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
18474 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
18475 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
18477 cat >>confdefs.h <<_ACEOF
18478 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18479 _ACEOF
18483 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
18484 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
18485 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
18486 echo $ECHO_N "(cached) $ECHO_C" >&6
18487 else
18488 cat >conftest.$ac_ext <<_ACEOF
18489 /* confdefs.h. */
18490 _ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494 #include <sys/types.h>
18495 #ifdef HAVE_SYS_SOCKET_H
18496 # include <sys/socket.h>
18497 #endif
18498 #ifdef HAVE_SYS_UN_H
18499 # include <sys/un.h>
18500 #endif
18503 main ()
18505 static struct sockaddr ac_aggr;
18506 if (ac_aggr.sa_len)
18507 return 0;
18509 return 0;
18511 _ACEOF
18512 rm -f conftest.$ac_objext
18513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18514 (eval $ac_compile) 2>conftest.er1
18515 ac_status=$?
18516 grep -v '^ *+' conftest.er1 >conftest.err
18517 rm -f conftest.er1
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } &&
18521 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; } &&
18527 { ac_try='test -s conftest.$ac_objext'
18528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18529 (eval $ac_try) 2>&5
18530 ac_status=$?
18531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18532 (exit $ac_status); }; }; then
18533 ac_cv_member_struct_sockaddr_sa_len=yes
18534 else
18535 echo "$as_me: failed program was:" >&5
18536 sed 's/^/| /' conftest.$ac_ext >&5
18538 cat >conftest.$ac_ext <<_ACEOF
18539 /* confdefs.h. */
18540 _ACEOF
18541 cat confdefs.h >>conftest.$ac_ext
18542 cat >>conftest.$ac_ext <<_ACEOF
18543 /* end confdefs.h. */
18544 #include <sys/types.h>
18545 #ifdef HAVE_SYS_SOCKET_H
18546 # include <sys/socket.h>
18547 #endif
18548 #ifdef HAVE_SYS_UN_H
18549 # include <sys/un.h>
18550 #endif
18553 main ()
18555 static struct sockaddr ac_aggr;
18556 if (sizeof ac_aggr.sa_len)
18557 return 0;
18559 return 0;
18561 _ACEOF
18562 rm -f conftest.$ac_objext
18563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18564 (eval $ac_compile) 2>conftest.er1
18565 ac_status=$?
18566 grep -v '^ *+' conftest.er1 >conftest.err
18567 rm -f conftest.er1
18568 cat conftest.err >&5
18569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18570 (exit $ac_status); } &&
18571 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18573 (eval $ac_try) 2>&5
18574 ac_status=$?
18575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18576 (exit $ac_status); }; } &&
18577 { ac_try='test -s conftest.$ac_objext'
18578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18579 (eval $ac_try) 2>&5
18580 ac_status=$?
18581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18582 (exit $ac_status); }; }; then
18583 ac_cv_member_struct_sockaddr_sa_len=yes
18584 else
18585 echo "$as_me: failed program was:" >&5
18586 sed 's/^/| /' conftest.$ac_ext >&5
18588 ac_cv_member_struct_sockaddr_sa_len=no
18590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18594 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
18595 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
18596 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
18598 cat >>confdefs.h <<_ACEOF
18599 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18600 _ACEOF
18604 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
18605 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
18606 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
18607 echo $ECHO_N "(cached) $ECHO_C" >&6
18608 else
18609 cat >conftest.$ac_ext <<_ACEOF
18610 /* confdefs.h. */
18611 _ACEOF
18612 cat confdefs.h >>conftest.$ac_ext
18613 cat >>conftest.$ac_ext <<_ACEOF
18614 /* end confdefs.h. */
18615 #include <sys/types.h>
18616 #ifdef HAVE_SYS_SOCKET_H
18617 # include <sys/socket.h>
18618 #endif
18619 #ifdef HAVE_SYS_UN_H
18620 # include <sys/un.h>
18621 #endif
18624 main ()
18626 static struct sockaddr_un ac_aggr;
18627 if (ac_aggr.sun_len)
18628 return 0;
18630 return 0;
18632 _ACEOF
18633 rm -f conftest.$ac_objext
18634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18635 (eval $ac_compile) 2>conftest.er1
18636 ac_status=$?
18637 grep -v '^ *+' conftest.er1 >conftest.err
18638 rm -f conftest.er1
18639 cat conftest.err >&5
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } &&
18642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18644 (eval $ac_try) 2>&5
18645 ac_status=$?
18646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18647 (exit $ac_status); }; } &&
18648 { ac_try='test -s conftest.$ac_objext'
18649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18650 (eval $ac_try) 2>&5
18651 ac_status=$?
18652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18653 (exit $ac_status); }; }; then
18654 ac_cv_member_struct_sockaddr_un_sun_len=yes
18655 else
18656 echo "$as_me: failed program was:" >&5
18657 sed 's/^/| /' conftest.$ac_ext >&5
18659 cat >conftest.$ac_ext <<_ACEOF
18660 /* confdefs.h. */
18661 _ACEOF
18662 cat confdefs.h >>conftest.$ac_ext
18663 cat >>conftest.$ac_ext <<_ACEOF
18664 /* end confdefs.h. */
18665 #include <sys/types.h>
18666 #ifdef HAVE_SYS_SOCKET_H
18667 # include <sys/socket.h>
18668 #endif
18669 #ifdef HAVE_SYS_UN_H
18670 # include <sys/un.h>
18671 #endif
18674 main ()
18676 static struct sockaddr_un ac_aggr;
18677 if (sizeof ac_aggr.sun_len)
18678 return 0;
18680 return 0;
18682 _ACEOF
18683 rm -f conftest.$ac_objext
18684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18685 (eval $ac_compile) 2>conftest.er1
18686 ac_status=$?
18687 grep -v '^ *+' conftest.er1 >conftest.err
18688 rm -f conftest.er1
18689 cat conftest.err >&5
18690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18691 (exit $ac_status); } &&
18692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18694 (eval $ac_try) 2>&5
18695 ac_status=$?
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); }; } &&
18698 { ac_try='test -s conftest.$ac_objext'
18699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18700 (eval $ac_try) 2>&5
18701 ac_status=$?
18702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18703 (exit $ac_status); }; }; then
18704 ac_cv_member_struct_sockaddr_un_sun_len=yes
18705 else
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18709 ac_cv_member_struct_sockaddr_un_sun_len=no
18711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18715 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
18716 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
18717 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
18719 cat >>confdefs.h <<_ACEOF
18720 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18721 _ACEOF
18727 echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
18728 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6
18729 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
18730 echo $ECHO_N "(cached) $ECHO_C" >&6
18731 else
18732 cat >conftest.$ac_ext <<_ACEOF
18733 /* confdefs.h. */
18734 _ACEOF
18735 cat confdefs.h >>conftest.$ac_ext
18736 cat >>conftest.$ac_ext <<_ACEOF
18737 /* end confdefs.h. */
18738 #include <sys/types.h>
18739 #ifdef HAVE_SCSI_SG_H
18740 #include <scsi/sg.h>
18741 #endif
18744 main ()
18746 static scsireq_t ac_aggr;
18747 if (ac_aggr.cmd)
18748 return 0;
18750 return 0;
18752 _ACEOF
18753 rm -f conftest.$ac_objext
18754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18755 (eval $ac_compile) 2>conftest.er1
18756 ac_status=$?
18757 grep -v '^ *+' conftest.er1 >conftest.err
18758 rm -f conftest.er1
18759 cat conftest.err >&5
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); } &&
18762 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18765 ac_status=$?
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; } &&
18768 { ac_try='test -s conftest.$ac_objext'
18769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18770 (eval $ac_try) 2>&5
18771 ac_status=$?
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); }; }; then
18774 ac_cv_member_scsireq_t_cmd=yes
18775 else
18776 echo "$as_me: failed program was:" >&5
18777 sed 's/^/| /' conftest.$ac_ext >&5
18779 cat >conftest.$ac_ext <<_ACEOF
18780 /* confdefs.h. */
18781 _ACEOF
18782 cat confdefs.h >>conftest.$ac_ext
18783 cat >>conftest.$ac_ext <<_ACEOF
18784 /* end confdefs.h. */
18785 #include <sys/types.h>
18786 #ifdef HAVE_SCSI_SG_H
18787 #include <scsi/sg.h>
18788 #endif
18791 main ()
18793 static scsireq_t ac_aggr;
18794 if (sizeof ac_aggr.cmd)
18795 return 0;
18797 return 0;
18799 _ACEOF
18800 rm -f conftest.$ac_objext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18802 (eval $ac_compile) 2>conftest.er1
18803 ac_status=$?
18804 grep -v '^ *+' conftest.er1 >conftest.err
18805 rm -f conftest.er1
18806 cat conftest.err >&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18812 ac_status=$?
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; } &&
18815 { ac_try='test -s conftest.$ac_objext'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18818 ac_status=$?
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 ac_cv_member_scsireq_t_cmd=yes
18822 else
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.$ac_ext >&5
18826 ac_cv_member_scsireq_t_cmd=no
18828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18832 echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
18833 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6
18834 if test $ac_cv_member_scsireq_t_cmd = yes; then
18836 cat >>confdefs.h <<_ACEOF
18837 #define HAVE_SCSIREQ_T_CMD 1
18838 _ACEOF
18842 echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
18843 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6
18844 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
18845 echo $ECHO_N "(cached) $ECHO_C" >&6
18846 else
18847 cat >conftest.$ac_ext <<_ACEOF
18848 /* confdefs.h. */
18849 _ACEOF
18850 cat confdefs.h >>conftest.$ac_ext
18851 cat >>conftest.$ac_ext <<_ACEOF
18852 /* end confdefs.h. */
18853 #include <sys/types.h>
18854 #ifdef HAVE_SCSI_SG_H
18855 #include <scsi/sg.h>
18856 #endif
18859 main ()
18861 static sg_io_hdr_t ac_aggr;
18862 if (ac_aggr.interface_id)
18863 return 0;
18865 return 0;
18867 _ACEOF
18868 rm -f conftest.$ac_objext
18869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18870 (eval $ac_compile) 2>conftest.er1
18871 ac_status=$?
18872 grep -v '^ *+' conftest.er1 >conftest.err
18873 rm -f conftest.er1
18874 cat conftest.err >&5
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); } &&
18877 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18879 (eval $ac_try) 2>&5
18880 ac_status=$?
18881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18882 (exit $ac_status); }; } &&
18883 { ac_try='test -s conftest.$ac_objext'
18884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18885 (eval $ac_try) 2>&5
18886 ac_status=$?
18887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18888 (exit $ac_status); }; }; then
18889 ac_cv_member_sg_io_hdr_t_interface_id=yes
18890 else
18891 echo "$as_me: failed program was:" >&5
18892 sed 's/^/| /' conftest.$ac_ext >&5
18894 cat >conftest.$ac_ext <<_ACEOF
18895 /* confdefs.h. */
18896 _ACEOF
18897 cat confdefs.h >>conftest.$ac_ext
18898 cat >>conftest.$ac_ext <<_ACEOF
18899 /* end confdefs.h. */
18900 #include <sys/types.h>
18901 #ifdef HAVE_SCSI_SG_H
18902 #include <scsi/sg.h>
18903 #endif
18906 main ()
18908 static sg_io_hdr_t ac_aggr;
18909 if (sizeof ac_aggr.interface_id)
18910 return 0;
18912 return 0;
18914 _ACEOF
18915 rm -f conftest.$ac_objext
18916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18917 (eval $ac_compile) 2>conftest.er1
18918 ac_status=$?
18919 grep -v '^ *+' conftest.er1 >conftest.err
18920 rm -f conftest.er1
18921 cat conftest.err >&5
18922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18923 (exit $ac_status); } &&
18924 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 ac_cv_member_sg_io_hdr_t_interface_id=yes
18937 else
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18941 ac_cv_member_sg_io_hdr_t_interface_id=no
18943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18947 echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
18948 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6
18949 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
18951 cat >>confdefs.h <<_ACEOF
18952 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18953 _ACEOF
18959 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
18960 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
18961 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
18962 echo $ECHO_N "(cached) $ECHO_C" >&6
18963 else
18964 cat >conftest.$ac_ext <<_ACEOF
18965 /* confdefs.h. */
18966 _ACEOF
18967 cat confdefs.h >>conftest.$ac_ext
18968 cat >>conftest.$ac_ext <<_ACEOF
18969 /* end confdefs.h. */
18970 #include <signal.h>
18973 main ()
18975 static siginfo_t ac_aggr;
18976 if (ac_aggr.si_fd)
18977 return 0;
18979 return 0;
18981 _ACEOF
18982 rm -f conftest.$ac_objext
18983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18984 (eval $ac_compile) 2>conftest.er1
18985 ac_status=$?
18986 grep -v '^ *+' conftest.er1 >conftest.err
18987 rm -f conftest.er1
18988 cat conftest.err >&5
18989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18990 (exit $ac_status); } &&
18991 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18993 (eval $ac_try) 2>&5
18994 ac_status=$?
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); }; } &&
18997 { ac_try='test -s conftest.$ac_objext'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; }; then
19003 ac_cv_member_siginfo_t_si_fd=yes
19004 else
19005 echo "$as_me: failed program was:" >&5
19006 sed 's/^/| /' conftest.$ac_ext >&5
19008 cat >conftest.$ac_ext <<_ACEOF
19009 /* confdefs.h. */
19010 _ACEOF
19011 cat confdefs.h >>conftest.$ac_ext
19012 cat >>conftest.$ac_ext <<_ACEOF
19013 /* end confdefs.h. */
19014 #include <signal.h>
19017 main ()
19019 static siginfo_t ac_aggr;
19020 if (sizeof ac_aggr.si_fd)
19021 return 0;
19023 return 0;
19025 _ACEOF
19026 rm -f conftest.$ac_objext
19027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19028 (eval $ac_compile) 2>conftest.er1
19029 ac_status=$?
19030 grep -v '^ *+' conftest.er1 >conftest.err
19031 rm -f conftest.er1
19032 cat conftest.err >&5
19033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19034 (exit $ac_status); } &&
19035 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19037 (eval $ac_try) 2>&5
19038 ac_status=$?
19039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19040 (exit $ac_status); }; } &&
19041 { ac_try='test -s conftest.$ac_objext'
19042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19043 (eval $ac_try) 2>&5
19044 ac_status=$?
19045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19046 (exit $ac_status); }; }; then
19047 ac_cv_member_siginfo_t_si_fd=yes
19048 else
19049 echo "$as_me: failed program was:" >&5
19050 sed 's/^/| /' conftest.$ac_ext >&5
19052 ac_cv_member_siginfo_t_si_fd=no
19054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19058 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
19059 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
19060 if test $ac_cv_member_siginfo_t_si_fd = yes; then
19062 cat >>confdefs.h <<_ACEOF
19063 #define HAVE_SIGINFO_T_SI_FD 1
19064 _ACEOF
19070 echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
19071 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6
19072 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
19073 echo $ECHO_N "(cached) $ECHO_C" >&6
19074 else
19075 cat >conftest.$ac_ext <<_ACEOF
19076 /* confdefs.h. */
19077 _ACEOF
19078 cat confdefs.h >>conftest.$ac_ext
19079 cat >>conftest.$ac_ext <<_ACEOF
19080 /* end confdefs.h. */
19081 #include <sys/types.h>
19082 #ifdef HAVE_SYS_MTIO_H
19083 #include <sys/mtio.h>
19084 #endif
19087 main ()
19089 static struct mtget ac_aggr;
19090 if (ac_aggr.mt_blksiz)
19091 return 0;
19093 return 0;
19095 _ACEOF
19096 rm -f conftest.$ac_objext
19097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19098 (eval $ac_compile) 2>conftest.er1
19099 ac_status=$?
19100 grep -v '^ *+' conftest.er1 >conftest.err
19101 rm -f conftest.er1
19102 cat conftest.err >&5
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); } &&
19105 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; } &&
19111 { ac_try='test -s conftest.$ac_objext'
19112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19113 (eval $ac_try) 2>&5
19114 ac_status=$?
19115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19116 (exit $ac_status); }; }; then
19117 ac_cv_member_struct_mtget_mt_blksiz=yes
19118 else
19119 echo "$as_me: failed program was:" >&5
19120 sed 's/^/| /' conftest.$ac_ext >&5
19122 cat >conftest.$ac_ext <<_ACEOF
19123 /* confdefs.h. */
19124 _ACEOF
19125 cat confdefs.h >>conftest.$ac_ext
19126 cat >>conftest.$ac_ext <<_ACEOF
19127 /* end confdefs.h. */
19128 #include <sys/types.h>
19129 #ifdef HAVE_SYS_MTIO_H
19130 #include <sys/mtio.h>
19131 #endif
19134 main ()
19136 static struct mtget ac_aggr;
19137 if (sizeof ac_aggr.mt_blksiz)
19138 return 0;
19140 return 0;
19142 _ACEOF
19143 rm -f conftest.$ac_objext
19144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19145 (eval $ac_compile) 2>conftest.er1
19146 ac_status=$?
19147 grep -v '^ *+' conftest.er1 >conftest.err
19148 rm -f conftest.er1
19149 cat conftest.err >&5
19150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19151 (exit $ac_status); } &&
19152 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19154 (eval $ac_try) 2>&5
19155 ac_status=$?
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); }; } &&
19158 { ac_try='test -s conftest.$ac_objext'
19159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19160 (eval $ac_try) 2>&5
19161 ac_status=$?
19162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19163 (exit $ac_status); }; }; then
19164 ac_cv_member_struct_mtget_mt_blksiz=yes
19165 else
19166 echo "$as_me: failed program was:" >&5
19167 sed 's/^/| /' conftest.$ac_ext >&5
19169 ac_cv_member_struct_mtget_mt_blksiz=no
19171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19175 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
19176 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6
19177 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
19179 cat >>confdefs.h <<_ACEOF
19180 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
19181 _ACEOF
19185 echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
19186 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6
19187 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
19188 echo $ECHO_N "(cached) $ECHO_C" >&6
19189 else
19190 cat >conftest.$ac_ext <<_ACEOF
19191 /* confdefs.h. */
19192 _ACEOF
19193 cat confdefs.h >>conftest.$ac_ext
19194 cat >>conftest.$ac_ext <<_ACEOF
19195 /* end confdefs.h. */
19196 #include <sys/types.h>
19197 #ifdef HAVE_SYS_MTIO_H
19198 #include <sys/mtio.h>
19199 #endif
19202 main ()
19204 static struct mtget ac_aggr;
19205 if (ac_aggr.mt_gstat)
19206 return 0;
19208 return 0;
19210 _ACEOF
19211 rm -f conftest.$ac_objext
19212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19213 (eval $ac_compile) 2>conftest.er1
19214 ac_status=$?
19215 grep -v '^ *+' conftest.er1 >conftest.err
19216 rm -f conftest.er1
19217 cat conftest.err >&5
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); } &&
19220 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; } &&
19226 { ac_try='test -s conftest.$ac_objext'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19229 ac_status=$?
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; }; then
19232 ac_cv_member_struct_mtget_mt_gstat=yes
19233 else
19234 echo "$as_me: failed program was:" >&5
19235 sed 's/^/| /' conftest.$ac_ext >&5
19237 cat >conftest.$ac_ext <<_ACEOF
19238 /* confdefs.h. */
19239 _ACEOF
19240 cat confdefs.h >>conftest.$ac_ext
19241 cat >>conftest.$ac_ext <<_ACEOF
19242 /* end confdefs.h. */
19243 #include <sys/types.h>
19244 #ifdef HAVE_SYS_MTIO_H
19245 #include <sys/mtio.h>
19246 #endif
19249 main ()
19251 static struct mtget ac_aggr;
19252 if (sizeof ac_aggr.mt_gstat)
19253 return 0;
19255 return 0;
19257 _ACEOF
19258 rm -f conftest.$ac_objext
19259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19260 (eval $ac_compile) 2>conftest.er1
19261 ac_status=$?
19262 grep -v '^ *+' conftest.er1 >conftest.err
19263 rm -f conftest.er1
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } &&
19267 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269 (eval $ac_try) 2>&5
19270 ac_status=$?
19271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272 (exit $ac_status); }; } &&
19273 { ac_try='test -s conftest.$ac_objext'
19274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19275 (eval $ac_try) 2>&5
19276 ac_status=$?
19277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19278 (exit $ac_status); }; }; then
19279 ac_cv_member_struct_mtget_mt_gstat=yes
19280 else
19281 echo "$as_me: failed program was:" >&5
19282 sed 's/^/| /' conftest.$ac_ext >&5
19284 ac_cv_member_struct_mtget_mt_gstat=no
19286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19290 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
19291 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6
19292 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
19294 cat >>confdefs.h <<_ACEOF
19295 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
19296 _ACEOF
19300 echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
19301 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6
19302 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
19303 echo $ECHO_N "(cached) $ECHO_C" >&6
19304 else
19305 cat >conftest.$ac_ext <<_ACEOF
19306 /* confdefs.h. */
19307 _ACEOF
19308 cat confdefs.h >>conftest.$ac_ext
19309 cat >>conftest.$ac_ext <<_ACEOF
19310 /* end confdefs.h. */
19311 #include <sys/types.h>
19312 #ifdef HAVE_SYS_MTIO_H
19313 #include <sys/mtio.h>
19314 #endif
19317 main ()
19319 static struct mtget ac_aggr;
19320 if (ac_aggr.mt_blkno)
19321 return 0;
19323 return 0;
19325 _ACEOF
19326 rm -f conftest.$ac_objext
19327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19328 (eval $ac_compile) 2>conftest.er1
19329 ac_status=$?
19330 grep -v '^ *+' conftest.er1 >conftest.err
19331 rm -f conftest.er1
19332 cat conftest.err >&5
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); } &&
19335 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19338 ac_status=$?
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try='test -s conftest.$ac_objext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19344 ac_status=$?
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 ac_cv_member_struct_mtget_mt_blkno=yes
19348 else
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 cat >conftest.$ac_ext <<_ACEOF
19353 /* confdefs.h. */
19354 _ACEOF
19355 cat confdefs.h >>conftest.$ac_ext
19356 cat >>conftest.$ac_ext <<_ACEOF
19357 /* end confdefs.h. */
19358 #include <sys/types.h>
19359 #ifdef HAVE_SYS_MTIO_H
19360 #include <sys/mtio.h>
19361 #endif
19364 main ()
19366 static struct mtget ac_aggr;
19367 if (sizeof ac_aggr.mt_blkno)
19368 return 0;
19370 return 0;
19372 _ACEOF
19373 rm -f conftest.$ac_objext
19374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19375 (eval $ac_compile) 2>conftest.er1
19376 ac_status=$?
19377 grep -v '^ *+' conftest.er1 >conftest.err
19378 rm -f conftest.er1
19379 cat conftest.err >&5
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); } &&
19382 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19384 (eval $ac_try) 2>&5
19385 ac_status=$?
19386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19387 (exit $ac_status); }; } &&
19388 { ac_try='test -s conftest.$ac_objext'
19389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19390 (eval $ac_try) 2>&5
19391 ac_status=$?
19392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19393 (exit $ac_status); }; }; then
19394 ac_cv_member_struct_mtget_mt_blkno=yes
19395 else
19396 echo "$as_me: failed program was:" >&5
19397 sed 's/^/| /' conftest.$ac_ext >&5
19399 ac_cv_member_struct_mtget_mt_blkno=no
19401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19405 echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
19406 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6
19407 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
19409 cat >>confdefs.h <<_ACEOF
19410 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
19411 _ACEOF
19417 echo "$as_me:$LINENO: checking for struct option.name" >&5
19418 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
19419 if test "${ac_cv_member_struct_option_name+set}" = set; then
19420 echo $ECHO_N "(cached) $ECHO_C" >&6
19421 else
19422 cat >conftest.$ac_ext <<_ACEOF
19423 /* confdefs.h. */
19424 _ACEOF
19425 cat confdefs.h >>conftest.$ac_ext
19426 cat >>conftest.$ac_ext <<_ACEOF
19427 /* end confdefs.h. */
19428 #ifdef HAVE_GETOPT_H
19429 #include <getopt.h>
19430 #endif
19433 main ()
19435 static struct option ac_aggr;
19436 if (ac_aggr.name)
19437 return 0;
19439 return 0;
19441 _ACEOF
19442 rm -f conftest.$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19445 ac_status=$?
19446 grep -v '^ *+' conftest.er1 >conftest.err
19447 rm -f conftest.er1
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19453 (eval $ac_try) 2>&5
19454 ac_status=$?
19455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19456 (exit $ac_status); }; } &&
19457 { ac_try='test -s conftest.$ac_objext'
19458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19459 (eval $ac_try) 2>&5
19460 ac_status=$?
19461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19462 (exit $ac_status); }; }; then
19463 ac_cv_member_struct_option_name=yes
19464 else
19465 echo "$as_me: failed program was:" >&5
19466 sed 's/^/| /' conftest.$ac_ext >&5
19468 cat >conftest.$ac_ext <<_ACEOF
19469 /* confdefs.h. */
19470 _ACEOF
19471 cat confdefs.h >>conftest.$ac_ext
19472 cat >>conftest.$ac_ext <<_ACEOF
19473 /* end confdefs.h. */
19474 #ifdef HAVE_GETOPT_H
19475 #include <getopt.h>
19476 #endif
19479 main ()
19481 static struct option ac_aggr;
19482 if (sizeof ac_aggr.name)
19483 return 0;
19485 return 0;
19487 _ACEOF
19488 rm -f conftest.$ac_objext
19489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19490 (eval $ac_compile) 2>conftest.er1
19491 ac_status=$?
19492 grep -v '^ *+' conftest.er1 >conftest.err
19493 rm -f conftest.er1
19494 cat conftest.err >&5
19495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19496 (exit $ac_status); } &&
19497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19499 (eval $ac_try) 2>&5
19500 ac_status=$?
19501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19502 (exit $ac_status); }; } &&
19503 { ac_try='test -s conftest.$ac_objext'
19504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19505 (eval $ac_try) 2>&5
19506 ac_status=$?
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); }; }; then
19509 ac_cv_member_struct_option_name=yes
19510 else
19511 echo "$as_me: failed program was:" >&5
19512 sed 's/^/| /' conftest.$ac_ext >&5
19514 ac_cv_member_struct_option_name=no
19516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19520 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
19521 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
19522 if test $ac_cv_member_struct_option_name = yes; then
19524 cat >>confdefs.h <<_ACEOF
19525 #define HAVE_STRUCT_OPTION_NAME 1
19526 _ACEOF
19532 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
19533 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
19534 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
19535 echo $ECHO_N "(cached) $ECHO_C" >&6
19536 else
19537 cat >conftest.$ac_ext <<_ACEOF
19538 /* confdefs.h. */
19539 _ACEOF
19540 cat confdefs.h >>conftest.$ac_ext
19541 cat >>conftest.$ac_ext <<_ACEOF
19542 /* end confdefs.h. */
19543 $ac_includes_default
19545 main ()
19547 static struct stat ac_aggr;
19548 if (ac_aggr.st_blocks)
19549 return 0;
19551 return 0;
19553 _ACEOF
19554 rm -f conftest.$ac_objext
19555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19556 (eval $ac_compile) 2>conftest.er1
19557 ac_status=$?
19558 grep -v '^ *+' conftest.er1 >conftest.err
19559 rm -f conftest.er1
19560 cat conftest.err >&5
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); } &&
19563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19566 ac_status=$?
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; } &&
19569 { ac_try='test -s conftest.$ac_objext'
19570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19571 (eval $ac_try) 2>&5
19572 ac_status=$?
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); }; }; then
19575 ac_cv_member_struct_stat_st_blocks=yes
19576 else
19577 echo "$as_me: failed program was:" >&5
19578 sed 's/^/| /' conftest.$ac_ext >&5
19580 cat >conftest.$ac_ext <<_ACEOF
19581 /* confdefs.h. */
19582 _ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19588 main ()
19590 static struct stat ac_aggr;
19591 if (sizeof ac_aggr.st_blocks)
19592 return 0;
19594 return 0;
19596 _ACEOF
19597 rm -f conftest.$ac_objext
19598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19599 (eval $ac_compile) 2>conftest.er1
19600 ac_status=$?
19601 grep -v '^ *+' conftest.er1 >conftest.err
19602 rm -f conftest.er1
19603 cat conftest.err >&5
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); } &&
19606 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19608 (eval $ac_try) 2>&5
19609 ac_status=$?
19610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19611 (exit $ac_status); }; } &&
19612 { ac_try='test -s conftest.$ac_objext'
19613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19614 (eval $ac_try) 2>&5
19615 ac_status=$?
19616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19617 (exit $ac_status); }; }; then
19618 ac_cv_member_struct_stat_st_blocks=yes
19619 else
19620 echo "$as_me: failed program was:" >&5
19621 sed 's/^/| /' conftest.$ac_ext >&5
19623 ac_cv_member_struct_stat_st_blocks=no
19625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19629 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
19630 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
19631 if test $ac_cv_member_struct_stat_st_blocks = yes; then
19633 cat >>confdefs.h <<_ACEOF
19634 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19635 _ACEOF
19641 echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
19642 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6
19643 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
19644 echo $ECHO_N "(cached) $ECHO_C" >&6
19645 else
19646 cat >conftest.$ac_ext <<_ACEOF
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 #ifdef HAVE_SYS_TYPES_H
19653 #include <sys/types.h>
19654 #endif
19655 #ifdef HAVE_NETINET_IN_H
19656 #include <netinet/in.h>
19657 #endif
19660 main ()
19662 static struct sockaddr_in6 ac_aggr;
19663 if (ac_aggr.sin6_scope_id)
19664 return 0;
19666 return 0;
19668 _ACEOF
19669 rm -f conftest.$ac_objext
19670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19671 (eval $ac_compile) 2>conftest.er1
19672 ac_status=$?
19673 grep -v '^ *+' conftest.er1 >conftest.err
19674 rm -f conftest.er1
19675 cat conftest.err >&5
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); } &&
19678 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; } &&
19684 { ac_try='test -s conftest.$ac_objext'
19685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19686 (eval $ac_try) 2>&5
19687 ac_status=$?
19688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19689 (exit $ac_status); }; }; then
19690 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19691 else
19692 echo "$as_me: failed program was:" >&5
19693 sed 's/^/| /' conftest.$ac_ext >&5
19695 cat >conftest.$ac_ext <<_ACEOF
19696 /* confdefs.h. */
19697 _ACEOF
19698 cat confdefs.h >>conftest.$ac_ext
19699 cat >>conftest.$ac_ext <<_ACEOF
19700 /* end confdefs.h. */
19701 #ifdef HAVE_SYS_TYPES_H
19702 #include <sys/types.h>
19703 #endif
19704 #ifdef HAVE_NETINET_IN_H
19705 #include <netinet/in.h>
19706 #endif
19709 main ()
19711 static struct sockaddr_in6 ac_aggr;
19712 if (sizeof ac_aggr.sin6_scope_id)
19713 return 0;
19715 return 0;
19717 _ACEOF
19718 rm -f conftest.$ac_objext
19719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19720 (eval $ac_compile) 2>conftest.er1
19721 ac_status=$?
19722 grep -v '^ *+' conftest.er1 >conftest.err
19723 rm -f conftest.er1
19724 cat conftest.err >&5
19725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19726 (exit $ac_status); } &&
19727 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19729 (eval $ac_try) 2>&5
19730 ac_status=$?
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); }; } &&
19733 { ac_try='test -s conftest.$ac_objext'
19734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735 (eval $ac_try) 2>&5
19736 ac_status=$?
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); }; }; then
19739 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
19740 else
19741 echo "$as_me: failed program was:" >&5
19742 sed 's/^/| /' conftest.$ac_ext >&5
19744 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
19746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19750 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
19751 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6
19752 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
19754 cat >>confdefs.h <<_ACEOF
19755 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19756 _ACEOF
19762 echo "$as_me:$LINENO: checking for timezone variable" >&5
19763 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
19764 if test "${ac_cv_have_timezone+set}" = set; then
19765 echo $ECHO_N "(cached) $ECHO_C" >&6
19766 else
19767 cat >conftest.$ac_ext <<_ACEOF
19768 /* confdefs.h. */
19769 _ACEOF
19770 cat confdefs.h >>conftest.$ac_ext
19771 cat >>conftest.$ac_ext <<_ACEOF
19772 /* end confdefs.h. */
19773 #include <time.h>
19775 main ()
19777 timezone;
19779 return 0;
19781 _ACEOF
19782 rm -f conftest.$ac_objext conftest$ac_exeext
19783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19784 (eval $ac_link) 2>conftest.er1
19785 ac_status=$?
19786 grep -v '^ *+' conftest.er1 >conftest.err
19787 rm -f conftest.er1
19788 cat conftest.err >&5
19789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19790 (exit $ac_status); } &&
19791 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19793 (eval $ac_try) 2>&5
19794 ac_status=$?
19795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19796 (exit $ac_status); }; } &&
19797 { ac_try='test -s conftest$ac_exeext'
19798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19799 (eval $ac_try) 2>&5
19800 ac_status=$?
19801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19802 (exit $ac_status); }; }; then
19803 ac_cv_have_timezone="yes"
19804 else
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19808 ac_cv_have_timezone="no"
19810 rm -f conftest.err conftest.$ac_objext \
19811 conftest$ac_exeext conftest.$ac_ext
19813 echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
19814 echo "${ECHO_T}$ac_cv_have_timezone" >&6
19815 if test "$ac_cv_have_timezone" = "yes"
19816 then
19818 cat >>confdefs.h <<\_ACEOF
19819 #define HAVE_TIMEZONE 1
19820 _ACEOF
19823 echo "$as_me:$LINENO: checking for daylight variable" >&5
19824 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
19825 if test "${ac_cv_have_daylight+set}" = set; then
19826 echo $ECHO_N "(cached) $ECHO_C" >&6
19827 else
19828 cat >conftest.$ac_ext <<_ACEOF
19829 /* confdefs.h. */
19830 _ACEOF
19831 cat confdefs.h >>conftest.$ac_ext
19832 cat >>conftest.$ac_ext <<_ACEOF
19833 /* end confdefs.h. */
19834 #include <time.h>
19836 main ()
19838 daylight;
19840 return 0;
19842 _ACEOF
19843 rm -f conftest.$ac_objext conftest$ac_exeext
19844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19845 (eval $ac_link) 2>conftest.er1
19846 ac_status=$?
19847 grep -v '^ *+' conftest.er1 >conftest.err
19848 rm -f conftest.er1
19849 cat conftest.err >&5
19850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19851 (exit $ac_status); } &&
19852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19854 (eval $ac_try) 2>&5
19855 ac_status=$?
19856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19857 (exit $ac_status); }; } &&
19858 { ac_try='test -s conftest$ac_exeext'
19859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19860 (eval $ac_try) 2>&5
19861 ac_status=$?
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); }; }; then
19864 ac_cv_have_daylight="yes"
19865 else
19866 echo "$as_me: failed program was:" >&5
19867 sed 's/^/| /' conftest.$ac_ext >&5
19869 ac_cv_have_daylight="no"
19871 rm -f conftest.err conftest.$ac_objext \
19872 conftest$ac_exeext conftest.$ac_ext
19874 echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
19875 echo "${ECHO_T}$ac_cv_have_daylight" >&6
19876 if test "$ac_cv_have_daylight" = "yes"
19877 then
19879 cat >>confdefs.h <<\_ACEOF
19880 #define HAVE_DAYLIGHT 1
19881 _ACEOF
19886 case $host_cpu in
19887 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
19888 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
19889 if test "${ac_cv_cpp_def___i386__+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 else
19892 cat >conftest.$ac_ext <<_ACEOF
19893 /* confdefs.h. */
19894 _ACEOF
19895 cat confdefs.h >>conftest.$ac_ext
19896 cat >>conftest.$ac_ext <<_ACEOF
19897 /* end confdefs.h. */
19898 #ifndef __i386__
19900 #endif
19901 _ACEOF
19902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19903 $EGREP "yes" >/dev/null 2>&1; then
19904 ac_cv_cpp_def___i386__=yes
19905 else
19906 ac_cv_cpp_def___i386__=no
19908 rm -f conftest*
19911 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
19912 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
19913 if test $ac_cv_cpp_def___i386__ = yes; then
19914 CFLAGS="$CFLAGS -D__i386__"
19915 LINTFLAGS="$LINTFLAGS -D__i386__"
19918 *x86_64*) echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
19919 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6
19920 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
19921 echo $ECHO_N "(cached) $ECHO_C" >&6
19922 else
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 #ifndef __x86_64__
19931 #endif
19932 _ACEOF
19933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19934 $EGREP "yes" >/dev/null 2>&1; then
19935 ac_cv_cpp_def___x86_64__=yes
19936 else
19937 ac_cv_cpp_def___x86_64__=no
19939 rm -f conftest*
19942 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
19943 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6
19944 if test $ac_cv_cpp_def___x86_64__ = yes; then
19945 CFLAGS="$CFLAGS -D__x86_64__"
19946 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19949 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
19950 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
19951 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 else
19954 cat >conftest.$ac_ext <<_ACEOF
19955 /* confdefs.h. */
19956 _ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 #ifndef __ALPHA__
19962 #endif
19963 _ACEOF
19964 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19965 $EGREP "yes" >/dev/null 2>&1; then
19966 ac_cv_cpp_def___ALPHA__=yes
19967 else
19968 ac_cv_cpp_def___ALPHA__=no
19970 rm -f conftest*
19973 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
19974 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
19975 if test $ac_cv_cpp_def___ALPHA__ = yes; then
19976 CFLAGS="$CFLAGS -D__ALPHA__"
19977 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
19980 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
19981 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
19982 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 else
19985 cat >conftest.$ac_ext <<_ACEOF
19986 /* confdefs.h. */
19987 _ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 #ifndef __sparc__
19993 #endif
19994 _ACEOF
19995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19996 $EGREP "yes" >/dev/null 2>&1; then
19997 ac_cv_cpp_def___sparc__=yes
19998 else
19999 ac_cv_cpp_def___sparc__=no
20001 rm -f conftest*
20004 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
20005 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
20006 if test $ac_cv_cpp_def___sparc__ = yes; then
20007 CFLAGS="$CFLAGS -D__sparc__"
20008 LINTFLAGS="$LINTFLAGS -D__sparc__"
20011 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
20012 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
20013 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
20014 echo $ECHO_N "(cached) $ECHO_C" >&6
20015 else
20016 cat >conftest.$ac_ext <<_ACEOF
20017 /* confdefs.h. */
20018 _ACEOF
20019 cat confdefs.h >>conftest.$ac_ext
20020 cat >>conftest.$ac_ext <<_ACEOF
20021 /* end confdefs.h. */
20022 #ifndef __powerpc__
20024 #endif
20025 _ACEOF
20026 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20027 $EGREP "yes" >/dev/null 2>&1; then
20028 ac_cv_cpp_def___powerpc__=yes
20029 else
20030 ac_cv_cpp_def___powerpc__=no
20032 rm -f conftest*
20035 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
20036 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
20037 if test $ac_cv_cpp_def___powerpc__ = yes; then
20038 CFLAGS="$CFLAGS -D__powerpc__"
20039 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20042 esac
20044 case $host_vendor in
20045 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
20046 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
20047 if test "${ac_cv_cpp_def___sun__+set}" = set; then
20048 echo $ECHO_N "(cached) $ECHO_C" >&6
20049 else
20050 cat >conftest.$ac_ext <<_ACEOF
20051 /* confdefs.h. */
20052 _ACEOF
20053 cat confdefs.h >>conftest.$ac_ext
20054 cat >>conftest.$ac_ext <<_ACEOF
20055 /* end confdefs.h. */
20056 #ifndef __sun__
20058 #endif
20059 _ACEOF
20060 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20061 $EGREP "yes" >/dev/null 2>&1; then
20062 ac_cv_cpp_def___sun__=yes
20063 else
20064 ac_cv_cpp_def___sun__=no
20066 rm -f conftest*
20069 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
20070 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
20071 if test $ac_cv_cpp_def___sun__ = yes; then
20072 CFLAGS="$CFLAGS -D__sun__"
20073 LINTFLAGS="$LINTFLAGS -D__sun__"
20076 esac
20082 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
20084 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
20086 ac_config_commands="$ac_config_commands dlls/kernel/messages"
20088 ac_config_commands="$ac_config_commands dlls/user/resources"
20090 ac_config_commands="$ac_config_commands dlls/wineps/data"
20092 ac_config_commands="$ac_config_commands include/wine"
20095 MAKE_RULES=Make.rules
20098 MAKE_DLL_RULES=dlls/Makedll.rules
20101 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
20104 MAKE_TEST_RULES=dlls/Maketest.rules
20107 MAKE_LIB_RULES=libs/Makelib.rules
20110 MAKE_PROG_RULES=programs/Makeprog.rules
20113 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules libs/Makelib.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi/Makefile dlls/gdi/tests/Makefile dlls/glu32/Makefile dlls/glut32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel/Makefile dlls/kernel/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/rasapi32/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user/Makefile dlls/user/tests/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile dlls/x11drv/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/unicode/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wcmd/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winapi/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
20116 cat >confcache <<\_ACEOF
20117 # This file is a shell script that caches the results of configure
20118 # tests run on this system so they can be shared between configure
20119 # scripts and configure runs, see configure's option --config-cache.
20120 # It is not useful on other systems. If it contains results you don't
20121 # want to keep, you may remove or edit it.
20123 # config.status only pays attention to the cache file if you give it
20124 # the --recheck option to rerun configure.
20126 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20127 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20128 # following values.
20130 _ACEOF
20132 # The following way of writing the cache mishandles newlines in values,
20133 # but we know of no workaround that is simple, portable, and efficient.
20134 # So, don't put newlines in cache variables' values.
20135 # Ultrix sh set writes to stderr and can't be redirected directly,
20136 # and sets the high bit in the cache file unless we assign to the vars.
20138 (set) 2>&1 |
20139 case `(ac_space=' '; set | grep ac_space) 2>&1` in
20140 *ac_space=\ *)
20141 # `set' does not quote correctly, so add quotes (double-quote
20142 # substitution turns \\\\ into \\, and sed turns \\ into \).
20143 sed -n \
20144 "s/'/'\\\\''/g;
20145 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20148 # `set' quotes correctly as required by POSIX, so do not add quotes.
20149 sed -n \
20150 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
20152 esac;
20154 sed '
20155 t clear
20156 : clear
20157 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20158 t end
20159 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20160 : end' >>confcache
20161 if diff $cache_file confcache >/dev/null 2>&1; then :; else
20162 if test -w $cache_file; then
20163 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
20164 cat confcache >$cache_file
20165 else
20166 echo "not updating unwritable cache $cache_file"
20169 rm -f confcache
20171 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20172 # Let make expand exec_prefix.
20173 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20175 # VPATH may cause trouble with some makes, so we remove $(srcdir),
20176 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
20177 # trailing colons and then remove the whole line if VPATH becomes empty
20178 # (actually we leave an empty line to preserve line numbers).
20179 if test "x$srcdir" = x.; then
20180 ac_vpsub='/^[ ]*VPATH[ ]*=/{
20181 s/:*\$(srcdir):*/:/;
20182 s/:*\${srcdir}:*/:/;
20183 s/:*@srcdir@:*/:/;
20184 s/^\([^=]*=[ ]*\):*/\1/;
20185 s/:*$//;
20186 s/^[^=]*=[ ]*$//;
20190 DEFS=-DHAVE_CONFIG_H
20192 ac_libobjs=
20193 ac_ltlibobjs=
20194 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20195 # 1. Remove the extension, and $U if already installed.
20196 ac_i=`echo "$ac_i" |
20197 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
20198 # 2. Add them.
20199 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
20200 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
20201 done
20202 LIBOBJS=$ac_libobjs
20204 LTLIBOBJS=$ac_ltlibobjs
20208 : ${CONFIG_STATUS=./config.status}
20209 ac_clean_files_save=$ac_clean_files
20210 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20211 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
20212 echo "$as_me: creating $CONFIG_STATUS" >&6;}
20213 cat >$CONFIG_STATUS <<_ACEOF
20214 #! $SHELL
20215 # Generated by $as_me.
20216 # Run this file to recreate the current configuration.
20217 # Compiler output produced by configure, useful for debugging
20218 # configure, is in config.log if it exists.
20220 debug=false
20221 ac_cs_recheck=false
20222 ac_cs_silent=false
20223 SHELL=\${CONFIG_SHELL-$SHELL}
20224 _ACEOF
20226 cat >>$CONFIG_STATUS <<\_ACEOF
20227 ## --------------------- ##
20228 ## M4sh Initialization. ##
20229 ## --------------------- ##
20231 # Be Bourne compatible
20232 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20233 emulate sh
20234 NULLCMD=:
20235 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20236 # is contrary to our usage. Disable this feature.
20237 alias -g '${1+"$@"}'='"$@"'
20238 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20239 set -o posix
20241 DUALCASE=1; export DUALCASE # for MKS sh
20243 # Support unset when possible.
20244 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
20245 as_unset=unset
20246 else
20247 as_unset=false
20251 # Work around bugs in pre-3.0 UWIN ksh.
20252 $as_unset ENV MAIL MAILPATH
20253 PS1='$ '
20254 PS2='> '
20255 PS4='+ '
20257 # NLS nuisances.
20258 for as_var in \
20259 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
20260 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
20261 LC_TELEPHONE LC_TIME
20263 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
20264 eval $as_var=C; export $as_var
20265 else
20266 $as_unset $as_var
20268 done
20270 # Required to use basename.
20271 if expr a : '\(a\)' >/dev/null 2>&1; then
20272 as_expr=expr
20273 else
20274 as_expr=false
20277 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
20278 as_basename=basename
20279 else
20280 as_basename=false
20284 # Name of the executable.
20285 as_me=`$as_basename "$0" ||
20286 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20287 X"$0" : 'X\(//\)$' \| \
20288 X"$0" : 'X\(/\)$' \| \
20289 . : '\(.\)' 2>/dev/null ||
20290 echo X/"$0" |
20291 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20292 /^X\/\(\/\/\)$/{ s//\1/; q; }
20293 /^X\/\(\/\).*/{ s//\1/; q; }
20294 s/.*/./; q'`
20297 # PATH needs CR, and LINENO needs CR and PATH.
20298 # Avoid depending upon Character Ranges.
20299 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20300 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20301 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20302 as_cr_digits='0123456789'
20303 as_cr_alnum=$as_cr_Letters$as_cr_digits
20305 # The user is always right.
20306 if test "${PATH_SEPARATOR+set}" != set; then
20307 echo "#! /bin/sh" >conf$$.sh
20308 echo "exit 0" >>conf$$.sh
20309 chmod +x conf$$.sh
20310 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
20311 PATH_SEPARATOR=';'
20312 else
20313 PATH_SEPARATOR=:
20315 rm -f conf$$.sh
20319 as_lineno_1=$LINENO
20320 as_lineno_2=$LINENO
20321 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20322 test "x$as_lineno_1" != "x$as_lineno_2" &&
20323 test "x$as_lineno_3" = "x$as_lineno_2" || {
20324 # Find who we are. Look in the path if we contain no path at all
20325 # relative or not.
20326 case $0 in
20327 *[\\/]* ) as_myself=$0 ;;
20328 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20329 for as_dir in $PATH
20331 IFS=$as_save_IFS
20332 test -z "$as_dir" && as_dir=.
20333 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20334 done
20337 esac
20338 # We did not find ourselves, most probably we were run as `sh COMMAND'
20339 # in which case we are not to be found in the path.
20340 if test "x$as_myself" = x; then
20341 as_myself=$0
20343 if test ! -f "$as_myself"; then
20344 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
20345 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
20346 { (exit 1); exit 1; }; }
20348 case $CONFIG_SHELL in
20350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20351 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
20353 IFS=$as_save_IFS
20354 test -z "$as_dir" && as_dir=.
20355 for as_base in sh bash ksh sh5; do
20356 case $as_dir in
20358 if ("$as_dir/$as_base" -c '
20359 as_lineno_1=$LINENO
20360 as_lineno_2=$LINENO
20361 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
20362 test "x$as_lineno_1" != "x$as_lineno_2" &&
20363 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
20364 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
20365 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
20366 CONFIG_SHELL=$as_dir/$as_base
20367 export CONFIG_SHELL
20368 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
20369 fi;;
20370 esac
20371 done
20372 done
20374 esac
20376 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
20377 # uniformly replaced by the line number. The first 'sed' inserts a
20378 # line-number line before each line; the second 'sed' does the real
20379 # work. The second script uses 'N' to pair each line-number line
20380 # with the numbered line, and appends trailing '-' during
20381 # substitution so that $LINENO is not a special case at line end.
20382 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
20383 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
20384 sed '=' <$as_myself |
20385 sed '
20387 s,$,-,
20388 : loop
20389 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
20390 t loop
20391 s,-$,,
20392 s,^['$as_cr_digits']*\n,,
20393 ' >$as_me.lineno &&
20394 chmod +x $as_me.lineno ||
20395 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
20396 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
20397 { (exit 1); exit 1; }; }
20399 # Don't try to exec as it changes $[0], causing all sort of problems
20400 # (the dirname of $[0] is not the place where we might find the
20401 # original and so on. Autoconf is especially sensible to this).
20402 . ./$as_me.lineno
20403 # Exit status is that of the last command.
20404 exit
20408 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
20409 *c*,-n*) ECHO_N= ECHO_C='
20410 ' ECHO_T=' ' ;;
20411 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
20412 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
20413 esac
20415 if expr a : '\(a\)' >/dev/null 2>&1; then
20416 as_expr=expr
20417 else
20418 as_expr=false
20421 rm -f conf$$ conf$$.exe conf$$.file
20422 echo >conf$$.file
20423 if ln -s conf$$.file conf$$ 2>/dev/null; then
20424 # We could just check for DJGPP; but this test a) works b) is more generic
20425 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
20426 if test -f conf$$.exe; then
20427 # Don't use ln at all; we don't have any links
20428 as_ln_s='cp -p'
20429 else
20430 as_ln_s='ln -s'
20432 elif ln conf$$.file conf$$ 2>/dev/null; then
20433 as_ln_s=ln
20434 else
20435 as_ln_s='cp -p'
20437 rm -f conf$$ conf$$.exe conf$$.file
20439 if mkdir -p . 2>/dev/null; then
20440 as_mkdir_p=:
20441 else
20442 test -d ./-p && rmdir ./-p
20443 as_mkdir_p=false
20446 as_executable_p="test -f"
20448 # Sed expression to map a string onto a valid CPP name.
20449 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20451 # Sed expression to map a string onto a valid variable name.
20452 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20455 # IFS
20456 # We need space, tab and new line, in precisely that order.
20457 as_nl='
20459 IFS=" $as_nl"
20461 # CDPATH.
20462 $as_unset CDPATH
20464 exec 6>&1
20466 # Open the log real soon, to keep \$[0] and so on meaningful, and to
20467 # report actual input values of CONFIG_FILES etc. instead of their
20468 # values after options handling. Logging --version etc. is OK.
20469 exec 5>>config.log
20471 echo
20472 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20473 ## Running $as_me. ##
20474 _ASBOX
20475 } >&5
20476 cat >&5 <<_CSEOF
20478 This file was extended by Wine $as_me 0.9.13, which was
20479 generated by GNU Autoconf 2.59. Invocation command line was
20481 CONFIG_FILES = $CONFIG_FILES
20482 CONFIG_HEADERS = $CONFIG_HEADERS
20483 CONFIG_LINKS = $CONFIG_LINKS
20484 CONFIG_COMMANDS = $CONFIG_COMMANDS
20485 $ $0 $@
20487 _CSEOF
20488 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
20489 echo >&5
20490 _ACEOF
20492 # Files that config.status was made for.
20493 if test -n "$ac_config_files"; then
20494 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
20497 if test -n "$ac_config_headers"; then
20498 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
20501 if test -n "$ac_config_links"; then
20502 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
20505 if test -n "$ac_config_commands"; then
20506 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
20509 cat >>$CONFIG_STATUS <<\_ACEOF
20511 ac_cs_usage="\
20512 \`$as_me' instantiates files from templates according to the
20513 current configuration.
20515 Usage: $0 [OPTIONS] [FILE]...
20517 -h, --help print this help, then exit
20518 -V, --version print version number, then exit
20519 -q, --quiet do not print progress messages
20520 -d, --debug don't remove temporary files
20521 --recheck update $as_me by reconfiguring in the same conditions
20522 --file=FILE[:TEMPLATE]
20523 instantiate the configuration file FILE
20524 --header=FILE[:TEMPLATE]
20525 instantiate the configuration header FILE
20527 Configuration files:
20528 $config_files
20530 Configuration headers:
20531 $config_headers
20533 Configuration commands:
20534 $config_commands
20536 Report bugs to <bug-autoconf@gnu.org>."
20537 _ACEOF
20539 cat >>$CONFIG_STATUS <<_ACEOF
20540 ac_cs_version="\\
20541 Wine config.status 0.9.13
20542 configured by $0, generated by GNU Autoconf 2.59,
20543 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
20545 Copyright (C) 2003 Free Software Foundation, Inc.
20546 This config.status script is free software; the Free Software Foundation
20547 gives unlimited permission to copy, distribute and modify it."
20548 srcdir=$srcdir
20549 INSTALL="$INSTALL"
20550 _ACEOF
20552 cat >>$CONFIG_STATUS <<\_ACEOF
20553 # If no file are specified by the user, then we need to provide default
20554 # value. By we need to know if files were specified by the user.
20555 ac_need_defaults=:
20556 while test $# != 0
20558 case $1 in
20559 --*=*)
20560 ac_option=`expr "x$1" : 'x\([^=]*\)='`
20561 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
20562 ac_shift=:
20565 ac_option=$1
20566 ac_optarg=$2
20567 ac_shift=shift
20569 *) # This is not an option, so the user has probably given explicit
20570 # arguments.
20571 ac_option=$1
20572 ac_need_defaults=false;;
20573 esac
20575 case $ac_option in
20576 # Handling of the options.
20577 _ACEOF
20578 cat >>$CONFIG_STATUS <<\_ACEOF
20579 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20580 ac_cs_recheck=: ;;
20581 --version | --vers* | -V )
20582 echo "$ac_cs_version"; exit 0 ;;
20583 --he | --h)
20584 # Conflict between --help and --header
20585 { { echo "$as_me:$LINENO: error: ambiguous option: $1
20586 Try \`$0 --help' for more information." >&5
20587 echo "$as_me: error: ambiguous option: $1
20588 Try \`$0 --help' for more information." >&2;}
20589 { (exit 1); exit 1; }; };;
20590 --help | --hel | -h )
20591 echo "$ac_cs_usage"; exit 0 ;;
20592 --debug | --d* | -d )
20593 debug=: ;;
20594 --file | --fil | --fi | --f )
20595 $ac_shift
20596 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
20597 ac_need_defaults=false;;
20598 --header | --heade | --head | --hea )
20599 $ac_shift
20600 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
20601 ac_need_defaults=false;;
20602 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20603 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20604 ac_cs_silent=: ;;
20606 # This is an error.
20607 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
20608 Try \`$0 --help' for more information." >&5
20609 echo "$as_me: error: unrecognized option: $1
20610 Try \`$0 --help' for more information." >&2;}
20611 { (exit 1); exit 1; }; } ;;
20613 *) ac_config_targets="$ac_config_targets $1" ;;
20615 esac
20616 shift
20617 done
20619 ac_configure_extra_args=
20621 if $ac_cs_silent; then
20622 exec 6>/dev/null
20623 ac_configure_extra_args="$ac_configure_extra_args --silent"
20626 _ACEOF
20627 cat >>$CONFIG_STATUS <<_ACEOF
20628 if \$ac_cs_recheck; then
20629 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
20630 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20633 _ACEOF
20639 cat >>$CONFIG_STATUS <<\_ACEOF
20640 for ac_config_target in $ac_config_targets
20642 case "$ac_config_target" in
20643 # Handling of arguments.
20644 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
20645 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
20646 "dlls/Makeimplib.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makeimplib.rules" ;;
20647 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
20648 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
20649 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
20650 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20651 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
20652 "dlls/activeds/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
20653 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
20654 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
20655 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
20656 "dlls/advpack/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
20657 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
20658 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
20659 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
20660 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
20661 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
20662 "dlls/cabinet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
20663 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
20664 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
20665 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
20666 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
20667 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
20668 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
20669 "dlls/comdlg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
20670 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
20671 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
20672 "dlls/crypt32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
20673 "dlls/cryptdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
20674 "dlls/ctl3d32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
20675 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
20676 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
20677 "dlls/d3d9/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
20678 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
20679 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
20680 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
20681 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
20682 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
20683 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
20684 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
20685 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
20686 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
20687 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
20688 "dlls/dinput/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
20689 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
20690 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
20691 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
20692 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
20693 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
20694 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
20695 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
20696 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
20697 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
20698 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
20699 "dlls/dnsapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
20700 "dlls/dnsapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
20701 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
20702 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
20703 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
20704 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
20705 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
20706 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
20707 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
20708 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
20709 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
20710 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
20711 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
20712 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
20713 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
20714 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
20715 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
20716 "dlls/gphoto2.ds/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
20717 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
20718 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
20719 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
20720 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
20721 "dlls/imaadp32.acm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
20722 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
20723 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
20724 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
20725 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
20726 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
20727 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
20728 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
20729 "dlls/lz32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lz32/Makefile" ;;
20730 "dlls/lz32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
20731 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
20732 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
20733 "dlls/mciavi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
20734 "dlls/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
20735 "dlls/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mciseq/Makefile" ;;
20736 "dlls/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mciwave/Makefile" ;;
20737 "dlls/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
20738 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
20739 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
20740 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
20741 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
20742 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
20743 "dlls/mprapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mprapi/Makefile" ;;
20744 "dlls/msacm32.drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
20745 "dlls/msacm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm32/Makefile" ;;
20746 "dlls/msacm32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
20747 "dlls/msadp32.acm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
20748 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
20749 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
20750 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
20751 "dlls/msftedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msftedit/Makefile" ;;
20752 "dlls/msg711.acm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
20753 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
20754 "dlls/mshtml/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
20755 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
20756 "dlls/msi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
20757 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
20758 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
20759 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
20760 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
20761 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
20762 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
20763 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
20764 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
20765 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
20766 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
20767 "dlls/msvfw32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
20768 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
20769 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
20770 "dlls/msxml3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
20771 "dlls/msxml3/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
20772 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
20773 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
20774 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
20775 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
20776 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
20777 "dlls/objsel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
20778 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
20779 "dlls/odbccp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
20780 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
20781 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
20782 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
20783 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
20784 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
20785 "dlls/olecli32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli32/Makefile" ;;
20786 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
20787 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
20788 "dlls/olesvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
20789 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
20790 "dlls/powrprof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
20791 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
20792 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
20793 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
20794 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
20795 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
20796 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
20797 "dlls/riched20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
20798 "dlls/riched20/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
20799 "dlls/riched32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched32/Makefile" ;;
20800 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
20801 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
20802 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
20803 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
20804 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
20805 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
20806 "dlls/sane.ds/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
20807 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
20808 "dlls/secur32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
20809 "dlls/security/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/security/Makefile" ;;
20810 "dlls/sensapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
20811 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
20812 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
20813 "dlls/setupapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
20814 "dlls/sfc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sfc/Makefile" ;;
20815 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
20816 "dlls/shdocvw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
20817 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
20818 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
20819 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
20820 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
20821 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
20822 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
20823 "dlls/spoolss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/spoolss/Makefile" ;;
20824 "dlls/stdole2.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
20825 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
20826 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
20827 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
20828 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
20829 "dlls/twain_32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain_32/Makefile" ;;
20830 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
20831 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
20832 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
20833 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
20834 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
20835 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
20836 "dlls/usp10/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
20837 "dlls/usp10/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
20838 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
20839 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
20840 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
20841 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
20842 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
20843 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
20844 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
20845 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
20846 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
20847 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
20848 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
20849 "dlls/w32skrnl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
20850 "dlls/winecrt0/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
20851 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
20852 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
20853 "dlls/winemp3.acm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
20854 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
20855 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
20856 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
20857 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
20858 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
20859 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
20860 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
20861 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
20862 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
20863 "dlls/winmm/wineesd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
20864 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
20865 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
20866 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
20867 "dlls/winnls32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls32/Makefile" ;;
20868 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
20869 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
20870 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
20871 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
20872 "dlls/wldap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
20873 "dlls/wnaspi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
20874 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
20875 "dlls/ws2_32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
20876 "dlls/ws2_32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
20877 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
20878 "dlls/wtsapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
20879 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
20880 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
20881 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
20882 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
20883 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
20884 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
20885 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
20886 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
20887 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
20888 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
20889 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
20890 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
20891 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
20892 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
20893 "programs/eject/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/eject/Makefile" ;;
20894 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
20895 "programs/explorer/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/explorer/Makefile" ;;
20896 "programs/hh/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
20897 "programs/icinfo/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/icinfo/Makefile" ;;
20898 "programs/iexplore/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/iexplore/Makefile" ;;
20899 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
20900 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
20901 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
20902 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
20903 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
20904 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
20905 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
20906 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
20907 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
20908 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
20909 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
20910 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
20911 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
20912 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
20913 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
20914 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
20915 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
20916 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
20917 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
20918 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
20919 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
20920 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
20921 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
20922 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
20923 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
20924 "programs/wordpad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wordpad/Makefile" ;;
20925 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
20926 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
20927 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
20928 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
20929 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
20930 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
20931 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
20932 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
20933 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
20934 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
20935 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
20936 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
20937 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
20938 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
20939 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
20940 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20941 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
20942 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
20943 { (exit 1); exit 1; }; };;
20944 esac
20945 done
20947 # If the user did not use the arguments to specify the items to instantiate,
20948 # then the envvar interface is used. Set only those that are not.
20949 # We use the long form for the default assignment because of an extremely
20950 # bizarre bug on SunOS 4.1.3.
20951 if $ac_need_defaults; then
20952 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20953 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20954 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20957 # Have a temporary directory for convenience. Make it in the build tree
20958 # simply because there is no reason to put it here, and in addition,
20959 # creating and moving files from /tmp can sometimes cause problems.
20960 # Create a temporary directory, and hook for its removal unless debugging.
20961 $debug ||
20963 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
20964 trap '{ (exit 1); exit 1; }' 1 2 13 15
20967 # Create a (secure) tmp directory for tmp files.
20970 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
20971 test -n "$tmp" && test -d "$tmp"
20972 } ||
20974 tmp=./confstat$$-$RANDOM
20975 (umask 077 && mkdir $tmp)
20976 } ||
20978 echo "$me: cannot create a temporary directory in ." >&2
20979 { (exit 1); exit 1; }
20982 _ACEOF
20984 cat >>$CONFIG_STATUS <<_ACEOF
20987 # CONFIG_FILES section.
20990 # No need to generate the scripts if there are no CONFIG_FILES.
20991 # This happens for instance when ./config.status config.h
20992 if test -n "\$CONFIG_FILES"; then
20993 # Protect against being on the right side of a sed subst in config.status.
20994 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
20995 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
20996 s,@SHELL@,$SHELL,;t t
20997 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
20998 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
20999 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21000 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21001 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21002 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21003 s,@exec_prefix@,$exec_prefix,;t t
21004 s,@prefix@,$prefix,;t t
21005 s,@program_transform_name@,$program_transform_name,;t t
21006 s,@bindir@,$bindir,;t t
21007 s,@sbindir@,$sbindir,;t t
21008 s,@libexecdir@,$libexecdir,;t t
21009 s,@datadir@,$datadir,;t t
21010 s,@sysconfdir@,$sysconfdir,;t t
21011 s,@sharedstatedir@,$sharedstatedir,;t t
21012 s,@localstatedir@,$localstatedir,;t t
21013 s,@libdir@,$libdir,;t t
21014 s,@includedir@,$includedir,;t t
21015 s,@oldincludedir@,$oldincludedir,;t t
21016 s,@infodir@,$infodir,;t t
21017 s,@mandir@,$mandir,;t t
21018 s,@build_alias@,$build_alias,;t t
21019 s,@host_alias@,$host_alias,;t t
21020 s,@target_alias@,$target_alias,;t t
21021 s,@DEFS@,$DEFS,;t t
21022 s,@ECHO_C@,$ECHO_C,;t t
21023 s,@ECHO_N@,$ECHO_N,;t t
21024 s,@ECHO_T@,$ECHO_T,;t t
21025 s,@LIBS@,$LIBS,;t t
21026 s,@build@,$build,;t t
21027 s,@build_cpu@,$build_cpu,;t t
21028 s,@build_vendor@,$build_vendor,;t t
21029 s,@build_os@,$build_os,;t t
21030 s,@host@,$host,;t t
21031 s,@host_cpu@,$host_cpu,;t t
21032 s,@host_vendor@,$host_vendor,;t t
21033 s,@host_os@,$host_os,;t t
21034 s,@WIN16_FILES@,$WIN16_FILES,;t t
21035 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
21036 s,@SET_MAKE@,$SET_MAKE,;t t
21037 s,@CC@,$CC,;t t
21038 s,@CFLAGS@,$CFLAGS,;t t
21039 s,@LDFLAGS@,$LDFLAGS,;t t
21040 s,@CPPFLAGS@,$CPPFLAGS,;t t
21041 s,@ac_ct_CC@,$ac_ct_CC,;t t
21042 s,@EXEEXT@,$EXEEXT,;t t
21043 s,@OBJEXT@,$OBJEXT,;t t
21044 s,@CXX@,$CXX,;t t
21045 s,@CXXFLAGS@,$CXXFLAGS,;t t
21046 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21047 s,@CPPBIN@,$CPPBIN,;t t
21048 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
21049 s,@TOOLSDIR@,$TOOLSDIR,;t t
21050 s,@CPP@,$CPP,;t t
21051 s,@X_CFLAGS@,$X_CFLAGS,;t t
21052 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
21053 s,@X_LIBS@,$X_LIBS,;t t
21054 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
21055 s,@LEX@,$LEX,;t t
21056 s,@LEXLIB@,$LEXLIB,;t t
21057 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
21058 s,@XLEX@,$XLEX,;t t
21059 s,@BISON@,$BISON,;t t
21060 s,@AS@,$AS,;t t
21061 s,@ac_ct_AS@,$ac_ct_AS,;t t
21062 s,@LD@,$LD,;t t
21063 s,@ac_ct_LD@,$ac_ct_LD,;t t
21064 s,@AR@,$AR,;t t
21065 s,@ac_ct_AR@,$ac_ct_AR,;t t
21066 s,@RANLIB@,$RANLIB,;t t
21067 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21068 s,@STRIP@,$STRIP,;t t
21069 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21070 s,@WINDRES@,$WINDRES,;t t
21071 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
21072 s,@LN_S@,$LN_S,;t t
21073 s,@LN@,$LN,;t t
21074 s,@EGREP@,$EGREP,;t t
21075 s,@LDCONFIG@,$LDCONFIG,;t t
21076 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21077 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21078 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21079 s,@LINT@,$LINT,;t t
21080 s,@LINTFLAGS@,$LINTFLAGS,;t t
21081 s,@FONTFORGE@,$FONTFORGE,;t t
21082 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21083 s,@PRELINK@,$PRELINK,;t t
21084 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
21085 s,@XLIB@,$XLIB,;t t
21086 s,@XFILES@,$XFILES,;t t
21087 s,@OPENGLFILES@,$OPENGLFILES,;t t
21088 s,@GLU32FILES@,$GLU32FILES,;t t
21089 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
21090 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
21091 s,@GLUT32FILES@,$GLUT32FILES,;t t
21092 s,@NASLIBS@,$NASLIBS,;t t
21093 s,@XML2LIBS@,$XML2LIBS,;t t
21094 s,@XML2INCL@,$XML2INCL,;t t
21095 s,@XSLTLIBS@,$XSLTLIBS,;t t
21096 s,@XSLTINCL@,$XSLTINCL,;t t
21097 s,@HALINCL@,$HALINCL,;t t
21098 s,@CURSESLIBS@,$CURSESLIBS,;t t
21099 s,@sane_devel@,$sane_devel,;t t
21100 s,@SANELIBS@,$SANELIBS,;t t
21101 s,@SANEINCL@,$SANEINCL,;t t
21102 s,@gphoto2_devel@,$gphoto2_devel,;t t
21103 s,@gphoto2port_devel@,$gphoto2port_devel,;t t
21104 s,@GPHOTO2LIBS@,$GPHOTO2LIBS,;t t
21105 s,@GPHOTO2INCL@,$GPHOTO2INCL,;t t
21106 s,@ICULIBS@,$ICULIBS,;t t
21107 s,@RESOLVLIBS@,$RESOLVLIBS,;t t
21108 s,@LCMSLIBS@,$LCMSLIBS,;t t
21109 s,@LDAPLIBS@,$LDAPLIBS,;t t
21110 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
21111 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
21112 s,@ft_devel@,$ft_devel,;t t
21113 s,@ft_devel2@,$ft_devel2,;t t
21114 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
21115 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
21116 s,@ARTSLIBS@,$ARTSLIBS,;t t
21117 s,@ARTSINCL@,$ARTSINCL,;t t
21118 s,@ESDCONFIG@,$ESDCONFIG,;t t
21119 s,@ESDLIBS@,$ESDLIBS,;t t
21120 s,@ESDINCL@,$ESDINCL,;t t
21121 s,@ALSALIBS@,$ALSALIBS,;t t
21122 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
21123 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
21124 s,@BUILTINFLAG@,$BUILTINFLAG,;t t
21125 s,@DLLEXT@,$DLLEXT,;t t
21126 s,@DLLFLAGS@,$DLLFLAGS,;t t
21127 s,@DLLIBS@,$DLLIBS,;t t
21128 s,@LDSHARED@,$LDSHARED,;t t
21129 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
21130 s,@LIBEXT@,$LIBEXT,;t t
21131 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
21132 s,@DLLTOOL@,$DLLTOOL,;t t
21133 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
21134 s,@DLLWRAP@,$DLLWRAP,;t t
21135 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
21136 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
21137 s,@LDEXERPATH@,$LDEXERPATH,;t t
21138 s,@LDDLLRPATH@,$LDDLLRPATH,;t t
21139 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
21140 s,@IOKITLIB@,$IOKITLIB,;t t
21141 s,@CROSSTEST@,$CROSSTEST,;t t
21142 s,@CROSSCC@,$CROSSCC,;t t
21143 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
21144 s,@LDPATH@,$LDPATH,;t t
21145 s,@CRTLIBS@,$CRTLIBS,;t t
21146 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
21147 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
21148 s,@EXTRA_BINARIES@,$EXTRA_BINARIES,;t t
21149 s,@LDD@,$LDD,;t t
21150 s,@LIBOBJS@,$LIBOBJS,;t t
21151 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21152 /@MAKE_RULES@/r $MAKE_RULES
21153 s,@MAKE_RULES@,,;t t
21154 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
21155 s,@MAKE_DLL_RULES@,,;t t
21156 /@MAKE_IMPLIB_RULES@/r $MAKE_IMPLIB_RULES
21157 s,@MAKE_IMPLIB_RULES@,,;t t
21158 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
21159 s,@MAKE_TEST_RULES@,,;t t
21160 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
21161 s,@MAKE_LIB_RULES@,,;t t
21162 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
21163 s,@MAKE_PROG_RULES@,,;t t
21164 CEOF
21166 _ACEOF
21168 cat >>$CONFIG_STATUS <<\_ACEOF
21169 # Split the substitutions into bite-sized pieces for seds with
21170 # small command number limits, like on Digital OSF/1 and HP-UX.
21171 ac_max_sed_lines=48
21172 ac_sed_frag=1 # Number of current file.
21173 ac_beg=1 # First line for current file.
21174 ac_end=$ac_max_sed_lines # Line after last line for current file.
21175 ac_more_lines=:
21176 ac_sed_cmds=
21177 while $ac_more_lines; do
21178 if test $ac_beg -gt 1; then
21179 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21180 else
21181 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21183 if test ! -s $tmp/subs.frag; then
21184 ac_more_lines=false
21185 else
21186 # The purpose of the label and of the branching condition is to
21187 # speed up the sed processing (if there are no `@' at all, there
21188 # is no need to browse any of the substitutions).
21189 # These are the two extra sed commands mentioned above.
21190 (echo ':t
21191 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21192 if test -z "$ac_sed_cmds"; then
21193 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21194 else
21195 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21197 ac_sed_frag=`expr $ac_sed_frag + 1`
21198 ac_beg=$ac_end
21199 ac_end=`expr $ac_end + $ac_max_sed_lines`
21201 done
21202 if test -z "$ac_sed_cmds"; then
21203 ac_sed_cmds=cat
21205 fi # test -n "$CONFIG_FILES"
21207 _ACEOF
21208 cat >>$CONFIG_STATUS <<\_ACEOF
21209 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21210 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21211 case $ac_file in
21212 - | *:- | *:-:* ) # input from stdin
21213 cat >$tmp/stdin
21214 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21215 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21216 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21217 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21218 * ) ac_file_in=$ac_file.in ;;
21219 esac
21221 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21222 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21223 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21224 X"$ac_file" : 'X\(//\)[^/]' \| \
21225 X"$ac_file" : 'X\(//\)$' \| \
21226 X"$ac_file" : 'X\(/\)' \| \
21227 . : '\(.\)' 2>/dev/null ||
21228 echo X"$ac_file" |
21229 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21230 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21231 /^X\(\/\/\)$/{ s//\1/; q; }
21232 /^X\(\/\).*/{ s//\1/; q; }
21233 s/.*/./; q'`
21234 { if $as_mkdir_p; then
21235 mkdir -p "$ac_dir"
21236 else
21237 as_dir="$ac_dir"
21238 as_dirs=
21239 while test ! -d "$as_dir"; do
21240 as_dirs="$as_dir $as_dirs"
21241 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21242 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21243 X"$as_dir" : 'X\(//\)[^/]' \| \
21244 X"$as_dir" : 'X\(//\)$' \| \
21245 X"$as_dir" : 'X\(/\)' \| \
21246 . : '\(.\)' 2>/dev/null ||
21247 echo X"$as_dir" |
21248 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21249 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21250 /^X\(\/\/\)$/{ s//\1/; q; }
21251 /^X\(\/\).*/{ s//\1/; q; }
21252 s/.*/./; q'`
21253 done
21254 test ! -n "$as_dirs" || mkdir $as_dirs
21255 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21256 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21257 { (exit 1); exit 1; }; }; }
21259 ac_builddir=.
21261 if test "$ac_dir" != .; then
21262 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21263 # A "../" for each directory in $ac_dir_suffix.
21264 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21265 else
21266 ac_dir_suffix= ac_top_builddir=
21269 case $srcdir in
21270 .) # No --srcdir option. We are building in place.
21271 ac_srcdir=.
21272 if test -z "$ac_top_builddir"; then
21273 ac_top_srcdir=.
21274 else
21275 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21276 fi ;;
21277 [\\/]* | ?:[\\/]* ) # Absolute path.
21278 ac_srcdir=$srcdir$ac_dir_suffix;
21279 ac_top_srcdir=$srcdir ;;
21280 *) # Relative path.
21281 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21282 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21283 esac
21285 # Do not use `cd foo && pwd` to compute absolute paths, because
21286 # the directories may not exist.
21287 case `pwd` in
21288 .) ac_abs_builddir="$ac_dir";;
21290 case "$ac_dir" in
21291 .) ac_abs_builddir=`pwd`;;
21292 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21293 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21294 esac;;
21295 esac
21296 case $ac_abs_builddir in
21297 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21299 case ${ac_top_builddir}. in
21300 .) ac_abs_top_builddir=$ac_abs_builddir;;
21301 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21302 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21303 esac;;
21304 esac
21305 case $ac_abs_builddir in
21306 .) ac_abs_srcdir=$ac_srcdir;;
21308 case $ac_srcdir in
21309 .) ac_abs_srcdir=$ac_abs_builddir;;
21310 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21311 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21312 esac;;
21313 esac
21314 case $ac_abs_builddir in
21315 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21317 case $ac_top_srcdir in
21318 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21319 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21320 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21321 esac;;
21322 esac
21325 case $INSTALL in
21326 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21327 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21328 esac
21330 # Let's still pretend it is `configure' which instantiates (i.e., don't
21331 # use $as_me), people would be surprised to read:
21332 # /* config.h. Generated by config.status. */
21333 if test x"$ac_file" = x-; then
21334 configure_input=
21335 else
21336 configure_input="$ac_file. "
21338 configure_input=$configure_input"Generated from `echo $ac_file_in |
21339 sed 's,.*/,,'` by configure."
21341 # First look for the input files in the build tree, otherwise in the
21342 # src tree.
21343 ac_file_inputs=`IFS=:
21344 for f in $ac_file_in; do
21345 case $f in
21346 -) echo $tmp/stdin ;;
21347 [\\/$]*)
21348 # Absolute (can't be DOS-style, as IFS=:)
21349 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21350 echo "$as_me: error: cannot find input file: $f" >&2;}
21351 { (exit 1); exit 1; }; }
21352 echo "$f";;
21353 *) # Relative
21354 if test -f "$f"; then
21355 # Build tree
21356 echo "$f"
21357 elif test -f "$srcdir/$f"; then
21358 # Source tree
21359 echo "$srcdir/$f"
21360 else
21361 # /dev/null tree
21362 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21363 echo "$as_me: error: cannot find input file: $f" >&2;}
21364 { (exit 1); exit 1; }; }
21365 fi;;
21366 esac
21367 done` || { (exit 1); exit 1; }
21369 if test x"$ac_file" != x-; then
21370 { echo "$as_me:$LINENO: creating $ac_file" >&5
21371 echo "$as_me: creating $ac_file" >&6;}
21372 rm -f "$ac_file"
21374 _ACEOF
21375 cat >>$CONFIG_STATUS <<_ACEOF
21376 sed "$ac_vpsub
21377 $extrasub
21378 _ACEOF
21379 cat >>$CONFIG_STATUS <<\_ACEOF
21381 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21382 s,@configure_input@,$configure_input,;t t
21383 s,@srcdir@,$ac_srcdir,;t t
21384 s,@abs_srcdir@,$ac_abs_srcdir,;t t
21385 s,@top_srcdir@,$ac_top_srcdir,;t t
21386 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21387 s,@builddir@,$ac_builddir,;t t
21388 s,@abs_builddir@,$ac_abs_builddir,;t t
21389 s,@top_builddir@,$ac_top_builddir,;t t
21390 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21391 s,@INSTALL@,$ac_INSTALL,;t t
21392 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21393 rm -f $tmp/stdin
21394 if test x"$ac_file" != x-; then
21395 mv $tmp/out $ac_file
21396 else
21397 cat $tmp/out
21398 rm -f $tmp/out
21401 done
21402 _ACEOF
21403 cat >>$CONFIG_STATUS <<\_ACEOF
21406 # CONFIG_HEADER section.
21409 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21410 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21412 # ac_d sets the value in "#define NAME VALUE" lines.
21413 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21414 ac_dB='[ ].*$,\1#\2'
21415 ac_dC=' '
21416 ac_dD=',;t'
21417 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21418 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21419 ac_uB='$,\1#\2define\3'
21420 ac_uC=' '
21421 ac_uD=',;t'
21423 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21424 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21425 case $ac_file in
21426 - | *:- | *:-:* ) # input from stdin
21427 cat >$tmp/stdin
21428 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21429 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21430 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21431 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21432 * ) ac_file_in=$ac_file.in ;;
21433 esac
21435 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21436 echo "$as_me: creating $ac_file" >&6;}
21438 # First look for the input files in the build tree, otherwise in the
21439 # src tree.
21440 ac_file_inputs=`IFS=:
21441 for f in $ac_file_in; do
21442 case $f in
21443 -) echo $tmp/stdin ;;
21444 [\\/$]*)
21445 # Absolute (can't be DOS-style, as IFS=:)
21446 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21447 echo "$as_me: error: cannot find input file: $f" >&2;}
21448 { (exit 1); exit 1; }; }
21449 # Do quote $f, to prevent DOS paths from being IFS'd.
21450 echo "$f";;
21451 *) # Relative
21452 if test -f "$f"; then
21453 # Build tree
21454 echo "$f"
21455 elif test -f "$srcdir/$f"; then
21456 # Source tree
21457 echo "$srcdir/$f"
21458 else
21459 # /dev/null tree
21460 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21461 echo "$as_me: error: cannot find input file: $f" >&2;}
21462 { (exit 1); exit 1; }; }
21463 fi;;
21464 esac
21465 done` || { (exit 1); exit 1; }
21466 # Remove the trailing spaces.
21467 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21469 _ACEOF
21471 # Transform confdefs.h into two sed scripts, `conftest.defines' and
21472 # `conftest.undefs', that substitutes the proper values into
21473 # config.h.in to produce config.h. The first handles `#define'
21474 # templates, and the second `#undef' templates.
21475 # And first: Protect against being on the right side of a sed subst in
21476 # config.status. Protect against being in an unquoted here document
21477 # in config.status.
21478 rm -f conftest.defines conftest.undefs
21479 # Using a here document instead of a string reduces the quoting nightmare.
21480 # Putting comments in sed scripts is not portable.
21482 # `end' is used to avoid that the second main sed command (meant for
21483 # 0-ary CPP macros) applies to n-ary macro definitions.
21484 # See the Autoconf documentation for `clear'.
21485 cat >confdef2sed.sed <<\_ACEOF
21486 s/[\\&,]/\\&/g
21487 s,[\\$`],\\&,g
21488 t clear
21489 : clear
21490 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21491 t end
21492 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21493 : end
21494 _ACEOF
21495 # If some macros were called several times there might be several times
21496 # the same #defines, which is useless. Nevertheless, we may not want to
21497 # sort them, since we want the *last* AC-DEFINE to be honored.
21498 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21499 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21500 rm -f confdef2sed.sed
21502 # This sed command replaces #undef with comments. This is necessary, for
21503 # example, in the case of _POSIX_SOURCE, which is predefined and required
21504 # on some systems where configure will not decide to define it.
21505 cat >>conftest.undefs <<\_ACEOF
21506 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
21507 _ACEOF
21509 # Break up conftest.defines because some shells have a limit on the size
21510 # of here documents, and old seds have small limits too (100 cmds).
21511 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21512 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21513 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21514 echo ' :' >>$CONFIG_STATUS
21515 rm -f conftest.tail
21516 while grep . conftest.defines >/dev/null
21518 # Write a limited-size here document to $tmp/defines.sed.
21519 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21520 # Speed up: don't consider the non `#define' lines.
21521 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21522 # Work around the forget-to-reset-the-flag bug.
21523 echo 't clr' >>$CONFIG_STATUS
21524 echo ': clr' >>$CONFIG_STATUS
21525 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
21526 echo 'CEOF
21527 sed -f $tmp/defines.sed $tmp/in >$tmp/out
21528 rm -f $tmp/in
21529 mv $tmp/out $tmp/in
21530 ' >>$CONFIG_STATUS
21531 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
21532 rm -f conftest.defines
21533 mv conftest.tail conftest.defines
21534 done
21535 rm -f conftest.defines
21536 echo ' fi # grep' >>$CONFIG_STATUS
21537 echo >>$CONFIG_STATUS
21539 # Break up conftest.undefs because some shells have a limit on the size
21540 # of here documents, and old seds have small limits too (100 cmds).
21541 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21542 rm -f conftest.tail
21543 while grep . conftest.undefs >/dev/null
21545 # Write a limited-size here document to $tmp/undefs.sed.
21546 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21547 # Speed up: don't consider the non `#undef'
21548 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21549 # Work around the forget-to-reset-the-flag bug.
21550 echo 't clr' >>$CONFIG_STATUS
21551 echo ': clr' >>$CONFIG_STATUS
21552 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21553 echo 'CEOF
21554 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21555 rm -f $tmp/in
21556 mv $tmp/out $tmp/in
21557 ' >>$CONFIG_STATUS
21558 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21559 rm -f conftest.undefs
21560 mv conftest.tail conftest.undefs
21561 done
21562 rm -f conftest.undefs
21564 cat >>$CONFIG_STATUS <<\_ACEOF
21565 # Let's still pretend it is `configure' which instantiates (i.e., don't
21566 # use $as_me), people would be surprised to read:
21567 # /* config.h. Generated by config.status. */
21568 if test x"$ac_file" = x-; then
21569 echo "/* Generated by configure. */" >$tmp/config.h
21570 else
21571 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21573 cat $tmp/in >>$tmp/config.h
21574 rm -f $tmp/in
21575 if test x"$ac_file" != x-; then
21576 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
21577 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21578 echo "$as_me: $ac_file is unchanged" >&6;}
21579 else
21580 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21581 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21582 X"$ac_file" : 'X\(//\)[^/]' \| \
21583 X"$ac_file" : 'X\(//\)$' \| \
21584 X"$ac_file" : 'X\(/\)' \| \
21585 . : '\(.\)' 2>/dev/null ||
21586 echo X"$ac_file" |
21587 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21588 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21589 /^X\(\/\/\)$/{ s//\1/; q; }
21590 /^X\(\/\).*/{ s//\1/; q; }
21591 s/.*/./; q'`
21592 { if $as_mkdir_p; then
21593 mkdir -p "$ac_dir"
21594 else
21595 as_dir="$ac_dir"
21596 as_dirs=
21597 while test ! -d "$as_dir"; do
21598 as_dirs="$as_dir $as_dirs"
21599 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21600 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21601 X"$as_dir" : 'X\(//\)[^/]' \| \
21602 X"$as_dir" : 'X\(//\)$' \| \
21603 X"$as_dir" : 'X\(/\)' \| \
21604 . : '\(.\)' 2>/dev/null ||
21605 echo X"$as_dir" |
21606 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21607 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21608 /^X\(\/\/\)$/{ s//\1/; q; }
21609 /^X\(\/\).*/{ s//\1/; q; }
21610 s/.*/./; q'`
21611 done
21612 test ! -n "$as_dirs" || mkdir $as_dirs
21613 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21614 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21615 { (exit 1); exit 1; }; }; }
21617 rm -f $ac_file
21618 mv $tmp/config.h $ac_file
21620 else
21621 cat $tmp/config.h
21622 rm -f $tmp/config.h
21624 done
21625 _ACEOF
21626 cat >>$CONFIG_STATUS <<\_ACEOF
21629 # CONFIG_COMMANDS section.
21631 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
21632 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
21633 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
21634 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
21635 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21636 X"$ac_dest" : 'X\(//\)[^/]' \| \
21637 X"$ac_dest" : 'X\(//\)$' \| \
21638 X"$ac_dest" : 'X\(/\)' \| \
21639 . : '\(.\)' 2>/dev/null ||
21640 echo X"$ac_dest" |
21641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21642 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21643 /^X\(\/\/\)$/{ s//\1/; q; }
21644 /^X\(\/\).*/{ s//\1/; q; }
21645 s/.*/./; q'`
21646 { if $as_mkdir_p; then
21647 mkdir -p "$ac_dir"
21648 else
21649 as_dir="$ac_dir"
21650 as_dirs=
21651 while test ! -d "$as_dir"; do
21652 as_dirs="$as_dir $as_dirs"
21653 as_dir=`(dirname "$as_dir") 2>/dev/null ||
21654 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21655 X"$as_dir" : 'X\(//\)[^/]' \| \
21656 X"$as_dir" : 'X\(//\)$' \| \
21657 X"$as_dir" : 'X\(/\)' \| \
21658 . : '\(.\)' 2>/dev/null ||
21659 echo X"$as_dir" |
21660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21661 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
21662 /^X\(\/\/\)$/{ s//\1/; q; }
21663 /^X\(\/\).*/{ s//\1/; q; }
21664 s/.*/./; q'`
21665 done
21666 test ! -n "$as_dirs" || mkdir $as_dirs
21667 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21668 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21669 { (exit 1); exit 1; }; }; }
21671 ac_builddir=.
21673 if test "$ac_dir" != .; then
21674 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21675 # A "../" for each directory in $ac_dir_suffix.
21676 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21677 else
21678 ac_dir_suffix= ac_top_builddir=
21681 case $srcdir in
21682 .) # No --srcdir option. We are building in place.
21683 ac_srcdir=.
21684 if test -z "$ac_top_builddir"; then
21685 ac_top_srcdir=.
21686 else
21687 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21688 fi ;;
21689 [\\/]* | ?:[\\/]* ) # Absolute path.
21690 ac_srcdir=$srcdir$ac_dir_suffix;
21691 ac_top_srcdir=$srcdir ;;
21692 *) # Relative path.
21693 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21694 ac_top_srcdir=$ac_top_builddir$srcdir ;;
21695 esac
21697 # Do not use `cd foo && pwd` to compute absolute paths, because
21698 # the directories may not exist.
21699 case `pwd` in
21700 .) ac_abs_builddir="$ac_dir";;
21702 case "$ac_dir" in
21703 .) ac_abs_builddir=`pwd`;;
21704 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21705 *) ac_abs_builddir=`pwd`/"$ac_dir";;
21706 esac;;
21707 esac
21708 case $ac_abs_builddir in
21709 .) ac_abs_top_builddir=${ac_top_builddir}.;;
21711 case ${ac_top_builddir}. in
21712 .) ac_abs_top_builddir=$ac_abs_builddir;;
21713 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21714 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21715 esac;;
21716 esac
21717 case $ac_abs_builddir in
21718 .) ac_abs_srcdir=$ac_srcdir;;
21720 case $ac_srcdir in
21721 .) ac_abs_srcdir=$ac_abs_builddir;;
21722 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21723 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21724 esac;;
21725 esac
21726 case $ac_abs_builddir in
21727 .) ac_abs_top_srcdir=$ac_top_srcdir;;
21729 case $ac_top_srcdir in
21730 .) ac_abs_top_srcdir=$ac_abs_builddir;;
21731 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21732 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
21733 esac;;
21734 esac
21737 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
21738 echo "$as_me: executing $ac_dest commands" >&6;}
21739 case $ac_dest in
21740 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
21741 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
21742 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
21743 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
21744 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
21745 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
21746 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
21747 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
21748 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
21749 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
21750 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
21751 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
21752 esac
21753 done
21754 _ACEOF
21756 cat >>$CONFIG_STATUS <<\_ACEOF
21758 { (exit 0); exit 0; }
21759 _ACEOF
21760 chmod +x $CONFIG_STATUS
21761 ac_clean_files=$ac_clean_files_save
21764 # configure is writing to config.log, and then calls config.status.
21765 # config.status does its own redirection, appending to config.log.
21766 # Unfortunately, on DOS this fails, as config.log is still kept open
21767 # by configure, so config.status won't be able to write to it; its
21768 # output is simply discarded. So we exec the FD to /dev/null,
21769 # effectively closing config.log, so it can be properly (re)opened and
21770 # appended to by config.status. When coming back to configure, we
21771 # need to make the FD available again.
21772 if test "$no_create" != yes; then
21773 ac_cs_success=:
21774 ac_config_status_args=
21775 test "$silent" = yes &&
21776 ac_config_status_args="$ac_config_status_args --quiet"
21777 exec 5>/dev/null
21778 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
21779 exec 5>>config.log
21780 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
21781 # would make configure fail if this is the last instruction.
21782 $ac_cs_success || { (exit 1); exit 1; }
21786 exitcode=0
21787 if test "$have_x" = "no"
21788 then
21789 echo
21790 echo "*** Warning: X development files not found. Wine will be built without"
21791 echo "*** X support, which currently does not work, and would probably not be"
21792 echo "*** what you want anyway. You will need to install devel packages of"
21793 echo "*** Xlib/Xfree86 at the very least."
21794 exitcode=1
21797 if test "$wine_cv_opengl_version_OK" = "no"
21798 then
21799 echo
21800 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
21801 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
21802 exitcode=1
21805 if test "$wine_cv_msg_freetype" = "yes"
21806 then
21807 echo
21808 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
21809 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
21810 echo "*** freetype-devel package (or its equivalent on your distribution) to"
21811 echo "*** enable Wine to use TrueType fonts."
21812 exitcode=1
21815 if test "$wine_cv_msg_fonts" = "yes"
21816 then
21817 echo
21818 echo "*** Warning: Freetype or Fontforge is missing."
21819 echo "*** Fonts will not be built. Dialog text may be invisible or unaligned."
21820 exitcode=1
21823 if test -z "$ALSALIBS" -a \
21824 -z "$ARTSC_LIBS" -a \
21825 -z "$AUDIOIOLIBS" -a \
21826 -z "$NASLIBS" -a \
21827 -z "$ESD_LIBS" -a \
21828 -z "$ac_cv_lib_soname_jack" -a \
21829 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
21830 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
21831 "$ac_cv_header_soundcard_h" != "yes"
21832 then
21833 echo "*** No sound system was found. Windows applications will be silent."
21834 echo "*** The currently supported sound systems are:"
21835 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
21836 exitcode=1
21839 echo
21840 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
21841 echo
21843 exit $exitcode