Added a warning for DllGetVersion and DllInstall not being declared
[wine/wine-kai.git] / configure
blobc6c8178a1cbd4f9d0265a88733493d79aa3535b3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for Wine 20050725.
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='20050725'
273 PACKAGE_STRING='Wine 20050725'
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 DLLDEFS 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 LIBPTHREAD XLIB XFILES OPENGLFILES GLU32FILES OPENGL_LIBS GLUT_LIBS GLUT32FILES NASLIBS XML2LIBS XML2INCL CURSESLIBS sane_devel SANELIBS SANEINCL ICULIBS LCMSLIBS LDAPLIBS FREETYPELIBS FREETYPEINCL ft_devel ft_devel2 FONTSSUBDIRS ARTSCCONFIG ARTSLIBS ARTSINCL ESDCONFIG ESDLIBS ESDINCL ALSALIBS AUDIOIOLIBS EXTRACFLAGS DLLEXT DLLFLAGS DLLIBS LDSHARED LDDLLFLAGS LIBEXT IMPLIBEXT DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP LDEXECFLAGS LDLIBWINEFLAGS COREFOUNDATIONLIB IOKITLIB CROSSTEST CROSSCC CROSSWINDRES LDPATH CRTLIBS SOCKETLIBS WINE_BINARIES MAIN_BINARY LDD LIBOBJS LTLIBOBJS'
315 ac_subst_files='MAKE_RULES MAKE_DLL_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 20050725 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 20050725:";;
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 --disable-debug compile out all debugging messages
865 --disable-trace compile out TRACE messages
866 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
867 binaries)
869 Optional Packages:
870 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
871 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
872 --without-opengl do not use OpenGL
873 --without-curses do not use curses
874 --with-wine-tools=<dir> use Wine tools from directory <dir>
875 --with-x use the X Window System
877 Some influential environment variables:
878 CC C compiler command
879 CFLAGS C compiler flags
880 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
881 nonstandard directory <lib dir>
882 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
883 headers in a nonstandard directory <include dir>
884 CXX C++ compiler command
885 CXXFLAGS C++ compiler flags
886 CPP C preprocessor
888 Use these variables to override the choices made by `configure' or to help
889 it to find libraries and programs with nonstandard names/locations.
891 Report bugs to <wine-devel@winehq.org>.
892 _ACEOF
895 if test "$ac_init_help" = "recursive"; then
896 # If there are subdirs, report their specific --help.
897 ac_popdir=`pwd`
898 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
899 test -d $ac_dir || continue
900 ac_builddir=.
902 if test "$ac_dir" != .; then
903 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
904 # A "../" for each directory in $ac_dir_suffix.
905 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
906 else
907 ac_dir_suffix= ac_top_builddir=
910 case $srcdir in
911 .) # No --srcdir option. We are building in place.
912 ac_srcdir=.
913 if test -z "$ac_top_builddir"; then
914 ac_top_srcdir=.
915 else
916 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
917 fi ;;
918 [\\/]* | ?:[\\/]* ) # Absolute path.
919 ac_srcdir=$srcdir$ac_dir_suffix;
920 ac_top_srcdir=$srcdir ;;
921 *) # Relative path.
922 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
923 ac_top_srcdir=$ac_top_builddir$srcdir ;;
924 esac
926 # Do not use `cd foo && pwd` to compute absolute paths, because
927 # the directories may not exist.
928 case `pwd` in
929 .) ac_abs_builddir="$ac_dir";;
931 case "$ac_dir" in
932 .) ac_abs_builddir=`pwd`;;
933 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
934 *) ac_abs_builddir=`pwd`/"$ac_dir";;
935 esac;;
936 esac
937 case $ac_abs_builddir in
938 .) ac_abs_top_builddir=${ac_top_builddir}.;;
940 case ${ac_top_builddir}. in
941 .) ac_abs_top_builddir=$ac_abs_builddir;;
942 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
943 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
944 esac;;
945 esac
946 case $ac_abs_builddir in
947 .) ac_abs_srcdir=$ac_srcdir;;
949 case $ac_srcdir in
950 .) ac_abs_srcdir=$ac_abs_builddir;;
951 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
952 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
953 esac;;
954 esac
955 case $ac_abs_builddir in
956 .) ac_abs_top_srcdir=$ac_top_srcdir;;
958 case $ac_top_srcdir in
959 .) ac_abs_top_srcdir=$ac_abs_builddir;;
960 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
961 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
962 esac;;
963 esac
965 cd $ac_dir
966 # Check for guested configure; otherwise get Cygnus style configure.
967 if test -f $ac_srcdir/configure.gnu; then
968 echo
969 $SHELL $ac_srcdir/configure.gnu --help=recursive
970 elif test -f $ac_srcdir/configure; then
971 echo
972 $SHELL $ac_srcdir/configure --help=recursive
973 elif test -f $ac_srcdir/configure.ac ||
974 test -f $ac_srcdir/configure.in; then
975 echo
976 $ac_configure --help
977 else
978 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
980 cd "$ac_popdir"
981 done
984 test -n "$ac_init_help" && exit 0
985 if $ac_init_version; then
986 cat <<\_ACEOF
987 Wine configure 20050725
988 generated by GNU Autoconf 2.59
990 Copyright (C) 2003 Free Software Foundation, Inc.
991 This configure script is free software; the Free Software Foundation
992 gives unlimited permission to copy, distribute and modify it.
993 _ACEOF
994 exit 0
996 exec 5>config.log
997 cat >&5 <<_ACEOF
998 This file contains any messages produced by compilers while
999 running configure, to aid debugging if configure makes a mistake.
1001 It was created by Wine $as_me 20050725, which was
1002 generated by GNU Autoconf 2.59. Invocation command line was
1004 $ $0 $@
1006 _ACEOF
1008 cat <<_ASUNAME
1009 ## --------- ##
1010 ## Platform. ##
1011 ## --------- ##
1013 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1014 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1015 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1016 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1017 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1019 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1020 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1022 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1023 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1024 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1025 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1026 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1027 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1028 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1030 _ASUNAME
1032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1033 for as_dir in $PATH
1035 IFS=$as_save_IFS
1036 test -z "$as_dir" && as_dir=.
1037 echo "PATH: $as_dir"
1038 done
1040 } >&5
1042 cat >&5 <<_ACEOF
1045 ## ----------- ##
1046 ## Core tests. ##
1047 ## ----------- ##
1049 _ACEOF
1052 # Keep a trace of the command line.
1053 # Strip out --no-create and --no-recursion so they do not pile up.
1054 # Strip out --silent because we don't want to record it for future runs.
1055 # Also quote any args containing shell meta-characters.
1056 # Make two passes to allow for proper duplicate-argument suppression.
1057 ac_configure_args=
1058 ac_configure_args0=
1059 ac_configure_args1=
1060 ac_sep=
1061 ac_must_keep_next=false
1062 for ac_pass in 1 2
1064 for ac_arg
1066 case $ac_arg in
1067 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1068 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1069 | -silent | --silent | --silen | --sile | --sil)
1070 continue ;;
1071 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1072 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1073 esac
1074 case $ac_pass in
1075 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1077 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1078 if test $ac_must_keep_next = true; then
1079 ac_must_keep_next=false # Got value, back to normal.
1080 else
1081 case $ac_arg in
1082 *=* | --config-cache | -C | -disable-* | --disable-* \
1083 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1084 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1085 | -with-* | --with-* | -without-* | --without-* | --x)
1086 case "$ac_configure_args0 " in
1087 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1088 esac
1090 -* ) ac_must_keep_next=true ;;
1091 esac
1093 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1094 # Get rid of the leading space.
1095 ac_sep=" "
1097 esac
1098 done
1099 done
1100 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1101 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1103 # When interrupted or exit'd, cleanup temporary files, and complete
1104 # config.log. We remove comments because anyway the quotes in there
1105 # would cause problems or look ugly.
1106 # WARNING: Be sure not to use single quotes in there, as some shells,
1107 # such as our DU 5.0 friend, will then `close' the trap.
1108 trap 'exit_status=$?
1109 # Save into config.log some information that might help in debugging.
1111 echo
1113 cat <<\_ASBOX
1114 ## ---------------- ##
1115 ## Cache variables. ##
1116 ## ---------------- ##
1117 _ASBOX
1118 echo
1119 # The following way of writing the cache mishandles newlines in values,
1121 (set) 2>&1 |
1122 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1123 *ac_space=\ *)
1124 sed -n \
1125 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1126 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1129 sed -n \
1130 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1132 esac;
1134 echo
1136 cat <<\_ASBOX
1137 ## ----------------- ##
1138 ## Output variables. ##
1139 ## ----------------- ##
1140 _ASBOX
1141 echo
1142 for ac_var in $ac_subst_vars
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1146 done | sort
1147 echo
1149 if test -n "$ac_subst_files"; then
1150 cat <<\_ASBOX
1151 ## ------------- ##
1152 ## Output files. ##
1153 ## ------------- ##
1154 _ASBOX
1155 echo
1156 for ac_var in $ac_subst_files
1158 eval ac_val=$`echo $ac_var`
1159 echo "$ac_var='"'"'$ac_val'"'"'"
1160 done | sort
1161 echo
1164 if test -s confdefs.h; then
1165 cat <<\_ASBOX
1166 ## ----------- ##
1167 ## confdefs.h. ##
1168 ## ----------- ##
1169 _ASBOX
1170 echo
1171 sed "/^$/d" confdefs.h | sort
1172 echo
1174 test "$ac_signal" != 0 &&
1175 echo "$as_me: caught signal $ac_signal"
1176 echo "$as_me: exit $exit_status"
1177 } >&5
1178 rm -f core *.core &&
1179 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1180 exit $exit_status
1182 for ac_signal in 1 2 13 15; do
1183 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1184 done
1185 ac_signal=0
1187 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1188 rm -rf conftest* confdefs.h
1189 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1190 echo >confdefs.h
1192 # Predefined preprocessor variables.
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_NAME "$PACKAGE_NAME"
1196 _ACEOF
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1201 _ACEOF
1204 cat >>confdefs.h <<_ACEOF
1205 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1206 _ACEOF
1209 cat >>confdefs.h <<_ACEOF
1210 #define PACKAGE_STRING "$PACKAGE_STRING"
1211 _ACEOF
1214 cat >>confdefs.h <<_ACEOF
1215 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1216 _ACEOF
1219 # Let the site file select an alternate cache file if it wants to.
1220 # Prefer explicitly selected file to automatically selected ones.
1221 if test -z "$CONFIG_SITE"; then
1222 if test "x$prefix" != xNONE; then
1223 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1224 else
1225 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1228 for ac_site_file in $CONFIG_SITE; do
1229 if test -r "$ac_site_file"; then
1230 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1231 echo "$as_me: loading site script $ac_site_file" >&6;}
1232 sed 's/^/| /' "$ac_site_file" >&5
1233 . "$ac_site_file"
1235 done
1237 if test -r "$cache_file"; then
1238 # Some versions of bash will fail to source /dev/null (special
1239 # files actually), so we avoid doing that.
1240 if test -f "$cache_file"; then
1241 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1242 echo "$as_me: loading cache $cache_file" >&6;}
1243 case $cache_file in
1244 [\\/]* | ?:[\\/]* ) . $cache_file;;
1245 *) . ./$cache_file;;
1246 esac
1248 else
1249 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1250 echo "$as_me: creating cache $cache_file" >&6;}
1251 >$cache_file
1254 # Check that the precious variables saved in the cache have kept the same
1255 # value.
1256 ac_cache_corrupted=false
1257 for ac_var in `(set) 2>&1 |
1258 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1259 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1260 eval ac_new_set=\$ac_env_${ac_var}_set
1261 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1262 eval ac_new_val="\$ac_env_${ac_var}_value"
1263 case $ac_old_set,$ac_new_set in
1264 set,)
1265 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1266 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1267 ac_cache_corrupted=: ;;
1268 ,set)
1269 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1270 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1271 ac_cache_corrupted=: ;;
1272 ,);;
1274 if test "x$ac_old_val" != "x$ac_new_val"; then
1275 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1276 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1277 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1278 echo "$as_me: former value: $ac_old_val" >&2;}
1279 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1280 echo "$as_me: current value: $ac_new_val" >&2;}
1281 ac_cache_corrupted=:
1282 fi;;
1283 esac
1284 # Pass precious variables to config.status.
1285 if test "$ac_new_set" = set; then
1286 case $ac_new_val in
1287 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1288 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1289 *) ac_arg=$ac_var=$ac_new_val ;;
1290 esac
1291 case " $ac_configure_args " in
1292 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1293 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1294 esac
1296 done
1297 if $ac_cache_corrupted; then
1298 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1299 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1300 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1301 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1302 { (exit 1); exit 1; }; }
1305 ac_ext=c
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1338 ac_config_headers="$ac_config_headers include/config.h"
1340 ac_aux_dir=
1341 for ac_dir in tools $srcdir/tools; do
1342 if test -f $ac_dir/install-sh; then
1343 ac_aux_dir=$ac_dir
1344 ac_install_sh="$ac_aux_dir/install-sh -c"
1345 break
1346 elif test -f $ac_dir/install.sh; then
1347 ac_aux_dir=$ac_dir
1348 ac_install_sh="$ac_aux_dir/install.sh -c"
1349 break
1350 elif test -f $ac_dir/shtool; then
1351 ac_aux_dir=$ac_dir
1352 ac_install_sh="$ac_aux_dir/shtool install -c"
1353 break
1355 done
1356 if test -z "$ac_aux_dir"; then
1357 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&5
1358 echo "$as_me: error: cannot find install-sh or install.sh in tools $srcdir/tools" >&2;}
1359 { (exit 1); exit 1; }; }
1361 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1362 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1363 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1367 # Check whether --enable-win16 or --disable-win16 was given.
1368 if test "${enable_win16+set}" = set; then
1369 enableval="$enable_win16"
1372 # Check whether --enable-debug or --disable-debug was given.
1373 if test "${enable_debug+set}" = set; then
1374 enableval="$enable_debug"
1377 # Check whether --enable-trace or --disable-trace was given.
1378 if test "${enable_trace+set}" = set; then
1379 enableval="$enable_trace"
1382 # Check whether --enable-win64 or --disable-win64 was given.
1383 if test "${enable_win64+set}" = set; then
1384 enableval="$enable_win64"
1389 # Check whether --with-opengl or --without-opengl was given.
1390 if test "${with_opengl+set}" = set; then
1391 withval="$with_opengl"
1395 # Check whether --with-curses or --without-curses was given.
1396 if test "${with_curses+set}" = set; then
1397 withval="$with_curses"
1401 # Check whether --with-wine-tools or --without-wine-tools was given.
1402 if test "${with_wine_tools+set}" = set; then
1403 withval="$with_wine_tools"
1407 DLLDEFS=""
1409 if test "x$enable_debug" = "xno"
1410 then
1411 DLLDEFS="$DLLDEFS -DWINE_NO_DEBUG_MSGS"
1413 if test "x$enable_trace" = "xno" -o "x$enable_debug" = "xno"
1414 then
1415 DLLDEFS="$DLLDEFS -DWINE_NO_TRACE_MSGS"
1418 # Make sure we can run config.sub.
1419 $ac_config_sub sun4 >/dev/null 2>&1 ||
1420 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1421 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1422 { (exit 1); exit 1; }; }
1424 echo "$as_me:$LINENO: checking build system type" >&5
1425 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1426 if test "${ac_cv_build+set}" = set; then
1427 echo $ECHO_N "(cached) $ECHO_C" >&6
1428 else
1429 ac_cv_build_alias=$build_alias
1430 test -z "$ac_cv_build_alias" &&
1431 ac_cv_build_alias=`$ac_config_guess`
1432 test -z "$ac_cv_build_alias" &&
1433 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1434 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1435 { (exit 1); exit 1; }; }
1436 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1437 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1438 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1439 { (exit 1); exit 1; }; }
1442 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1443 echo "${ECHO_T}$ac_cv_build" >&6
1444 build=$ac_cv_build
1445 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1446 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1447 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1450 echo "$as_me:$LINENO: checking host system type" >&5
1451 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1452 if test "${ac_cv_host+set}" = set; then
1453 echo $ECHO_N "(cached) $ECHO_C" >&6
1454 else
1455 ac_cv_host_alias=$host_alias
1456 test -z "$ac_cv_host_alias" &&
1457 ac_cv_host_alias=$ac_cv_build_alias
1458 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1459 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1460 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1461 { (exit 1); exit 1; }; }
1464 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1465 echo "${ECHO_T}$ac_cv_host" >&6
1466 host=$ac_cv_host
1467 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1468 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1469 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1472 case $host in
1473 x86_64*linux*)
1474 if test "x$enable_win64" != "xyes"
1475 then
1476 test -n "$CC" || CC="gcc -m32"
1477 test -n "$LD" || LD="ld -m elf_i386"
1478 test -n "$AS" || AS="as --32"
1479 host_cpu="i386"
1482 esac
1484 case $host_cpu in
1485 *i[3456789]86*)
1486 if test "x$enable_win16" != "xno"
1487 then
1488 enable_win16="yes"
1491 esac
1493 WIN16_FILES="\$(WIN16_FILES)"
1495 WIN16_INSTALL="\$(WIN16_INSTALL)"
1497 if test "x$enable_win16" != "xyes"
1498 then
1499 WIN16_FILES=""
1500 WIN16_INSTALL=""
1504 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1505 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1506 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1507 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1509 else
1510 cat >conftest.make <<\_ACEOF
1511 all:
1512 @echo 'ac_maketemp="$(MAKE)"'
1513 _ACEOF
1514 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1515 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1516 if test -n "$ac_maketemp"; then
1517 eval ac_cv_prog_make_${ac_make}_set=yes
1518 else
1519 eval ac_cv_prog_make_${ac_make}_set=no
1521 rm -f conftest.make
1523 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1524 echo "$as_me:$LINENO: result: yes" >&5
1525 echo "${ECHO_T}yes" >&6
1526 SET_MAKE=
1527 else
1528 echo "$as_me:$LINENO: result: no" >&5
1529 echo "${ECHO_T}no" >&6
1530 SET_MAKE="MAKE=${MAKE-make}"
1533 ac_ext=c
1534 ac_cpp='$CPP $CPPFLAGS'
1535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1538 if test -n "$ac_tool_prefix"; then
1539 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1540 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1545 else
1546 if test -n "$CC"; then
1547 ac_cv_prog_CC="$CC" # Let the user override the test.
1548 else
1549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1550 for as_dir in $PATH
1552 IFS=$as_save_IFS
1553 test -z "$as_dir" && as_dir=.
1554 for ac_exec_ext in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1558 break 2
1560 done
1561 done
1565 CC=$ac_cv_prog_CC
1566 if test -n "$CC"; then
1567 echo "$as_me:$LINENO: result: $CC" >&5
1568 echo "${ECHO_T}$CC" >&6
1569 else
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1575 if test -z "$ac_cv_prog_CC"; then
1576 ac_ct_CC=$CC
1577 # Extract the first word of "gcc", so it can be a program name with args.
1578 set dummy gcc; ac_word=$2
1579 echo "$as_me:$LINENO: checking for $ac_word" >&5
1580 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1581 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1582 echo $ECHO_N "(cached) $ECHO_C" >&6
1583 else
1584 if test -n "$ac_ct_CC"; then
1585 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1586 else
1587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1588 for as_dir in $PATH
1590 IFS=$as_save_IFS
1591 test -z "$as_dir" && as_dir=.
1592 for ac_exec_ext in '' $ac_executable_extensions; do
1593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1594 ac_cv_prog_ac_ct_CC="gcc"
1595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1596 break 2
1598 done
1599 done
1603 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1604 if test -n "$ac_ct_CC"; then
1605 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1606 echo "${ECHO_T}$ac_ct_CC" >&6
1607 else
1608 echo "$as_me:$LINENO: result: no" >&5
1609 echo "${ECHO_T}no" >&6
1612 CC=$ac_ct_CC
1613 else
1614 CC="$ac_cv_prog_CC"
1617 if test -z "$CC"; then
1618 if test -n "$ac_tool_prefix"; then
1619 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1620 set dummy ${ac_tool_prefix}cc; ac_word=$2
1621 echo "$as_me:$LINENO: checking for $ac_word" >&5
1622 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1623 if test "${ac_cv_prog_CC+set}" = set; then
1624 echo $ECHO_N "(cached) $ECHO_C" >&6
1625 else
1626 if test -n "$CC"; then
1627 ac_cv_prog_CC="$CC" # Let the user override the test.
1628 else
1629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 for as_dir in $PATH
1632 IFS=$as_save_IFS
1633 test -z "$as_dir" && as_dir=.
1634 for ac_exec_ext in '' $ac_executable_extensions; do
1635 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1636 ac_cv_prog_CC="${ac_tool_prefix}cc"
1637 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1638 break 2
1640 done
1641 done
1645 CC=$ac_cv_prog_CC
1646 if test -n "$CC"; then
1647 echo "$as_me:$LINENO: result: $CC" >&5
1648 echo "${ECHO_T}$CC" >&6
1649 else
1650 echo "$as_me:$LINENO: result: no" >&5
1651 echo "${ECHO_T}no" >&6
1655 if test -z "$ac_cv_prog_CC"; then
1656 ac_ct_CC=$CC
1657 # Extract the first word of "cc", so it can be a program name with args.
1658 set dummy cc; ac_word=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664 if test -n "$ac_ct_CC"; then
1665 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1666 else
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 for as_dir in $PATH
1670 IFS=$as_save_IFS
1671 test -z "$as_dir" && as_dir=.
1672 for ac_exec_ext in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_ac_ct_CC="cc"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1676 break 2
1678 done
1679 done
1683 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1684 if test -n "$ac_ct_CC"; then
1685 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1686 echo "${ECHO_T}$ac_ct_CC" >&6
1687 else
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1692 CC=$ac_ct_CC
1693 else
1694 CC="$ac_cv_prog_CC"
1698 if test -z "$CC"; then
1699 # Extract the first word of "cc", so it can be a program name with args.
1700 set dummy cc; ac_word=$2
1701 echo "$as_me:$LINENO: checking for $ac_word" >&5
1702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1703 if test "${ac_cv_prog_CC+set}" = set; then
1704 echo $ECHO_N "(cached) $ECHO_C" >&6
1705 else
1706 if test -n "$CC"; then
1707 ac_cv_prog_CC="$CC" # Let the user override the test.
1708 else
1709 ac_prog_rejected=no
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 for as_dir in $PATH
1713 IFS=$as_save_IFS
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1717 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1718 ac_prog_rejected=yes
1719 continue
1721 ac_cv_prog_CC="cc"
1722 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 break 2
1725 done
1726 done
1728 if test $ac_prog_rejected = yes; then
1729 # We found a bogon in the path, so make sure we never use it.
1730 set dummy $ac_cv_prog_CC
1731 shift
1732 if test $# != 0; then
1733 # We chose a different compiler from the bogus one.
1734 # However, it has the same basename, so the bogon will be chosen
1735 # first if we set CC to just the basename; use the full file name.
1736 shift
1737 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1742 CC=$ac_cv_prog_CC
1743 if test -n "$CC"; then
1744 echo "$as_me:$LINENO: result: $CC" >&5
1745 echo "${ECHO_T}$CC" >&6
1746 else
1747 echo "$as_me:$LINENO: result: no" >&5
1748 echo "${ECHO_T}no" >&6
1752 if test -z "$CC"; then
1753 if test -n "$ac_tool_prefix"; then
1754 for ac_prog in cl
1756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1758 echo "$as_me:$LINENO: checking for $ac_word" >&5
1759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1760 if test "${ac_cv_prog_CC+set}" = set; then
1761 echo $ECHO_N "(cached) $ECHO_C" >&6
1762 else
1763 if test -n "$CC"; then
1764 ac_cv_prog_CC="$CC" # Let the user override the test.
1765 else
1766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767 for as_dir in $PATH
1769 IFS=$as_save_IFS
1770 test -z "$as_dir" && as_dir=.
1771 for ac_exec_ext in '' $ac_executable_extensions; do
1772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1775 break 2
1777 done
1778 done
1782 CC=$ac_cv_prog_CC
1783 if test -n "$CC"; then
1784 echo "$as_me:$LINENO: result: $CC" >&5
1785 echo "${ECHO_T}$CC" >&6
1786 else
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1791 test -n "$CC" && break
1792 done
1794 if test -z "$CC"; then
1795 ac_ct_CC=$CC
1796 for ac_prog in cl
1798 # Extract the first word of "$ac_prog", so it can be a program name with args.
1799 set dummy $ac_prog; ac_word=$2
1800 echo "$as_me:$LINENO: checking for $ac_word" >&5
1801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1803 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 else
1805 if test -n "$ac_ct_CC"; then
1806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1807 else
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1809 for as_dir in $PATH
1811 IFS=$as_save_IFS
1812 test -z "$as_dir" && as_dir=.
1813 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1815 ac_cv_prog_ac_ct_CC="$ac_prog"
1816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1817 break 2
1819 done
1820 done
1824 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1825 if test -n "$ac_ct_CC"; then
1826 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1827 echo "${ECHO_T}$ac_ct_CC" >&6
1828 else
1829 echo "$as_me:$LINENO: result: no" >&5
1830 echo "${ECHO_T}no" >&6
1833 test -n "$ac_ct_CC" && break
1834 done
1836 CC=$ac_ct_CC
1842 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1843 See \`config.log' for more details." >&5
1844 echo "$as_me: error: no acceptable C compiler found in \$PATH
1845 See \`config.log' for more details." >&2;}
1846 { (exit 1); exit 1; }; }
1848 # Provide some information about the compiler.
1849 echo "$as_me:$LINENO:" \
1850 "checking for C compiler version" >&5
1851 ac_compiler=`set X $ac_compile; echo $2`
1852 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1853 (eval $ac_compiler --version </dev/null >&5) 2>&5
1854 ac_status=$?
1855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1856 (exit $ac_status); }
1857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1858 (eval $ac_compiler -v </dev/null >&5) 2>&5
1859 ac_status=$?
1860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1861 (exit $ac_status); }
1862 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1863 (eval $ac_compiler -V </dev/null >&5) 2>&5
1864 ac_status=$?
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); }
1868 cat >conftest.$ac_ext <<_ACEOF
1869 /* confdefs.h. */
1870 _ACEOF
1871 cat confdefs.h >>conftest.$ac_ext
1872 cat >>conftest.$ac_ext <<_ACEOF
1873 /* end confdefs.h. */
1876 main ()
1880 return 0;
1882 _ACEOF
1883 ac_clean_files_save=$ac_clean_files
1884 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1885 # Try to create an executable without -o first, disregard a.out.
1886 # It will help us diagnose broken compilers, and finding out an intuition
1887 # of exeext.
1888 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1889 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1890 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1891 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1892 (eval $ac_link_default) 2>&5
1893 ac_status=$?
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; then
1896 # Find the output, starting from the most likely. This scheme is
1897 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1898 # resort.
1900 # Be careful to initialize this variable, since it used to be cached.
1901 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1902 ac_cv_exeext=
1903 # b.out is created by i960 compilers.
1904 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1906 test -f "$ac_file" || continue
1907 case $ac_file in
1908 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1910 conftest.$ac_ext )
1911 # This is the source file.
1913 [ab].out )
1914 # We found the default executable, but exeext='' is most
1915 # certainly right.
1916 break;;
1917 *.* )
1918 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1919 # FIXME: I believe we export ac_cv_exeext for Libtool,
1920 # but it would be cool to find out if it's true. Does anybody
1921 # maintain Libtool? --akim.
1922 export ac_cv_exeext
1923 break;;
1925 break;;
1926 esac
1927 done
1928 else
1929 echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1932 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1933 See \`config.log' for more details." >&5
1934 echo "$as_me: error: C compiler cannot create executables
1935 See \`config.log' for more details." >&2;}
1936 { (exit 77); exit 77; }; }
1939 ac_exeext=$ac_cv_exeext
1940 echo "$as_me:$LINENO: result: $ac_file" >&5
1941 echo "${ECHO_T}$ac_file" >&6
1943 # Check the compiler produces executables we can run. If not, either
1944 # the compiler is broken, or we cross compile.
1945 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1946 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1947 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1948 # If not cross compiling, check that we can run a simple program.
1949 if test "$cross_compiling" != yes; then
1950 if { ac_try='./$ac_file'
1951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1952 (eval $ac_try) 2>&5
1953 ac_status=$?
1954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1955 (exit $ac_status); }; }; then
1956 cross_compiling=no
1957 else
1958 if test "$cross_compiling" = maybe; then
1959 cross_compiling=yes
1960 else
1961 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1962 If you meant to cross compile, use \`--host'.
1963 See \`config.log' for more details." >&5
1964 echo "$as_me: error: cannot run C compiled programs.
1965 If you meant to cross compile, use \`--host'.
1966 See \`config.log' for more details." >&2;}
1967 { (exit 1); exit 1; }; }
1971 echo "$as_me:$LINENO: result: yes" >&5
1972 echo "${ECHO_T}yes" >&6
1974 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1975 ac_clean_files=$ac_clean_files_save
1976 # Check the compiler produces executables we can run. If not, either
1977 # the compiler is broken, or we cross compile.
1978 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1979 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1980 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1981 echo "${ECHO_T}$cross_compiling" >&6
1983 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1984 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1986 (eval $ac_link) 2>&5
1987 ac_status=$?
1988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1989 (exit $ac_status); }; then
1990 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1991 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1992 # work properly (i.e., refer to `conftest.exe'), while it won't with
1993 # `rm'.
1994 for ac_file in conftest.exe conftest conftest.*; do
1995 test -f "$ac_file" || continue
1996 case $ac_file in
1997 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
1998 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1999 export ac_cv_exeext
2000 break;;
2001 * ) break;;
2002 esac
2003 done
2004 else
2005 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2006 See \`config.log' for more details." >&5
2007 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2008 See \`config.log' for more details." >&2;}
2009 { (exit 1); exit 1; }; }
2012 rm -f conftest$ac_cv_exeext
2013 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2014 echo "${ECHO_T}$ac_cv_exeext" >&6
2016 rm -f conftest.$ac_ext
2017 EXEEXT=$ac_cv_exeext
2018 ac_exeext=$EXEEXT
2019 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2020 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2021 if test "${ac_cv_objext+set}" = set; then
2022 echo $ECHO_N "(cached) $ECHO_C" >&6
2023 else
2024 cat >conftest.$ac_ext <<_ACEOF
2025 /* confdefs.h. */
2026 _ACEOF
2027 cat confdefs.h >>conftest.$ac_ext
2028 cat >>conftest.$ac_ext <<_ACEOF
2029 /* end confdefs.h. */
2032 main ()
2036 return 0;
2038 _ACEOF
2039 rm -f conftest.o conftest.obj
2040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2041 (eval $ac_compile) 2>&5
2042 ac_status=$?
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); }; then
2045 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2046 case $ac_file in
2047 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2048 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2049 break;;
2050 esac
2051 done
2052 else
2053 echo "$as_me: failed program was:" >&5
2054 sed 's/^/| /' conftest.$ac_ext >&5
2056 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2057 See \`config.log' for more details." >&5
2058 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2059 See \`config.log' for more details." >&2;}
2060 { (exit 1); exit 1; }; }
2063 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2065 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2066 echo "${ECHO_T}$ac_cv_objext" >&6
2067 OBJEXT=$ac_cv_objext
2068 ac_objext=$OBJEXT
2069 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2070 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2071 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2072 echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074 cat >conftest.$ac_ext <<_ACEOF
2075 /* confdefs.h. */
2076 _ACEOF
2077 cat confdefs.h >>conftest.$ac_ext
2078 cat >>conftest.$ac_ext <<_ACEOF
2079 /* end confdefs.h. */
2082 main ()
2084 #ifndef __GNUC__
2085 choke me
2086 #endif
2089 return 0;
2091 _ACEOF
2092 rm -f conftest.$ac_objext
2093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2094 (eval $ac_compile) 2>conftest.er1
2095 ac_status=$?
2096 grep -v '^ *+' conftest.er1 >conftest.err
2097 rm -f conftest.er1
2098 cat conftest.err >&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); } &&
2101 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103 (eval $ac_try) 2>&5
2104 ac_status=$?
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; } &&
2107 { ac_try='test -s conftest.$ac_objext'
2108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 (eval $ac_try) 2>&5
2110 ac_status=$?
2111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2112 (exit $ac_status); }; }; then
2113 ac_compiler_gnu=yes
2114 else
2115 echo "$as_me: failed program was:" >&5
2116 sed 's/^/| /' conftest.$ac_ext >&5
2118 ac_compiler_gnu=no
2120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2121 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2124 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2125 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2126 GCC=`test $ac_compiler_gnu = yes && echo yes`
2127 ac_test_CFLAGS=${CFLAGS+set}
2128 ac_save_CFLAGS=$CFLAGS
2129 CFLAGS="-g"
2130 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2131 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2132 if test "${ac_cv_prog_cc_g+set}" = set; then
2133 echo $ECHO_N "(cached) $ECHO_C" >&6
2134 else
2135 cat >conftest.$ac_ext <<_ACEOF
2136 /* confdefs.h. */
2137 _ACEOF
2138 cat confdefs.h >>conftest.$ac_ext
2139 cat >>conftest.$ac_ext <<_ACEOF
2140 /* end confdefs.h. */
2143 main ()
2147 return 0;
2149 _ACEOF
2150 rm -f conftest.$ac_objext
2151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2152 (eval $ac_compile) 2>conftest.er1
2153 ac_status=$?
2154 grep -v '^ *+' conftest.er1 >conftest.err
2155 rm -f conftest.er1
2156 cat conftest.err >&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); } &&
2159 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2161 (eval $ac_try) 2>&5
2162 ac_status=$?
2163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2164 (exit $ac_status); }; } &&
2165 { ac_try='test -s conftest.$ac_objext'
2166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2167 (eval $ac_try) 2>&5
2168 ac_status=$?
2169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2170 (exit $ac_status); }; }; then
2171 ac_cv_prog_cc_g=yes
2172 else
2173 echo "$as_me: failed program was:" >&5
2174 sed 's/^/| /' conftest.$ac_ext >&5
2176 ac_cv_prog_cc_g=no
2178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2180 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2181 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2182 if test "$ac_test_CFLAGS" = set; then
2183 CFLAGS=$ac_save_CFLAGS
2184 elif test $ac_cv_prog_cc_g = yes; then
2185 if test "$GCC" = yes; then
2186 CFLAGS="-g -O2"
2187 else
2188 CFLAGS="-g"
2190 else
2191 if test "$GCC" = yes; then
2192 CFLAGS="-O2"
2193 else
2194 CFLAGS=
2197 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2198 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2199 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 else
2202 ac_cv_prog_cc_stdc=no
2203 ac_save_CC=$CC
2204 cat >conftest.$ac_ext <<_ACEOF
2205 /* confdefs.h. */
2206 _ACEOF
2207 cat confdefs.h >>conftest.$ac_ext
2208 cat >>conftest.$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2210 #include <stdarg.h>
2211 #include <stdio.h>
2212 #include <sys/types.h>
2213 #include <sys/stat.h>
2214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2215 struct buf { int x; };
2216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2217 static char *e (p, i)
2218 char **p;
2219 int i;
2221 return p[i];
2223 static char *f (char * (*g) (char **, int), char **p, ...)
2225 char *s;
2226 va_list v;
2227 va_start (v,p);
2228 s = g (p, va_arg (v,int));
2229 va_end (v);
2230 return s;
2233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2234 function prototypes and stuff, but not '\xHH' hex character constants.
2235 These don't provoke an error unfortunately, instead are silently treated
2236 as 'x'. The following induces an error, until -std1 is added to get
2237 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2238 array size at least. It's necessary to write '\x00'==0 to get something
2239 that's true only with -std1. */
2240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2242 int test (int i, double x);
2243 struct s1 {int (*f) (int a);};
2244 struct s2 {int (*f) (double a);};
2245 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2246 int argc;
2247 char **argv;
2249 main ()
2251 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2253 return 0;
2255 _ACEOF
2256 # Don't try gcc -ansi; that turns off useful extensions and
2257 # breaks some systems' header files.
2258 # AIX -qlanglvl=ansi
2259 # Ultrix and OSF/1 -std1
2260 # HP-UX 10.20 and later -Ae
2261 # HP-UX older versions -Aa -D_HPUX_SOURCE
2262 # SVR4 -Xc -D__EXTENSIONS__
2263 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2265 CC="$ac_save_CC $ac_arg"
2266 rm -f conftest.$ac_objext
2267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2268 (eval $ac_compile) 2>conftest.er1
2269 ac_status=$?
2270 grep -v '^ *+' conftest.er1 >conftest.err
2271 rm -f conftest.er1
2272 cat conftest.err >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); } &&
2275 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2277 (eval $ac_try) 2>&5
2278 ac_status=$?
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 (eval $ac_try) 2>&5
2284 ac_status=$?
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2287 ac_cv_prog_cc_stdc=$ac_arg
2288 break
2289 else
2290 echo "$as_me: failed program was:" >&5
2291 sed 's/^/| /' conftest.$ac_ext >&5
2294 rm -f conftest.err conftest.$ac_objext
2295 done
2296 rm -f conftest.$ac_ext conftest.$ac_objext
2297 CC=$ac_save_CC
2301 case "x$ac_cv_prog_cc_stdc" in
2302 x|xno)
2303 echo "$as_me:$LINENO: result: none needed" >&5
2304 echo "${ECHO_T}none needed" >&6 ;;
2306 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2307 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2308 CC="$CC $ac_cv_prog_cc_stdc" ;;
2309 esac
2311 # Some people use a C++ compiler to compile C. Since we use `exit',
2312 # in C++ we need to declare it. In case someone uses the same compiler
2313 # for both compiling C and C++ we need to have the C++ compiler decide
2314 # the declaration of exit, since it's the most demanding environment.
2315 cat >conftest.$ac_ext <<_ACEOF
2316 #ifndef __cplusplus
2317 choke me
2318 #endif
2319 _ACEOF
2320 rm -f conftest.$ac_objext
2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322 (eval $ac_compile) 2>conftest.er1
2323 ac_status=$?
2324 grep -v '^ *+' conftest.er1 >conftest.err
2325 rm -f conftest.er1
2326 cat conftest.err >&5
2327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2328 (exit $ac_status); } &&
2329 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2331 (eval $ac_try) 2>&5
2332 ac_status=$?
2333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2334 (exit $ac_status); }; } &&
2335 { ac_try='test -s conftest.$ac_objext'
2336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2337 (eval $ac_try) 2>&5
2338 ac_status=$?
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }; }; then
2341 for ac_declaration in \
2342 '' \
2343 'extern "C" void std::exit (int) throw (); using std::exit;' \
2344 'extern "C" void std::exit (int); using std::exit;' \
2345 'extern "C" void exit (int) throw ();' \
2346 'extern "C" void exit (int);' \
2347 'void exit (int);'
2349 cat >conftest.$ac_ext <<_ACEOF
2350 /* confdefs.h. */
2351 _ACEOF
2352 cat confdefs.h >>conftest.$ac_ext
2353 cat >>conftest.$ac_ext <<_ACEOF
2354 /* end confdefs.h. */
2355 $ac_declaration
2356 #include <stdlib.h>
2358 main ()
2360 exit (42);
2362 return 0;
2364 _ACEOF
2365 rm -f conftest.$ac_objext
2366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2367 (eval $ac_compile) 2>conftest.er1
2368 ac_status=$?
2369 grep -v '^ *+' conftest.er1 >conftest.err
2370 rm -f conftest.er1
2371 cat conftest.err >&5
2372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2373 (exit $ac_status); } &&
2374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2376 (eval $ac_try) 2>&5
2377 ac_status=$?
2378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2379 (exit $ac_status); }; } &&
2380 { ac_try='test -s conftest.$ac_objext'
2381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 (eval $ac_try) 2>&5
2383 ac_status=$?
2384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 (exit $ac_status); }; }; then
2387 else
2388 echo "$as_me: failed program was:" >&5
2389 sed 's/^/| /' conftest.$ac_ext >&5
2391 continue
2393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2394 cat >conftest.$ac_ext <<_ACEOF
2395 /* confdefs.h. */
2396 _ACEOF
2397 cat confdefs.h >>conftest.$ac_ext
2398 cat >>conftest.$ac_ext <<_ACEOF
2399 /* end confdefs.h. */
2400 $ac_declaration
2402 main ()
2404 exit (42);
2406 return 0;
2408 _ACEOF
2409 rm -f conftest.$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2412 ac_status=$?
2413 grep -v '^ *+' conftest.er1 >conftest.err
2414 rm -f conftest.er1
2415 cat conftest.err >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420 (eval $ac_try) 2>&5
2421 ac_status=$?
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; } &&
2424 { ac_try='test -s conftest.$ac_objext'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2426 (eval $ac_try) 2>&5
2427 ac_status=$?
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; }; then
2430 break
2431 else
2432 echo "$as_me: failed program was:" >&5
2433 sed 's/^/| /' conftest.$ac_ext >&5
2436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2437 done
2438 rm -f conftest*
2439 if test -n "$ac_declaration"; then
2440 echo '#ifdef __cplusplus' >>confdefs.h
2441 echo $ac_declaration >>confdefs.h
2442 echo '#endif' >>confdefs.h
2445 else
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2451 ac_ext=c
2452 ac_cpp='$CPP $CPPFLAGS'
2453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2457 ac_ext=cc
2458 ac_cpp='$CXXCPP $CPPFLAGS'
2459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2462 if test -n "$ac_tool_prefix"; then
2463 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2465 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2466 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2467 echo "$as_me:$LINENO: checking for $ac_word" >&5
2468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2469 if test "${ac_cv_prog_CXX+set}" = set; then
2470 echo $ECHO_N "(cached) $ECHO_C" >&6
2471 else
2472 if test -n "$CXX"; then
2473 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2474 else
2475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2476 for as_dir in $PATH
2478 IFS=$as_save_IFS
2479 test -z "$as_dir" && as_dir=.
2480 for ac_exec_ext in '' $ac_executable_extensions; do
2481 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2482 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2483 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2484 break 2
2486 done
2487 done
2491 CXX=$ac_cv_prog_CXX
2492 if test -n "$CXX"; then
2493 echo "$as_me:$LINENO: result: $CXX" >&5
2494 echo "${ECHO_T}$CXX" >&6
2495 else
2496 echo "$as_me:$LINENO: result: no" >&5
2497 echo "${ECHO_T}no" >&6
2500 test -n "$CXX" && break
2501 done
2503 if test -z "$CXX"; then
2504 ac_ct_CXX=$CXX
2505 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2507 # Extract the first word of "$ac_prog", so it can be a program name with args.
2508 set dummy $ac_prog; ac_word=$2
2509 echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2511 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 else
2514 if test -n "$ac_ct_CXX"; then
2515 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2516 else
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2524 ac_cv_prog_ac_ct_CXX="$ac_prog"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2526 break 2
2528 done
2529 done
2533 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2534 if test -n "$ac_ct_CXX"; then
2535 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2536 echo "${ECHO_T}$ac_ct_CXX" >&6
2537 else
2538 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6
2542 test -n "$ac_ct_CXX" && break
2543 done
2544 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
2546 CXX=$ac_ct_CXX
2550 # Provide some information about the compiler.
2551 echo "$as_me:$LINENO:" \
2552 "checking for C++ compiler version" >&5
2553 ac_compiler=`set X $ac_compile; echo $2`
2554 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2555 (eval $ac_compiler --version </dev/null >&5) 2>&5
2556 ac_status=$?
2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2558 (exit $ac_status); }
2559 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2560 (eval $ac_compiler -v </dev/null >&5) 2>&5
2561 ac_status=$?
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }
2564 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2565 (eval $ac_compiler -V </dev/null >&5) 2>&5
2566 ac_status=$?
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); }
2570 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2571 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
2572 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2573 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 else
2575 cat >conftest.$ac_ext <<_ACEOF
2576 /* confdefs.h. */
2577 _ACEOF
2578 cat confdefs.h >>conftest.$ac_ext
2579 cat >>conftest.$ac_ext <<_ACEOF
2580 /* end confdefs.h. */
2583 main ()
2585 #ifndef __GNUC__
2586 choke me
2587 #endif
2590 return 0;
2592 _ACEOF
2593 rm -f conftest.$ac_objext
2594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2595 (eval $ac_compile) 2>conftest.er1
2596 ac_status=$?
2597 grep -v '^ *+' conftest.er1 >conftest.err
2598 rm -f conftest.er1
2599 cat conftest.err >&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } &&
2602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2604 (eval $ac_try) 2>&5
2605 ac_status=$?
2606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2607 (exit $ac_status); }; } &&
2608 { ac_try='test -s conftest.$ac_objext'
2609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2610 (eval $ac_try) 2>&5
2611 ac_status=$?
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); }; }; then
2614 ac_compiler_gnu=yes
2615 else
2616 echo "$as_me: failed program was:" >&5
2617 sed 's/^/| /' conftest.$ac_ext >&5
2619 ac_compiler_gnu=no
2621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2622 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2625 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2626 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
2627 GXX=`test $ac_compiler_gnu = yes && echo yes`
2628 ac_test_CXXFLAGS=${CXXFLAGS+set}
2629 ac_save_CXXFLAGS=$CXXFLAGS
2630 CXXFLAGS="-g"
2631 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2632 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
2633 if test "${ac_cv_prog_cxx_g+set}" = set; then
2634 echo $ECHO_N "(cached) $ECHO_C" >&6
2635 else
2636 cat >conftest.$ac_ext <<_ACEOF
2637 /* confdefs.h. */
2638 _ACEOF
2639 cat confdefs.h >>conftest.$ac_ext
2640 cat >>conftest.$ac_ext <<_ACEOF
2641 /* end confdefs.h. */
2644 main ()
2648 return 0;
2650 _ACEOF
2651 rm -f conftest.$ac_objext
2652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2653 (eval $ac_compile) 2>conftest.er1
2654 ac_status=$?
2655 grep -v '^ *+' conftest.er1 >conftest.err
2656 rm -f conftest.er1
2657 cat conftest.err >&5
2658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2659 (exit $ac_status); } &&
2660 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2662 (eval $ac_try) 2>&5
2663 ac_status=$?
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; } &&
2666 { ac_try='test -s conftest.$ac_objext'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2668 (eval $ac_try) 2>&5
2669 ac_status=$?
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2672 ac_cv_prog_cxx_g=yes
2673 else
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.$ac_ext >&5
2677 ac_cv_prog_cxx_g=no
2679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2681 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2682 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
2683 if test "$ac_test_CXXFLAGS" = set; then
2684 CXXFLAGS=$ac_save_CXXFLAGS
2685 elif test $ac_cv_prog_cxx_g = yes; then
2686 if test "$GXX" = yes; then
2687 CXXFLAGS="-g -O2"
2688 else
2689 CXXFLAGS="-g"
2691 else
2692 if test "$GXX" = yes; then
2693 CXXFLAGS="-O2"
2694 else
2695 CXXFLAGS=
2698 for ac_declaration in \
2699 '' \
2700 'extern "C" void std::exit (int) throw (); using std::exit;' \
2701 'extern "C" void std::exit (int); using std::exit;' \
2702 'extern "C" void exit (int) throw ();' \
2703 'extern "C" void exit (int);' \
2704 'void exit (int);'
2706 cat >conftest.$ac_ext <<_ACEOF
2707 /* confdefs.h. */
2708 _ACEOF
2709 cat confdefs.h >>conftest.$ac_ext
2710 cat >>conftest.$ac_ext <<_ACEOF
2711 /* end confdefs.h. */
2712 $ac_declaration
2713 #include <stdlib.h>
2715 main ()
2717 exit (42);
2719 return 0;
2721 _ACEOF
2722 rm -f conftest.$ac_objext
2723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2724 (eval $ac_compile) 2>conftest.er1
2725 ac_status=$?
2726 grep -v '^ *+' conftest.er1 >conftest.err
2727 rm -f conftest.er1
2728 cat conftest.err >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } &&
2731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2733 (eval $ac_try) 2>&5
2734 ac_status=$?
2735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2736 (exit $ac_status); }; } &&
2737 { ac_try='test -s conftest.$ac_objext'
2738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2739 (eval $ac_try) 2>&5
2740 ac_status=$?
2741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2742 (exit $ac_status); }; }; then
2744 else
2745 echo "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 continue
2750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2751 cat >conftest.$ac_ext <<_ACEOF
2752 /* confdefs.h. */
2753 _ACEOF
2754 cat confdefs.h >>conftest.$ac_ext
2755 cat >>conftest.$ac_ext <<_ACEOF
2756 /* end confdefs.h. */
2757 $ac_declaration
2759 main ()
2761 exit (42);
2763 return 0;
2765 _ACEOF
2766 rm -f conftest.$ac_objext
2767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2768 (eval $ac_compile) 2>conftest.er1
2769 ac_status=$?
2770 grep -v '^ *+' conftest.er1 >conftest.err
2771 rm -f conftest.er1
2772 cat conftest.err >&5
2773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2774 (exit $ac_status); } &&
2775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2777 (eval $ac_try) 2>&5
2778 ac_status=$?
2779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try='test -s conftest.$ac_objext'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2783 (eval $ac_try) 2>&5
2784 ac_status=$?
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; }; then
2787 break
2788 else
2789 echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.$ac_ext >&5
2793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2794 done
2795 rm -f conftest*
2796 if test -n "$ac_declaration"; then
2797 echo '#ifdef __cplusplus' >>confdefs.h
2798 echo $ac_declaration >>confdefs.h
2799 echo '#endif' >>confdefs.h
2802 ac_ext=c
2803 ac_cpp='$CPP $CPPFLAGS'
2804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2808 if test -n "$ac_tool_prefix"; then
2809 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
2810 set dummy ${ac_tool_prefix}cpp; ac_word=$2
2811 echo "$as_me:$LINENO: checking for $ac_word" >&5
2812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2813 if test "${ac_cv_prog_CPPBIN+set}" = set; then
2814 echo $ECHO_N "(cached) $ECHO_C" >&6
2815 else
2816 if test -n "$CPPBIN"; then
2817 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
2818 else
2819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 for as_dir in $PATH
2822 IFS=$as_save_IFS
2823 test -z "$as_dir" && as_dir=.
2824 for ac_exec_ext in '' $ac_executable_extensions; do
2825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2826 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
2827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2828 break 2
2830 done
2831 done
2835 CPPBIN=$ac_cv_prog_CPPBIN
2836 if test -n "$CPPBIN"; then
2837 echo "$as_me:$LINENO: result: $CPPBIN" >&5
2838 echo "${ECHO_T}$CPPBIN" >&6
2839 else
2840 echo "$as_me:$LINENO: result: no" >&5
2841 echo "${ECHO_T}no" >&6
2845 if test -z "$ac_cv_prog_CPPBIN"; then
2846 ac_ct_CPPBIN=$CPPBIN
2847 # Extract the first word of "cpp", so it can be a program name with args.
2848 set dummy cpp; ac_word=$2
2849 echo "$as_me:$LINENO: checking for $ac_word" >&5
2850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2851 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
2852 echo $ECHO_N "(cached) $ECHO_C" >&6
2853 else
2854 if test -n "$ac_ct_CPPBIN"; then
2855 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
2856 else
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2858 for as_dir in $PATH
2860 IFS=$as_save_IFS
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 ac_cv_prog_ac_ct_CPPBIN="cpp"
2865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2866 break 2
2868 done
2869 done
2871 test -z "$ac_cv_prog_ac_ct_CPPBIN" && ac_cv_prog_ac_ct_CPPBIN="cpp"
2874 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
2875 if test -n "$ac_ct_CPPBIN"; then
2876 echo "$as_me:$LINENO: result: $ac_ct_CPPBIN" >&5
2877 echo "${ECHO_T}$ac_ct_CPPBIN" >&6
2878 else
2879 echo "$as_me:$LINENO: result: no" >&5
2880 echo "${ECHO_T}no" >&6
2883 CPPBIN=$ac_ct_CPPBIN
2884 else
2885 CPPBIN="$ac_cv_prog_CPPBIN"
2889 echo "$as_me:$LINENO: checking for the directory containing the Wine tools" >&5
2890 echo $ECHO_N "checking for the directory containing the Wine tools... $ECHO_C" >&6
2891 if test "${wine_cv_toolsdir+set}" = set; then
2892 echo $ECHO_N "(cached) $ECHO_C" >&6
2893 else
2894 if test -z "$with_wine_tools"; then
2895 if test "$cross_compiling" = "yes"; then
2896 { { echo "$as_me:$LINENO: error: you must use the --with-wine-tools option when cross-compiling." >&5
2897 echo "$as_me: error: you must use the --with-wine-tools option when cross-compiling." >&2;}
2898 { (exit 1); exit 1; }; }
2899 else
2900 wine_cv_toolsdir="\$(TOPOBJDIR)"
2902 elif test -d "$with_wine_tools/tools/winebuild"; then
2903 case $with_wine_tools in
2904 /*) wine_cv_toolsdir="$with_wine_tools" ;;
2905 *) wine_cv_toolsdir="\$(TOPOBJDIR)/$with_wine_tools" ;;
2906 esac
2907 else
2908 { { echo "$as_me:$LINENO: error: could not find Wine tools in $with_wine_tools." >&5
2909 echo "$as_me: error: could not find Wine tools in $with_wine_tools." >&2;}
2910 { (exit 1); exit 1; }; }
2913 echo "$as_me:$LINENO: result: $wine_cv_toolsdir" >&5
2914 echo "${ECHO_T}$wine_cv_toolsdir" >&6
2915 TOOLSDIR=$wine_cv_toolsdir
2919 ac_ext=c
2920 ac_cpp='$CPP $CPPFLAGS'
2921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2924 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2925 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2926 # On Suns, sometimes $CPP names a directory.
2927 if test -n "$CPP" && test -d "$CPP"; then
2928 CPP=
2930 if test -z "$CPP"; then
2931 if test "${ac_cv_prog_CPP+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2933 else
2934 # Double quotes because CPP needs to be expanded
2935 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2937 ac_preproc_ok=false
2938 for ac_c_preproc_warn_flag in '' yes
2940 # Use a header file that comes with gcc, so configuring glibc
2941 # with a fresh cross-compiler works.
2942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2943 # <limits.h> exists even on freestanding compilers.
2944 # On the NeXT, cc -E runs the code through the compiler's parser,
2945 # not just through cpp. "Syntax error" is here to catch this case.
2946 cat >conftest.$ac_ext <<_ACEOF
2947 /* confdefs.h. */
2948 _ACEOF
2949 cat confdefs.h >>conftest.$ac_ext
2950 cat >>conftest.$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2952 #ifdef __STDC__
2953 # include <limits.h>
2954 #else
2955 # include <assert.h>
2956 #endif
2957 Syntax error
2958 _ACEOF
2959 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2960 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2961 ac_status=$?
2962 grep -v '^ *+' conftest.er1 >conftest.err
2963 rm -f conftest.er1
2964 cat conftest.err >&5
2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2966 (exit $ac_status); } >/dev/null; then
2967 if test -s conftest.err; then
2968 ac_cpp_err=$ac_c_preproc_warn_flag
2969 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2970 else
2971 ac_cpp_err=
2973 else
2974 ac_cpp_err=yes
2976 if test -z "$ac_cpp_err"; then
2978 else
2979 echo "$as_me: failed program was:" >&5
2980 sed 's/^/| /' conftest.$ac_ext >&5
2982 # Broken: fails on valid input.
2983 continue
2985 rm -f conftest.err conftest.$ac_ext
2987 # OK, works on sane cases. Now check whether non-existent headers
2988 # can be detected and how.
2989 cat >conftest.$ac_ext <<_ACEOF
2990 /* confdefs.h. */
2991 _ACEOF
2992 cat confdefs.h >>conftest.$ac_ext
2993 cat >>conftest.$ac_ext <<_ACEOF
2994 /* end confdefs.h. */
2995 #include <ac_nonexistent.h>
2996 _ACEOF
2997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2999 ac_status=$?
3000 grep -v '^ *+' conftest.er1 >conftest.err
3001 rm -f conftest.er1
3002 cat conftest.err >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); } >/dev/null; then
3005 if test -s conftest.err; then
3006 ac_cpp_err=$ac_c_preproc_warn_flag
3007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3008 else
3009 ac_cpp_err=
3011 else
3012 ac_cpp_err=yes
3014 if test -z "$ac_cpp_err"; then
3015 # Broken: success on invalid input.
3016 continue
3017 else
3018 echo "$as_me: failed program was:" >&5
3019 sed 's/^/| /' conftest.$ac_ext >&5
3021 # Passes both tests.
3022 ac_preproc_ok=:
3023 break
3025 rm -f conftest.err conftest.$ac_ext
3027 done
3028 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3029 rm -f conftest.err conftest.$ac_ext
3030 if $ac_preproc_ok; then
3031 break
3034 done
3035 ac_cv_prog_CPP=$CPP
3038 CPP=$ac_cv_prog_CPP
3039 else
3040 ac_cv_prog_CPP=$CPP
3042 echo "$as_me:$LINENO: result: $CPP" >&5
3043 echo "${ECHO_T}$CPP" >&6
3044 ac_preproc_ok=false
3045 for ac_c_preproc_warn_flag in '' yes
3047 # Use a header file that comes with gcc, so configuring glibc
3048 # with a fresh cross-compiler works.
3049 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3050 # <limits.h> exists even on freestanding compilers.
3051 # On the NeXT, cc -E runs the code through the compiler's parser,
3052 # not just through cpp. "Syntax error" is here to catch this case.
3053 cat >conftest.$ac_ext <<_ACEOF
3054 /* confdefs.h. */
3055 _ACEOF
3056 cat confdefs.h >>conftest.$ac_ext
3057 cat >>conftest.$ac_ext <<_ACEOF
3058 /* end confdefs.h. */
3059 #ifdef __STDC__
3060 # include <limits.h>
3061 #else
3062 # include <assert.h>
3063 #endif
3064 Syntax error
3065 _ACEOF
3066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3068 ac_status=$?
3069 grep -v '^ *+' conftest.er1 >conftest.err
3070 rm -f conftest.er1
3071 cat conftest.err >&5
3072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3073 (exit $ac_status); } >/dev/null; then
3074 if test -s conftest.err; then
3075 ac_cpp_err=$ac_c_preproc_warn_flag
3076 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3077 else
3078 ac_cpp_err=
3080 else
3081 ac_cpp_err=yes
3083 if test -z "$ac_cpp_err"; then
3085 else
3086 echo "$as_me: failed program was:" >&5
3087 sed 's/^/| /' conftest.$ac_ext >&5
3089 # Broken: fails on valid input.
3090 continue
3092 rm -f conftest.err conftest.$ac_ext
3094 # OK, works on sane cases. Now check whether non-existent headers
3095 # can be detected and how.
3096 cat >conftest.$ac_ext <<_ACEOF
3097 /* confdefs.h. */
3098 _ACEOF
3099 cat confdefs.h >>conftest.$ac_ext
3100 cat >>conftest.$ac_ext <<_ACEOF
3101 /* end confdefs.h. */
3102 #include <ac_nonexistent.h>
3103 _ACEOF
3104 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3105 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3106 ac_status=$?
3107 grep -v '^ *+' conftest.er1 >conftest.err
3108 rm -f conftest.er1
3109 cat conftest.err >&5
3110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3111 (exit $ac_status); } >/dev/null; then
3112 if test -s conftest.err; then
3113 ac_cpp_err=$ac_c_preproc_warn_flag
3114 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3115 else
3116 ac_cpp_err=
3118 else
3119 ac_cpp_err=yes
3121 if test -z "$ac_cpp_err"; then
3122 # Broken: success on invalid input.
3123 continue
3124 else
3125 echo "$as_me: failed program was:" >&5
3126 sed 's/^/| /' conftest.$ac_ext >&5
3128 # Passes both tests.
3129 ac_preproc_ok=:
3130 break
3132 rm -f conftest.err conftest.$ac_ext
3134 done
3135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3136 rm -f conftest.err conftest.$ac_ext
3137 if $ac_preproc_ok; then
3139 else
3140 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3141 See \`config.log' for more details." >&5
3142 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3143 See \`config.log' for more details." >&2;}
3144 { (exit 1); exit 1; }; }
3147 ac_ext=c
3148 ac_cpp='$CPP $CPPFLAGS'
3149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3155 if test "x$ac_path_x_has_been_run" != xyes; then
3156 echo "$as_me:$LINENO: checking for X" >&5
3157 echo $ECHO_N "checking for X... $ECHO_C" >&6
3159 ac_path_x_has_been_run=yes
3161 # Check whether --with-x or --without-x was given.
3162 if test "${with_x+set}" = set; then
3163 withval="$with_x"
3166 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3167 if test "x$with_x" = xno; then
3168 # The user explicitly disabled X.
3169 have_x=disabled
3170 else
3171 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
3172 # Both variables are already set.
3173 have_x=yes
3174 else
3175 if test "${ac_cv_have_x+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3177 else
3178 # One or both of the vars are not set, and there is no cached value.
3179 ac_x_includes=no ac_x_libraries=no
3180 rm -fr conftest.dir
3181 if mkdir conftest.dir; then
3182 cd conftest.dir
3183 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
3184 cat >Imakefile <<'_ACEOF'
3185 acfindx:
3186 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
3187 _ACEOF
3188 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
3189 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3190 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
3191 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3192 for ac_extension in a so sl; do
3193 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
3194 test -f $ac_im_libdir/libX11.$ac_extension; then
3195 ac_im_usrlibdir=$ac_im_libdir; break
3197 done
3198 # Screen out bogus values from the imake configuration. They are
3199 # bogus both because they are the default anyway, and because
3200 # using them would break gcc on systems where it needs fixed includes.
3201 case $ac_im_incroot in
3202 /usr/include) ;;
3203 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3204 esac
3205 case $ac_im_usrlibdir in
3206 /usr/lib | /lib) ;;
3207 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3208 esac
3210 cd ..
3211 rm -fr conftest.dir
3214 # Standard set of common directories for X headers.
3215 # Check X11 before X11Rn because it is often a symlink to the current release.
3216 ac_x_header_dirs='
3217 /usr/X11/include
3218 /usr/X11R6/include
3219 /usr/X11R5/include
3220 /usr/X11R4/include
3222 /usr/include/X11
3223 /usr/include/X11R6
3224 /usr/include/X11R5
3225 /usr/include/X11R4
3227 /usr/local/X11/include
3228 /usr/local/X11R6/include
3229 /usr/local/X11R5/include
3230 /usr/local/X11R4/include
3232 /usr/local/include/X11
3233 /usr/local/include/X11R6
3234 /usr/local/include/X11R5
3235 /usr/local/include/X11R4
3237 /usr/X386/include
3238 /usr/x386/include
3239 /usr/XFree86/include/X11
3241 /usr/include
3242 /usr/local/include
3243 /usr/unsupported/include
3244 /usr/athena/include
3245 /usr/local/x11r5/include
3246 /usr/lpp/Xamples/include
3248 /usr/openwin/include
3249 /usr/openwin/share/include'
3251 if test "$ac_x_includes" = no; then
3252 # Guess where to find include files, by looking for a specified header file.
3253 # First, try using that file with no special directory specified.
3254 cat >conftest.$ac_ext <<_ACEOF
3255 /* confdefs.h. */
3256 _ACEOF
3257 cat confdefs.h >>conftest.$ac_ext
3258 cat >>conftest.$ac_ext <<_ACEOF
3259 /* end confdefs.h. */
3260 #include <X11/Intrinsic.h>
3261 _ACEOF
3262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3263 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3264 ac_status=$?
3265 grep -v '^ *+' conftest.er1 >conftest.err
3266 rm -f conftest.er1
3267 cat conftest.err >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } >/dev/null; then
3270 if test -s conftest.err; then
3271 ac_cpp_err=$ac_c_preproc_warn_flag
3272 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3273 else
3274 ac_cpp_err=
3276 else
3277 ac_cpp_err=yes
3279 if test -z "$ac_cpp_err"; then
3280 # We can compile using X headers with no special include directory.
3281 ac_x_includes=
3282 else
3283 echo "$as_me: failed program was:" >&5
3284 sed 's/^/| /' conftest.$ac_ext >&5
3286 for ac_dir in $ac_x_header_dirs; do
3287 if test -r "$ac_dir/X11/Intrinsic.h"; then
3288 ac_x_includes=$ac_dir
3289 break
3291 done
3293 rm -f conftest.err conftest.$ac_ext
3294 fi # $ac_x_includes = no
3296 if test "$ac_x_libraries" = no; then
3297 # Check for the libraries.
3298 # See if we find them without any special options.
3299 # Don't add to $LIBS permanently.
3300 ac_save_LIBS=$LIBS
3301 LIBS="-lXt $LIBS"
3302 cat >conftest.$ac_ext <<_ACEOF
3303 /* confdefs.h. */
3304 _ACEOF
3305 cat confdefs.h >>conftest.$ac_ext
3306 cat >>conftest.$ac_ext <<_ACEOF
3307 /* end confdefs.h. */
3308 #include <X11/Intrinsic.h>
3310 main ()
3312 XtMalloc (0)
3314 return 0;
3316 _ACEOF
3317 rm -f conftest.$ac_objext conftest$ac_exeext
3318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3319 (eval $ac_link) 2>conftest.er1
3320 ac_status=$?
3321 grep -v '^ *+' conftest.er1 >conftest.err
3322 rm -f conftest.er1
3323 cat conftest.err >&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } &&
3326 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3328 (eval $ac_try) 2>&5
3329 ac_status=$?
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); }; } &&
3332 { ac_try='test -s conftest$ac_exeext'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3334 (eval $ac_try) 2>&5
3335 ac_status=$?
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; }; then
3338 LIBS=$ac_save_LIBS
3339 # We can link X programs with no special library path.
3340 ac_x_libraries=
3341 else
3342 echo "$as_me: failed program was:" >&5
3343 sed 's/^/| /' conftest.$ac_ext >&5
3345 LIBS=$ac_save_LIBS
3346 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3348 # Don't even attempt the hair of trying to link an X program!
3349 for ac_extension in a so sl; do
3350 if test -r $ac_dir/libXt.$ac_extension; then
3351 ac_x_libraries=$ac_dir
3352 break 2
3354 done
3355 done
3357 rm -f conftest.err conftest.$ac_objext \
3358 conftest$ac_exeext conftest.$ac_ext
3359 fi # $ac_x_libraries = no
3361 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
3362 # Didn't find X anywhere. Cache the known absence of X.
3363 ac_cv_have_x="have_x=no"
3364 else
3365 # Record where we found X for the cache.
3366 ac_cv_have_x="have_x=yes \
3367 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
3372 eval "$ac_cv_have_x"
3373 fi # $with_x != no
3375 if test "$have_x" != yes; then
3376 echo "$as_me:$LINENO: result: $have_x" >&5
3377 echo "${ECHO_T}$have_x" >&6
3378 no_x=yes
3379 else
3380 # If each of the values was on the command line, it overrides each guess.
3381 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
3382 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
3383 # Update the cache value to reflect the command line values.
3384 ac_cv_have_x="have_x=yes \
3385 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
3386 # It might be that x_includes is empty (headers are found in the
3387 # standard search path. Then output the corresponding message
3388 ac_out_x_includes=$x_includes
3389 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
3390 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
3391 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
3395 if test "$no_x" = yes; then
3396 # Not all programs may use this symbol, but it does not hurt to define it.
3398 cat >>confdefs.h <<\_ACEOF
3399 #define X_DISPLAY_MISSING 1
3400 _ACEOF
3402 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
3403 else
3404 if test -n "$x_includes"; then
3405 X_CFLAGS="$X_CFLAGS -I$x_includes"
3408 # It would also be nice to do this for all -L options, not just this one.
3409 if test -n "$x_libraries"; then
3410 X_LIBS="$X_LIBS -L$x_libraries"
3411 # For Solaris; some versions of Sun CC require a space after -R and
3412 # others require no space. Words are not sufficient . . . .
3413 case `(uname -sr) 2>/dev/null` in
3414 "SunOS 5"*)
3415 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
3416 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
3417 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
3418 cat >conftest.$ac_ext <<_ACEOF
3419 /* confdefs.h. */
3420 _ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3426 main ()
3430 return 0;
3432 _ACEOF
3433 rm -f conftest.$ac_objext conftest$ac_exeext
3434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3435 (eval $ac_link) 2>conftest.er1
3436 ac_status=$?
3437 grep -v '^ *+' conftest.er1 >conftest.err
3438 rm -f conftest.er1
3439 cat conftest.err >&5
3440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3441 (exit $ac_status); } &&
3442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3444 (eval $ac_try) 2>&5
3445 ac_status=$?
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); }; } &&
3448 { ac_try='test -s conftest$ac_exeext'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 (eval $ac_try) 2>&5
3451 ac_status=$?
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; }; then
3454 ac_R_nospace=yes
3455 else
3456 echo "$as_me: failed program was:" >&5
3457 sed 's/^/| /' conftest.$ac_ext >&5
3459 ac_R_nospace=no
3461 rm -f conftest.err conftest.$ac_objext \
3462 conftest$ac_exeext conftest.$ac_ext
3463 if test $ac_R_nospace = yes; then
3464 echo "$as_me:$LINENO: result: no" >&5
3465 echo "${ECHO_T}no" >&6
3466 X_LIBS="$X_LIBS -R$x_libraries"
3467 else
3468 LIBS="$ac_xsave_LIBS -R $x_libraries"
3469 cat >conftest.$ac_ext <<_ACEOF
3470 /* confdefs.h. */
3471 _ACEOF
3472 cat confdefs.h >>conftest.$ac_ext
3473 cat >>conftest.$ac_ext <<_ACEOF
3474 /* end confdefs.h. */
3477 main ()
3481 return 0;
3483 _ACEOF
3484 rm -f conftest.$ac_objext conftest$ac_exeext
3485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3486 (eval $ac_link) 2>conftest.er1
3487 ac_status=$?
3488 grep -v '^ *+' conftest.er1 >conftest.err
3489 rm -f conftest.er1
3490 cat conftest.err >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); } &&
3493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 (eval $ac_try) 2>&5
3496 ac_status=$?
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }; } &&
3499 { ac_try='test -s conftest$ac_exeext'
3500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3501 (eval $ac_try) 2>&5
3502 ac_status=$?
3503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3504 (exit $ac_status); }; }; then
3505 ac_R_space=yes
3506 else
3507 echo "$as_me: failed program was:" >&5
3508 sed 's/^/| /' conftest.$ac_ext >&5
3510 ac_R_space=no
3512 rm -f conftest.err conftest.$ac_objext \
3513 conftest$ac_exeext conftest.$ac_ext
3514 if test $ac_R_space = yes; then
3515 echo "$as_me:$LINENO: result: yes" >&5
3516 echo "${ECHO_T}yes" >&6
3517 X_LIBS="$X_LIBS -R $x_libraries"
3518 else
3519 echo "$as_me:$LINENO: result: neither works" >&5
3520 echo "${ECHO_T}neither works" >&6
3523 LIBS=$ac_xsave_LIBS
3524 esac
3527 # Check for system-dependent libraries X programs must link with.
3528 # Do this before checking for the system-independent R6 libraries
3529 # (-lICE), since we may need -lsocket or whatever for X linking.
3531 if test "$ISC" = yes; then
3532 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
3533 else
3534 # Martyn Johnson says this is needed for Ultrix, if the X
3535 # libraries were built with DECnet support. And Karl Berry says
3536 # the Alpha needs dnet_stub (dnet does not exist).
3537 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
3538 cat >conftest.$ac_ext <<_ACEOF
3539 /* confdefs.h. */
3540 _ACEOF
3541 cat confdefs.h >>conftest.$ac_ext
3542 cat >>conftest.$ac_ext <<_ACEOF
3543 /* end confdefs.h. */
3545 /* Override any gcc2 internal prototype to avoid an error. */
3546 #ifdef __cplusplus
3547 extern "C"
3548 #endif
3549 /* We use char because int might match the return type of a gcc2
3550 builtin and then its argument prototype would still apply. */
3551 char XOpenDisplay ();
3553 main ()
3555 XOpenDisplay ();
3557 return 0;
3559 _ACEOF
3560 rm -f conftest.$ac_objext conftest$ac_exeext
3561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3562 (eval $ac_link) 2>conftest.er1
3563 ac_status=$?
3564 grep -v '^ *+' conftest.er1 >conftest.err
3565 rm -f conftest.er1
3566 cat conftest.err >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); } &&
3569 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3571 (eval $ac_try) 2>&5
3572 ac_status=$?
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); }; } &&
3575 { ac_try='test -s conftest$ac_exeext'
3576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577 (eval $ac_try) 2>&5
3578 ac_status=$?
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); }; }; then
3582 else
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3586 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
3587 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
3588 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
3589 echo $ECHO_N "(cached) $ECHO_C" >&6
3590 else
3591 ac_check_lib_save_LIBS=$LIBS
3592 LIBS="-ldnet $LIBS"
3593 cat >conftest.$ac_ext <<_ACEOF
3594 /* confdefs.h. */
3595 _ACEOF
3596 cat confdefs.h >>conftest.$ac_ext
3597 cat >>conftest.$ac_ext <<_ACEOF
3598 /* end confdefs.h. */
3600 /* Override any gcc2 internal prototype to avoid an error. */
3601 #ifdef __cplusplus
3602 extern "C"
3603 #endif
3604 /* We use char because int might match the return type of a gcc2
3605 builtin and then its argument prototype would still apply. */
3606 char dnet_ntoa ();
3608 main ()
3610 dnet_ntoa ();
3612 return 0;
3614 _ACEOF
3615 rm -f conftest.$ac_objext conftest$ac_exeext
3616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3617 (eval $ac_link) 2>conftest.er1
3618 ac_status=$?
3619 grep -v '^ *+' conftest.er1 >conftest.err
3620 rm -f conftest.er1
3621 cat conftest.err >&5
3622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623 (exit $ac_status); } &&
3624 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3626 (eval $ac_try) 2>&5
3627 ac_status=$?
3628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3629 (exit $ac_status); }; } &&
3630 { ac_try='test -s conftest$ac_exeext'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3632 (eval $ac_try) 2>&5
3633 ac_status=$?
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; }; then
3636 ac_cv_lib_dnet_dnet_ntoa=yes
3637 else
3638 echo "$as_me: failed program was:" >&5
3639 sed 's/^/| /' conftest.$ac_ext >&5
3641 ac_cv_lib_dnet_dnet_ntoa=no
3643 rm -f conftest.err conftest.$ac_objext \
3644 conftest$ac_exeext conftest.$ac_ext
3645 LIBS=$ac_check_lib_save_LIBS
3647 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
3648 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
3649 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
3650 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
3653 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
3654 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
3655 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
3656 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
3657 echo $ECHO_N "(cached) $ECHO_C" >&6
3658 else
3659 ac_check_lib_save_LIBS=$LIBS
3660 LIBS="-ldnet_stub $LIBS"
3661 cat >conftest.$ac_ext <<_ACEOF
3662 /* confdefs.h. */
3663 _ACEOF
3664 cat confdefs.h >>conftest.$ac_ext
3665 cat >>conftest.$ac_ext <<_ACEOF
3666 /* end confdefs.h. */
3668 /* Override any gcc2 internal prototype to avoid an error. */
3669 #ifdef __cplusplus
3670 extern "C"
3671 #endif
3672 /* We use char because int might match the return type of a gcc2
3673 builtin and then its argument prototype would still apply. */
3674 char dnet_ntoa ();
3676 main ()
3678 dnet_ntoa ();
3680 return 0;
3682 _ACEOF
3683 rm -f conftest.$ac_objext conftest$ac_exeext
3684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3685 (eval $ac_link) 2>conftest.er1
3686 ac_status=$?
3687 grep -v '^ *+' conftest.er1 >conftest.err
3688 rm -f conftest.er1
3689 cat conftest.err >&5
3690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3691 (exit $ac_status); } &&
3692 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3694 (eval $ac_try) 2>&5
3695 ac_status=$?
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try='test -s conftest$ac_exeext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700 (eval $ac_try) 2>&5
3701 ac_status=$?
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_lib_dnet_stub_dnet_ntoa=yes
3705 else
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.$ac_ext >&5
3709 ac_cv_lib_dnet_stub_dnet_ntoa=no
3711 rm -f conftest.err conftest.$ac_objext \
3712 conftest$ac_exeext conftest.$ac_ext
3713 LIBS=$ac_check_lib_save_LIBS
3715 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3716 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3717 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3718 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
3723 rm -f conftest.err conftest.$ac_objext \
3724 conftest$ac_exeext conftest.$ac_ext
3725 LIBS="$ac_xsave_LIBS"
3727 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3728 # to get the SysV transport functions.
3729 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3730 # needs -lnsl.
3731 # The nsl library prevents programs from opening the X display
3732 # on Irix 5.2, according to T.E. Dickey.
3733 # The functions gethostbyname, getservbyname, and inet_addr are
3734 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3735 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3736 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3737 if test "${ac_cv_func_gethostbyname+set}" = set; then
3738 echo $ECHO_N "(cached) $ECHO_C" >&6
3739 else
3740 cat >conftest.$ac_ext <<_ACEOF
3741 /* confdefs.h. */
3742 _ACEOF
3743 cat confdefs.h >>conftest.$ac_ext
3744 cat >>conftest.$ac_ext <<_ACEOF
3745 /* end confdefs.h. */
3746 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3748 #define gethostbyname innocuous_gethostbyname
3750 /* System header to define __stub macros and hopefully few prototypes,
3751 which can conflict with char gethostbyname (); below.
3752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3753 <limits.h> exists even on freestanding compilers. */
3755 #ifdef __STDC__
3756 # include <limits.h>
3757 #else
3758 # include <assert.h>
3759 #endif
3761 #undef gethostbyname
3763 /* Override any gcc2 internal prototype to avoid an error. */
3764 #ifdef __cplusplus
3765 extern "C"
3767 #endif
3768 /* We use char because int might match the return type of a gcc2
3769 builtin and then its argument prototype would still apply. */
3770 char gethostbyname ();
3771 /* The GNU C library defines this for functions which it implements
3772 to always fail with ENOSYS. Some functions are actually named
3773 something starting with __ and the normal name is an alias. */
3774 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3775 choke me
3776 #else
3777 char (*f) () = gethostbyname;
3778 #endif
3779 #ifdef __cplusplus
3781 #endif
3784 main ()
3786 return f != gethostbyname;
3788 return 0;
3790 _ACEOF
3791 rm -f conftest.$ac_objext conftest$ac_exeext
3792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3793 (eval $ac_link) 2>conftest.er1
3794 ac_status=$?
3795 grep -v '^ *+' conftest.er1 >conftest.err
3796 rm -f conftest.er1
3797 cat conftest.err >&5
3798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3799 (exit $ac_status); } &&
3800 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3802 (eval $ac_try) 2>&5
3803 ac_status=$?
3804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3805 (exit $ac_status); }; } &&
3806 { ac_try='test -s conftest$ac_exeext'
3807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3808 (eval $ac_try) 2>&5
3809 ac_status=$?
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); }; }; then
3812 ac_cv_func_gethostbyname=yes
3813 else
3814 echo "$as_me: failed program was:" >&5
3815 sed 's/^/| /' conftest.$ac_ext >&5
3817 ac_cv_func_gethostbyname=no
3819 rm -f conftest.err conftest.$ac_objext \
3820 conftest$ac_exeext conftest.$ac_ext
3822 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3823 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3825 if test $ac_cv_func_gethostbyname = no; then
3826 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3827 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3828 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3830 else
3831 ac_check_lib_save_LIBS=$LIBS
3832 LIBS="-lnsl $LIBS"
3833 cat >conftest.$ac_ext <<_ACEOF
3834 /* confdefs.h. */
3835 _ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3840 /* Override any gcc2 internal prototype to avoid an error. */
3841 #ifdef __cplusplus
3842 extern "C"
3843 #endif
3844 /* We use char because int might match the return type of a gcc2
3845 builtin and then its argument prototype would still apply. */
3846 char gethostbyname ();
3848 main ()
3850 gethostbyname ();
3852 return 0;
3854 _ACEOF
3855 rm -f conftest.$ac_objext conftest$ac_exeext
3856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3857 (eval $ac_link) 2>conftest.er1
3858 ac_status=$?
3859 grep -v '^ *+' conftest.er1 >conftest.err
3860 rm -f conftest.er1
3861 cat conftest.err >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); } &&
3864 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 (eval $ac_try) 2>&5
3867 ac_status=$?
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; } &&
3870 { ac_try='test -s conftest$ac_exeext'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 (eval $ac_try) 2>&5
3873 ac_status=$?
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; }; then
3876 ac_cv_lib_nsl_gethostbyname=yes
3877 else
3878 echo "$as_me: failed program was:" >&5
3879 sed 's/^/| /' conftest.$ac_ext >&5
3881 ac_cv_lib_nsl_gethostbyname=no
3883 rm -f conftest.err conftest.$ac_objext \
3884 conftest$ac_exeext conftest.$ac_ext
3885 LIBS=$ac_check_lib_save_LIBS
3887 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3888 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3889 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3890 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
3893 if test $ac_cv_lib_nsl_gethostbyname = no; then
3894 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3895 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3896 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3897 echo $ECHO_N "(cached) $ECHO_C" >&6
3898 else
3899 ac_check_lib_save_LIBS=$LIBS
3900 LIBS="-lbsd $LIBS"
3901 cat >conftest.$ac_ext <<_ACEOF
3902 /* confdefs.h. */
3903 _ACEOF
3904 cat confdefs.h >>conftest.$ac_ext
3905 cat >>conftest.$ac_ext <<_ACEOF
3906 /* end confdefs.h. */
3908 /* Override any gcc2 internal prototype to avoid an error. */
3909 #ifdef __cplusplus
3910 extern "C"
3911 #endif
3912 /* We use char because int might match the return type of a gcc2
3913 builtin and then its argument prototype would still apply. */
3914 char gethostbyname ();
3916 main ()
3918 gethostbyname ();
3920 return 0;
3922 _ACEOF
3923 rm -f conftest.$ac_objext conftest$ac_exeext
3924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3925 (eval $ac_link) 2>conftest.er1
3926 ac_status=$?
3927 grep -v '^ *+' conftest.er1 >conftest.err
3928 rm -f conftest.er1
3929 cat conftest.err >&5
3930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3931 (exit $ac_status); } &&
3932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3934 (eval $ac_try) 2>&5
3935 ac_status=$?
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); }; } &&
3938 { ac_try='test -s conftest$ac_exeext'
3939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3940 (eval $ac_try) 2>&5
3941 ac_status=$?
3942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3943 (exit $ac_status); }; }; then
3944 ac_cv_lib_bsd_gethostbyname=yes
3945 else
3946 echo "$as_me: failed program was:" >&5
3947 sed 's/^/| /' conftest.$ac_ext >&5
3949 ac_cv_lib_bsd_gethostbyname=no
3951 rm -f conftest.err conftest.$ac_objext \
3952 conftest$ac_exeext conftest.$ac_ext
3953 LIBS=$ac_check_lib_save_LIBS
3955 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3956 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3957 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3958 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
3964 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3965 # socket/setsockopt and other routines are undefined under SCO ODT
3966 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3967 # on later versions), says Simon Leinen: it contains gethostby*
3968 # variants that don't use the name server (or something). -lsocket
3969 # must be given before -lnsl if both are needed. We assume that
3970 # if connect needs -lnsl, so does gethostbyname.
3971 echo "$as_me:$LINENO: checking for connect" >&5
3972 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3973 if test "${ac_cv_func_connect+set}" = set; then
3974 echo $ECHO_N "(cached) $ECHO_C" >&6
3975 else
3976 cat >conftest.$ac_ext <<_ACEOF
3977 /* confdefs.h. */
3978 _ACEOF
3979 cat confdefs.h >>conftest.$ac_ext
3980 cat >>conftest.$ac_ext <<_ACEOF
3981 /* end confdefs.h. */
3982 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3984 #define connect innocuous_connect
3986 /* System header to define __stub macros and hopefully few prototypes,
3987 which can conflict with char connect (); below.
3988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3989 <limits.h> exists even on freestanding compilers. */
3991 #ifdef __STDC__
3992 # include <limits.h>
3993 #else
3994 # include <assert.h>
3995 #endif
3997 #undef connect
3999 /* Override any gcc2 internal prototype to avoid an error. */
4000 #ifdef __cplusplus
4001 extern "C"
4003 #endif
4004 /* We use char because int might match the return type of a gcc2
4005 builtin and then its argument prototype would still apply. */
4006 char connect ();
4007 /* The GNU C library defines this for functions which it implements
4008 to always fail with ENOSYS. Some functions are actually named
4009 something starting with __ and the normal name is an alias. */
4010 #if defined (__stub_connect) || defined (__stub___connect)
4011 choke me
4012 #else
4013 char (*f) () = connect;
4014 #endif
4015 #ifdef __cplusplus
4017 #endif
4020 main ()
4022 return f != connect;
4024 return 0;
4026 _ACEOF
4027 rm -f conftest.$ac_objext conftest$ac_exeext
4028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4029 (eval $ac_link) 2>conftest.er1
4030 ac_status=$?
4031 grep -v '^ *+' conftest.er1 >conftest.err
4032 rm -f conftest.er1
4033 cat conftest.err >&5
4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4035 (exit $ac_status); } &&
4036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4038 (eval $ac_try) 2>&5
4039 ac_status=$?
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; } &&
4042 { ac_try='test -s conftest$ac_exeext'
4043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4044 (eval $ac_try) 2>&5
4045 ac_status=$?
4046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4047 (exit $ac_status); }; }; then
4048 ac_cv_func_connect=yes
4049 else
4050 echo "$as_me: failed program was:" >&5
4051 sed 's/^/| /' conftest.$ac_ext >&5
4053 ac_cv_func_connect=no
4055 rm -f conftest.err conftest.$ac_objext \
4056 conftest$ac_exeext conftest.$ac_ext
4058 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4059 echo "${ECHO_T}$ac_cv_func_connect" >&6
4061 if test $ac_cv_func_connect = no; then
4062 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4063 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4064 if test "${ac_cv_lib_socket_connect+set}" = set; then
4065 echo $ECHO_N "(cached) $ECHO_C" >&6
4066 else
4067 ac_check_lib_save_LIBS=$LIBS
4068 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
4069 cat >conftest.$ac_ext <<_ACEOF
4070 /* confdefs.h. */
4071 _ACEOF
4072 cat confdefs.h >>conftest.$ac_ext
4073 cat >>conftest.$ac_ext <<_ACEOF
4074 /* end confdefs.h. */
4076 /* Override any gcc2 internal prototype to avoid an error. */
4077 #ifdef __cplusplus
4078 extern "C"
4079 #endif
4080 /* We use char because int might match the return type of a gcc2
4081 builtin and then its argument prototype would still apply. */
4082 char connect ();
4084 main ()
4086 connect ();
4088 return 0;
4090 _ACEOF
4091 rm -f conftest.$ac_objext conftest$ac_exeext
4092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4093 (eval $ac_link) 2>conftest.er1
4094 ac_status=$?
4095 grep -v '^ *+' conftest.er1 >conftest.err
4096 rm -f conftest.er1
4097 cat conftest.err >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } &&
4100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4102 (eval $ac_try) 2>&5
4103 ac_status=$?
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); }; } &&
4106 { ac_try='test -s conftest$ac_exeext'
4107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4108 (eval $ac_try) 2>&5
4109 ac_status=$?
4110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4111 (exit $ac_status); }; }; then
4112 ac_cv_lib_socket_connect=yes
4113 else
4114 echo "$as_me: failed program was:" >&5
4115 sed 's/^/| /' conftest.$ac_ext >&5
4117 ac_cv_lib_socket_connect=no
4119 rm -f conftest.err conftest.$ac_objext \
4120 conftest$ac_exeext conftest.$ac_ext
4121 LIBS=$ac_check_lib_save_LIBS
4123 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4124 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4125 if test $ac_cv_lib_socket_connect = yes; then
4126 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4131 # Guillermo Gomez says -lposix is necessary on A/UX.
4132 echo "$as_me:$LINENO: checking for remove" >&5
4133 echo $ECHO_N "checking for remove... $ECHO_C" >&6
4134 if test "${ac_cv_func_remove+set}" = set; then
4135 echo $ECHO_N "(cached) $ECHO_C" >&6
4136 else
4137 cat >conftest.$ac_ext <<_ACEOF
4138 /* confdefs.h. */
4139 _ACEOF
4140 cat confdefs.h >>conftest.$ac_ext
4141 cat >>conftest.$ac_ext <<_ACEOF
4142 /* end confdefs.h. */
4143 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4145 #define remove innocuous_remove
4147 /* System header to define __stub macros and hopefully few prototypes,
4148 which can conflict with char remove (); below.
4149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4150 <limits.h> exists even on freestanding compilers. */
4152 #ifdef __STDC__
4153 # include <limits.h>
4154 #else
4155 # include <assert.h>
4156 #endif
4158 #undef remove
4160 /* Override any gcc2 internal prototype to avoid an error. */
4161 #ifdef __cplusplus
4162 extern "C"
4164 #endif
4165 /* We use char because int might match the return type of a gcc2
4166 builtin and then its argument prototype would still apply. */
4167 char remove ();
4168 /* The GNU C library defines this for functions which it implements
4169 to always fail with ENOSYS. Some functions are actually named
4170 something starting with __ and the normal name is an alias. */
4171 #if defined (__stub_remove) || defined (__stub___remove)
4172 choke me
4173 #else
4174 char (*f) () = remove;
4175 #endif
4176 #ifdef __cplusplus
4178 #endif
4181 main ()
4183 return f != remove;
4185 return 0;
4187 _ACEOF
4188 rm -f conftest.$ac_objext conftest$ac_exeext
4189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4190 (eval $ac_link) 2>conftest.er1
4191 ac_status=$?
4192 grep -v '^ *+' conftest.er1 >conftest.err
4193 rm -f conftest.er1
4194 cat conftest.err >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); } &&
4197 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4199 (eval $ac_try) 2>&5
4200 ac_status=$?
4201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4202 (exit $ac_status); }; } &&
4203 { ac_try='test -s conftest$ac_exeext'
4204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4205 (eval $ac_try) 2>&5
4206 ac_status=$?
4207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4208 (exit $ac_status); }; }; then
4209 ac_cv_func_remove=yes
4210 else
4211 echo "$as_me: failed program was:" >&5
4212 sed 's/^/| /' conftest.$ac_ext >&5
4214 ac_cv_func_remove=no
4216 rm -f conftest.err conftest.$ac_objext \
4217 conftest$ac_exeext conftest.$ac_ext
4219 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
4220 echo "${ECHO_T}$ac_cv_func_remove" >&6
4222 if test $ac_cv_func_remove = no; then
4223 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
4224 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
4225 if test "${ac_cv_lib_posix_remove+set}" = set; then
4226 echo $ECHO_N "(cached) $ECHO_C" >&6
4227 else
4228 ac_check_lib_save_LIBS=$LIBS
4229 LIBS="-lposix $LIBS"
4230 cat >conftest.$ac_ext <<_ACEOF
4231 /* confdefs.h. */
4232 _ACEOF
4233 cat confdefs.h >>conftest.$ac_ext
4234 cat >>conftest.$ac_ext <<_ACEOF
4235 /* end confdefs.h. */
4237 /* Override any gcc2 internal prototype to avoid an error. */
4238 #ifdef __cplusplus
4239 extern "C"
4240 #endif
4241 /* We use char because int might match the return type of a gcc2
4242 builtin and then its argument prototype would still apply. */
4243 char remove ();
4245 main ()
4247 remove ();
4249 return 0;
4251 _ACEOF
4252 rm -f conftest.$ac_objext conftest$ac_exeext
4253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4254 (eval $ac_link) 2>conftest.er1
4255 ac_status=$?
4256 grep -v '^ *+' conftest.er1 >conftest.err
4257 rm -f conftest.er1
4258 cat conftest.err >&5
4259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4260 (exit $ac_status); } &&
4261 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 (eval $ac_try) 2>&5
4264 ac_status=$?
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); }; } &&
4267 { ac_try='test -s conftest$ac_exeext'
4268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 (eval $ac_try) 2>&5
4270 ac_status=$?
4271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4272 (exit $ac_status); }; }; then
4273 ac_cv_lib_posix_remove=yes
4274 else
4275 echo "$as_me: failed program was:" >&5
4276 sed 's/^/| /' conftest.$ac_ext >&5
4278 ac_cv_lib_posix_remove=no
4280 rm -f conftest.err conftest.$ac_objext \
4281 conftest$ac_exeext conftest.$ac_ext
4282 LIBS=$ac_check_lib_save_LIBS
4284 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
4285 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
4286 if test $ac_cv_lib_posix_remove = yes; then
4287 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
4292 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
4293 echo "$as_me:$LINENO: checking for shmat" >&5
4294 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
4295 if test "${ac_cv_func_shmat+set}" = set; then
4296 echo $ECHO_N "(cached) $ECHO_C" >&6
4297 else
4298 cat >conftest.$ac_ext <<_ACEOF
4299 /* confdefs.h. */
4300 _ACEOF
4301 cat confdefs.h >>conftest.$ac_ext
4302 cat >>conftest.$ac_ext <<_ACEOF
4303 /* end confdefs.h. */
4304 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
4305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4306 #define shmat innocuous_shmat
4308 /* System header to define __stub macros and hopefully few prototypes,
4309 which can conflict with char shmat (); below.
4310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4311 <limits.h> exists even on freestanding compilers. */
4313 #ifdef __STDC__
4314 # include <limits.h>
4315 #else
4316 # include <assert.h>
4317 #endif
4319 #undef shmat
4321 /* Override any gcc2 internal prototype to avoid an error. */
4322 #ifdef __cplusplus
4323 extern "C"
4325 #endif
4326 /* We use char because int might match the return type of a gcc2
4327 builtin and then its argument prototype would still apply. */
4328 char shmat ();
4329 /* The GNU C library defines this for functions which it implements
4330 to always fail with ENOSYS. Some functions are actually named
4331 something starting with __ and the normal name is an alias. */
4332 #if defined (__stub_shmat) || defined (__stub___shmat)
4333 choke me
4334 #else
4335 char (*f) () = shmat;
4336 #endif
4337 #ifdef __cplusplus
4339 #endif
4342 main ()
4344 return f != shmat;
4346 return 0;
4348 _ACEOF
4349 rm -f conftest.$ac_objext conftest$ac_exeext
4350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4351 (eval $ac_link) 2>conftest.er1
4352 ac_status=$?
4353 grep -v '^ *+' conftest.er1 >conftest.err
4354 rm -f conftest.er1
4355 cat conftest.err >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); } &&
4358 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4360 (eval $ac_try) 2>&5
4361 ac_status=$?
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); }; } &&
4364 { ac_try='test -s conftest$ac_exeext'
4365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4366 (eval $ac_try) 2>&5
4367 ac_status=$?
4368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4369 (exit $ac_status); }; }; then
4370 ac_cv_func_shmat=yes
4371 else
4372 echo "$as_me: failed program was:" >&5
4373 sed 's/^/| /' conftest.$ac_ext >&5
4375 ac_cv_func_shmat=no
4377 rm -f conftest.err conftest.$ac_objext \
4378 conftest$ac_exeext conftest.$ac_ext
4380 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
4381 echo "${ECHO_T}$ac_cv_func_shmat" >&6
4383 if test $ac_cv_func_shmat = no; then
4384 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
4385 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
4386 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4388 else
4389 ac_check_lib_save_LIBS=$LIBS
4390 LIBS="-lipc $LIBS"
4391 cat >conftest.$ac_ext <<_ACEOF
4392 /* confdefs.h. */
4393 _ACEOF
4394 cat confdefs.h >>conftest.$ac_ext
4395 cat >>conftest.$ac_ext <<_ACEOF
4396 /* end confdefs.h. */
4398 /* Override any gcc2 internal prototype to avoid an error. */
4399 #ifdef __cplusplus
4400 extern "C"
4401 #endif
4402 /* We use char because int might match the return type of a gcc2
4403 builtin and then its argument prototype would still apply. */
4404 char shmat ();
4406 main ()
4408 shmat ();
4410 return 0;
4412 _ACEOF
4413 rm -f conftest.$ac_objext conftest$ac_exeext
4414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4415 (eval $ac_link) 2>conftest.er1
4416 ac_status=$?
4417 grep -v '^ *+' conftest.er1 >conftest.err
4418 rm -f conftest.er1
4419 cat conftest.err >&5
4420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4421 (exit $ac_status); } &&
4422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4424 (eval $ac_try) 2>&5
4425 ac_status=$?
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; } &&
4428 { ac_try='test -s conftest$ac_exeext'
4429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4430 (eval $ac_try) 2>&5
4431 ac_status=$?
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); }; }; then
4434 ac_cv_lib_ipc_shmat=yes
4435 else
4436 echo "$as_me: failed program was:" >&5
4437 sed 's/^/| /' conftest.$ac_ext >&5
4439 ac_cv_lib_ipc_shmat=no
4441 rm -f conftest.err conftest.$ac_objext \
4442 conftest$ac_exeext conftest.$ac_ext
4443 LIBS=$ac_check_lib_save_LIBS
4445 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
4446 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
4447 if test $ac_cv_lib_ipc_shmat = yes; then
4448 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
4454 # Check for libraries that X11R6 Xt/Xaw programs need.
4455 ac_save_LDFLAGS=$LDFLAGS
4456 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
4457 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
4458 # check for ICE first), but we must link in the order -lSM -lICE or
4459 # we get undefined symbols. So assume we have SM if we have ICE.
4460 # These have to be linked with before -lX11, unlike the other
4461 # libraries we check for below, so use a different variable.
4462 # John Interrante, Karl Berry
4463 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
4464 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
4465 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
4466 echo $ECHO_N "(cached) $ECHO_C" >&6
4467 else
4468 ac_check_lib_save_LIBS=$LIBS
4469 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
4470 cat >conftest.$ac_ext <<_ACEOF
4471 /* confdefs.h. */
4472 _ACEOF
4473 cat confdefs.h >>conftest.$ac_ext
4474 cat >>conftest.$ac_ext <<_ACEOF
4475 /* end confdefs.h. */
4477 /* Override any gcc2 internal prototype to avoid an error. */
4478 #ifdef __cplusplus
4479 extern "C"
4480 #endif
4481 /* We use char because int might match the return type of a gcc2
4482 builtin and then its argument prototype would still apply. */
4483 char IceConnectionNumber ();
4485 main ()
4487 IceConnectionNumber ();
4489 return 0;
4491 _ACEOF
4492 rm -f conftest.$ac_objext conftest$ac_exeext
4493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4494 (eval $ac_link) 2>conftest.er1
4495 ac_status=$?
4496 grep -v '^ *+' conftest.er1 >conftest.err
4497 rm -f conftest.er1
4498 cat conftest.err >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } &&
4501 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4503 (eval $ac_try) 2>&5
4504 ac_status=$?
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; } &&
4507 { ac_try='test -s conftest$ac_exeext'
4508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4509 (eval $ac_try) 2>&5
4510 ac_status=$?
4511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4512 (exit $ac_status); }; }; then
4513 ac_cv_lib_ICE_IceConnectionNumber=yes
4514 else
4515 echo "$as_me: failed program was:" >&5
4516 sed 's/^/| /' conftest.$ac_ext >&5
4518 ac_cv_lib_ICE_IceConnectionNumber=no
4520 rm -f conftest.err conftest.$ac_objext \
4521 conftest$ac_exeext conftest.$ac_ext
4522 LIBS=$ac_check_lib_save_LIBS
4524 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
4525 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
4526 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
4527 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
4530 LDFLAGS=$ac_save_LDFLAGS
4534 for ac_prog in flex lex
4536 # Extract the first word of "$ac_prog", so it can be a program name with args.
4537 set dummy $ac_prog; ac_word=$2
4538 echo "$as_me:$LINENO: checking for $ac_word" >&5
4539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4540 if test "${ac_cv_prog_LEX+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 else
4543 if test -n "$LEX"; then
4544 ac_cv_prog_LEX="$LEX" # Let the user override the test.
4545 else
4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4547 for as_dir in $PATH
4549 IFS=$as_save_IFS
4550 test -z "$as_dir" && as_dir=.
4551 for ac_exec_ext in '' $ac_executable_extensions; do
4552 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4553 ac_cv_prog_LEX="$ac_prog"
4554 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4555 break 2
4557 done
4558 done
4562 LEX=$ac_cv_prog_LEX
4563 if test -n "$LEX"; then
4564 echo "$as_me:$LINENO: result: $LEX" >&5
4565 echo "${ECHO_T}$LEX" >&6
4566 else
4567 echo "$as_me:$LINENO: result: no" >&5
4568 echo "${ECHO_T}no" >&6
4571 test -n "$LEX" && break
4572 done
4573 test -n "$LEX" || LEX=":"
4575 if test -z "$LEXLIB"
4576 then
4577 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
4578 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
4579 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 else
4582 ac_check_lib_save_LIBS=$LIBS
4583 LIBS="-lfl $LIBS"
4584 cat >conftest.$ac_ext <<_ACEOF
4585 /* confdefs.h. */
4586 _ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4591 /* Override any gcc2 internal prototype to avoid an error. */
4592 #ifdef __cplusplus
4593 extern "C"
4594 #endif
4595 /* We use char because int might match the return type of a gcc2
4596 builtin and then its argument prototype would still apply. */
4597 char yywrap ();
4599 main ()
4601 yywrap ();
4603 return 0;
4605 _ACEOF
4606 rm -f conftest.$ac_objext conftest$ac_exeext
4607 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4608 (eval $ac_link) 2>conftest.er1
4609 ac_status=$?
4610 grep -v '^ *+' conftest.er1 >conftest.err
4611 rm -f conftest.er1
4612 cat conftest.err >&5
4613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4614 (exit $ac_status); } &&
4615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4617 (eval $ac_try) 2>&5
4618 ac_status=$?
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; } &&
4621 { ac_try='test -s conftest$ac_exeext'
4622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 (eval $ac_try) 2>&5
4624 ac_status=$?
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }; }; then
4627 ac_cv_lib_fl_yywrap=yes
4628 else
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.$ac_ext >&5
4632 ac_cv_lib_fl_yywrap=no
4634 rm -f conftest.err conftest.$ac_objext \
4635 conftest$ac_exeext conftest.$ac_ext
4636 LIBS=$ac_check_lib_save_LIBS
4638 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4639 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4640 if test $ac_cv_lib_fl_yywrap = yes; then
4641 LEXLIB="-lfl"
4642 else
4643 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4644 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4645 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4646 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 else
4648 ac_check_lib_save_LIBS=$LIBS
4649 LIBS="-ll $LIBS"
4650 cat >conftest.$ac_ext <<_ACEOF
4651 /* confdefs.h. */
4652 _ACEOF
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4657 /* Override any gcc2 internal prototype to avoid an error. */
4658 #ifdef __cplusplus
4659 extern "C"
4660 #endif
4661 /* We use char because int might match the return type of a gcc2
4662 builtin and then its argument prototype would still apply. */
4663 char yywrap ();
4665 main ()
4667 yywrap ();
4669 return 0;
4671 _ACEOF
4672 rm -f conftest.$ac_objext conftest$ac_exeext
4673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4674 (eval $ac_link) 2>conftest.er1
4675 ac_status=$?
4676 grep -v '^ *+' conftest.er1 >conftest.err
4677 rm -f conftest.er1
4678 cat conftest.err >&5
4679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4680 (exit $ac_status); } &&
4681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4683 (eval $ac_try) 2>&5
4684 ac_status=$?
4685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4686 (exit $ac_status); }; } &&
4687 { ac_try='test -s conftest$ac_exeext'
4688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4689 (eval $ac_try) 2>&5
4690 ac_status=$?
4691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4692 (exit $ac_status); }; }; then
4693 ac_cv_lib_l_yywrap=yes
4694 else
4695 echo "$as_me: failed program was:" >&5
4696 sed 's/^/| /' conftest.$ac_ext >&5
4698 ac_cv_lib_l_yywrap=no
4700 rm -f conftest.err conftest.$ac_objext \
4701 conftest$ac_exeext conftest.$ac_ext
4702 LIBS=$ac_check_lib_save_LIBS
4704 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4705 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4706 if test $ac_cv_lib_l_yywrap = yes; then
4707 LEXLIB="-ll"
4714 if test "x$LEX" != "x:"; then
4715 echo "$as_me:$LINENO: checking lex output file root" >&5
4716 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4717 if test "${ac_cv_prog_lex_root+set}" = set; then
4718 echo $ECHO_N "(cached) $ECHO_C" >&6
4719 else
4720 # The minimal lex program is just a single line: %%. But some broken lexes
4721 # (Solaris, I think it was) want two %% lines, so accommodate them.
4722 cat >conftest.l <<_ACEOF
4725 _ACEOF
4726 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4727 (eval $LEX conftest.l) 2>&5
4728 ac_status=$?
4729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4730 (exit $ac_status); }
4731 if test -f lex.yy.c; then
4732 ac_cv_prog_lex_root=lex.yy
4733 elif test -f lexyy.c; then
4734 ac_cv_prog_lex_root=lexyy
4735 else
4736 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4737 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4738 { (exit 1); exit 1; }; }
4741 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4742 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4743 rm -f conftest.l
4744 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4746 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4747 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4748 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4749 echo $ECHO_N "(cached) $ECHO_C" >&6
4750 else
4751 # POSIX says lex can declare yytext either as a pointer or an array; the
4752 # default is implementation-dependent. Figure out which it is, since
4753 # not all implementations provide the %pointer and %array declarations.
4754 ac_cv_prog_lex_yytext_pointer=no
4755 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4756 ac_save_LIBS=$LIBS
4757 LIBS="$LIBS $LEXLIB"
4758 cat >conftest.$ac_ext <<_ACEOF
4759 `cat $LEX_OUTPUT_ROOT.c`
4760 _ACEOF
4761 rm -f conftest.$ac_objext conftest$ac_exeext
4762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4763 (eval $ac_link) 2>conftest.er1
4764 ac_status=$?
4765 grep -v '^ *+' conftest.er1 >conftest.err
4766 rm -f conftest.er1
4767 cat conftest.err >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); } &&
4770 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4772 (eval $ac_try) 2>&5
4773 ac_status=$?
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; } &&
4776 { ac_try='test -s conftest$ac_exeext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4778 (eval $ac_try) 2>&5
4779 ac_status=$?
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_cv_prog_lex_yytext_pointer=yes
4783 else
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4788 rm -f conftest.err conftest.$ac_objext \
4789 conftest$ac_exeext conftest.$ac_ext
4790 LIBS=$ac_save_LIBS
4791 rm -f "${LEX_OUTPUT_ROOT}.c"
4794 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4795 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4796 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4798 cat >>confdefs.h <<\_ACEOF
4799 #define YYTEXT_POINTER 1
4800 _ACEOF
4806 for ac_prog in $LEX flex lex
4808 # Extract the first word of "$ac_prog", so it can be a program name with args.
4809 set dummy $ac_prog; ac_word=$2
4810 echo "$as_me:$LINENO: checking for $ac_word" >&5
4811 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4812 if test "${ac_cv_prog_XLEX+set}" = set; then
4813 echo $ECHO_N "(cached) $ECHO_C" >&6
4814 else
4815 if test -n "$XLEX"; then
4816 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
4817 else
4818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4819 for as_dir in $PATH
4821 IFS=$as_save_IFS
4822 test -z "$as_dir" && as_dir=.
4823 for ac_exec_ext in '' $ac_executable_extensions; do
4824 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_XLEX="$ac_prog"
4826 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4827 break 2
4829 done
4830 done
4834 XLEX=$ac_cv_prog_XLEX
4835 if test -n "$XLEX"; then
4836 echo "$as_me:$LINENO: result: $XLEX" >&5
4837 echo "${ECHO_T}$XLEX" >&6
4838 else
4839 echo "$as_me:$LINENO: result: no" >&5
4840 echo "${ECHO_T}no" >&6
4843 test -n "$XLEX" && break
4844 done
4845 test -n "$XLEX" || XLEX="none"
4847 if test "$XLEX" = "none"
4848 then
4849 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
4850 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
4851 { (exit 1); exit 1; }; }
4854 for ac_prog in bison
4856 # Extract the first word of "$ac_prog", so it can be a program name with args.
4857 set dummy $ac_prog; ac_word=$2
4858 echo "$as_me:$LINENO: checking for $ac_word" >&5
4859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4860 if test "${ac_cv_prog_BISON+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4862 else
4863 if test -n "$BISON"; then
4864 ac_cv_prog_BISON="$BISON" # Let the user override the test.
4865 else
4866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4867 for as_dir in $PATH
4869 IFS=$as_save_IFS
4870 test -z "$as_dir" && as_dir=.
4871 for ac_exec_ext in '' $ac_executable_extensions; do
4872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_prog_BISON="$ac_prog"
4874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4875 break 2
4877 done
4878 done
4882 BISON=$ac_cv_prog_BISON
4883 if test -n "$BISON"; then
4884 echo "$as_me:$LINENO: result: $BISON" >&5
4885 echo "${ECHO_T}$BISON" >&6
4886 else
4887 echo "$as_me:$LINENO: result: no" >&5
4888 echo "${ECHO_T}no" >&6
4891 test -n "$BISON" && break
4892 done
4893 test -n "$BISON" || BISON="none"
4895 if test "$BISON" = "none"
4896 then
4897 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
4898 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
4899 { (exit 1); exit 1; }; }
4902 if test -n "$ac_tool_prefix"; then
4903 for ac_prog in gas as
4905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4907 echo "$as_me:$LINENO: checking for $ac_word" >&5
4908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4909 if test "${ac_cv_prog_AS+set}" = set; then
4910 echo $ECHO_N "(cached) $ECHO_C" >&6
4911 else
4912 if test -n "$AS"; then
4913 ac_cv_prog_AS="$AS" # Let the user override the test.
4914 else
4915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4916 for as_dir in $PATH
4918 IFS=$as_save_IFS
4919 test -z "$as_dir" && as_dir=.
4920 for ac_exec_ext in '' $ac_executable_extensions; do
4921 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4922 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
4923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4924 break 2
4926 done
4927 done
4931 AS=$ac_cv_prog_AS
4932 if test -n "$AS"; then
4933 echo "$as_me:$LINENO: result: $AS" >&5
4934 echo "${ECHO_T}$AS" >&6
4935 else
4936 echo "$as_me:$LINENO: result: no" >&5
4937 echo "${ECHO_T}no" >&6
4940 test -n "$AS" && break
4941 done
4943 if test -z "$AS"; then
4944 ac_ct_AS=$AS
4945 for ac_prog in gas as
4947 # Extract the first word of "$ac_prog", so it can be a program name with args.
4948 set dummy $ac_prog; ac_word=$2
4949 echo "$as_me:$LINENO: checking for $ac_word" >&5
4950 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4951 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
4952 echo $ECHO_N "(cached) $ECHO_C" >&6
4953 else
4954 if test -n "$ac_ct_AS"; then
4955 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4956 else
4957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4958 for as_dir in $PATH
4960 IFS=$as_save_IFS
4961 test -z "$as_dir" && as_dir=.
4962 for ac_exec_ext in '' $ac_executable_extensions; do
4963 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4964 ac_cv_prog_ac_ct_AS="$ac_prog"
4965 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4966 break 2
4968 done
4969 done
4973 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4974 if test -n "$ac_ct_AS"; then
4975 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
4976 echo "${ECHO_T}$ac_ct_AS" >&6
4977 else
4978 echo "$as_me:$LINENO: result: no" >&5
4979 echo "${ECHO_T}no" >&6
4982 test -n "$ac_ct_AS" && break
4983 done
4984 test -n "$ac_ct_AS" || ac_ct_AS="as"
4986 AS=$ac_ct_AS
4989 if test -n "$ac_tool_prefix"; then
4990 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
4991 set dummy ${ac_tool_prefix}ld; ac_word=$2
4992 echo "$as_me:$LINENO: checking for $ac_word" >&5
4993 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4994 if test "${ac_cv_prog_LD+set}" = set; then
4995 echo $ECHO_N "(cached) $ECHO_C" >&6
4996 else
4997 if test -n "$LD"; then
4998 ac_cv_prog_LD="$LD" # Let the user override the test.
4999 else
5000 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5001 for as_dir in $PATH
5003 IFS=$as_save_IFS
5004 test -z "$as_dir" && as_dir=.
5005 for ac_exec_ext in '' $ac_executable_extensions; do
5006 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5007 ac_cv_prog_LD="${ac_tool_prefix}ld"
5008 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5009 break 2
5011 done
5012 done
5016 LD=$ac_cv_prog_LD
5017 if test -n "$LD"; then
5018 echo "$as_me:$LINENO: result: $LD" >&5
5019 echo "${ECHO_T}$LD" >&6
5020 else
5021 echo "$as_me:$LINENO: result: no" >&5
5022 echo "${ECHO_T}no" >&6
5026 if test -z "$ac_cv_prog_LD"; then
5027 ac_ct_LD=$LD
5028 # Extract the first word of "ld", so it can be a program name with args.
5029 set dummy ld; ac_word=$2
5030 echo "$as_me:$LINENO: checking for $ac_word" >&5
5031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5032 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 else
5035 if test -n "$ac_ct_LD"; then
5036 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_ac_ct_LD="ld"
5046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5052 test -z "$ac_cv_prog_ac_ct_LD" && ac_cv_prog_ac_ct_LD="ld"
5055 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5056 if test -n "$ac_ct_LD"; then
5057 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5058 echo "${ECHO_T}$ac_ct_LD" >&6
5059 else
5060 echo "$as_me:$LINENO: result: no" >&5
5061 echo "${ECHO_T}no" >&6
5064 LD=$ac_ct_LD
5065 else
5066 LD="$ac_cv_prog_LD"
5069 if test -n "$ac_tool_prefix"; then
5070 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5071 set dummy ${ac_tool_prefix}ar; ac_word=$2
5072 echo "$as_me:$LINENO: checking for $ac_word" >&5
5073 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5074 if test "${ac_cv_prog_AR+set}" = set; then
5075 echo $ECHO_N "(cached) $ECHO_C" >&6
5076 else
5077 if test -n "$AR"; then
5078 ac_cv_prog_AR="$AR" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_AR="${ac_tool_prefix}ar"
5088 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 break 2
5091 done
5092 done
5096 AR=$ac_cv_prog_AR
5097 if test -n "$AR"; then
5098 echo "$as_me:$LINENO: result: $AR" >&5
5099 echo "${ECHO_T}$AR" >&6
5100 else
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6
5106 if test -z "$ac_cv_prog_AR"; then
5107 ac_ct_AR=$AR
5108 # Extract the first word of "ar", so it can be a program name with args.
5109 set dummy ar; ac_word=$2
5110 echo "$as_me:$LINENO: checking for $ac_word" >&5
5111 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5112 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5113 echo $ECHO_N "(cached) $ECHO_C" >&6
5114 else
5115 if test -n "$ac_ct_AR"; then
5116 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5117 else
5118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5119 for as_dir in $PATH
5121 IFS=$as_save_IFS
5122 test -z "$as_dir" && as_dir=.
5123 for ac_exec_ext in '' $ac_executable_extensions; do
5124 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5125 ac_cv_prog_ac_ct_AR="ar"
5126 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5127 break 2
5129 done
5130 done
5132 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
5135 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5136 if test -n "$ac_ct_AR"; then
5137 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5138 echo "${ECHO_T}$ac_ct_AR" >&6
5139 else
5140 echo "$as_me:$LINENO: result: no" >&5
5141 echo "${ECHO_T}no" >&6
5144 AR=$ac_ct_AR
5145 else
5146 AR="$ac_cv_prog_AR"
5149 if test -n "$ac_tool_prefix"; then
5150 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5151 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5152 echo "$as_me:$LINENO: checking for $ac_word" >&5
5153 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5154 if test "${ac_cv_prog_RANLIB+set}" = set; then
5155 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 else
5157 if test -n "$RANLIB"; then
5158 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5159 else
5160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5161 for as_dir in $PATH
5163 IFS=$as_save_IFS
5164 test -z "$as_dir" && as_dir=.
5165 for ac_exec_ext in '' $ac_executable_extensions; do
5166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5167 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5168 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5169 break 2
5171 done
5172 done
5176 RANLIB=$ac_cv_prog_RANLIB
5177 if test -n "$RANLIB"; then
5178 echo "$as_me:$LINENO: result: $RANLIB" >&5
5179 echo "${ECHO_T}$RANLIB" >&6
5180 else
5181 echo "$as_me:$LINENO: result: no" >&5
5182 echo "${ECHO_T}no" >&6
5186 if test -z "$ac_cv_prog_RANLIB"; then
5187 ac_ct_RANLIB=$RANLIB
5188 # Extract the first word of "ranlib", so it can be a program name with args.
5189 set dummy ranlib; ac_word=$2
5190 echo "$as_me:$LINENO: checking for $ac_word" >&5
5191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5192 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5193 echo $ECHO_N "(cached) $ECHO_C" >&6
5194 else
5195 if test -n "$ac_ct_RANLIB"; then
5196 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5197 else
5198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5199 for as_dir in $PATH
5201 IFS=$as_save_IFS
5202 test -z "$as_dir" && as_dir=.
5203 for ac_exec_ext in '' $ac_executable_extensions; do
5204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5205 ac_cv_prog_ac_ct_RANLIB="ranlib"
5206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5207 break 2
5209 done
5210 done
5212 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5215 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5216 if test -n "$ac_ct_RANLIB"; then
5217 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5218 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5219 else
5220 echo "$as_me:$LINENO: result: no" >&5
5221 echo "${ECHO_T}no" >&6
5224 RANLIB=$ac_ct_RANLIB
5225 else
5226 RANLIB="$ac_cv_prog_RANLIB"
5229 if test -n "$ac_tool_prefix"; then
5230 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5231 set dummy ${ac_tool_prefix}strip; ac_word=$2
5232 echo "$as_me:$LINENO: checking for $ac_word" >&5
5233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5234 if test "${ac_cv_prog_STRIP+set}" = set; then
5235 echo $ECHO_N "(cached) $ECHO_C" >&6
5236 else
5237 if test -n "$STRIP"; then
5238 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5239 else
5240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5241 for as_dir in $PATH
5243 IFS=$as_save_IFS
5244 test -z "$as_dir" && as_dir=.
5245 for ac_exec_ext in '' $ac_executable_extensions; do
5246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5247 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5249 break 2
5251 done
5252 done
5256 STRIP=$ac_cv_prog_STRIP
5257 if test -n "$STRIP"; then
5258 echo "$as_me:$LINENO: result: $STRIP" >&5
5259 echo "${ECHO_T}$STRIP" >&6
5260 else
5261 echo "$as_me:$LINENO: result: no" >&5
5262 echo "${ECHO_T}no" >&6
5266 if test -z "$ac_cv_prog_STRIP"; then
5267 ac_ct_STRIP=$STRIP
5268 # Extract the first word of "strip", so it can be a program name with args.
5269 set dummy strip; ac_word=$2
5270 echo "$as_me:$LINENO: checking for $ac_word" >&5
5271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5272 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5274 else
5275 if test -n "$ac_ct_STRIP"; then
5276 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5277 else
5278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5279 for as_dir in $PATH
5281 IFS=$as_save_IFS
5282 test -z "$as_dir" && as_dir=.
5283 for ac_exec_ext in '' $ac_executable_extensions; do
5284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5285 ac_cv_prog_ac_ct_STRIP="strip"
5286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5287 break 2
5289 done
5290 done
5292 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="strip"
5295 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5296 if test -n "$ac_ct_STRIP"; then
5297 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5298 echo "${ECHO_T}$ac_ct_STRIP" >&6
5299 else
5300 echo "$as_me:$LINENO: result: no" >&5
5301 echo "${ECHO_T}no" >&6
5304 STRIP=$ac_ct_STRIP
5305 else
5306 STRIP="$ac_cv_prog_STRIP"
5309 if test -n "$ac_tool_prefix"; then
5310 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
5311 set dummy ${ac_tool_prefix}windres; ac_word=$2
5312 echo "$as_me:$LINENO: checking for $ac_word" >&5
5313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5314 if test "${ac_cv_prog_WINDRES+set}" = set; then
5315 echo $ECHO_N "(cached) $ECHO_C" >&6
5316 else
5317 if test -n "$WINDRES"; then
5318 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
5319 else
5320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5321 for as_dir in $PATH
5323 IFS=$as_save_IFS
5324 test -z "$as_dir" && as_dir=.
5325 for ac_exec_ext in '' $ac_executable_extensions; do
5326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5327 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
5328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5329 break 2
5331 done
5332 done
5336 WINDRES=$ac_cv_prog_WINDRES
5337 if test -n "$WINDRES"; then
5338 echo "$as_me:$LINENO: result: $WINDRES" >&5
5339 echo "${ECHO_T}$WINDRES" >&6
5340 else
5341 echo "$as_me:$LINENO: result: no" >&5
5342 echo "${ECHO_T}no" >&6
5346 if test -z "$ac_cv_prog_WINDRES"; then
5347 ac_ct_WINDRES=$WINDRES
5348 # Extract the first word of "windres", so it can be a program name with args.
5349 set dummy windres; ac_word=$2
5350 echo "$as_me:$LINENO: checking for $ac_word" >&5
5351 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5352 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
5353 echo $ECHO_N "(cached) $ECHO_C" >&6
5354 else
5355 if test -n "$ac_ct_WINDRES"; then
5356 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
5357 else
5358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 for as_dir in $PATH
5361 IFS=$as_save_IFS
5362 test -z "$as_dir" && as_dir=.
5363 for ac_exec_ext in '' $ac_executable_extensions; do
5364 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5365 ac_cv_prog_ac_ct_WINDRES="windres"
5366 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5367 break 2
5369 done
5370 done
5372 test -z "$ac_cv_prog_ac_ct_WINDRES" && ac_cv_prog_ac_ct_WINDRES="false"
5375 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
5376 if test -n "$ac_ct_WINDRES"; then
5377 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
5378 echo "${ECHO_T}$ac_ct_WINDRES" >&6
5379 else
5380 echo "$as_me:$LINENO: result: no" >&5
5381 echo "${ECHO_T}no" >&6
5384 WINDRES=$ac_ct_WINDRES
5385 else
5386 WINDRES="$ac_cv_prog_WINDRES"
5389 echo "$as_me:$LINENO: checking whether ln -s works" >&5
5390 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
5391 LN_S=$as_ln_s
5392 if test "$LN_S" = "ln -s"; then
5393 echo "$as_me:$LINENO: result: yes" >&5
5394 echo "${ECHO_T}yes" >&6
5395 else
5396 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5397 echo "${ECHO_T}no, using $LN_S" >&6
5400 echo "$as_me:$LINENO: checking whether ln works" >&5
5401 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6
5402 rm -f conf$$ conf$$.file
5403 echo >conf$$.file
5404 if ln conf$$.file conf$$ 2>/dev/null; then
5405 LN=ln
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5409 else
5410 LN="cp -p"
5412 echo "$as_me:$LINENO: result: no, using $LN" >&5
5413 echo "${ECHO_T}no, using $LN" >&6
5415 rm -f conf$$ conf$$.file
5416 echo "$as_me:$LINENO: checking for egrep" >&5
5417 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5418 if test "${ac_cv_prog_egrep+set}" = set; then
5419 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 else
5421 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5422 then ac_cv_prog_egrep='grep -E'
5423 else ac_cv_prog_egrep='egrep'
5426 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5427 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5428 EGREP=$ac_cv_prog_egrep
5431 # Extract the first word of "ldconfig", so it can be a program name with args.
5432 set dummy ldconfig; ac_word=$2
5433 echo "$as_me:$LINENO: checking for $ac_word" >&5
5434 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5435 if test "${ac_cv_path_LDCONFIG+set}" = set; then
5436 echo $ECHO_N "(cached) $ECHO_C" >&6
5437 else
5438 case $LDCONFIG in
5439 [\\/]* | ?:[\\/]*)
5440 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
5443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5444 for as_dir in /sbin /usr/sbin $PATH
5446 IFS=$as_save_IFS
5447 test -z "$as_dir" && as_dir=.
5448 for ac_exec_ext in '' $ac_executable_extensions; do
5449 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5450 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
5451 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5452 break 2
5454 done
5455 done
5457 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
5459 esac
5461 LDCONFIG=$ac_cv_path_LDCONFIG
5463 if test -n "$LDCONFIG"; then
5464 echo "$as_me:$LINENO: result: $LDCONFIG" >&5
5465 echo "${ECHO_T}$LDCONFIG" >&6
5466 else
5467 echo "$as_me:$LINENO: result: no" >&5
5468 echo "${ECHO_T}no" >&6
5471 # Find a good install program. We prefer a C program (faster),
5472 # so one script is as good as another. But avoid the broken or
5473 # incompatible versions:
5474 # SysV /etc/install, /usr/sbin/install
5475 # SunOS /usr/etc/install
5476 # IRIX /sbin/install
5477 # AIX /bin/install
5478 # AmigaOS /C/install, which installs bootblocks on floppy discs
5479 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
5480 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5481 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5482 # OS/2's system install, which has a completely different semantic
5483 # ./install, which can be erroneously created by make from ./install.sh.
5484 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
5485 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
5486 if test -z "$INSTALL"; then
5487 if test "${ac_cv_path_install+set}" = set; then
5488 echo $ECHO_N "(cached) $ECHO_C" >&6
5489 else
5490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5491 for as_dir in $PATH
5493 IFS=$as_save_IFS
5494 test -z "$as_dir" && as_dir=.
5495 # Account for people who put trailing slashes in PATH elements.
5496 case $as_dir/ in
5497 ./ | .// | /cC/* | \
5498 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
5499 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
5500 /usr/ucb/* ) ;;
5502 # OSF1 and SCO ODT 3.0 have their own names for install.
5503 # Don't use installbsd from OSF since it installs stuff as root
5504 # by default.
5505 for ac_prog in ginstall scoinst install; do
5506 for ac_exec_ext in '' $ac_executable_extensions; do
5507 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
5508 if test $ac_prog = install &&
5509 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5510 # AIX install. It has an incompatible calling convention.
5512 elif test $ac_prog = install &&
5513 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
5514 # program-specific install script used by HP pwplus--don't use.
5516 else
5517 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
5518 break 3
5521 done
5522 done
5524 esac
5525 done
5529 if test "${ac_cv_path_install+set}" = set; then
5530 INSTALL=$ac_cv_path_install
5531 else
5532 # As a last resort, use the slow shell script. We don't cache a
5533 # path for INSTALL within a source directory, because that will
5534 # break other packages using the cache if that directory is
5535 # removed, or if the path is relative.
5536 INSTALL=$ac_install_sh
5539 echo "$as_me:$LINENO: result: $INSTALL" >&5
5540 echo "${ECHO_T}$INSTALL" >&6
5542 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5543 # It thinks the first close brace ends the variable substitution.
5544 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
5546 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
5548 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
5550 case "$INSTALL" in
5551 [\\/$]* | ?:[\\/]* ) ;;
5552 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
5553 esac
5555 for ac_prog in lclint lint
5557 # Extract the first word of "$ac_prog", so it can be a program name with args.
5558 set dummy $ac_prog; ac_word=$2
5559 echo "$as_me:$LINENO: checking for $ac_word" >&5
5560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5561 if test "${ac_cv_prog_LINT+set}" = set; then
5562 echo $ECHO_N "(cached) $ECHO_C" >&6
5563 else
5564 if test -n "$LINT"; then
5565 ac_cv_prog_LINT="$LINT" # Let the user override the test.
5566 else
5567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5568 for as_dir in $PATH
5570 IFS=$as_save_IFS
5571 test -z "$as_dir" && as_dir=.
5572 for ac_exec_ext in '' $ac_executable_extensions; do
5573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5574 ac_cv_prog_LINT="$ac_prog"
5575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5576 break 2
5578 done
5579 done
5583 LINT=$ac_cv_prog_LINT
5584 if test -n "$LINT"; then
5585 echo "$as_me:$LINENO: result: $LINT" >&5
5586 echo "${ECHO_T}$LINT" >&6
5587 else
5588 echo "$as_me:$LINENO: result: no" >&5
5589 echo "${ECHO_T}no" >&6
5592 test -n "$LINT" && break
5593 done
5595 if test "$LINT" = "lint"
5596 then
5597 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
5602 for ac_prog in fontforge
5604 # Extract the first word of "$ac_prog", so it can be a program name with args.
5605 set dummy $ac_prog; ac_word=$2
5606 echo "$as_me:$LINENO: checking for $ac_word" >&5
5607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5608 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
5609 echo $ECHO_N "(cached) $ECHO_C" >&6
5610 else
5611 if test -n "$FONTFORGE"; then
5612 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
5613 else
5614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5615 for as_dir in $PATH
5617 IFS=$as_save_IFS
5618 test -z "$as_dir" && as_dir=.
5619 for ac_exec_ext in '' $ac_executable_extensions; do
5620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5621 ac_cv_prog_FONTFORGE="$ac_prog"
5622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5623 break 2
5625 done
5626 done
5630 FONTFORGE=$ac_cv_prog_FONTFORGE
5631 if test -n "$FONTFORGE"; then
5632 echo "$as_me:$LINENO: result: $FONTFORGE" >&5
5633 echo "${ECHO_T}$FONTFORGE" >&6
5634 else
5635 echo "$as_me:$LINENO: result: no" >&5
5636 echo "${ECHO_T}no" >&6
5639 test -n "$FONTFORGE" && break
5640 done
5641 test -n "$FONTFORGE" || FONTFORGE="false"
5643 for ac_prog in pkg-config
5645 # Extract the first word of "$ac_prog", so it can be a program name with args.
5646 set dummy $ac_prog; ac_word=$2
5647 echo "$as_me:$LINENO: checking for $ac_word" >&5
5648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5649 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
5650 echo $ECHO_N "(cached) $ECHO_C" >&6
5651 else
5652 if test -n "$PKG_CONFIG"; then
5653 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
5654 else
5655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5656 for as_dir in $PATH
5658 IFS=$as_save_IFS
5659 test -z "$as_dir" && as_dir=.
5660 for ac_exec_ext in '' $ac_executable_extensions; do
5661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5662 ac_cv_prog_PKG_CONFIG="$ac_prog"
5663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5664 break 2
5666 done
5667 done
5671 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
5672 if test -n "$PKG_CONFIG"; then
5673 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
5674 echo "${ECHO_T}$PKG_CONFIG" >&6
5675 else
5676 echo "$as_me:$LINENO: result: no" >&5
5677 echo "${ECHO_T}no" >&6
5680 test -n "$PKG_CONFIG" && break
5681 done
5682 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
5687 echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
5688 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6
5689 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
5690 echo $ECHO_N "(cached) $ECHO_C" >&6
5691 else
5692 ac_check_lib_save_LIBS=$LIBS
5693 LIBS="-li386 $LIBS"
5694 cat >conftest.$ac_ext <<_ACEOF
5695 /* confdefs.h. */
5696 _ACEOF
5697 cat confdefs.h >>conftest.$ac_ext
5698 cat >>conftest.$ac_ext <<_ACEOF
5699 /* end confdefs.h. */
5701 /* Override any gcc2 internal prototype to avoid an error. */
5702 #ifdef __cplusplus
5703 extern "C"
5704 #endif
5705 /* We use char because int might match the return type of a gcc2
5706 builtin and then its argument prototype would still apply. */
5707 char i386_set_ldt ();
5709 main ()
5711 i386_set_ldt ();
5713 return 0;
5715 _ACEOF
5716 rm -f conftest.$ac_objext conftest$ac_exeext
5717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5718 (eval $ac_link) 2>conftest.er1
5719 ac_status=$?
5720 grep -v '^ *+' conftest.er1 >conftest.err
5721 rm -f conftest.er1
5722 cat conftest.err >&5
5723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5724 (exit $ac_status); } &&
5725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5727 (eval $ac_try) 2>&5
5728 ac_status=$?
5729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5730 (exit $ac_status); }; } &&
5731 { ac_try='test -s conftest$ac_exeext'
5732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733 (eval $ac_try) 2>&5
5734 ac_status=$?
5735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5736 (exit $ac_status); }; }; then
5737 ac_cv_lib_i386_i386_set_ldt=yes
5738 else
5739 echo "$as_me: failed program was:" >&5
5740 sed 's/^/| /' conftest.$ac_ext >&5
5742 ac_cv_lib_i386_i386_set_ldt=no
5744 rm -f conftest.err conftest.$ac_objext \
5745 conftest$ac_exeext conftest.$ac_ext
5746 LIBS=$ac_check_lib_save_LIBS
5748 echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5749 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6
5750 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
5751 cat >>confdefs.h <<_ACEOF
5752 #define HAVE_LIBI386 1
5753 _ACEOF
5755 LIBS="-li386 $LIBS"
5760 echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
5761 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6
5762 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
5763 echo $ECHO_N "(cached) $ECHO_C" >&6
5764 else
5765 ac_check_lib_save_LIBS=$LIBS
5766 LIBS="-lossaudio $LIBS"
5767 cat >conftest.$ac_ext <<_ACEOF
5768 /* confdefs.h. */
5769 _ACEOF
5770 cat confdefs.h >>conftest.$ac_ext
5771 cat >>conftest.$ac_ext <<_ACEOF
5772 /* end confdefs.h. */
5774 /* Override any gcc2 internal prototype to avoid an error. */
5775 #ifdef __cplusplus
5776 extern "C"
5777 #endif
5778 /* We use char because int might match the return type of a gcc2
5779 builtin and then its argument prototype would still apply. */
5780 char _oss_ioctl ();
5782 main ()
5784 _oss_ioctl ();
5786 return 0;
5788 _ACEOF
5789 rm -f conftest.$ac_objext conftest$ac_exeext
5790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5791 (eval $ac_link) 2>conftest.er1
5792 ac_status=$?
5793 grep -v '^ *+' conftest.er1 >conftest.err
5794 rm -f conftest.er1
5795 cat conftest.err >&5
5796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5797 (exit $ac_status); } &&
5798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5800 (eval $ac_try) 2>&5
5801 ac_status=$?
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); }; } &&
5804 { ac_try='test -s conftest$ac_exeext'
5805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5806 (eval $ac_try) 2>&5
5807 ac_status=$?
5808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5809 (exit $ac_status); }; }; then
5810 ac_cv_lib_ossaudio__oss_ioctl=yes
5811 else
5812 echo "$as_me: failed program was:" >&5
5813 sed 's/^/| /' conftest.$ac_ext >&5
5815 ac_cv_lib_ossaudio__oss_ioctl=no
5817 rm -f conftest.err conftest.$ac_objext \
5818 conftest$ac_exeext conftest.$ac_ext
5819 LIBS=$ac_check_lib_save_LIBS
5821 echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5822 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6
5823 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
5824 cat >>confdefs.h <<_ACEOF
5825 #define HAVE_LIBOSSAUDIO 1
5826 _ACEOF
5828 LIBS="-lossaudio $LIBS"
5833 for ac_func in gethostbyname
5835 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5836 echo "$as_me:$LINENO: checking for $ac_func" >&5
5837 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5838 if eval "test \"\${$as_ac_var+set}\" = set"; then
5839 echo $ECHO_N "(cached) $ECHO_C" >&6
5840 else
5841 cat >conftest.$ac_ext <<_ACEOF
5842 /* confdefs.h. */
5843 _ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5849 #define $ac_func innocuous_$ac_func
5851 /* System header to define __stub macros and hopefully few prototypes,
5852 which can conflict with char $ac_func (); below.
5853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5854 <limits.h> exists even on freestanding compilers. */
5856 #ifdef __STDC__
5857 # include <limits.h>
5858 #else
5859 # include <assert.h>
5860 #endif
5862 #undef $ac_func
5864 /* Override any gcc2 internal prototype to avoid an error. */
5865 #ifdef __cplusplus
5866 extern "C"
5868 #endif
5869 /* We use char because int might match the return type of a gcc2
5870 builtin and then its argument prototype would still apply. */
5871 char $ac_func ();
5872 /* The GNU C library defines this for functions which it implements
5873 to always fail with ENOSYS. Some functions are actually named
5874 something starting with __ and the normal name is an alias. */
5875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5876 choke me
5877 #else
5878 char (*f) () = $ac_func;
5879 #endif
5880 #ifdef __cplusplus
5882 #endif
5885 main ()
5887 return f != $ac_func;
5889 return 0;
5891 _ACEOF
5892 rm -f conftest.$ac_objext conftest$ac_exeext
5893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5894 (eval $ac_link) 2>conftest.er1
5895 ac_status=$?
5896 grep -v '^ *+' conftest.er1 >conftest.err
5897 rm -f conftest.er1
5898 cat conftest.err >&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); } &&
5901 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5903 (eval $ac_try) 2>&5
5904 ac_status=$?
5905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906 (exit $ac_status); }; } &&
5907 { ac_try='test -s conftest$ac_exeext'
5908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5909 (eval $ac_try) 2>&5
5910 ac_status=$?
5911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5912 (exit $ac_status); }; }; then
5913 eval "$as_ac_var=yes"
5914 else
5915 echo "$as_me: failed program was:" >&5
5916 sed 's/^/| /' conftest.$ac_ext >&5
5918 eval "$as_ac_var=no"
5920 rm -f conftest.err conftest.$ac_objext \
5921 conftest$ac_exeext conftest.$ac_ext
5923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5925 if test `eval echo '${'$as_ac_var'}'` = yes; then
5926 cat >>confdefs.h <<_ACEOF
5927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5928 _ACEOF
5930 else
5932 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5933 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5934 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5935 echo $ECHO_N "(cached) $ECHO_C" >&6
5936 else
5937 ac_check_lib_save_LIBS=$LIBS
5938 LIBS="-lnsl $LIBS"
5939 cat >conftest.$ac_ext <<_ACEOF
5940 /* confdefs.h. */
5941 _ACEOF
5942 cat confdefs.h >>conftest.$ac_ext
5943 cat >>conftest.$ac_ext <<_ACEOF
5944 /* end confdefs.h. */
5946 /* Override any gcc2 internal prototype to avoid an error. */
5947 #ifdef __cplusplus
5948 extern "C"
5949 #endif
5950 /* We use char because int might match the return type of a gcc2
5951 builtin and then its argument prototype would still apply. */
5952 char gethostbyname ();
5954 main ()
5956 gethostbyname ();
5958 return 0;
5960 _ACEOF
5961 rm -f conftest.$ac_objext conftest$ac_exeext
5962 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5963 (eval $ac_link) 2>conftest.er1
5964 ac_status=$?
5965 grep -v '^ *+' conftest.er1 >conftest.err
5966 rm -f conftest.er1
5967 cat conftest.err >&5
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); } &&
5970 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972 (eval $ac_try) 2>&5
5973 ac_status=$?
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; } &&
5976 { ac_try='test -s conftest$ac_exeext'
5977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5978 (eval $ac_try) 2>&5
5979 ac_status=$?
5980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5981 (exit $ac_status); }; }; then
5982 ac_cv_lib_nsl_gethostbyname=yes
5983 else
5984 echo "$as_me: failed program was:" >&5
5985 sed 's/^/| /' conftest.$ac_ext >&5
5987 ac_cv_lib_nsl_gethostbyname=no
5989 rm -f conftest.err conftest.$ac_objext \
5990 conftest$ac_exeext conftest.$ac_ext
5991 LIBS=$ac_check_lib_save_LIBS
5993 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5994 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5995 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5996 cat >>confdefs.h <<_ACEOF
5997 #define HAVE_LIBNSL 1
5998 _ACEOF
6000 LIBS="-lnsl $LIBS"
6005 done
6008 for ac_func in connect
6010 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6011 echo "$as_me:$LINENO: checking for $ac_func" >&5
6012 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6013 if eval "test \"\${$as_ac_var+set}\" = set"; then
6014 echo $ECHO_N "(cached) $ECHO_C" >&6
6015 else
6016 cat >conftest.$ac_ext <<_ACEOF
6017 /* confdefs.h. */
6018 _ACEOF
6019 cat confdefs.h >>conftest.$ac_ext
6020 cat >>conftest.$ac_ext <<_ACEOF
6021 /* end confdefs.h. */
6022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6024 #define $ac_func innocuous_$ac_func
6026 /* System header to define __stub macros and hopefully few prototypes,
6027 which can conflict with char $ac_func (); below.
6028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6029 <limits.h> exists even on freestanding compilers. */
6031 #ifdef __STDC__
6032 # include <limits.h>
6033 #else
6034 # include <assert.h>
6035 #endif
6037 #undef $ac_func
6039 /* Override any gcc2 internal prototype to avoid an error. */
6040 #ifdef __cplusplus
6041 extern "C"
6043 #endif
6044 /* We use char because int might match the return type of a gcc2
6045 builtin and then its argument prototype would still apply. */
6046 char $ac_func ();
6047 /* The GNU C library defines this for functions which it implements
6048 to always fail with ENOSYS. Some functions are actually named
6049 something starting with __ and the normal name is an alias. */
6050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6051 choke me
6052 #else
6053 char (*f) () = $ac_func;
6054 #endif
6055 #ifdef __cplusplus
6057 #endif
6060 main ()
6062 return f != $ac_func;
6064 return 0;
6066 _ACEOF
6067 rm -f conftest.$ac_objext conftest$ac_exeext
6068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6069 (eval $ac_link) 2>conftest.er1
6070 ac_status=$?
6071 grep -v '^ *+' conftest.er1 >conftest.err
6072 rm -f conftest.er1
6073 cat conftest.err >&5
6074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6075 (exit $ac_status); } &&
6076 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6078 (eval $ac_try) 2>&5
6079 ac_status=$?
6080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6081 (exit $ac_status); }; } &&
6082 { ac_try='test -s conftest$ac_exeext'
6083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6084 (eval $ac_try) 2>&5
6085 ac_status=$?
6086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6087 (exit $ac_status); }; }; then
6088 eval "$as_ac_var=yes"
6089 else
6090 echo "$as_me: failed program was:" >&5
6091 sed 's/^/| /' conftest.$ac_ext >&5
6093 eval "$as_ac_var=no"
6095 rm -f conftest.err conftest.$ac_objext \
6096 conftest$ac_exeext conftest.$ac_ext
6098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6099 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6100 if test `eval echo '${'$as_ac_var'}'` = yes; then
6101 cat >>confdefs.h <<_ACEOF
6102 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6103 _ACEOF
6105 else
6107 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6108 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6109 if test "${ac_cv_lib_socket_connect+set}" = set; then
6110 echo $ECHO_N "(cached) $ECHO_C" >&6
6111 else
6112 ac_check_lib_save_LIBS=$LIBS
6113 LIBS="-lsocket $LIBS"
6114 cat >conftest.$ac_ext <<_ACEOF
6115 /* confdefs.h. */
6116 _ACEOF
6117 cat confdefs.h >>conftest.$ac_ext
6118 cat >>conftest.$ac_ext <<_ACEOF
6119 /* end confdefs.h. */
6121 /* Override any gcc2 internal prototype to avoid an error. */
6122 #ifdef __cplusplus
6123 extern "C"
6124 #endif
6125 /* We use char because int might match the return type of a gcc2
6126 builtin and then its argument prototype would still apply. */
6127 char connect ();
6129 main ()
6131 connect ();
6133 return 0;
6135 _ACEOF
6136 rm -f conftest.$ac_objext conftest$ac_exeext
6137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6138 (eval $ac_link) 2>conftest.er1
6139 ac_status=$?
6140 grep -v '^ *+' conftest.er1 >conftest.err
6141 rm -f conftest.er1
6142 cat conftest.err >&5
6143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6144 (exit $ac_status); } &&
6145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6147 (eval $ac_try) 2>&5
6148 ac_status=$?
6149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6150 (exit $ac_status); }; } &&
6151 { ac_try='test -s conftest$ac_exeext'
6152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6153 (eval $ac_try) 2>&5
6154 ac_status=$?
6155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6156 (exit $ac_status); }; }; then
6157 ac_cv_lib_socket_connect=yes
6158 else
6159 echo "$as_me: failed program was:" >&5
6160 sed 's/^/| /' conftest.$ac_ext >&5
6162 ac_cv_lib_socket_connect=no
6164 rm -f conftest.err conftest.$ac_objext \
6165 conftest$ac_exeext conftest.$ac_ext
6166 LIBS=$ac_check_lib_save_LIBS
6168 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6169 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6170 if test $ac_cv_lib_socket_connect = yes; then
6171 cat >>confdefs.h <<_ACEOF
6172 #define HAVE_LIBSOCKET 1
6173 _ACEOF
6175 LIBS="-lsocket $LIBS"
6180 done
6183 for ac_func in inet_aton
6185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6186 echo "$as_me:$LINENO: checking for $ac_func" >&5
6187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6188 if eval "test \"\${$as_ac_var+set}\" = set"; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6190 else
6191 cat >conftest.$ac_ext <<_ACEOF
6192 /* confdefs.h. */
6193 _ACEOF
6194 cat confdefs.h >>conftest.$ac_ext
6195 cat >>conftest.$ac_ext <<_ACEOF
6196 /* end confdefs.h. */
6197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6199 #define $ac_func innocuous_$ac_func
6201 /* System header to define __stub macros and hopefully few prototypes,
6202 which can conflict with char $ac_func (); below.
6203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6204 <limits.h> exists even on freestanding compilers. */
6206 #ifdef __STDC__
6207 # include <limits.h>
6208 #else
6209 # include <assert.h>
6210 #endif
6212 #undef $ac_func
6214 /* Override any gcc2 internal prototype to avoid an error. */
6215 #ifdef __cplusplus
6216 extern "C"
6218 #endif
6219 /* We use char because int might match the return type of a gcc2
6220 builtin and then its argument prototype would still apply. */
6221 char $ac_func ();
6222 /* The GNU C library defines this for functions which it implements
6223 to always fail with ENOSYS. Some functions are actually named
6224 something starting with __ and the normal name is an alias. */
6225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6226 choke me
6227 #else
6228 char (*f) () = $ac_func;
6229 #endif
6230 #ifdef __cplusplus
6232 #endif
6235 main ()
6237 return f != $ac_func;
6239 return 0;
6241 _ACEOF
6242 rm -f conftest.$ac_objext conftest$ac_exeext
6243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6244 (eval $ac_link) 2>conftest.er1
6245 ac_status=$?
6246 grep -v '^ *+' conftest.er1 >conftest.err
6247 rm -f conftest.er1
6248 cat conftest.err >&5
6249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6250 (exit $ac_status); } &&
6251 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6253 (eval $ac_try) 2>&5
6254 ac_status=$?
6255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6256 (exit $ac_status); }; } &&
6257 { ac_try='test -s conftest$ac_exeext'
6258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6259 (eval $ac_try) 2>&5
6260 ac_status=$?
6261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6262 (exit $ac_status); }; }; then
6263 eval "$as_ac_var=yes"
6264 else
6265 echo "$as_me: failed program was:" >&5
6266 sed 's/^/| /' conftest.$ac_ext >&5
6268 eval "$as_ac_var=no"
6270 rm -f conftest.err conftest.$ac_objext \
6271 conftest$ac_exeext conftest.$ac_ext
6273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6275 if test `eval echo '${'$as_ac_var'}'` = yes; then
6276 cat >>confdefs.h <<_ACEOF
6277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6278 _ACEOF
6280 else
6282 echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
6283 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6
6284 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 else
6287 ac_check_lib_save_LIBS=$LIBS
6288 LIBS="-lresolv $LIBS"
6289 cat >conftest.$ac_ext <<_ACEOF
6290 /* confdefs.h. */
6291 _ACEOF
6292 cat confdefs.h >>conftest.$ac_ext
6293 cat >>conftest.$ac_ext <<_ACEOF
6294 /* end confdefs.h. */
6296 /* Override any gcc2 internal prototype to avoid an error. */
6297 #ifdef __cplusplus
6298 extern "C"
6299 #endif
6300 /* We use char because int might match the return type of a gcc2
6301 builtin and then its argument prototype would still apply. */
6302 char inet_aton ();
6304 main ()
6306 inet_aton ();
6308 return 0;
6310 _ACEOF
6311 rm -f conftest.$ac_objext conftest$ac_exeext
6312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6313 (eval $ac_link) 2>conftest.er1
6314 ac_status=$?
6315 grep -v '^ *+' conftest.er1 >conftest.err
6316 rm -f conftest.er1
6317 cat conftest.err >&5
6318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6319 (exit $ac_status); } &&
6320 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6322 (eval $ac_try) 2>&5
6323 ac_status=$?
6324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6325 (exit $ac_status); }; } &&
6326 { ac_try='test -s conftest$ac_exeext'
6327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6328 (eval $ac_try) 2>&5
6329 ac_status=$?
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }; }; then
6332 ac_cv_lib_resolv_inet_aton=yes
6333 else
6334 echo "$as_me: failed program was:" >&5
6335 sed 's/^/| /' conftest.$ac_ext >&5
6337 ac_cv_lib_resolv_inet_aton=no
6339 rm -f conftest.err conftest.$ac_objext \
6340 conftest$ac_exeext conftest.$ac_ext
6341 LIBS=$ac_check_lib_save_LIBS
6343 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
6344 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6
6345 if test $ac_cv_lib_resolv_inet_aton = yes; then
6346 cat >>confdefs.h <<_ACEOF
6347 #define HAVE_LIBRESOLV 1
6348 _ACEOF
6350 LIBS="-lresolv $LIBS"
6355 done
6358 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
6359 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
6360 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
6361 echo $ECHO_N "(cached) $ECHO_C" >&6
6362 else
6363 ac_check_lib_save_LIBS=$LIBS
6364 LIBS="-lxpg4 $LIBS"
6365 cat >conftest.$ac_ext <<_ACEOF
6366 /* confdefs.h. */
6367 _ACEOF
6368 cat confdefs.h >>conftest.$ac_ext
6369 cat >>conftest.$ac_ext <<_ACEOF
6370 /* end confdefs.h. */
6372 /* Override any gcc2 internal prototype to avoid an error. */
6373 #ifdef __cplusplus
6374 extern "C"
6375 #endif
6376 /* We use char because int might match the return type of a gcc2
6377 builtin and then its argument prototype would still apply. */
6378 char _xpg4_setrunelocale ();
6380 main ()
6382 _xpg4_setrunelocale ();
6384 return 0;
6386 _ACEOF
6387 rm -f conftest.$ac_objext conftest$ac_exeext
6388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6389 (eval $ac_link) 2>conftest.er1
6390 ac_status=$?
6391 grep -v '^ *+' conftest.er1 >conftest.err
6392 rm -f conftest.er1
6393 cat conftest.err >&5
6394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6395 (exit $ac_status); } &&
6396 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6398 (eval $ac_try) 2>&5
6399 ac_status=$?
6400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6401 (exit $ac_status); }; } &&
6402 { ac_try='test -s conftest$ac_exeext'
6403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6404 (eval $ac_try) 2>&5
6405 ac_status=$?
6406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6407 (exit $ac_status); }; }; then
6408 ac_cv_lib_xpg4__xpg4_setrunelocale=yes
6409 else
6410 echo "$as_me: failed program was:" >&5
6411 sed 's/^/| /' conftest.$ac_ext >&5
6413 ac_cv_lib_xpg4__xpg4_setrunelocale=no
6415 rm -f conftest.err conftest.$ac_objext \
6416 conftest$ac_exeext conftest.$ac_ext
6417 LIBS=$ac_check_lib_save_LIBS
6419 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
6420 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
6421 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
6422 cat >>confdefs.h <<_ACEOF
6423 #define HAVE_LIBXPG4 1
6424 _ACEOF
6426 LIBS="-lxpg4 $LIBS"
6431 echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
6432 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6
6433 if test "${ac_cv_lib_poll_poll+set}" = set; then
6434 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 else
6436 ac_check_lib_save_LIBS=$LIBS
6437 LIBS="-lpoll $LIBS"
6438 cat >conftest.$ac_ext <<_ACEOF
6439 /* confdefs.h. */
6440 _ACEOF
6441 cat confdefs.h >>conftest.$ac_ext
6442 cat >>conftest.$ac_ext <<_ACEOF
6443 /* end confdefs.h. */
6445 /* Override any gcc2 internal prototype to avoid an error. */
6446 #ifdef __cplusplus
6447 extern "C"
6448 #endif
6449 /* We use char because int might match the return type of a gcc2
6450 builtin and then its argument prototype would still apply. */
6451 char poll ();
6453 main ()
6455 poll ();
6457 return 0;
6459 _ACEOF
6460 rm -f conftest.$ac_objext conftest$ac_exeext
6461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6462 (eval $ac_link) 2>conftest.er1
6463 ac_status=$?
6464 grep -v '^ *+' conftest.er1 >conftest.err
6465 rm -f conftest.er1
6466 cat conftest.err >&5
6467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6468 (exit $ac_status); } &&
6469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6471 (eval $ac_try) 2>&5
6472 ac_status=$?
6473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6474 (exit $ac_status); }; } &&
6475 { ac_try='test -s conftest$ac_exeext'
6476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6477 (eval $ac_try) 2>&5
6478 ac_status=$?
6479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6480 (exit $ac_status); }; }; then
6481 ac_cv_lib_poll_poll=yes
6482 else
6483 echo "$as_me: failed program was:" >&5
6484 sed 's/^/| /' conftest.$ac_ext >&5
6486 ac_cv_lib_poll_poll=no
6488 rm -f conftest.err conftest.$ac_objext \
6489 conftest$ac_exeext conftest.$ac_ext
6490 LIBS=$ac_check_lib_save_LIBS
6492 echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
6493 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6
6494 if test $ac_cv_lib_poll_poll = yes; then
6495 cat >>confdefs.h <<_ACEOF
6496 #define HAVE_LIBPOLL 1
6497 _ACEOF
6499 LIBS="-lpoll $LIBS"
6504 echo "$as_me:$LINENO: checking for res_9_init in -lresolv" >&5
6505 echo $ECHO_N "checking for res_9_init in -lresolv... $ECHO_C" >&6
6506 if test "${ac_cv_lib_resolv_res_9_init+set}" = set; then
6507 echo $ECHO_N "(cached) $ECHO_C" >&6
6508 else
6509 ac_check_lib_save_LIBS=$LIBS
6510 LIBS="-lresolv $LIBS"
6511 cat >conftest.$ac_ext <<_ACEOF
6512 /* confdefs.h. */
6513 _ACEOF
6514 cat confdefs.h >>conftest.$ac_ext
6515 cat >>conftest.$ac_ext <<_ACEOF
6516 /* end confdefs.h. */
6518 /* Override any gcc2 internal prototype to avoid an error. */
6519 #ifdef __cplusplus
6520 extern "C"
6521 #endif
6522 /* We use char because int might match the return type of a gcc2
6523 builtin and then its argument prototype would still apply. */
6524 char res_9_init ();
6526 main ()
6528 res_9_init ();
6530 return 0;
6532 _ACEOF
6533 rm -f conftest.$ac_objext conftest$ac_exeext
6534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6535 (eval $ac_link) 2>conftest.er1
6536 ac_status=$?
6537 grep -v '^ *+' conftest.er1 >conftest.err
6538 rm -f conftest.er1
6539 cat conftest.err >&5
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); } &&
6542 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6544 (eval $ac_try) 2>&5
6545 ac_status=$?
6546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6547 (exit $ac_status); }; } &&
6548 { ac_try='test -s conftest$ac_exeext'
6549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6550 (eval $ac_try) 2>&5
6551 ac_status=$?
6552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6553 (exit $ac_status); }; }; then
6554 ac_cv_lib_resolv_res_9_init=yes
6555 else
6556 echo "$as_me: failed program was:" >&5
6557 sed 's/^/| /' conftest.$ac_ext >&5
6559 ac_cv_lib_resolv_res_9_init=no
6561 rm -f conftest.err conftest.$ac_objext \
6562 conftest$ac_exeext conftest.$ac_ext
6563 LIBS=$ac_check_lib_save_LIBS
6565 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_9_init" >&5
6566 echo "${ECHO_T}$ac_cv_lib_resolv_res_9_init" >&6
6567 if test $ac_cv_lib_resolv_res_9_init = yes; then
6568 cat >>confdefs.h <<_ACEOF
6569 #define HAVE_LIBRESOLV 1
6570 _ACEOF
6572 LIBS="-lresolv $LIBS"
6576 echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
6577 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
6578 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
6579 echo $ECHO_N "(cached) $ECHO_C" >&6
6580 else
6581 ac_check_lib_save_LIBS=$LIBS
6582 LIBS="-lpthread $LIBS"
6583 cat >conftest.$ac_ext <<_ACEOF
6584 /* confdefs.h. */
6585 _ACEOF
6586 cat confdefs.h >>conftest.$ac_ext
6587 cat >>conftest.$ac_ext <<_ACEOF
6588 /* end confdefs.h. */
6590 /* Override any gcc2 internal prototype to avoid an error. */
6591 #ifdef __cplusplus
6592 extern "C"
6593 #endif
6594 /* We use char because int might match the return type of a gcc2
6595 builtin and then its argument prototype would still apply. */
6596 char pthread_create ();
6598 main ()
6600 pthread_create ();
6602 return 0;
6604 _ACEOF
6605 rm -f conftest.$ac_objext conftest$ac_exeext
6606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6607 (eval $ac_link) 2>conftest.er1
6608 ac_status=$?
6609 grep -v '^ *+' conftest.er1 >conftest.err
6610 rm -f conftest.er1
6611 cat conftest.err >&5
6612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6613 (exit $ac_status); } &&
6614 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6616 (eval $ac_try) 2>&5
6617 ac_status=$?
6618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6619 (exit $ac_status); }; } &&
6620 { ac_try='test -s conftest$ac_exeext'
6621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6622 (eval $ac_try) 2>&5
6623 ac_status=$?
6624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6625 (exit $ac_status); }; }; then
6626 ac_cv_lib_pthread_pthread_create=yes
6627 else
6628 echo "$as_me: failed program was:" >&5
6629 sed 's/^/| /' conftest.$ac_ext >&5
6631 ac_cv_lib_pthread_pthread_create=no
6633 rm -f conftest.err conftest.$ac_objext \
6634 conftest$ac_exeext conftest.$ac_ext
6635 LIBS=$ac_check_lib_save_LIBS
6637 echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
6638 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6
6639 if test $ac_cv_lib_pthread_pthread_create = yes; then
6640 LIBPTHREAD="-lpthread"
6645 XLIB=""
6647 XFILES=""
6649 OPENGLFILES=""
6651 GLU32FILES=""
6653 OPENGL_LIBS=""
6657 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6658 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6659 if test "${ac_cv_header_stdc+set}" = set; then
6660 echo $ECHO_N "(cached) $ECHO_C" >&6
6661 else
6662 cat >conftest.$ac_ext <<_ACEOF
6663 /* confdefs.h. */
6664 _ACEOF
6665 cat confdefs.h >>conftest.$ac_ext
6666 cat >>conftest.$ac_ext <<_ACEOF
6667 /* end confdefs.h. */
6668 #include <stdlib.h>
6669 #include <stdarg.h>
6670 #include <string.h>
6671 #include <float.h>
6674 main ()
6678 return 0;
6680 _ACEOF
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6692 (eval $ac_try) 2>&5
6693 ac_status=$?
6694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6695 (exit $ac_status); }; } &&
6696 { ac_try='test -s conftest.$ac_objext'
6697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6698 (eval $ac_try) 2>&5
6699 ac_status=$?
6700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6701 (exit $ac_status); }; }; then
6702 ac_cv_header_stdc=yes
6703 else
6704 echo "$as_me: failed program was:" >&5
6705 sed 's/^/| /' conftest.$ac_ext >&5
6707 ac_cv_header_stdc=no
6709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6711 if test $ac_cv_header_stdc = yes; then
6712 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6713 cat >conftest.$ac_ext <<_ACEOF
6714 /* confdefs.h. */
6715 _ACEOF
6716 cat confdefs.h >>conftest.$ac_ext
6717 cat >>conftest.$ac_ext <<_ACEOF
6718 /* end confdefs.h. */
6719 #include <string.h>
6721 _ACEOF
6722 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6723 $EGREP "memchr" >/dev/null 2>&1; then
6725 else
6726 ac_cv_header_stdc=no
6728 rm -f conftest*
6732 if test $ac_cv_header_stdc = yes; then
6733 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6734 cat >conftest.$ac_ext <<_ACEOF
6735 /* confdefs.h. */
6736 _ACEOF
6737 cat confdefs.h >>conftest.$ac_ext
6738 cat >>conftest.$ac_ext <<_ACEOF
6739 /* end confdefs.h. */
6740 #include <stdlib.h>
6742 _ACEOF
6743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6744 $EGREP "free" >/dev/null 2>&1; then
6746 else
6747 ac_cv_header_stdc=no
6749 rm -f conftest*
6753 if test $ac_cv_header_stdc = yes; then
6754 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6755 if test "$cross_compiling" = yes; then
6757 else
6758 cat >conftest.$ac_ext <<_ACEOF
6759 /* confdefs.h. */
6760 _ACEOF
6761 cat confdefs.h >>conftest.$ac_ext
6762 cat >>conftest.$ac_ext <<_ACEOF
6763 /* end confdefs.h. */
6764 #include <ctype.h>
6765 #if ((' ' & 0x0FF) == 0x020)
6766 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6767 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6768 #else
6769 # define ISLOWER(c) \
6770 (('a' <= (c) && (c) <= 'i') \
6771 || ('j' <= (c) && (c) <= 'r') \
6772 || ('s' <= (c) && (c) <= 'z'))
6773 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6774 #endif
6776 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6778 main ()
6780 int i;
6781 for (i = 0; i < 256; i++)
6782 if (XOR (islower (i), ISLOWER (i))
6783 || toupper (i) != TOUPPER (i))
6784 exit(2);
6785 exit (0);
6787 _ACEOF
6788 rm -f conftest$ac_exeext
6789 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6790 (eval $ac_link) 2>&5
6791 ac_status=$?
6792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6793 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6795 (eval $ac_try) 2>&5
6796 ac_status=$?
6797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6798 (exit $ac_status); }; }; then
6800 else
6801 echo "$as_me: program exited with status $ac_status" >&5
6802 echo "$as_me: failed program was:" >&5
6803 sed 's/^/| /' conftest.$ac_ext >&5
6805 ( exit $ac_status )
6806 ac_cv_header_stdc=no
6808 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6812 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6813 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6814 if test $ac_cv_header_stdc = yes; then
6816 cat >>confdefs.h <<\_ACEOF
6817 #define STDC_HEADERS 1
6818 _ACEOF
6822 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6832 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6833 inttypes.h stdint.h unistd.h
6835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6836 echo "$as_me:$LINENO: checking for $ac_header" >&5
6837 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6838 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6839 echo $ECHO_N "(cached) $ECHO_C" >&6
6840 else
6841 cat >conftest.$ac_ext <<_ACEOF
6842 /* confdefs.h. */
6843 _ACEOF
6844 cat confdefs.h >>conftest.$ac_ext
6845 cat >>conftest.$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6847 $ac_includes_default
6849 #include <$ac_header>
6850 _ACEOF
6851 rm -f conftest.$ac_objext
6852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6853 (eval $ac_compile) 2>conftest.er1
6854 ac_status=$?
6855 grep -v '^ *+' conftest.er1 >conftest.err
6856 rm -f conftest.er1
6857 cat conftest.err >&5
6858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6859 (exit $ac_status); } &&
6860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6862 (eval $ac_try) 2>&5
6863 ac_status=$?
6864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6865 (exit $ac_status); }; } &&
6866 { ac_try='test -s conftest.$ac_objext'
6867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6868 (eval $ac_try) 2>&5
6869 ac_status=$?
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); }; }; then
6872 eval "$as_ac_Header=yes"
6873 else
6874 echo "$as_me: failed program was:" >&5
6875 sed 's/^/| /' conftest.$ac_ext >&5
6877 eval "$as_ac_Header=no"
6879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6882 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6883 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6884 cat >>confdefs.h <<_ACEOF
6885 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6886 _ACEOF
6890 done
6993 for ac_header in \
6994 IOKit/IOKitLib.h \
6995 alsa/asoundlib.h \
6996 arpa/inet.h \
6997 arpa/nameser.h \
6998 asm/types.h \
6999 capi20.h \
7000 cups/cups.h \
7001 curses.h \
7002 direct.h \
7003 dlfcn.h \
7004 elf.h \
7005 float.h \
7006 fontconfig/fontconfig.h \
7007 getopt.h \
7008 gif_lib.h \
7009 ieeefp.h \
7010 io.h \
7011 jack/jack.h \
7012 jpeglib.h \
7013 lber.h \
7014 lcms.h \
7015 lcms/lcms.h \
7016 ldap.h \
7017 libaudioio.h \
7018 link.h \
7019 linux/capi.h \
7020 linux/cdrom.h \
7021 linux/compiler.h \
7022 linux/hdreg.h \
7023 linux/input.h \
7024 linux/ioctl.h \
7025 linux/joystick.h \
7026 linux/major.h \
7027 linux/param.h \
7028 linux/serial.h \
7029 linux/ucdrom.h \
7030 mach/machine.h \
7031 machine/cpu.h \
7032 machine/limits.h \
7033 machine/soundcard.h \
7034 mntent.h \
7035 ncurses.h \
7036 netdb.h \
7037 netinet/in.h \
7038 netinet/in_systm.h \
7039 netinet/tcp.h \
7040 netinet/tcp_fsm.h \
7041 openssl/ssl.h \
7042 poll.h \
7043 process.h \
7044 pthread.h \
7045 pwd.h \
7046 regex.h \
7047 sched.h \
7048 scsi/scsi.h \
7049 scsi/scsi_ioctl.h \
7050 scsi/sg.h \
7051 soundcard.h \
7052 stdint.h \
7053 strings.h \
7054 sys/asoundlib.h \
7055 sys/cdio.h \
7056 sys/elf32.h \
7057 sys/epoll.h \
7058 sys/errno.h \
7059 sys/exec_elf.h \
7060 sys/filio.h \
7061 sys/ioctl.h \
7062 sys/ipc.h \
7063 sys/link.h \
7064 sys/lwp.h \
7065 sys/mman.h \
7066 sys/modem.h \
7067 sys/msg.h \
7068 sys/param.h \
7069 sys/poll.h \
7070 sys/ptrace.h \
7071 sys/reg.h \
7072 sys/scsiio.h \
7073 sys/shm.h \
7074 sys/signal.h \
7075 sys/socket.h \
7076 sys/sockio.h \
7077 sys/soundcard.h \
7078 sys/statvfs.h \
7079 sys/strtio.h \
7080 sys/syscall.h \
7081 sys/sysctl.h \
7082 sys/time.h \
7083 sys/times.h \
7084 sys/uio.h \
7085 sys/un.h \
7086 sys/vm86.h \
7087 sys/wait.h \
7088 syscall.h \
7089 termios.h \
7090 unicode/ubidi.h \
7091 unistd.h \
7092 utime.h \
7093 valgrind/memcheck.h
7096 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7097 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7098 echo "$as_me:$LINENO: checking for $ac_header" >&5
7099 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7100 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7101 echo $ECHO_N "(cached) $ECHO_C" >&6
7103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7104 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7105 else
7106 # Is the header compilable?
7107 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7108 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7109 cat >conftest.$ac_ext <<_ACEOF
7110 /* confdefs.h. */
7111 _ACEOF
7112 cat confdefs.h >>conftest.$ac_ext
7113 cat >>conftest.$ac_ext <<_ACEOF
7114 /* end confdefs.h. */
7115 $ac_includes_default
7116 #include <$ac_header>
7117 _ACEOF
7118 rm -f conftest.$ac_objext
7119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7120 (eval $ac_compile) 2>conftest.er1
7121 ac_status=$?
7122 grep -v '^ *+' conftest.er1 >conftest.err
7123 rm -f conftest.er1
7124 cat conftest.err >&5
7125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7126 (exit $ac_status); } &&
7127 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7129 (eval $ac_try) 2>&5
7130 ac_status=$?
7131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7132 (exit $ac_status); }; } &&
7133 { ac_try='test -s conftest.$ac_objext'
7134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7135 (eval $ac_try) 2>&5
7136 ac_status=$?
7137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7138 (exit $ac_status); }; }; then
7139 ac_header_compiler=yes
7140 else
7141 echo "$as_me: failed program was:" >&5
7142 sed 's/^/| /' conftest.$ac_ext >&5
7144 ac_header_compiler=no
7146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7148 echo "${ECHO_T}$ac_header_compiler" >&6
7150 # Is the header present?
7151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7152 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7153 cat >conftest.$ac_ext <<_ACEOF
7154 /* confdefs.h. */
7155 _ACEOF
7156 cat confdefs.h >>conftest.$ac_ext
7157 cat >>conftest.$ac_ext <<_ACEOF
7158 /* end confdefs.h. */
7159 #include <$ac_header>
7160 _ACEOF
7161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7163 ac_status=$?
7164 grep -v '^ *+' conftest.er1 >conftest.err
7165 rm -f conftest.er1
7166 cat conftest.err >&5
7167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7168 (exit $ac_status); } >/dev/null; then
7169 if test -s conftest.err; then
7170 ac_cpp_err=$ac_c_preproc_warn_flag
7171 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7172 else
7173 ac_cpp_err=
7175 else
7176 ac_cpp_err=yes
7178 if test -z "$ac_cpp_err"; then
7179 ac_header_preproc=yes
7180 else
7181 echo "$as_me: failed program was:" >&5
7182 sed 's/^/| /' conftest.$ac_ext >&5
7184 ac_header_preproc=no
7186 rm -f conftest.err conftest.$ac_ext
7187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7188 echo "${ECHO_T}$ac_header_preproc" >&6
7190 # So? What about this header?
7191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7192 yes:no: )
7193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7197 ac_header_preproc=yes
7199 no:yes:* )
7200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7213 cat <<\_ASBOX
7214 ## ------------------------------------ ##
7215 ## Report this to wine-devel@winehq.org ##
7216 ## ------------------------------------ ##
7217 _ASBOX
7219 sed "s/^/$as_me: WARNING: /" >&2
7221 esac
7222 echo "$as_me:$LINENO: checking for $ac_header" >&5
7223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7225 echo $ECHO_N "(cached) $ECHO_C" >&6
7226 else
7227 eval "$as_ac_Header=\$ac_header_preproc"
7229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7234 cat >>confdefs.h <<_ACEOF
7235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7236 _ACEOF
7240 done
7242 echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7243 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6
7244 if test "${ac_cv_header_stat_broken+set}" = set; then
7245 echo $ECHO_N "(cached) $ECHO_C" >&6
7246 else
7247 cat >conftest.$ac_ext <<_ACEOF
7248 /* confdefs.h. */
7249 _ACEOF
7250 cat confdefs.h >>conftest.$ac_ext
7251 cat >>conftest.$ac_ext <<_ACEOF
7252 /* end confdefs.h. */
7253 #include <sys/types.h>
7254 #include <sys/stat.h>
7256 #if defined(S_ISBLK) && defined(S_IFDIR)
7257 # if S_ISBLK (S_IFDIR)
7258 You lose.
7259 # endif
7260 #endif
7262 #if defined(S_ISBLK) && defined(S_IFCHR)
7263 # if S_ISBLK (S_IFCHR)
7264 You lose.
7265 # endif
7266 #endif
7268 #if defined(S_ISLNK) && defined(S_IFREG)
7269 # if S_ISLNK (S_IFREG)
7270 You lose.
7271 # endif
7272 #endif
7274 #if defined(S_ISSOCK) && defined(S_IFREG)
7275 # if S_ISSOCK (S_IFREG)
7276 You lose.
7277 # endif
7278 #endif
7280 _ACEOF
7281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7282 $EGREP "You lose" >/dev/null 2>&1; then
7283 ac_cv_header_stat_broken=yes
7284 else
7285 ac_cv_header_stat_broken=no
7287 rm -f conftest*
7290 echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7291 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6
7292 if test $ac_cv_header_stat_broken = yes; then
7294 cat >>confdefs.h <<\_ACEOF
7295 #define STAT_MACROS_BROKEN 1
7296 _ACEOF
7302 if test "$have_x" = "yes"
7303 then
7304 XLIB="-lXext -lX11"
7305 ac_save_CPPFLAGS="$CPPFLAGS"
7306 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
7318 for ac_header in X11/Xlib.h \
7319 X11/XKBlib.h \
7320 X11/Xutil.h \
7321 X11/extensions/shape.h \
7322 X11/extensions/XInput.h \
7323 X11/extensions/XShm.h \
7324 X11/extensions/Xrandr.h \
7325 X11/extensions/Xrender.h \
7326 X11/extensions/xf86dga.h \
7327 X11/extensions/xf86vmode.h
7329 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7330 echo "$as_me:$LINENO: checking for $ac_header" >&5
7331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7333 echo $ECHO_N "(cached) $ECHO_C" >&6
7334 else
7335 cat >conftest.$ac_ext <<_ACEOF
7336 /* confdefs.h. */
7337 _ACEOF
7338 cat confdefs.h >>conftest.$ac_ext
7339 cat >>conftest.$ac_ext <<_ACEOF
7340 /* end confdefs.h. */
7341 #ifdef HAVE_X11_XLIB_H
7342 # include <X11/Xlib.h>
7343 #endif
7344 #ifdef HAVE_X11_XUTIL_H
7345 # include <X11/Xutil.h>
7346 #endif
7348 #include <$ac_header>
7349 _ACEOF
7350 rm -f conftest.$ac_objext
7351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7352 (eval $ac_compile) 2>conftest.er1
7353 ac_status=$?
7354 grep -v '^ *+' conftest.er1 >conftest.err
7355 rm -f conftest.er1
7356 cat conftest.err >&5
7357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7358 (exit $ac_status); } &&
7359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7361 (eval $ac_try) 2>&5
7362 ac_status=$?
7363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7364 (exit $ac_status); }; } &&
7365 { ac_try='test -s conftest.$ac_objext'
7366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7367 (eval $ac_try) 2>&5
7368 ac_status=$?
7369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7370 (exit $ac_status); }; }; then
7371 eval "$as_ac_Header=yes"
7372 else
7373 echo "$as_me: failed program was:" >&5
7374 sed 's/^/| /' conftest.$ac_ext >&5
7376 eval "$as_ac_Header=no"
7378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7381 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7382 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7383 cat >>confdefs.h <<_ACEOF
7384 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7385 _ACEOF
7389 done
7392 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7393 then
7394 echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
7395 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6
7396 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
7397 echo $ECHO_N "(cached) $ECHO_C" >&6
7398 else
7399 ac_check_lib_save_LIBS=$LIBS
7400 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7401 cat >conftest.$ac_ext <<_ACEOF
7402 /* confdefs.h. */
7403 _ACEOF
7404 cat confdefs.h >>conftest.$ac_ext
7405 cat >>conftest.$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7408 /* Override any gcc2 internal prototype to avoid an error. */
7409 #ifdef __cplusplus
7410 extern "C"
7411 #endif
7412 /* We use char because int might match the return type of a gcc2
7413 builtin and then its argument prototype would still apply. */
7414 char XkbQueryExtension ();
7416 main ()
7418 XkbQueryExtension ();
7420 return 0;
7422 _ACEOF
7423 rm -f conftest.$ac_objext conftest$ac_exeext
7424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7425 (eval $ac_link) 2>conftest.er1
7426 ac_status=$?
7427 grep -v '^ *+' conftest.er1 >conftest.err
7428 rm -f conftest.er1
7429 cat conftest.err >&5
7430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7431 (exit $ac_status); } &&
7432 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7434 (eval $ac_try) 2>&5
7435 ac_status=$?
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); }; } &&
7438 { ac_try='test -s conftest$ac_exeext'
7439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7440 (eval $ac_try) 2>&5
7441 ac_status=$?
7442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7443 (exit $ac_status); }; }; then
7444 ac_cv_lib_X11_XkbQueryExtension=yes
7445 else
7446 echo "$as_me: failed program was:" >&5
7447 sed 's/^/| /' conftest.$ac_ext >&5
7449 ac_cv_lib_X11_XkbQueryExtension=no
7451 rm -f conftest.err conftest.$ac_objext \
7452 conftest$ac_exeext conftest.$ac_ext
7453 LIBS=$ac_check_lib_save_LIBS
7455 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7456 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6
7457 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
7459 cat >>confdefs.h <<\_ACEOF
7460 #define HAVE_XKB 1
7461 _ACEOF
7467 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
7468 then
7469 echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
7470 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6
7471 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
7472 echo $ECHO_N "(cached) $ECHO_C" >&6
7473 else
7474 ac_check_lib_save_LIBS=$LIBS
7475 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7476 cat >conftest.$ac_ext <<_ACEOF
7477 /* confdefs.h. */
7478 _ACEOF
7479 cat confdefs.h >>conftest.$ac_ext
7480 cat >>conftest.$ac_ext <<_ACEOF
7481 /* end confdefs.h. */
7483 /* Override any gcc2 internal prototype to avoid an error. */
7484 #ifdef __cplusplus
7485 extern "C"
7486 #endif
7487 /* We use char because int might match the return type of a gcc2
7488 builtin and then its argument prototype would still apply. */
7489 char XShmQueryExtension ();
7491 main ()
7493 XShmQueryExtension ();
7495 return 0;
7497 _ACEOF
7498 rm -f conftest.$ac_objext conftest$ac_exeext
7499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7500 (eval $ac_link) 2>conftest.er1
7501 ac_status=$?
7502 grep -v '^ *+' conftest.er1 >conftest.err
7503 rm -f conftest.er1
7504 cat conftest.err >&5
7505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7506 (exit $ac_status); } &&
7507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7509 (eval $ac_try) 2>&5
7510 ac_status=$?
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); }; } &&
7513 { ac_try='test -s conftest$ac_exeext'
7514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7515 (eval $ac_try) 2>&5
7516 ac_status=$?
7517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7518 (exit $ac_status); }; }; then
7519 ac_cv_lib_Xext_XShmQueryExtension=yes
7520 else
7521 echo "$as_me: failed program was:" >&5
7522 sed 's/^/| /' conftest.$ac_ext >&5
7524 ac_cv_lib_Xext_XShmQueryExtension=no
7526 rm -f conftest.err conftest.$ac_objext \
7527 conftest$ac_exeext conftest.$ac_ext
7528 LIBS=$ac_check_lib_save_LIBS
7530 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
7531 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6
7532 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
7534 cat >>confdefs.h <<\_ACEOF
7535 #define HAVE_LIBXXSHM 1
7536 _ACEOF
7542 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
7543 then
7544 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
7545 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
7546 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
7547 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 else
7549 ac_check_lib_save_LIBS=$LIBS
7550 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7551 cat >conftest.$ac_ext <<_ACEOF
7552 /* confdefs.h. */
7553 _ACEOF
7554 cat confdefs.h >>conftest.$ac_ext
7555 cat >>conftest.$ac_ext <<_ACEOF
7556 /* end confdefs.h. */
7558 /* Override any gcc2 internal prototype to avoid an error. */
7559 #ifdef __cplusplus
7560 extern "C"
7561 #endif
7562 /* We use char because int might match the return type of a gcc2
7563 builtin and then its argument prototype would still apply. */
7564 char XShapeQueryExtension ();
7566 main ()
7568 XShapeQueryExtension ();
7570 return 0;
7572 _ACEOF
7573 rm -f conftest.$ac_objext conftest$ac_exeext
7574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7575 (eval $ac_link) 2>conftest.er1
7576 ac_status=$?
7577 grep -v '^ *+' conftest.er1 >conftest.err
7578 rm -f conftest.er1
7579 cat conftest.err >&5
7580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7581 (exit $ac_status); } &&
7582 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7584 (eval $ac_try) 2>&5
7585 ac_status=$?
7586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7587 (exit $ac_status); }; } &&
7588 { ac_try='test -s conftest$ac_exeext'
7589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7590 (eval $ac_try) 2>&5
7591 ac_status=$?
7592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7593 (exit $ac_status); }; }; then
7594 ac_cv_lib_Xext_XShapeQueryExtension=yes
7595 else
7596 echo "$as_me: failed program was:" >&5
7597 sed 's/^/| /' conftest.$ac_ext >&5
7599 ac_cv_lib_Xext_XShapeQueryExtension=no
7601 rm -f conftest.err conftest.$ac_objext \
7602 conftest$ac_exeext conftest.$ac_ext
7603 LIBS=$ac_check_lib_save_LIBS
7605 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
7606 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
7607 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
7609 cat >>confdefs.h <<\_ACEOF
7610 #define HAVE_LIBXSHAPE 1
7611 _ACEOF
7617 if test "$ac_cv_header_X11_extensions_xf86dga_h" = "yes"
7618 then
7619 echo "$as_me:$LINENO: checking for XDGAQueryExtension in -lXxf86dga" >&5
7620 echo $ECHO_N "checking for XDGAQueryExtension in -lXxf86dga... $ECHO_C" >&6
7621 if test "${ac_cv_lib_Xxf86dga_XDGAQueryExtension+set}" = set; then
7622 echo $ECHO_N "(cached) $ECHO_C" >&6
7623 else
7624 ac_check_lib_save_LIBS=$LIBS
7625 LIBS="-lXxf86dga $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7626 cat >conftest.$ac_ext <<_ACEOF
7627 /* confdefs.h. */
7628 _ACEOF
7629 cat confdefs.h >>conftest.$ac_ext
7630 cat >>conftest.$ac_ext <<_ACEOF
7631 /* end confdefs.h. */
7633 /* Override any gcc2 internal prototype to avoid an error. */
7634 #ifdef __cplusplus
7635 extern "C"
7636 #endif
7637 /* We use char because int might match the return type of a gcc2
7638 builtin and then its argument prototype would still apply. */
7639 char XDGAQueryExtension ();
7641 main ()
7643 XDGAQueryExtension ();
7645 return 0;
7647 _ACEOF
7648 rm -f conftest.$ac_objext conftest$ac_exeext
7649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7650 (eval $ac_link) 2>conftest.er1
7651 ac_status=$?
7652 grep -v '^ *+' conftest.er1 >conftest.err
7653 rm -f conftest.er1
7654 cat conftest.err >&5
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); } &&
7657 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7659 (eval $ac_try) 2>&5
7660 ac_status=$?
7661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7662 (exit $ac_status); }; } &&
7663 { ac_try='test -s conftest$ac_exeext'
7664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7665 (eval $ac_try) 2>&5
7666 ac_status=$?
7667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7668 (exit $ac_status); }; }; then
7669 ac_cv_lib_Xxf86dga_XDGAQueryExtension=yes
7670 else
7671 echo "$as_me: failed program was:" >&5
7672 sed 's/^/| /' conftest.$ac_ext >&5
7674 ac_cv_lib_Xxf86dga_XDGAQueryExtension=no
7676 rm -f conftest.err conftest.$ac_objext \
7677 conftest$ac_exeext conftest.$ac_ext
7678 LIBS=$ac_check_lib_save_LIBS
7680 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&5
7681 echo "${ECHO_T}$ac_cv_lib_Xxf86dga_XDGAQueryExtension" >&6
7682 if test $ac_cv_lib_Xxf86dga_XDGAQueryExtension = yes; then
7684 cat >>confdefs.h <<\_ACEOF
7685 #define HAVE_LIBXXF86DGA2 1
7686 _ACEOF
7688 X_PRE_LIBS="$X_PRE_LIBS -lXxf86dga"
7694 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
7695 then
7696 echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
7697 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6
7698 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
7699 echo $ECHO_N "(cached) $ECHO_C" >&6
7700 else
7701 ac_check_lib_save_LIBS=$LIBS
7702 LIBS="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7703 cat >conftest.$ac_ext <<_ACEOF
7704 /* confdefs.h. */
7705 _ACEOF
7706 cat confdefs.h >>conftest.$ac_ext
7707 cat >>conftest.$ac_ext <<_ACEOF
7708 /* end confdefs.h. */
7710 /* Override any gcc2 internal prototype to avoid an error. */
7711 #ifdef __cplusplus
7712 extern "C"
7713 #endif
7714 /* We use char because int might match the return type of a gcc2
7715 builtin and then its argument prototype would still apply. */
7716 char XF86VidModeQueryExtension ();
7718 main ()
7720 XF86VidModeQueryExtension ();
7722 return 0;
7724 _ACEOF
7725 rm -f conftest.$ac_objext conftest$ac_exeext
7726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7727 (eval $ac_link) 2>conftest.er1
7728 ac_status=$?
7729 grep -v '^ *+' conftest.er1 >conftest.err
7730 rm -f conftest.er1
7731 cat conftest.err >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); } &&
7734 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7736 (eval $ac_try) 2>&5
7737 ac_status=$?
7738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7739 (exit $ac_status); }; } &&
7740 { ac_try='test -s conftest$ac_exeext'
7741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7742 (eval $ac_try) 2>&5
7743 ac_status=$?
7744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7745 (exit $ac_status); }; }; then
7746 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
7747 else
7748 echo "$as_me: failed program was:" >&5
7749 sed 's/^/| /' conftest.$ac_ext >&5
7751 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
7753 rm -f conftest.err conftest.$ac_objext \
7754 conftest$ac_exeext conftest.$ac_ext
7755 LIBS=$ac_check_lib_save_LIBS
7757 echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
7758 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6
7759 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
7761 cat >>confdefs.h <<\_ACEOF
7762 #define HAVE_LIBXXF86VM 1
7763 _ACEOF
7765 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
7771 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
7772 then
7773 cat >conftest.$ac_ext <<_ACEOF
7774 /* confdefs.h. */
7775 _ACEOF
7776 cat confdefs.h >>conftest.$ac_ext
7777 cat >>conftest.$ac_ext <<_ACEOF
7778 /* end confdefs.h. */
7779 #include <X11/Xlib.h>
7780 #include <X11/extensions/Xrandr.h>
7782 main ()
7784 static typeof(XRRSetScreenConfigAndRate) * func;
7786 return 0;
7788 _ACEOF
7789 rm -f conftest.$ac_objext
7790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7791 (eval $ac_compile) 2>conftest.er1
7792 ac_status=$?
7793 grep -v '^ *+' conftest.er1 >conftest.err
7794 rm -f conftest.er1
7795 cat conftest.err >&5
7796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7797 (exit $ac_status); } &&
7798 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7800 (eval $ac_try) 2>&5
7801 ac_status=$?
7802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7803 (exit $ac_status); }; } &&
7804 { ac_try='test -s conftest.$ac_objext'
7805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7806 (eval $ac_try) 2>&5
7807 ac_status=$?
7808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7809 (exit $ac_status); }; }; then
7811 cat >>confdefs.h <<\_ACEOF
7812 #define HAVE_LIBXRANDR 1
7813 _ACEOF
7815 else
7816 echo "$as_me: failed program was:" >&5
7817 sed 's/^/| /' conftest.$ac_ext >&5
7820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7823 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
7824 then
7825 echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
7826 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6
7827 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
7828 echo $ECHO_N "(cached) $ECHO_C" >&6
7829 else
7830 ac_check_lib_save_LIBS=$LIBS
7831 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
7832 cat >conftest.$ac_ext <<_ACEOF
7833 /* confdefs.h. */
7834 _ACEOF
7835 cat confdefs.h >>conftest.$ac_ext
7836 cat >>conftest.$ac_ext <<_ACEOF
7837 /* end confdefs.h. */
7839 /* Override any gcc2 internal prototype to avoid an error. */
7840 #ifdef __cplusplus
7841 extern "C"
7842 #endif
7843 /* We use char because int might match the return type of a gcc2
7844 builtin and then its argument prototype would still apply. */
7845 char XRenderSetPictureTransform ();
7847 main ()
7849 XRenderSetPictureTransform ();
7851 return 0;
7853 _ACEOF
7854 rm -f conftest.$ac_objext conftest$ac_exeext
7855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7856 (eval $ac_link) 2>conftest.er1
7857 ac_status=$?
7858 grep -v '^ *+' conftest.er1 >conftest.err
7859 rm -f conftest.er1
7860 cat conftest.err >&5
7861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7862 (exit $ac_status); } &&
7863 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7865 (eval $ac_try) 2>&5
7866 ac_status=$?
7867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7868 (exit $ac_status); }; } &&
7869 { ac_try='test -s conftest$ac_exeext'
7870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7871 (eval $ac_try) 2>&5
7872 ac_status=$?
7873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7874 (exit $ac_status); }; }; then
7875 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
7876 else
7877 echo "$as_me: failed program was:" >&5
7878 sed 's/^/| /' conftest.$ac_ext >&5
7880 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
7882 rm -f conftest.err conftest.$ac_objext \
7883 conftest$ac_exeext conftest.$ac_ext
7884 LIBS=$ac_check_lib_save_LIBS
7886 echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
7887 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6
7888 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
7890 cat >>confdefs.h <<\_ACEOF
7891 #define HAVE_XRENDERSETPICTURETRANSFORM 1
7892 _ACEOF
7898 if test "x$with_opengl" != "xno"
7899 then
7903 for ac_header in GL/gl.h GL/glx.h GL/glext.h
7905 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7906 echo "$as_me:$LINENO: checking for $ac_header" >&5
7907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7909 echo $ECHO_N "(cached) $ECHO_C" >&6
7910 else
7911 cat >conftest.$ac_ext <<_ACEOF
7912 /* confdefs.h. */
7913 _ACEOF
7914 cat confdefs.h >>conftest.$ac_ext
7915 cat >>conftest.$ac_ext <<_ACEOF
7916 /* end confdefs.h. */
7917 #ifdef HAVE_GL_GLX_H
7918 # include <GL/glx.h>
7919 #endif
7921 #include <$ac_header>
7922 _ACEOF
7923 rm -f conftest.$ac_objext
7924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7925 (eval $ac_compile) 2>conftest.er1
7926 ac_status=$?
7927 grep -v '^ *+' conftest.er1 >conftest.err
7928 rm -f conftest.er1
7929 cat conftest.err >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } &&
7932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7934 (eval $ac_try) 2>&5
7935 ac_status=$?
7936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7937 (exit $ac_status); }; } &&
7938 { ac_try='test -s conftest.$ac_objext'
7939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7940 (eval $ac_try) 2>&5
7941 ac_status=$?
7942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7943 (exit $ac_status); }; }; then
7944 eval "$as_ac_Header=yes"
7945 else
7946 echo "$as_me: failed program was:" >&5
7947 sed 's/^/| /' conftest.$ac_ext >&5
7949 eval "$as_ac_Header=no"
7951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7954 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7955 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7956 cat >>confdefs.h <<_ACEOF
7957 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7958 _ACEOF
7962 done
7964 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
7965 then
7966 echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
7967 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6
7968 if test "${wine_cv_opengl_version_OK+set}" = set; then
7969 echo $ECHO_N "(cached) $ECHO_C" >&6
7970 else
7971 cat >conftest.$ac_ext <<_ACEOF
7972 /* confdefs.h. */
7973 _ACEOF
7974 cat confdefs.h >>conftest.$ac_ext
7975 cat >>conftest.$ac_ext <<_ACEOF
7976 /* end confdefs.h. */
7977 #include <GL/gl.h>
7979 main ()
7981 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
7983 return 0;
7985 _ACEOF
7986 rm -f conftest.$ac_objext
7987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7988 (eval $ac_compile) 2>conftest.er1
7989 ac_status=$?
7990 grep -v '^ *+' conftest.er1 >conftest.err
7991 rm -f conftest.er1
7992 cat conftest.err >&5
7993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7994 (exit $ac_status); } &&
7995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7997 (eval $ac_try) 2>&5
7998 ac_status=$?
7999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8000 (exit $ac_status); }; } &&
8001 { ac_try='test -s conftest.$ac_objext'
8002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8003 (eval $ac_try) 2>&5
8004 ac_status=$?
8005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8006 (exit $ac_status); }; }; then
8007 wine_cv_opengl_version_OK="yes"
8008 else
8009 echo "$as_me: failed program was:" >&5
8010 sed 's/^/| /' conftest.$ac_ext >&5
8012 wine_cv_opengl_version_OK="no"
8015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8018 echo "$as_me:$LINENO: result: $wine_cv_opengl_version_OK" >&5
8019 echo "${ECHO_T}$wine_cv_opengl_version_OK" >&6
8021 if test "$wine_cv_opengl_version_OK" = "yes"
8022 then
8023 echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
8024 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6
8025 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
8026 echo $ECHO_N "(cached) $ECHO_C" >&6
8027 else
8028 ac_check_lib_save_LIBS=$LIBS
8029 LIBS="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
8030 cat >conftest.$ac_ext <<_ACEOF
8031 /* confdefs.h. */
8032 _ACEOF
8033 cat confdefs.h >>conftest.$ac_ext
8034 cat >>conftest.$ac_ext <<_ACEOF
8035 /* end confdefs.h. */
8037 /* Override any gcc2 internal prototype to avoid an error. */
8038 #ifdef __cplusplus
8039 extern "C"
8040 #endif
8041 /* We use char because int might match the return type of a gcc2
8042 builtin and then its argument prototype would still apply. */
8043 char glXCreateContext ();
8045 main ()
8047 glXCreateContext ();
8049 return 0;
8051 _ACEOF
8052 rm -f conftest.$ac_objext conftest$ac_exeext
8053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8054 (eval $ac_link) 2>conftest.er1
8055 ac_status=$?
8056 grep -v '^ *+' conftest.er1 >conftest.err
8057 rm -f conftest.er1
8058 cat conftest.err >&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); } &&
8061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8063 (eval $ac_try) 2>&5
8064 ac_status=$?
8065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8066 (exit $ac_status); }; } &&
8067 { ac_try='test -s conftest$ac_exeext'
8068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8069 (eval $ac_try) 2>&5
8070 ac_status=$?
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); }; }; then
8073 ac_cv_lib_GL_glXCreateContext=yes
8074 else
8075 echo "$as_me: failed program was:" >&5
8076 sed 's/^/| /' conftest.$ac_ext >&5
8078 ac_cv_lib_GL_glXCreateContext=no
8080 rm -f conftest.err conftest.$ac_objext \
8081 conftest$ac_exeext conftest.$ac_ext
8082 LIBS=$ac_check_lib_save_LIBS
8084 echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
8085 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6
8086 if test $ac_cv_lib_GL_glXCreateContext = yes; then
8087 OPENGL_LIBS="-lGL"
8092 if test "$ac_cv_lib_GL_glXCreateContext" = "yes"
8093 then
8094 OPENGLFILES='$(OPENGLFILES)'
8096 cat >>confdefs.h <<\_ACEOF
8097 #define HAVE_OPENGL 1
8098 _ACEOF
8100 else
8101 if test -f /usr/X11R6/lib/libGL.a
8102 then
8103 { { echo "$as_me:$LINENO: error: /usr/X11R6/lib/libGL.a is present on your system.
8104 This prevents linking to OpenGL. Delete the file and restart configure." >&5
8105 echo "$as_me: error: /usr/X11R6/lib/libGL.a is present on your system.
8106 This prevents linking to OpenGL. Delete the file and restart configure." >&2;}
8107 { (exit 1); exit 1; }; }
8111 echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
8112 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6
8113 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
8114 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 else
8116 ac_check_lib_save_LIBS=$LIBS
8117 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
8118 $LIBS"
8119 cat >conftest.$ac_ext <<_ACEOF
8120 /* confdefs.h. */
8121 _ACEOF
8122 cat confdefs.h >>conftest.$ac_ext
8123 cat >>conftest.$ac_ext <<_ACEOF
8124 /* end confdefs.h. */
8126 /* Override any gcc2 internal prototype to avoid an error. */
8127 #ifdef __cplusplus
8128 extern "C"
8129 #endif
8130 /* We use char because int might match the return type of a gcc2
8131 builtin and then its argument prototype would still apply. */
8132 char gluLookAt ();
8134 main ()
8136 gluLookAt ();
8138 return 0;
8140 _ACEOF
8141 rm -f conftest.$ac_objext conftest$ac_exeext
8142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8143 (eval $ac_link) 2>conftest.er1
8144 ac_status=$?
8145 grep -v '^ *+' conftest.er1 >conftest.err
8146 rm -f conftest.er1
8147 cat conftest.err >&5
8148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8149 (exit $ac_status); } &&
8150 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8152 (eval $ac_try) 2>&5
8153 ac_status=$?
8154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8155 (exit $ac_status); }; } &&
8156 { ac_try='test -s conftest$ac_exeext'
8157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8158 (eval $ac_try) 2>&5
8159 ac_status=$?
8160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8161 (exit $ac_status); }; }; then
8162 ac_cv_lib_GLU_gluLookAt=yes
8163 else
8164 echo "$as_me: failed program was:" >&5
8165 sed 's/^/| /' conftest.$ac_ext >&5
8167 ac_cv_lib_GLU_gluLookAt=no
8169 rm -f conftest.err conftest.$ac_objext \
8170 conftest$ac_exeext conftest.$ac_ext
8171 LIBS=$ac_check_lib_save_LIBS
8173 echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
8174 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6
8175 if test $ac_cv_lib_GLU_gluLookAt = yes; then
8176 OPENGL_LIBS="$OPENGL_LIBS -lGLU"
8177 GLU32FILES='$(GLU32FILES)'
8183 echo "$as_me:$LINENO: checking for glutMainLoop in -lglut" >&5
8184 echo $ECHO_N "checking for glutMainLoop in -lglut... $ECHO_C" >&6
8185 if test "${ac_cv_lib_glut_glutMainLoop+set}" = set; then
8186 echo $ECHO_N "(cached) $ECHO_C" >&6
8187 else
8188 ac_check_lib_save_LIBS=$LIBS
8189 LIBS="-lglut $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXmu -lXi -lX11 $X_EXTRA_LIBS $LIBS"
8190 cat >conftest.$ac_ext <<_ACEOF
8191 /* confdefs.h. */
8192 _ACEOF
8193 cat confdefs.h >>conftest.$ac_ext
8194 cat >>conftest.$ac_ext <<_ACEOF
8195 /* end confdefs.h. */
8197 /* Override any gcc2 internal prototype to avoid an error. */
8198 #ifdef __cplusplus
8199 extern "C"
8200 #endif
8201 /* We use char because int might match the return type of a gcc2
8202 builtin and then its argument prototype would still apply. */
8203 char glutMainLoop ();
8205 main ()
8207 glutMainLoop ();
8209 return 0;
8211 _ACEOF
8212 rm -f conftest.$ac_objext conftest$ac_exeext
8213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8214 (eval $ac_link) 2>conftest.er1
8215 ac_status=$?
8216 grep -v '^ *+' conftest.er1 >conftest.err
8217 rm -f conftest.er1
8218 cat conftest.err >&5
8219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8220 (exit $ac_status); } &&
8221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8223 (eval $ac_try) 2>&5
8224 ac_status=$?
8225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8226 (exit $ac_status); }; } &&
8227 { ac_try='test -s conftest$ac_exeext'
8228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8229 (eval $ac_try) 2>&5
8230 ac_status=$?
8231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8232 (exit $ac_status); }; }; then
8233 ac_cv_lib_glut_glutMainLoop=yes
8234 else
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8238 ac_cv_lib_glut_glutMainLoop=no
8240 rm -f conftest.err conftest.$ac_objext \
8241 conftest$ac_exeext conftest.$ac_ext
8242 LIBS=$ac_check_lib_save_LIBS
8244 echo "$as_me:$LINENO: result: $ac_cv_lib_glut_glutMainLoop" >&5
8245 echo "${ECHO_T}$ac_cv_lib_glut_glutMainLoop" >&6
8246 if test $ac_cv_lib_glut_glutMainLoop = yes; then
8247 GLUT_LIBS="-lglut -lXmu -lXi"
8249 GLUT32FILES='$(GLUT32FILES)'
8256 NASLIBS=""
8259 for ac_header in audio/audiolib.h
8261 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8263 echo "$as_me:$LINENO: checking for $ac_header" >&5
8264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8266 echo $ECHO_N "(cached) $ECHO_C" >&6
8268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8270 else
8271 # Is the header compilable?
8272 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8273 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8274 cat >conftest.$ac_ext <<_ACEOF
8275 /* confdefs.h. */
8276 _ACEOF
8277 cat confdefs.h >>conftest.$ac_ext
8278 cat >>conftest.$ac_ext <<_ACEOF
8279 /* end confdefs.h. */
8280 $ac_includes_default
8281 #include <$ac_header>
8282 _ACEOF
8283 rm -f conftest.$ac_objext
8284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8285 (eval $ac_compile) 2>conftest.er1
8286 ac_status=$?
8287 grep -v '^ *+' conftest.er1 >conftest.err
8288 rm -f conftest.er1
8289 cat conftest.err >&5
8290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8291 (exit $ac_status); } &&
8292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8294 (eval $ac_try) 2>&5
8295 ac_status=$?
8296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8297 (exit $ac_status); }; } &&
8298 { ac_try='test -s conftest.$ac_objext'
8299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8300 (eval $ac_try) 2>&5
8301 ac_status=$?
8302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8303 (exit $ac_status); }; }; then
8304 ac_header_compiler=yes
8305 else
8306 echo "$as_me: failed program was:" >&5
8307 sed 's/^/| /' conftest.$ac_ext >&5
8309 ac_header_compiler=no
8311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8313 echo "${ECHO_T}$ac_header_compiler" >&6
8315 # Is the header present?
8316 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8317 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8318 cat >conftest.$ac_ext <<_ACEOF
8319 /* confdefs.h. */
8320 _ACEOF
8321 cat confdefs.h >>conftest.$ac_ext
8322 cat >>conftest.$ac_ext <<_ACEOF
8323 /* end confdefs.h. */
8324 #include <$ac_header>
8325 _ACEOF
8326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8328 ac_status=$?
8329 grep -v '^ *+' conftest.er1 >conftest.err
8330 rm -f conftest.er1
8331 cat conftest.err >&5
8332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8333 (exit $ac_status); } >/dev/null; then
8334 if test -s conftest.err; then
8335 ac_cpp_err=$ac_c_preproc_warn_flag
8336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8337 else
8338 ac_cpp_err=
8340 else
8341 ac_cpp_err=yes
8343 if test -z "$ac_cpp_err"; then
8344 ac_header_preproc=yes
8345 else
8346 echo "$as_me: failed program was:" >&5
8347 sed 's/^/| /' conftest.$ac_ext >&5
8349 ac_header_preproc=no
8351 rm -f conftest.err conftest.$ac_ext
8352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8353 echo "${ECHO_T}$ac_header_preproc" >&6
8355 # So? What about this header?
8356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8357 yes:no: )
8358 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8359 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8361 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8362 ac_header_preproc=yes
8364 no:yes:* )
8365 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8366 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8367 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8368 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8369 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8370 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8371 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8372 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8375 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8376 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8378 cat <<\_ASBOX
8379 ## ------------------------------------ ##
8380 ## Report this to wine-devel@winehq.org ##
8381 ## ------------------------------------ ##
8382 _ASBOX
8384 sed "s/^/$as_me: WARNING: /" >&2
8386 esac
8387 echo "$as_me:$LINENO: checking for $ac_header" >&5
8388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8390 echo $ECHO_N "(cached) $ECHO_C" >&6
8391 else
8392 eval "$as_ac_Header=\$ac_header_preproc"
8394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8395 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8398 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8399 cat >>confdefs.h <<_ACEOF
8400 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8401 _ACEOF
8403 for ac_header in audio/soundlib.h
8405 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8406 echo "$as_me:$LINENO: checking for $ac_header" >&5
8407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8409 echo $ECHO_N "(cached) $ECHO_C" >&6
8410 else
8411 cat >conftest.$ac_ext <<_ACEOF
8412 /* confdefs.h. */
8413 _ACEOF
8414 cat confdefs.h >>conftest.$ac_ext
8415 cat >>conftest.$ac_ext <<_ACEOF
8416 /* end confdefs.h. */
8417 #include <audio/audiolib.h>
8419 #include <$ac_header>
8420 _ACEOF
8421 rm -f conftest.$ac_objext
8422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8423 (eval $ac_compile) 2>conftest.er1
8424 ac_status=$?
8425 grep -v '^ *+' conftest.er1 >conftest.err
8426 rm -f conftest.er1
8427 cat conftest.err >&5
8428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8429 (exit $ac_status); } &&
8430 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
8436 { ac_try='test -s conftest.$ac_objext'
8437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8438 (eval $ac_try) 2>&5
8439 ac_status=$?
8440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8441 (exit $ac_status); }; }; then
8442 eval "$as_ac_Header=yes"
8443 else
8444 echo "$as_me: failed program was:" >&5
8445 sed 's/^/| /' conftest.$ac_ext >&5
8447 eval "$as_ac_Header=no"
8449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8452 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8454 cat >>confdefs.h <<_ACEOF
8455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8456 _ACEOF
8460 done
8462 echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
8463 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6
8464 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
8465 echo $ECHO_N "(cached) $ECHO_C" >&6
8466 else
8467 ac_check_lib_save_LIBS=$LIBS
8468 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8469 cat >conftest.$ac_ext <<_ACEOF
8470 /* confdefs.h. */
8471 _ACEOF
8472 cat confdefs.h >>conftest.$ac_ext
8473 cat >>conftest.$ac_ext <<_ACEOF
8474 /* end confdefs.h. */
8476 /* Override any gcc2 internal prototype to avoid an error. */
8477 #ifdef __cplusplus
8478 extern "C"
8479 #endif
8480 /* We use char because int might match the return type of a gcc2
8481 builtin and then its argument prototype would still apply. */
8482 char AuCreateFlow ();
8484 main ()
8486 AuCreateFlow ();
8488 return 0;
8490 _ACEOF
8491 rm -f conftest.$ac_objext conftest$ac_exeext
8492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8493 (eval $ac_link) 2>conftest.er1
8494 ac_status=$?
8495 grep -v '^ *+' conftest.er1 >conftest.err
8496 rm -f conftest.er1
8497 cat conftest.err >&5
8498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499 (exit $ac_status); } &&
8500 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502 (eval $ac_try) 2>&5
8503 ac_status=$?
8504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8505 (exit $ac_status); }; } &&
8506 { ac_try='test -s conftest$ac_exeext'
8507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8508 (eval $ac_try) 2>&5
8509 ac_status=$?
8510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8511 (exit $ac_status); }; }; then
8512 ac_cv_lib_audio_AuCreateFlow=yes
8513 else
8514 echo "$as_me: failed program was:" >&5
8515 sed 's/^/| /' conftest.$ac_ext >&5
8517 ac_cv_lib_audio_AuCreateFlow=no
8519 rm -f conftest.err conftest.$ac_objext \
8520 conftest$ac_exeext conftest.$ac_ext
8521 LIBS=$ac_check_lib_save_LIBS
8523 echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8524 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6
8525 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
8527 cat >>confdefs.h <<\_ACEOF
8528 #define HAVE_NAS 1
8529 _ACEOF
8531 NASLIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
8536 done
8539 CPPFLAGS="$ac_save_CPPFLAGS"
8540 XFILES='$(XFILES)'
8541 else
8542 XLIB=""
8543 X_CFLAGS=""
8544 X_LIBS=""
8548 XML2LIBS=""
8550 XML2INCL=""
8552 if test "$PKG_CONFIG" != "false"
8553 then
8554 ac_save_CPPFLAGS="$CPPFLAGS"
8555 ac_xml_libs="`$PKG_CONFIG --libs libxml-2.0`"
8556 ac_xml_cflags="`$PKG_CONFIG --cflags libxml-2.0`"
8557 CPPFLAGS="$CPPFLAGS $ac_xml_cflags"
8559 for ac_header in libxml/parser.h
8561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8562 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8563 echo "$as_me:$LINENO: checking for $ac_header" >&5
8564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8566 echo $ECHO_N "(cached) $ECHO_C" >&6
8568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8569 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8570 else
8571 # Is the header compilable?
8572 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8573 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8574 cat >conftest.$ac_ext <<_ACEOF
8575 /* confdefs.h. */
8576 _ACEOF
8577 cat confdefs.h >>conftest.$ac_ext
8578 cat >>conftest.$ac_ext <<_ACEOF
8579 /* end confdefs.h. */
8580 $ac_includes_default
8581 #include <$ac_header>
8582 _ACEOF
8583 rm -f conftest.$ac_objext
8584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8585 (eval $ac_compile) 2>conftest.er1
8586 ac_status=$?
8587 grep -v '^ *+' conftest.er1 >conftest.err
8588 rm -f conftest.er1
8589 cat conftest.err >&5
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); } &&
8592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8594 (eval $ac_try) 2>&5
8595 ac_status=$?
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); }; } &&
8598 { ac_try='test -s conftest.$ac_objext'
8599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8600 (eval $ac_try) 2>&5
8601 ac_status=$?
8602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8603 (exit $ac_status); }; }; then
8604 ac_header_compiler=yes
8605 else
8606 echo "$as_me: failed program was:" >&5
8607 sed 's/^/| /' conftest.$ac_ext >&5
8609 ac_header_compiler=no
8611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8613 echo "${ECHO_T}$ac_header_compiler" >&6
8615 # Is the header present?
8616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8618 cat >conftest.$ac_ext <<_ACEOF
8619 /* confdefs.h. */
8620 _ACEOF
8621 cat confdefs.h >>conftest.$ac_ext
8622 cat >>conftest.$ac_ext <<_ACEOF
8623 /* end confdefs.h. */
8624 #include <$ac_header>
8625 _ACEOF
8626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8627 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
8628 ac_status=$?
8629 grep -v '^ *+' conftest.er1 >conftest.err
8630 rm -f conftest.er1
8631 cat conftest.err >&5
8632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8633 (exit $ac_status); } >/dev/null; then
8634 if test -s conftest.err; then
8635 ac_cpp_err=$ac_c_preproc_warn_flag
8636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
8637 else
8638 ac_cpp_err=
8640 else
8641 ac_cpp_err=yes
8643 if test -z "$ac_cpp_err"; then
8644 ac_header_preproc=yes
8645 else
8646 echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.$ac_ext >&5
8649 ac_header_preproc=no
8651 rm -f conftest.err conftest.$ac_ext
8652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8653 echo "${ECHO_T}$ac_header_preproc" >&6
8655 # So? What about this header?
8656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8657 yes:no: )
8658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8662 ac_header_preproc=yes
8664 no:yes:* )
8665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8678 cat <<\_ASBOX
8679 ## ------------------------------------ ##
8680 ## Report this to wine-devel@winehq.org ##
8681 ## ------------------------------------ ##
8682 _ASBOX
8684 sed "s/^/$as_me: WARNING: /" >&2
8686 esac
8687 echo "$as_me:$LINENO: checking for $ac_header" >&5
8688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 else
8692 eval "$as_ac_Header=\$ac_header_preproc"
8694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8699 cat >>confdefs.h <<_ACEOF
8700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8701 _ACEOF
8702 echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
8703 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6
8704 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
8705 echo $ECHO_N "(cached) $ECHO_C" >&6
8706 else
8707 ac_check_lib_save_LIBS=$LIBS
8708 LIBS="-lxml2 $ac_xml_libs $LIBS"
8709 cat >conftest.$ac_ext <<_ACEOF
8710 /* confdefs.h. */
8711 _ACEOF
8712 cat confdefs.h >>conftest.$ac_ext
8713 cat >>conftest.$ac_ext <<_ACEOF
8714 /* end confdefs.h. */
8716 /* Override any gcc2 internal prototype to avoid an error. */
8717 #ifdef __cplusplus
8718 extern "C"
8719 #endif
8720 /* We use char because int might match the return type of a gcc2
8721 builtin and then its argument prototype would still apply. */
8722 char xmlParseMemory ();
8724 main ()
8726 xmlParseMemory ();
8728 return 0;
8730 _ACEOF
8731 rm -f conftest.$ac_objext conftest$ac_exeext
8732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8733 (eval $ac_link) 2>conftest.er1
8734 ac_status=$?
8735 grep -v '^ *+' conftest.er1 >conftest.err
8736 rm -f conftest.er1
8737 cat conftest.err >&5
8738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8739 (exit $ac_status); } &&
8740 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8742 (eval $ac_try) 2>&5
8743 ac_status=$?
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); }; } &&
8746 { ac_try='test -s conftest$ac_exeext'
8747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8748 (eval $ac_try) 2>&5
8749 ac_status=$?
8750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8751 (exit $ac_status); }; }; then
8752 ac_cv_lib_xml2_xmlParseMemory=yes
8753 else
8754 echo "$as_me: failed program was:" >&5
8755 sed 's/^/| /' conftest.$ac_ext >&5
8757 ac_cv_lib_xml2_xmlParseMemory=no
8759 rm -f conftest.err conftest.$ac_objext \
8760 conftest$ac_exeext conftest.$ac_ext
8761 LIBS=$ac_check_lib_save_LIBS
8763 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8764 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6
8765 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
8767 cat >>confdefs.h <<\_ACEOF
8768 #define HAVE_LIBXML2 1
8769 _ACEOF
8771 XML2LIBS="$ac_xml_libs"
8772 XML2INCL="$ac_xml_cflags"
8777 done
8779 CPPFLAGS="$ac_save_CPPFLAGS"
8782 CURSESLIBS=""
8783 if test "x$with_curses" != "xno"
8784 then
8785 if test "$ac_cv_header_ncurses_h" = "yes"
8786 then
8787 echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
8788 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6
8789 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
8790 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 else
8792 ac_check_lib_save_LIBS=$LIBS
8793 LIBS="-lncurses $LIBS"
8794 cat >conftest.$ac_ext <<_ACEOF
8795 /* confdefs.h. */
8796 _ACEOF
8797 cat confdefs.h >>conftest.$ac_ext
8798 cat >>conftest.$ac_ext <<_ACEOF
8799 /* end confdefs.h. */
8801 /* Override any gcc2 internal prototype to avoid an error. */
8802 #ifdef __cplusplus
8803 extern "C"
8804 #endif
8805 /* We use char because int might match the return type of a gcc2
8806 builtin and then its argument prototype would still apply. */
8807 char waddch ();
8809 main ()
8811 waddch ();
8813 return 0;
8815 _ACEOF
8816 rm -f conftest.$ac_objext conftest$ac_exeext
8817 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8818 (eval $ac_link) 2>conftest.er1
8819 ac_status=$?
8820 grep -v '^ *+' conftest.er1 >conftest.err
8821 rm -f conftest.er1
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8827 (eval $ac_try) 2>&5
8828 ac_status=$?
8829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8830 (exit $ac_status); }; } &&
8831 { ac_try='test -s conftest$ac_exeext'
8832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8833 (eval $ac_try) 2>&5
8834 ac_status=$?
8835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8836 (exit $ac_status); }; }; then
8837 ac_cv_lib_ncurses_waddch=yes
8838 else
8839 echo "$as_me: failed program was:" >&5
8840 sed 's/^/| /' conftest.$ac_ext >&5
8842 ac_cv_lib_ncurses_waddch=no
8844 rm -f conftest.err conftest.$ac_objext \
8845 conftest$ac_exeext conftest.$ac_ext
8846 LIBS=$ac_check_lib_save_LIBS
8848 echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
8849 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6
8850 if test $ac_cv_lib_ncurses_waddch = yes; then
8852 cat >>confdefs.h <<\_ACEOF
8853 #define HAVE_LIBNCURSES 1
8854 _ACEOF
8856 CURSESLIBS="-lncurses"
8859 elif test "$ac_cv_header_curses_h" = "yes"
8860 then
8861 echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
8862 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6
8863 if test "${ac_cv_lib_curses_waddch+set}" = set; then
8864 echo $ECHO_N "(cached) $ECHO_C" >&6
8865 else
8866 ac_check_lib_save_LIBS=$LIBS
8867 LIBS="-lcurses $LIBS"
8868 cat >conftest.$ac_ext <<_ACEOF
8869 /* confdefs.h. */
8870 _ACEOF
8871 cat confdefs.h >>conftest.$ac_ext
8872 cat >>conftest.$ac_ext <<_ACEOF
8873 /* end confdefs.h. */
8875 /* Override any gcc2 internal prototype to avoid an error. */
8876 #ifdef __cplusplus
8877 extern "C"
8878 #endif
8879 /* We use char because int might match the return type of a gcc2
8880 builtin and then its argument prototype would still apply. */
8881 char waddch ();
8883 main ()
8885 waddch ();
8887 return 0;
8889 _ACEOF
8890 rm -f conftest.$ac_objext conftest$ac_exeext
8891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8892 (eval $ac_link) 2>conftest.er1
8893 ac_status=$?
8894 grep -v '^ *+' conftest.er1 >conftest.err
8895 rm -f conftest.er1
8896 cat conftest.err >&5
8897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8898 (exit $ac_status); } &&
8899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8901 (eval $ac_try) 2>&5
8902 ac_status=$?
8903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8904 (exit $ac_status); }; } &&
8905 { ac_try='test -s conftest$ac_exeext'
8906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8907 (eval $ac_try) 2>&5
8908 ac_status=$?
8909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8910 (exit $ac_status); }; }; then
8911 ac_cv_lib_curses_waddch=yes
8912 else
8913 echo "$as_me: failed program was:" >&5
8914 sed 's/^/| /' conftest.$ac_ext >&5
8916 ac_cv_lib_curses_waddch=no
8918 rm -f conftest.err conftest.$ac_objext \
8919 conftest$ac_exeext conftest.$ac_ext
8920 LIBS=$ac_check_lib_save_LIBS
8922 echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
8923 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6
8924 if test $ac_cv_lib_curses_waddch = yes; then
8926 cat >>confdefs.h <<\_ACEOF
8927 #define HAVE_LIBCURSES 1
8928 _ACEOF
8930 CURSESLIBS="-lcurses"
8937 # Extract the first word of "sane-config", so it can be a program name with args.
8938 set dummy sane-config; ac_word=$2
8939 echo "$as_me:$LINENO: checking for $ac_word" >&5
8940 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8941 if test "${ac_cv_prog_sane_devel+set}" = set; then
8942 echo $ECHO_N "(cached) $ECHO_C" >&6
8943 else
8944 if test -n "$sane_devel"; then
8945 ac_cv_prog_sane_devel="$sane_devel" # Let the user override the test.
8946 else
8947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8948 for as_dir in $PATH
8950 IFS=$as_save_IFS
8951 test -z "$as_dir" && as_dir=.
8952 for ac_exec_ext in '' $ac_executable_extensions; do
8953 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8954 ac_cv_prog_sane_devel="sane-config"
8955 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8956 break 2
8958 done
8959 done
8961 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel="no"
8964 sane_devel=$ac_cv_prog_sane_devel
8965 if test -n "$sane_devel"; then
8966 echo "$as_me:$LINENO: result: $sane_devel" >&5
8967 echo "${ECHO_T}$sane_devel" >&6
8968 else
8969 echo "$as_me:$LINENO: result: no" >&5
8970 echo "${ECHO_T}no" >&6
8973 SANELIBS=""
8975 SANEINCL=""
8977 if test "$sane_devel" != "no"
8978 then
8979 SANELIBS="`$sane_devel --libs`"
8980 SANEINCL="`$sane_devel --cflags`"
8981 ac_save_CPPFLAGS="$CPPFLAGS"
8982 ac_save_LIBS="$LIBS"
8983 CPPFLAGS="$CPPFLAGS $SANEINCL"
8984 LIBS="$LIBS $SANELIBS"
8985 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8986 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
8987 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
8988 if test "${ac_cv_header_sane_sane_h+set}" = set; then
8989 echo $ECHO_N "(cached) $ECHO_C" >&6
8991 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
8992 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
8993 else
8994 # Is the header compilable?
8995 echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
8996 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6
8997 cat >conftest.$ac_ext <<_ACEOF
8998 /* confdefs.h. */
8999 _ACEOF
9000 cat confdefs.h >>conftest.$ac_ext
9001 cat >>conftest.$ac_ext <<_ACEOF
9002 /* end confdefs.h. */
9003 $ac_includes_default
9004 #include <sane/sane.h>
9005 _ACEOF
9006 rm -f conftest.$ac_objext
9007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9008 (eval $ac_compile) 2>conftest.er1
9009 ac_status=$?
9010 grep -v '^ *+' conftest.er1 >conftest.err
9011 rm -f conftest.er1
9012 cat conftest.err >&5
9013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9014 (exit $ac_status); } &&
9015 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9017 (eval $ac_try) 2>&5
9018 ac_status=$?
9019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9020 (exit $ac_status); }; } &&
9021 { ac_try='test -s conftest.$ac_objext'
9022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9023 (eval $ac_try) 2>&5
9024 ac_status=$?
9025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9026 (exit $ac_status); }; }; then
9027 ac_header_compiler=yes
9028 else
9029 echo "$as_me: failed program was:" >&5
9030 sed 's/^/| /' conftest.$ac_ext >&5
9032 ac_header_compiler=no
9034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9035 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9036 echo "${ECHO_T}$ac_header_compiler" >&6
9038 # Is the header present?
9039 echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
9040 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6
9041 cat >conftest.$ac_ext <<_ACEOF
9042 /* confdefs.h. */
9043 _ACEOF
9044 cat confdefs.h >>conftest.$ac_ext
9045 cat >>conftest.$ac_ext <<_ACEOF
9046 /* end confdefs.h. */
9047 #include <sane/sane.h>
9048 _ACEOF
9049 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9050 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9051 ac_status=$?
9052 grep -v '^ *+' conftest.er1 >conftest.err
9053 rm -f conftest.er1
9054 cat conftest.err >&5
9055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9056 (exit $ac_status); } >/dev/null; then
9057 if test -s conftest.err; then
9058 ac_cpp_err=$ac_c_preproc_warn_flag
9059 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9060 else
9061 ac_cpp_err=
9063 else
9064 ac_cpp_err=yes
9066 if test -z "$ac_cpp_err"; then
9067 ac_header_preproc=yes
9068 else
9069 echo "$as_me: failed program was:" >&5
9070 sed 's/^/| /' conftest.$ac_ext >&5
9072 ac_header_preproc=no
9074 rm -f conftest.err conftest.$ac_ext
9075 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9076 echo "${ECHO_T}$ac_header_preproc" >&6
9078 # So? What about this header?
9079 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9080 yes:no: )
9081 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
9082 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9083 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
9084 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
9085 ac_header_preproc=yes
9087 no:yes:* )
9088 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
9089 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
9090 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
9091 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
9092 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
9093 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
9094 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
9095 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
9096 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
9097 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
9098 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
9099 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
9101 cat <<\_ASBOX
9102 ## ------------------------------------ ##
9103 ## Report this to wine-devel@winehq.org ##
9104 ## ------------------------------------ ##
9105 _ASBOX
9107 sed "s/^/$as_me: WARNING: /" >&2
9109 esac
9110 echo "$as_me:$LINENO: checking for sane/sane.h" >&5
9111 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6
9112 if test "${ac_cv_header_sane_sane_h+set}" = set; then
9113 echo $ECHO_N "(cached) $ECHO_C" >&6
9114 else
9115 ac_cv_header_sane_sane_h=$ac_header_preproc
9117 echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
9118 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6
9121 if test $ac_cv_header_sane_sane_h = yes; then
9122 echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
9123 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6
9124 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
9125 echo $ECHO_N "(cached) $ECHO_C" >&6
9126 else
9127 ac_check_lib_save_LIBS=$LIBS
9128 LIBS="-lsane $LIBS"
9129 cat >conftest.$ac_ext <<_ACEOF
9130 /* confdefs.h. */
9131 _ACEOF
9132 cat confdefs.h >>conftest.$ac_ext
9133 cat >>conftest.$ac_ext <<_ACEOF
9134 /* end confdefs.h. */
9136 /* Override any gcc2 internal prototype to avoid an error. */
9137 #ifdef __cplusplus
9138 extern "C"
9139 #endif
9140 /* We use char because int might match the return type of a gcc2
9141 builtin and then its argument prototype would still apply. */
9142 char sane_open ();
9144 main ()
9146 sane_open ();
9148 return 0;
9150 _ACEOF
9151 rm -f conftest.$ac_objext conftest$ac_exeext
9152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9153 (eval $ac_link) 2>conftest.er1
9154 ac_status=$?
9155 grep -v '^ *+' conftest.er1 >conftest.err
9156 rm -f conftest.er1
9157 cat conftest.err >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); } &&
9160 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9162 (eval $ac_try) 2>&5
9163 ac_status=$?
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; } &&
9166 { ac_try='test -s conftest$ac_exeext'
9167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9168 (eval $ac_try) 2>&5
9169 ac_status=$?
9170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9171 (exit $ac_status); }; }; then
9172 ac_cv_lib_sane_sane_open=yes
9173 else
9174 echo "$as_me: failed program was:" >&5
9175 sed 's/^/| /' conftest.$ac_ext >&5
9177 ac_cv_lib_sane_sane_open=no
9179 rm -f conftest.err conftest.$ac_objext \
9180 conftest$ac_exeext conftest.$ac_ext
9181 LIBS=$ac_check_lib_save_LIBS
9183 echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
9184 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6
9185 if test $ac_cv_lib_sane_sane_open = yes; then
9187 cat >>confdefs.h <<\_ACEOF
9188 #define HAVE_SANE 1
9189 _ACEOF
9191 else
9192 SANELIBS=""
9193 SANEINCL=""
9196 else
9197 SANELIBS=""
9198 SANEINCL=""
9202 LIBS="$ac_save_LIBS"
9203 CPPFLAGS="$ac_save_CPPFLAGS"
9206 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
9207 then
9208 saved_libs="$LIBS"
9209 ICU_LIB_DIR="${ICU_LIB_DIR-/usr/lib}"
9210 ICUUC_LIB="${ICUUC_LIB-$ICU_LIB_DIR/libsicuuc.a}"
9211 ICUDATA_LIB="${ICUDATA_LIB-$ICU_LIB_DIR/libsicudata.a}"
9212 echo "$as_me:$LINENO: checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB" >&5
9213 echo $ECHO_N "checking whether can link with ICU libraries $ICUUC_LIB and $ICUDATA_LIB... $ECHO_C" >&6
9214 LIBS="$LIBS $ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
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. */
9221 #include <unicode/ubidi.h>
9223 main ()
9225 ubidi_open()
9227 return 0;
9229 _ACEOF
9230 rm -f conftest.$ac_objext conftest$ac_exeext
9231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9232 (eval $ac_link) 2>conftest.er1
9233 ac_status=$?
9234 grep -v '^ *+' conftest.er1 >conftest.err
9235 rm -f conftest.er1
9236 cat conftest.err >&5
9237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9238 (exit $ac_status); } &&
9239 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9241 (eval $ac_try) 2>&5
9242 ac_status=$?
9243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9244 (exit $ac_status); }; } &&
9245 { ac_try='test -s conftest$ac_exeext'
9246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9247 (eval $ac_try) 2>&5
9248 ac_status=$?
9249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9250 (exit $ac_status); }; }; then
9252 cat >>confdefs.h <<\_ACEOF
9253 #define HAVE_ICU 1
9254 _ACEOF
9256 ICULIBS="$ICUUC_LIB $ICUDATA_LIB -lstdc++ -lgcc_s"
9258 echo "$as_me:$LINENO: result: yes" >&5
9259 echo "${ECHO_T}yes" >&6
9260 else
9261 echo "$as_me: failed program was:" >&5
9262 sed 's/^/| /' conftest.$ac_ext >&5
9264 echo "$as_me:$LINENO: result: no" >&5
9265 echo "${ECHO_T}no" >&6
9267 rm -f conftest.err conftest.$ac_objext \
9268 conftest$ac_exeext conftest.$ac_ext
9269 LIBS="$saved_libs"
9272 LCMSLIBS=""
9274 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9275 then
9276 echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
9277 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6
9278 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
9279 echo $ECHO_N "(cached) $ECHO_C" >&6
9280 else
9281 ac_check_lib_save_LIBS=$LIBS
9282 LIBS="-llcms $LIBS"
9283 cat >conftest.$ac_ext <<_ACEOF
9284 /* confdefs.h. */
9285 _ACEOF
9286 cat confdefs.h >>conftest.$ac_ext
9287 cat >>conftest.$ac_ext <<_ACEOF
9288 /* end confdefs.h. */
9290 /* Override any gcc2 internal prototype to avoid an error. */
9291 #ifdef __cplusplus
9292 extern "C"
9293 #endif
9294 /* We use char because int might match the return type of a gcc2
9295 builtin and then its argument prototype would still apply. */
9296 char cmsOpenProfileFromFile ();
9298 main ()
9300 cmsOpenProfileFromFile ();
9302 return 0;
9304 _ACEOF
9305 rm -f conftest.$ac_objext conftest$ac_exeext
9306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9307 (eval $ac_link) 2>conftest.er1
9308 ac_status=$?
9309 grep -v '^ *+' conftest.er1 >conftest.err
9310 rm -f conftest.er1
9311 cat conftest.err >&5
9312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9313 (exit $ac_status); } &&
9314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9316 (eval $ac_try) 2>&5
9317 ac_status=$?
9318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9319 (exit $ac_status); }; } &&
9320 { ac_try='test -s conftest$ac_exeext'
9321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9322 (eval $ac_try) 2>&5
9323 ac_status=$?
9324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9325 (exit $ac_status); }; }; then
9326 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
9327 else
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
9333 rm -f conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 LIBS=$ac_check_lib_save_LIBS
9337 echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
9338 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6
9339 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
9341 cat >>confdefs.h <<\_ACEOF
9342 #define HAVE_LCMS 1
9343 _ACEOF
9345 LCMSLIBS="-llcms"
9350 LDAPLIBS=""
9352 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
9353 then
9354 echo "$as_me:$LINENO: checking for ldap_init in -lldap" >&5
9355 echo $ECHO_N "checking for ldap_init in -lldap... $ECHO_C" >&6
9356 if test "${ac_cv_lib_ldap_ldap_init+set}" = set; then
9357 echo $ECHO_N "(cached) $ECHO_C" >&6
9358 else
9359 ac_check_lib_save_LIBS=$LIBS
9360 LIBS="-lldap $LIBS"
9361 cat >conftest.$ac_ext <<_ACEOF
9362 /* confdefs.h. */
9363 _ACEOF
9364 cat confdefs.h >>conftest.$ac_ext
9365 cat >>conftest.$ac_ext <<_ACEOF
9366 /* end confdefs.h. */
9368 /* Override any gcc2 internal prototype to avoid an error. */
9369 #ifdef __cplusplus
9370 extern "C"
9371 #endif
9372 /* We use char because int might match the return type of a gcc2
9373 builtin and then its argument prototype would still apply. */
9374 char ldap_init ();
9376 main ()
9378 ldap_init ();
9380 return 0;
9382 _ACEOF
9383 rm -f conftest.$ac_objext conftest$ac_exeext
9384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9385 (eval $ac_link) 2>conftest.er1
9386 ac_status=$?
9387 grep -v '^ *+' conftest.er1 >conftest.err
9388 rm -f conftest.er1
9389 cat conftest.err >&5
9390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); } &&
9392 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9394 (eval $ac_try) 2>&5
9395 ac_status=$?
9396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9397 (exit $ac_status); }; } &&
9398 { ac_try='test -s conftest$ac_exeext'
9399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9400 (eval $ac_try) 2>&5
9401 ac_status=$?
9402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9403 (exit $ac_status); }; }; then
9404 ac_cv_lib_ldap_ldap_init=yes
9405 else
9406 echo "$as_me: failed program was:" >&5
9407 sed 's/^/| /' conftest.$ac_ext >&5
9409 ac_cv_lib_ldap_ldap_init=no
9411 rm -f conftest.err conftest.$ac_objext \
9412 conftest$ac_exeext conftest.$ac_ext
9413 LIBS=$ac_check_lib_save_LIBS
9415 echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_ldap_init" >&5
9416 echo "${ECHO_T}$ac_cv_lib_ldap_ldap_init" >&6
9417 if test $ac_cv_lib_ldap_ldap_init = yes; then
9418 echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
9419 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6
9420 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
9421 echo $ECHO_N "(cached) $ECHO_C" >&6
9422 else
9423 ac_check_lib_save_LIBS=$LIBS
9424 LIBS="-llber $LIBS"
9425 cat >conftest.$ac_ext <<_ACEOF
9426 /* confdefs.h. */
9427 _ACEOF
9428 cat confdefs.h >>conftest.$ac_ext
9429 cat >>conftest.$ac_ext <<_ACEOF
9430 /* end confdefs.h. */
9432 /* Override any gcc2 internal prototype to avoid an error. */
9433 #ifdef __cplusplus
9434 extern "C"
9435 #endif
9436 /* We use char because int might match the return type of a gcc2
9437 builtin and then its argument prototype would still apply. */
9438 char ber_init ();
9440 main ()
9442 ber_init ();
9444 return 0;
9446 _ACEOF
9447 rm -f conftest.$ac_objext conftest$ac_exeext
9448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9449 (eval $ac_link) 2>conftest.er1
9450 ac_status=$?
9451 grep -v '^ *+' conftest.er1 >conftest.err
9452 rm -f conftest.er1
9453 cat conftest.err >&5
9454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9455 (exit $ac_status); } &&
9456 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9458 (eval $ac_try) 2>&5
9459 ac_status=$?
9460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9461 (exit $ac_status); }; } &&
9462 { ac_try='test -s conftest$ac_exeext'
9463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9464 (eval $ac_try) 2>&5
9465 ac_status=$?
9466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9467 (exit $ac_status); }; }; then
9468 ac_cv_lib_lber_ber_init=yes
9469 else
9470 echo "$as_me: failed program was:" >&5
9471 sed 's/^/| /' conftest.$ac_ext >&5
9473 ac_cv_lib_lber_ber_init=no
9475 rm -f conftest.err conftest.$ac_objext \
9476 conftest$ac_exeext conftest.$ac_ext
9477 LIBS=$ac_check_lib_save_LIBS
9479 echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
9480 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6
9481 if test $ac_cv_lib_lber_ber_init = yes; then
9483 cat >>confdefs.h <<\_ACEOF
9484 #define HAVE_LDAP 1
9485 _ACEOF
9487 LDAPLIBS="-lldap -llber"
9494 FREETYPELIBS=""
9496 FREETYPEINCL=""
9498 echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
9499 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6
9500 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
9501 echo $ECHO_N "(cached) $ECHO_C" >&6
9502 else
9503 ac_check_lib_save_LIBS=$LIBS
9504 LIBS="-lfreetype $X_LIBS $LIBS"
9505 cat >conftest.$ac_ext <<_ACEOF
9506 /* confdefs.h. */
9507 _ACEOF
9508 cat confdefs.h >>conftest.$ac_ext
9509 cat >>conftest.$ac_ext <<_ACEOF
9510 /* end confdefs.h. */
9512 /* Override any gcc2 internal prototype to avoid an error. */
9513 #ifdef __cplusplus
9514 extern "C"
9515 #endif
9516 /* We use char because int might match the return type of a gcc2
9517 builtin and then its argument prototype would still apply. */
9518 char FT_Init_FreeType ();
9520 main ()
9522 FT_Init_FreeType ();
9524 return 0;
9526 _ACEOF
9527 rm -f conftest.$ac_objext conftest$ac_exeext
9528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9529 (eval $ac_link) 2>conftest.er1
9530 ac_status=$?
9531 grep -v '^ *+' conftest.er1 >conftest.err
9532 rm -f conftest.er1
9533 cat conftest.err >&5
9534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9535 (exit $ac_status); } &&
9536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9538 (eval $ac_try) 2>&5
9539 ac_status=$?
9540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9541 (exit $ac_status); }; } &&
9542 { ac_try='test -s conftest$ac_exeext'
9543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9544 (eval $ac_try) 2>&5
9545 ac_status=$?
9546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9547 (exit $ac_status); }; }; then
9548 ac_cv_lib_freetype_FT_Init_FreeType=yes
9549 else
9550 echo "$as_me: failed program was:" >&5
9551 sed 's/^/| /' conftest.$ac_ext >&5
9553 ac_cv_lib_freetype_FT_Init_FreeType=no
9555 rm -f conftest.err conftest.$ac_objext \
9556 conftest$ac_exeext conftest.$ac_ext
9557 LIBS=$ac_check_lib_save_LIBS
9559 echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
9560 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6
9561 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
9562 ft_lib=yes
9563 else
9564 ft_lib=no
9567 if test "$ft_lib" = "no"
9568 then
9569 wine_cv_msg_freetype=no
9570 else
9571 # Extract the first word of "freetype-config", so it can be a program name with args.
9572 set dummy freetype-config; ac_word=$2
9573 echo "$as_me:$LINENO: checking for $ac_word" >&5
9574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9575 if test "${ac_cv_prog_ft_devel+set}" = set; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9577 else
9578 if test -n "$ft_devel"; then
9579 ac_cv_prog_ft_devel="$ft_devel" # Let the user override the test.
9580 else
9581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9582 for as_dir in $PATH
9584 IFS=$as_save_IFS
9585 test -z "$as_dir" && as_dir=.
9586 for ac_exec_ext in '' $ac_executable_extensions; do
9587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9588 ac_cv_prog_ft_devel="freetype-config"
9589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9590 break 2
9592 done
9593 done
9595 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel="no"
9598 ft_devel=$ac_cv_prog_ft_devel
9599 if test -n "$ft_devel"; then
9600 echo "$as_me:$LINENO: result: $ft_devel" >&5
9601 echo "${ECHO_T}$ft_devel" >&6
9602 else
9603 echo "$as_me:$LINENO: result: no" >&5
9604 echo "${ECHO_T}no" >&6
9607 if test "$ft_devel" = "no"
9608 then
9609 # Extract the first word of "freetype2-config", so it can be a program name with args.
9610 set dummy freetype2-config; ac_word=$2
9611 echo "$as_me:$LINENO: checking for $ac_word" >&5
9612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
9613 if test "${ac_cv_prog_ft_devel2+set}" = set; then
9614 echo $ECHO_N "(cached) $ECHO_C" >&6
9615 else
9616 if test -n "$ft_devel2"; then
9617 ac_cv_prog_ft_devel2="$ft_devel2" # Let the user override the test.
9618 else
9619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 for as_dir in $PATH
9622 IFS=$as_save_IFS
9623 test -z "$as_dir" && as_dir=.
9624 for ac_exec_ext in '' $ac_executable_extensions; do
9625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9626 ac_cv_prog_ft_devel2="freetype2-config"
9627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9628 break 2
9630 done
9631 done
9633 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2="no"
9636 ft_devel2=$ac_cv_prog_ft_devel2
9637 if test -n "$ft_devel2"; then
9638 echo "$as_me:$LINENO: result: $ft_devel2" >&5
9639 echo "${ECHO_T}$ft_devel2" >&6
9640 else
9641 echo "$as_me:$LINENO: result: no" >&5
9642 echo "${ECHO_T}no" >&6
9645 if test "$ft_devel2" = "freetype2-config"
9646 then
9647 ft_devel=$ft_devel2
9650 if test "$ft_devel" = "no"
9651 then
9652 wine_cv_msg_freetype=yes
9653 else
9654 FREETYPELIBS=`$ft_devel --libs`
9655 FREETYPEINCL=`$ft_devel --cflags`
9656 ac_save_CPPFLAGS="$CPPFLAGS"
9657 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
9668 for ac_header in ft2build.h \
9669 freetype/freetype.h \
9670 freetype/ftglyph.h \
9671 freetype/tttables.h \
9672 freetype/ftnames.h \
9673 freetype/ftsnames.h \
9674 freetype/ttnameid.h \
9675 freetype/ftoutln.h \
9676 freetype/ftwinfnt.h \
9677 freetype/internal/sfnt.h
9679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9680 echo "$as_me:$LINENO: checking for $ac_header" >&5
9681 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9683 echo $ECHO_N "(cached) $ECHO_C" >&6
9684 else
9685 cat >conftest.$ac_ext <<_ACEOF
9686 /* confdefs.h. */
9687 _ACEOF
9688 cat confdefs.h >>conftest.$ac_ext
9689 cat >>conftest.$ac_ext <<_ACEOF
9690 /* end confdefs.h. */
9691 #if HAVE_FT2BUILD_H
9692 #include <ft2build.h>
9693 #endif
9695 #include <$ac_header>
9696 _ACEOF
9697 rm -f conftest.$ac_objext
9698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9699 (eval $ac_compile) 2>conftest.er1
9700 ac_status=$?
9701 grep -v '^ *+' conftest.er1 >conftest.err
9702 rm -f conftest.er1
9703 cat conftest.err >&5
9704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9705 (exit $ac_status); } &&
9706 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9708 (eval $ac_try) 2>&5
9709 ac_status=$?
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); }; } &&
9712 { ac_try='test -s conftest.$ac_objext'
9713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9714 (eval $ac_try) 2>&5
9715 ac_status=$?
9716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9717 (exit $ac_status); }; }; then
9718 eval "$as_ac_Header=yes"
9719 else
9720 echo "$as_me: failed program was:" >&5
9721 sed 's/^/| /' conftest.$ac_ext >&5
9723 eval "$as_ac_Header=no"
9725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9729 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9730 cat >>confdefs.h <<_ACEOF
9731 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9732 _ACEOF
9736 done
9738 cat >conftest.$ac_ext <<_ACEOF
9739 /* confdefs.h. */
9740 _ACEOF
9741 cat confdefs.h >>conftest.$ac_ext
9742 cat >>conftest.$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9744 #include <ft2build.h>
9745 #include <freetype/fttrigon.h>
9746 _ACEOF
9747 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9748 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
9749 ac_status=$?
9750 grep -v '^ *+' conftest.er1 >conftest.err
9751 rm -f conftest.er1
9752 cat conftest.err >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); } >/dev/null; then
9755 if test -s conftest.err; then
9756 ac_cpp_err=$ac_c_preproc_warn_flag
9757 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
9758 else
9759 ac_cpp_err=
9761 else
9762 ac_cpp_err=yes
9764 if test -z "$ac_cpp_err"; then
9766 cat >>confdefs.h <<\_ACEOF
9767 #define HAVE_FREETYPE_FTTRIGON_H 1
9768 _ACEOF
9770 wine_cv_fttrigon=yes
9771 else
9772 echo "$as_me: failed program was:" >&5
9773 sed 's/^/| /' conftest.$ac_ext >&5
9775 wine_cv_fttrigon=no
9777 rm -f conftest.err conftest.$ac_ext
9778 CPPFLAGS="$ac_save_CPPFLAGS"
9779 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
9780 then
9782 cat >>confdefs.h <<\_ACEOF
9783 #define HAVE_FREETYPE 1
9784 _ACEOF
9786 wine_cv_msg_freetype=no
9787 else
9788 FREETYPELIBS=""
9789 FREETYPEINCL=""
9790 wine_cv_msg_freetype=yes
9795 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
9796 then
9797 FONTSSUBDIRS="fonts"
9801 echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
9802 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6
9803 if test "${ac_cv_c_ppdev+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9805 else
9806 cat >conftest.$ac_ext <<_ACEOF
9807 /* confdefs.h. */
9808 _ACEOF
9809 cat confdefs.h >>conftest.$ac_ext
9810 cat >>conftest.$ac_ext <<_ACEOF
9811 /* end confdefs.h. */
9812 #include <linux/ppdev.h>
9814 main ()
9816 ioctl (1,PPCLAIM,0)
9818 return 0;
9820 _ACEOF
9821 rm -f conftest.$ac_objext
9822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9823 (eval $ac_compile) 2>conftest.er1
9824 ac_status=$?
9825 grep -v '^ *+' conftest.er1 >conftest.err
9826 rm -f conftest.er1
9827 cat conftest.err >&5
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); } &&
9830 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9832 (eval $ac_try) 2>&5
9833 ac_status=$?
9834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9835 (exit $ac_status); }; } &&
9836 { ac_try='test -s conftest.$ac_objext'
9837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9838 (eval $ac_try) 2>&5
9839 ac_status=$?
9840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9841 (exit $ac_status); }; }; then
9842 ac_cv_c_ppdev="yes"
9843 else
9844 echo "$as_me: failed program was:" >&5
9845 sed 's/^/| /' conftest.$ac_ext >&5
9847 ac_cv_c_ppdev="no"
9849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9852 echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
9853 echo "${ECHO_T}$ac_cv_c_ppdev" >&6
9854 if test "$ac_cv_c_ppdev" = "yes"
9855 then
9857 cat >>confdefs.h <<\_ACEOF
9858 #define HAVE_PPDEV 1
9859 _ACEOF
9863 echo "$as_me:$LINENO: checking for va_copy" >&5
9864 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
9865 if test "${ac_cv_c_va_copy+set}" = set; then
9866 echo $ECHO_N "(cached) $ECHO_C" >&6
9867 else
9868 cat >conftest.$ac_ext <<_ACEOF
9869 /* confdefs.h. */
9870 _ACEOF
9871 cat confdefs.h >>conftest.$ac_ext
9872 cat >>conftest.$ac_ext <<_ACEOF
9873 /* end confdefs.h. */
9874 #include <stdarg.h>
9876 main ()
9878 va_list ap1, ap2;
9879 va_copy(ap1,ap2);
9882 return 0;
9884 _ACEOF
9885 rm -f conftest.$ac_objext conftest$ac_exeext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>conftest.er1
9888 ac_status=$?
9889 grep -v '^ *+' conftest.er1 >conftest.err
9890 rm -f conftest.er1
9891 cat conftest.err >&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9896 (eval $ac_try) 2>&5
9897 ac_status=$?
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try='test -s conftest$ac_exeext'
9901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9902 (eval $ac_try) 2>&5
9903 ac_status=$?
9904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9905 (exit $ac_status); }; }; then
9906 ac_cv_c_va_copy="yes"
9907 else
9908 echo "$as_me: failed program was:" >&5
9909 sed 's/^/| /' conftest.$ac_ext >&5
9911 ac_cv_c_va_copy="no"
9913 rm -f conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9917 echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
9918 echo "${ECHO_T}$ac_cv_c_va_copy" >&6
9919 if test "$ac_cv_c_va_copy" = "yes"
9920 then
9922 cat >>confdefs.h <<\_ACEOF
9923 #define HAVE_VA_COPY 1
9924 _ACEOF
9927 echo "$as_me:$LINENO: checking for __va_copy" >&5
9928 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6
9929 if test "${ac_cv_c___va_copy+set}" = set; then
9930 echo $ECHO_N "(cached) $ECHO_C" >&6
9931 else
9932 cat >conftest.$ac_ext <<_ACEOF
9933 /* confdefs.h. */
9934 _ACEOF
9935 cat confdefs.h >>conftest.$ac_ext
9936 cat >>conftest.$ac_ext <<_ACEOF
9937 /* end confdefs.h. */
9938 #include <stdarg.h>
9940 main ()
9942 va_list ap1, ap2;
9943 __va_copy(ap1,ap2);
9946 return 0;
9948 _ACEOF
9949 rm -f conftest.$ac_objext conftest$ac_exeext
9950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9951 (eval $ac_link) 2>conftest.er1
9952 ac_status=$?
9953 grep -v '^ *+' conftest.er1 >conftest.err
9954 rm -f conftest.er1
9955 cat conftest.err >&5
9956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9957 (exit $ac_status); } &&
9958 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960 (eval $ac_try) 2>&5
9961 ac_status=$?
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; } &&
9964 { ac_try='test -s conftest$ac_exeext'
9965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9966 (eval $ac_try) 2>&5
9967 ac_status=$?
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); }; }; then
9970 ac_cv_c___va_copy="yes"
9971 else
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.$ac_ext >&5
9975 ac_cv_c___va_copy="no"
9977 rm -f conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9981 echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
9982 echo "${ECHO_T}$ac_cv_c___va_copy" >&6
9983 if test "$ac_cv_c___va_copy" = "yes"
9984 then
9986 cat >>confdefs.h <<\_ACEOF
9987 #define HAVE___VA_COPY 1
9988 _ACEOF
9992 echo "$as_me:$LINENO: checking for sigsetjmp" >&5
9993 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6
9994 if test "${ac_cv_c_sigsetjmp+set}" = set; then
9995 echo $ECHO_N "(cached) $ECHO_C" >&6
9996 else
9997 cat >conftest.$ac_ext <<_ACEOF
9998 /* confdefs.h. */
9999 _ACEOF
10000 cat confdefs.h >>conftest.$ac_ext
10001 cat >>conftest.$ac_ext <<_ACEOF
10002 /* end confdefs.h. */
10003 #include <setjmp.h>
10005 main ()
10007 sigjmp_buf buf;
10008 sigsetjmp( buf, 1 );
10009 siglongjmp( buf, 1 );
10011 return 0;
10013 _ACEOF
10014 rm -f conftest.$ac_objext conftest$ac_exeext
10015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10016 (eval $ac_link) 2>conftest.er1
10017 ac_status=$?
10018 grep -v '^ *+' conftest.er1 >conftest.err
10019 rm -f conftest.er1
10020 cat conftest.err >&5
10021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10022 (exit $ac_status); } &&
10023 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10025 (eval $ac_try) 2>&5
10026 ac_status=$?
10027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10028 (exit $ac_status); }; } &&
10029 { ac_try='test -s conftest$ac_exeext'
10030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10031 (eval $ac_try) 2>&5
10032 ac_status=$?
10033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10034 (exit $ac_status); }; }; then
10035 ac_cv_c_sigsetjmp="yes"
10036 else
10037 echo "$as_me: failed program was:" >&5
10038 sed 's/^/| /' conftest.$ac_ext >&5
10040 ac_cv_c_sigsetjmp="no"
10042 rm -f conftest.err conftest.$ac_objext \
10043 conftest$ac_exeext conftest.$ac_ext
10046 echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
10047 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6
10048 if test "$ac_cv_c_sigsetjmp" = "yes"
10049 then
10051 cat >>confdefs.h <<\_ACEOF
10052 #define HAVE_SIGSETJMP 1
10053 _ACEOF
10057 echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
10058 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6
10059 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
10060 echo $ECHO_N "(cached) $ECHO_C" >&6
10061 else
10062 cat >conftest.$ac_ext <<_ACEOF
10063 /* confdefs.h. */
10064 _ACEOF
10065 cat confdefs.h >>conftest.$ac_ext
10066 cat >>conftest.$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10068 #define _GNU_SOURCE
10069 #include <pthread.h>
10072 main ()
10074 if ((pthread_rwlock_t *) 0)
10075 return 0;
10076 if (sizeof (pthread_rwlock_t))
10077 return 0;
10079 return 0;
10081 _ACEOF
10082 rm -f conftest.$ac_objext
10083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10084 (eval $ac_compile) 2>conftest.er1
10085 ac_status=$?
10086 grep -v '^ *+' conftest.er1 >conftest.err
10087 rm -f conftest.er1
10088 cat conftest.err >&5
10089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10090 (exit $ac_status); } &&
10091 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10093 (eval $ac_try) 2>&5
10094 ac_status=$?
10095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10096 (exit $ac_status); }; } &&
10097 { ac_try='test -s conftest.$ac_objext'
10098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10099 (eval $ac_try) 2>&5
10100 ac_status=$?
10101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10102 (exit $ac_status); }; }; then
10103 ac_cv_type_pthread_rwlock_t=yes
10104 else
10105 echo "$as_me: failed program was:" >&5
10106 sed 's/^/| /' conftest.$ac_ext >&5
10108 ac_cv_type_pthread_rwlock_t=no
10110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10112 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
10113 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6
10114 if test $ac_cv_type_pthread_rwlock_t = yes; then
10116 cat >>confdefs.h <<_ACEOF
10117 #define HAVE_PTHREAD_RWLOCK_T 1
10118 _ACEOF
10122 echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
10123 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6
10124 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
10125 echo $ECHO_N "(cached) $ECHO_C" >&6
10126 else
10127 cat >conftest.$ac_ext <<_ACEOF
10128 /* confdefs.h. */
10129 _ACEOF
10130 cat confdefs.h >>conftest.$ac_ext
10131 cat >>conftest.$ac_ext <<_ACEOF
10132 /* end confdefs.h. */
10133 #define _GNU_SOURCE
10134 #include <pthread.h>
10137 main ()
10139 if ((pthread_rwlockattr_t *) 0)
10140 return 0;
10141 if (sizeof (pthread_rwlockattr_t))
10142 return 0;
10144 return 0;
10146 _ACEOF
10147 rm -f conftest.$ac_objext
10148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10149 (eval $ac_compile) 2>conftest.er1
10150 ac_status=$?
10151 grep -v '^ *+' conftest.er1 >conftest.err
10152 rm -f conftest.er1
10153 cat conftest.err >&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); } &&
10156 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10158 (eval $ac_try) 2>&5
10159 ac_status=$?
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; } &&
10162 { ac_try='test -s conftest.$ac_objext'
10163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10164 (eval $ac_try) 2>&5
10165 ac_status=$?
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); }; }; then
10168 ac_cv_type_pthread_rwlockattr_t=yes
10169 else
10170 echo "$as_me: failed program was:" >&5
10171 sed 's/^/| /' conftest.$ac_ext >&5
10173 ac_cv_type_pthread_rwlockattr_t=no
10175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10177 echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
10178 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6
10179 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
10181 cat >>confdefs.h <<_ACEOF
10182 #define HAVE_PTHREAD_RWLOCKATTR_T 1
10183 _ACEOF
10189 ac_save_LIBS="$LIBS"
10190 LIBS="$LIBS $LIBPTHREAD"
10194 for ac_func in \
10195 pthread_getattr_np \
10196 pthread_get_stackaddr_np \
10197 pthread_get_stacksize_np \
10200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10201 echo "$as_me:$LINENO: checking for $ac_func" >&5
10202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10203 if eval "test \"\${$as_ac_var+set}\" = set"; then
10204 echo $ECHO_N "(cached) $ECHO_C" >&6
10205 else
10206 cat >conftest.$ac_ext <<_ACEOF
10207 /* confdefs.h. */
10208 _ACEOF
10209 cat confdefs.h >>conftest.$ac_ext
10210 cat >>conftest.$ac_ext <<_ACEOF
10211 /* end confdefs.h. */
10212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10214 #define $ac_func innocuous_$ac_func
10216 /* System header to define __stub macros and hopefully few prototypes,
10217 which can conflict with char $ac_func (); below.
10218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10219 <limits.h> exists even on freestanding compilers. */
10221 #ifdef __STDC__
10222 # include <limits.h>
10223 #else
10224 # include <assert.h>
10225 #endif
10227 #undef $ac_func
10229 /* Override any gcc2 internal prototype to avoid an error. */
10230 #ifdef __cplusplus
10231 extern "C"
10233 #endif
10234 /* We use char because int might match the return type of a gcc2
10235 builtin and then its argument prototype would still apply. */
10236 char $ac_func ();
10237 /* The GNU C library defines this for functions which it implements
10238 to always fail with ENOSYS. Some functions are actually named
10239 something starting with __ and the normal name is an alias. */
10240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10241 choke me
10242 #else
10243 char (*f) () = $ac_func;
10244 #endif
10245 #ifdef __cplusplus
10247 #endif
10250 main ()
10252 return f != $ac_func;
10254 return 0;
10256 _ACEOF
10257 rm -f conftest.$ac_objext conftest$ac_exeext
10258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10259 (eval $ac_link) 2>conftest.er1
10260 ac_status=$?
10261 grep -v '^ *+' conftest.er1 >conftest.err
10262 rm -f conftest.er1
10263 cat conftest.err >&5
10264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10265 (exit $ac_status); } &&
10266 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10268 (eval $ac_try) 2>&5
10269 ac_status=$?
10270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10271 (exit $ac_status); }; } &&
10272 { ac_try='test -s conftest$ac_exeext'
10273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10274 (eval $ac_try) 2>&5
10275 ac_status=$?
10276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10277 (exit $ac_status); }; }; then
10278 eval "$as_ac_var=yes"
10279 else
10280 echo "$as_me: failed program was:" >&5
10281 sed 's/^/| /' conftest.$ac_ext >&5
10283 eval "$as_ac_var=no"
10285 rm -f conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10290 if test `eval echo '${'$as_ac_var'}'` = yes; then
10291 cat >>confdefs.h <<_ACEOF
10292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10293 _ACEOF
10296 done
10298 LIBS="$ac_save_LIBS"
10300 # Extract the first word of "artsc-config", so it can be a program name with args.
10301 set dummy artsc-config; ac_word=$2
10302 echo "$as_me:$LINENO: checking for $ac_word" >&5
10303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10304 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
10305 echo $ECHO_N "(cached) $ECHO_C" >&6
10306 else
10307 case $ARTSCCONFIG in
10308 [\\/]* | ?:[\\/]*)
10309 ac_cv_path_ARTSCCONFIG="$ARTSCCONFIG" # Let the user override the test with a path.
10312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10313 for as_dir in $PATH
10315 IFS=$as_save_IFS
10316 test -z "$as_dir" && as_dir=.
10317 for ac_exec_ext in '' $ac_executable_extensions; do
10318 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10319 ac_cv_path_ARTSCCONFIG="$as_dir/$ac_word$ac_exec_ext"
10320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10321 break 2
10323 done
10324 done
10327 esac
10329 ARTSCCONFIG=$ac_cv_path_ARTSCCONFIG
10331 if test -n "$ARTSCCONFIG"; then
10332 echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
10333 echo "${ECHO_T}$ARTSCCONFIG" >&6
10334 else
10335 echo "$as_me:$LINENO: result: no" >&5
10336 echo "${ECHO_T}no" >&6
10339 if test x$ARTSCCONFIG != x -a x$ARTSCCONFIG != x'"$ARTSCCONFIG"';
10340 then
10341 ARTSC_CFLAGS=""
10342 for i in `$ARTSCCONFIG --cflags`
10344 case "$i" in
10345 -I*) ARTSC_CFLAGS="$ARTSC_CFLAGS $i";;
10346 esac
10347 done
10348 ARTSC_LIBS=`$ARTSCCONFIG --libs`
10349 save_CFLAGS="$CFLAGS"
10350 CFLAGS="$CFLAGS $ARTSC_CFLAGS"
10351 echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
10352 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6
10353 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
10354 echo $ECHO_N "(cached) $ECHO_C" >&6
10355 else
10356 ac_check_lib_save_LIBS=$LIBS
10357 LIBS="-lartsc $ARTSC_LIBS $LIBS"
10358 cat >conftest.$ac_ext <<_ACEOF
10359 /* confdefs.h. */
10360 _ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10365 /* Override any gcc2 internal prototype to avoid an error. */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 /* We use char because int might match the return type of a gcc2
10370 builtin and then its argument prototype would still apply. */
10371 char arts_init ();
10373 main ()
10375 arts_init ();
10377 return 0;
10379 _ACEOF
10380 rm -f conftest.$ac_objext conftest$ac_exeext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382 (eval $ac_link) 2>conftest.er1
10383 ac_status=$?
10384 grep -v '^ *+' conftest.er1 >conftest.err
10385 rm -f conftest.er1
10386 cat conftest.err >&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); } &&
10389 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10391 (eval $ac_try) 2>&5
10392 ac_status=$?
10393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10394 (exit $ac_status); }; } &&
10395 { ac_try='test -s conftest$ac_exeext'
10396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10397 (eval $ac_try) 2>&5
10398 ac_status=$?
10399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); }; }; then
10401 ac_cv_lib_artsc_arts_init=yes
10402 else
10403 echo "$as_me: failed program was:" >&5
10404 sed 's/^/| /' conftest.$ac_ext >&5
10406 ac_cv_lib_artsc_arts_init=no
10408 rm -f conftest.err conftest.$ac_objext \
10409 conftest$ac_exeext conftest.$ac_ext
10410 LIBS=$ac_check_lib_save_LIBS
10412 echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
10413 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6
10414 if test $ac_cv_lib_artsc_arts_init = yes; then
10415 cat >conftest.$ac_ext <<_ACEOF
10416 /* confdefs.h. */
10417 _ACEOF
10418 cat confdefs.h >>conftest.$ac_ext
10419 cat >>conftest.$ac_ext <<_ACEOF
10420 /* end confdefs.h. */
10421 #include <artsc.h>
10423 main ()
10425 arts_stream_t stream;
10427 return 0;
10429 _ACEOF
10430 rm -f conftest.$ac_objext
10431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10432 (eval $ac_compile) 2>conftest.er1
10433 ac_status=$?
10434 grep -v '^ *+' conftest.er1 >conftest.err
10435 rm -f conftest.er1
10436 cat conftest.err >&5
10437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10438 (exit $ac_status); } &&
10439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10441 (eval $ac_try) 2>&5
10442 ac_status=$?
10443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10444 (exit $ac_status); }; } &&
10445 { ac_try='test -s conftest.$ac_objext'
10446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10447 (eval $ac_try) 2>&5
10448 ac_status=$?
10449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10450 (exit $ac_status); }; }; then
10451 ARTSLIBS=$ARTSC_LIBS
10453 ARTSINCL=$ARTSC_CFLAGS
10456 cat >>confdefs.h <<\_ACEOF
10457 #define HAVE_ARTS 1
10458 _ACEOF
10460 else
10461 echo "$as_me: failed program was:" >&5
10462 sed 's/^/| /' conftest.$ac_ext >&5
10465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10468 CFLAGS="$save_CFLAGS"
10471 # Extract the first word of "esd-config", so it can be a program name with args.
10472 set dummy esd-config; ac_word=$2
10473 echo "$as_me:$LINENO: checking for $ac_word" >&5
10474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
10475 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
10476 echo $ECHO_N "(cached) $ECHO_C" >&6
10477 else
10478 case $ESDCONFIG in
10479 [\\/]* | ?:[\\/]*)
10480 ac_cv_path_ESDCONFIG="$ESDCONFIG" # Let the user override the test with a path.
10483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10484 for as_dir in $PATH
10486 IFS=$as_save_IFS
10487 test -z "$as_dir" && as_dir=.
10488 for ac_exec_ext in '' $ac_executable_extensions; do
10489 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10490 ac_cv_path_ESDCONFIG="$as_dir/$ac_word$ac_exec_ext"
10491 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10492 break 2
10494 done
10495 done
10498 esac
10500 ESDCONFIG=$ac_cv_path_ESDCONFIG
10502 if test -n "$ESDCONFIG"; then
10503 echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
10504 echo "${ECHO_T}$ESDCONFIG" >&6
10505 else
10506 echo "$as_me:$LINENO: result: no" >&5
10507 echo "${ECHO_T}no" >&6
10510 if test x$ESDCONFIG != x -a x$ESDCONFIG != x'"$ESDCONFIG"';
10511 then
10512 ESD_CFLAGS=""
10513 for i in `$ESDCONFIG --cflags`
10515 case "$i" in
10516 -I*) ESD_CFLAGS="$ESD_CFLAGS $i";;
10517 esac
10518 done
10519 ESD_LIBS=`$ESDCONFIG --libs`
10520 save_CFLAGS="$CFLAGS"
10521 CFLAGS="$CFLAGS $ESD_CFLAGS"
10522 echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
10523 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6
10524 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
10525 echo $ECHO_N "(cached) $ECHO_C" >&6
10526 else
10527 ac_check_lib_save_LIBS=$LIBS
10528 LIBS="-lesd $LIBS"
10529 cat >conftest.$ac_ext <<_ACEOF
10530 /* confdefs.h. */
10531 _ACEOF
10532 cat confdefs.h >>conftest.$ac_ext
10533 cat >>conftest.$ac_ext <<_ACEOF
10534 /* end confdefs.h. */
10536 /* Override any gcc2 internal prototype to avoid an error. */
10537 #ifdef __cplusplus
10538 extern "C"
10539 #endif
10540 /* We use char because int might match the return type of a gcc2
10541 builtin and then its argument prototype would still apply. */
10542 char esd_open_sound ();
10544 main ()
10546 esd_open_sound ();
10548 return 0;
10550 _ACEOF
10551 rm -f conftest.$ac_objext conftest$ac_exeext
10552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10553 (eval $ac_link) 2>conftest.er1
10554 ac_status=$?
10555 grep -v '^ *+' conftest.er1 >conftest.err
10556 rm -f conftest.er1
10557 cat conftest.err >&5
10558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10559 (exit $ac_status); } &&
10560 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10562 (eval $ac_try) 2>&5
10563 ac_status=$?
10564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10565 (exit $ac_status); }; } &&
10566 { ac_try='test -s conftest$ac_exeext'
10567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10568 (eval $ac_try) 2>&5
10569 ac_status=$?
10570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10571 (exit $ac_status); }; }; then
10572 ac_cv_lib_esd_esd_open_sound=yes
10573 else
10574 echo "$as_me: failed program was:" >&5
10575 sed 's/^/| /' conftest.$ac_ext >&5
10577 ac_cv_lib_esd_esd_open_sound=no
10579 rm -f conftest.err conftest.$ac_objext \
10580 conftest$ac_exeext conftest.$ac_ext
10581 LIBS=$ac_check_lib_save_LIBS
10583 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
10584 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6
10585 if test $ac_cv_lib_esd_esd_open_sound = yes; then
10586 ESDLIBS=$ESD_LIBS
10588 ESDINCL=$ESD_CFLAGS
10591 cat >>confdefs.h <<\_ACEOF
10592 #define HAVE_ESD 1
10593 _ACEOF
10597 CFLAGS="$save_CFLAGS"
10600 ALSALIBS=""
10602 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10603 then
10604 echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10605 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6
10606 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
10607 echo $ECHO_N "(cached) $ECHO_C" >&6
10608 else
10609 ac_check_lib_save_LIBS=$LIBS
10610 LIBS="-lasound $LIBS"
10611 cat >conftest.$ac_ext <<_ACEOF
10612 /* confdefs.h. */
10613 _ACEOF
10614 cat confdefs.h >>conftest.$ac_ext
10615 cat >>conftest.$ac_ext <<_ACEOF
10616 /* end confdefs.h. */
10618 /* Override any gcc2 internal prototype to avoid an error. */
10619 #ifdef __cplusplus
10620 extern "C"
10621 #endif
10622 /* We use char because int might match the return type of a gcc2
10623 builtin and then its argument prototype would still apply. */
10624 char snd_pcm_hw_params_get_access ();
10626 main ()
10628 snd_pcm_hw_params_get_access ();
10630 return 0;
10632 _ACEOF
10633 rm -f conftest.$ac_objext conftest$ac_exeext
10634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10635 (eval $ac_link) 2>conftest.er1
10636 ac_status=$?
10637 grep -v '^ *+' conftest.er1 >conftest.err
10638 rm -f conftest.er1
10639 cat conftest.err >&5
10640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10641 (exit $ac_status); } &&
10642 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10644 (eval $ac_try) 2>&5
10645 ac_status=$?
10646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10647 (exit $ac_status); }; } &&
10648 { ac_try='test -s conftest$ac_exeext'
10649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10650 (eval $ac_try) 2>&5
10651 ac_status=$?
10652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10653 (exit $ac_status); }; }; then
10654 ac_cv_lib_asound_snd_pcm_hw_params_get_access=yes
10655 else
10656 echo "$as_me: failed program was:" >&5
10657 sed 's/^/| /' conftest.$ac_ext >&5
10659 ac_cv_lib_asound_snd_pcm_hw_params_get_access=no
10661 rm -f conftest.err conftest.$ac_objext \
10662 conftest$ac_exeext conftest.$ac_ext
10663 LIBS=$ac_check_lib_save_LIBS
10665 echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10666 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6
10667 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
10668 cat >conftest.$ac_ext <<_ACEOF
10669 /* confdefs.h. */
10670 _ACEOF
10671 cat confdefs.h >>conftest.$ac_ext
10672 cat >>conftest.$ac_ext <<_ACEOF
10673 /* end confdefs.h. */
10674 #ifdef HAVE_ALSA_ASOUNDLIB_H
10675 #include <alsa/asoundlib.h>
10676 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10677 #include <sys/asoundlib.h>
10678 #endif
10680 main ()
10682 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10684 return 0;
10686 _ACEOF
10687 rm -f conftest.$ac_objext
10688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10689 (eval $ac_compile) 2>conftest.er1
10690 ac_status=$?
10691 grep -v '^ *+' conftest.er1 >conftest.err
10692 rm -f conftest.er1
10693 cat conftest.err >&5
10694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10695 (exit $ac_status); } &&
10696 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10698 (eval $ac_try) 2>&5
10699 ac_status=$?
10700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10701 (exit $ac_status); }; } &&
10702 { ac_try='test -s conftest.$ac_objext'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10705 ac_status=$?
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; }; then
10709 cat >>confdefs.h <<\_ACEOF
10710 #define HAVE_ALSA 1
10711 _ACEOF
10713 ALSALIBS="-lasound"
10714 else
10715 echo "$as_me: failed program was:" >&5
10716 sed 's/^/| /' conftest.$ac_ext >&5
10719 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10725 AUDIOIOLIBS=""
10727 if test "$ac_cv_header_libaudioio_h" = "yes"
10728 then
10729 echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
10730 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6
10731 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
10732 echo $ECHO_N "(cached) $ECHO_C" >&6
10733 else
10734 ac_check_lib_save_LIBS=$LIBS
10735 LIBS="-laudioio $LIBS"
10736 cat >conftest.$ac_ext <<_ACEOF
10737 /* confdefs.h. */
10738 _ACEOF
10739 cat confdefs.h >>conftest.$ac_ext
10740 cat >>conftest.$ac_ext <<_ACEOF
10741 /* end confdefs.h. */
10743 /* Override any gcc2 internal prototype to avoid an error. */
10744 #ifdef __cplusplus
10745 extern "C"
10746 #endif
10747 /* We use char because int might match the return type of a gcc2
10748 builtin and then its argument prototype would still apply. */
10749 char AudioIOGetVersion ();
10751 main ()
10753 AudioIOGetVersion ();
10755 return 0;
10757 _ACEOF
10758 rm -f conftest.$ac_objext conftest$ac_exeext
10759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10760 (eval $ac_link) 2>conftest.er1
10761 ac_status=$?
10762 grep -v '^ *+' conftest.er1 >conftest.err
10763 rm -f conftest.er1
10764 cat conftest.err >&5
10765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10766 (exit $ac_status); } &&
10767 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10769 (eval $ac_try) 2>&5
10770 ac_status=$?
10771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10772 (exit $ac_status); }; } &&
10773 { ac_try='test -s conftest$ac_exeext'
10774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10775 (eval $ac_try) 2>&5
10776 ac_status=$?
10777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10778 (exit $ac_status); }; }; then
10779 ac_cv_lib_audioio_AudioIOGetVersion=yes
10780 else
10781 echo "$as_me: failed program was:" >&5
10782 sed 's/^/| /' conftest.$ac_ext >&5
10784 ac_cv_lib_audioio_AudioIOGetVersion=no
10786 rm -f conftest.err conftest.$ac_objext \
10787 conftest$ac_exeext conftest.$ac_ext
10788 LIBS=$ac_check_lib_save_LIBS
10790 echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10791 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6
10792 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
10793 AUDIOIOLIBS="-laudioio"
10795 cat >>confdefs.h <<\_ACEOF
10796 #define HAVE_LIBAUDIOIO 1
10797 _ACEOF
10804 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10805 then
10806 echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
10807 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6
10808 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
10809 echo $ECHO_N "(cached) $ECHO_C" >&6
10810 else
10811 ac_check_lib_save_LIBS=$LIBS
10812 LIBS="-lcapi20 $LIBS"
10813 cat >conftest.$ac_ext <<_ACEOF
10814 /* confdefs.h. */
10815 _ACEOF
10816 cat confdefs.h >>conftest.$ac_ext
10817 cat >>conftest.$ac_ext <<_ACEOF
10818 /* end confdefs.h. */
10820 /* Override any gcc2 internal prototype to avoid an error. */
10821 #ifdef __cplusplus
10822 extern "C"
10823 #endif
10824 /* We use char because int might match the return type of a gcc2
10825 builtin and then its argument prototype would still apply. */
10826 char capi20_register ();
10828 main ()
10830 capi20_register ();
10832 return 0;
10834 _ACEOF
10835 rm -f conftest.$ac_objext conftest$ac_exeext
10836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10837 (eval $ac_link) 2>conftest.er1
10838 ac_status=$?
10839 grep -v '^ *+' conftest.er1 >conftest.err
10840 rm -f conftest.er1
10841 cat conftest.err >&5
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); } &&
10844 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10846 (eval $ac_try) 2>&5
10847 ac_status=$?
10848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10849 (exit $ac_status); }; } &&
10850 { ac_try='test -s conftest$ac_exeext'
10851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10852 (eval $ac_try) 2>&5
10853 ac_status=$?
10854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10855 (exit $ac_status); }; }; then
10856 ac_cv_lib_capi20_capi20_register=yes
10857 else
10858 echo "$as_me: failed program was:" >&5
10859 sed 's/^/| /' conftest.$ac_ext >&5
10861 ac_cv_lib_capi20_capi20_register=no
10863 rm -f conftest.err conftest.$ac_objext \
10864 conftest$ac_exeext conftest.$ac_ext
10865 LIBS=$ac_check_lib_save_LIBS
10867 echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
10868 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6
10869 if test $ac_cv_lib_capi20_capi20_register = yes; then
10871 cat >>confdefs.h <<\_ACEOF
10872 #define HAVE_CAPI4LINUX 1
10873 _ACEOF
10880 EXTRACFLAGS=""
10882 if test "x${GCC}" = "xyes"
10883 then
10884 EXTRACFLAGS="-Wall -pipe"
10886 echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
10887 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6
10888 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
10889 echo $ECHO_N "(cached) $ECHO_C" >&6
10890 else
10891 if test "$cross_compiling" = yes; then
10892 ac_cv_c_gcc_strength_bug="yes"
10893 else
10894 cat >conftest.$ac_ext <<_ACEOF
10895 /* confdefs.h. */
10896 _ACEOF
10897 cat confdefs.h >>conftest.$ac_ext
10898 cat >>conftest.$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10901 int L[4] = {0,1,2,3};
10902 int main(void) {
10903 static int Array[3];
10904 unsigned int B = 3;
10905 int i;
10906 for(i=0; i<B; i++) Array[i] = i - 3;
10907 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
10908 L[i] = 4;
10910 exit( Array[1] != -2 || L[2] != 3);
10912 _ACEOF
10913 rm -f conftest$ac_exeext
10914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10915 (eval $ac_link) 2>&5
10916 ac_status=$?
10917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10918 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10920 (eval $ac_try) 2>&5
10921 ac_status=$?
10922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10923 (exit $ac_status); }; }; then
10924 ac_cv_c_gcc_strength_bug="no"
10925 else
10926 echo "$as_me: program exited with status $ac_status" >&5
10927 echo "$as_me: failed program was:" >&5
10928 sed 's/^/| /' conftest.$ac_ext >&5
10930 ( exit $ac_status )
10931 ac_cv_c_gcc_strength_bug="yes"
10933 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
10936 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
10937 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6
10938 if test "$ac_cv_c_gcc_strength_bug" = "yes"
10939 then
10940 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
10943 echo "$as_me:$LINENO: checking for gcc -fshort-wchar support" >&5
10944 echo $ECHO_N "checking for gcc -fshort-wchar support... $ECHO_C" >&6
10945 if test "${ac_cv_c_gcc_fshort_wchar+set}" = set; then
10946 echo $ECHO_N "(cached) $ECHO_C" >&6
10947 else
10948 ac_wine_try_cflags_saved=$CFLAGS
10949 CFLAGS="$CFLAGS -fshort-wchar"
10950 cat >conftest.$ac_ext <<_ACEOF
10951 /* confdefs.h. */
10952 _ACEOF
10953 cat confdefs.h >>conftest.$ac_ext
10954 cat >>conftest.$ac_ext <<_ACEOF
10955 /* end confdefs.h. */
10958 main ()
10962 return 0;
10964 _ACEOF
10965 rm -f conftest.$ac_objext conftest$ac_exeext
10966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10967 (eval $ac_link) 2>conftest.er1
10968 ac_status=$?
10969 grep -v '^ *+' conftest.er1 >conftest.err
10970 rm -f conftest.er1
10971 cat conftest.err >&5
10972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10973 (exit $ac_status); } &&
10974 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10976 (eval $ac_try) 2>&5
10977 ac_status=$?
10978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10979 (exit $ac_status); }; } &&
10980 { ac_try='test -s conftest$ac_exeext'
10981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10982 (eval $ac_try) 2>&5
10983 ac_status=$?
10984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10985 (exit $ac_status); }; }; then
10986 ac_cv_c_gcc_fshort_wchar="yes"
10987 else
10988 echo "$as_me: failed program was:" >&5
10989 sed 's/^/| /' conftest.$ac_ext >&5
10991 ac_cv_c_gcc_fshort_wchar="no"
10993 rm -f conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 CFLAGS=$ac_wine_try_cflags_saved
10997 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_fshort_wchar" >&5
10998 echo "${ECHO_T}$ac_cv_c_gcc_fshort_wchar" >&6
10999 if test "$ac_cv_c_gcc_fshort_wchar" = "yes"
11000 then
11002 cat >>confdefs.h <<\_ACEOF
11003 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
11004 _ACEOF
11008 echo "$as_me:$LINENO: checking for gcc -mpreferred-stack-boundary=2 support" >&5
11009 echo $ECHO_N "checking for gcc -mpreferred-stack-boundary=2 support... $ECHO_C" >&6
11010 if test "${ac_cv_c_gcc_stack_boundary+set}" = set; then
11011 echo $ECHO_N "(cached) $ECHO_C" >&6
11012 else
11013 ac_wine_try_cflags_saved=$CFLAGS
11014 CFLAGS="$CFLAGS -mpreferred-stack-boundary=2"
11015 cat >conftest.$ac_ext <<_ACEOF
11016 /* confdefs.h. */
11017 _ACEOF
11018 cat confdefs.h >>conftest.$ac_ext
11019 cat >>conftest.$ac_ext <<_ACEOF
11020 /* end confdefs.h. */
11023 main ()
11027 return 0;
11029 _ACEOF
11030 rm -f conftest.$ac_objext conftest$ac_exeext
11031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11032 (eval $ac_link) 2>conftest.er1
11033 ac_status=$?
11034 grep -v '^ *+' conftest.er1 >conftest.err
11035 rm -f conftest.er1
11036 cat conftest.err >&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); } &&
11039 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11041 (eval $ac_try) 2>&5
11042 ac_status=$?
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; } &&
11045 { ac_try='test -s conftest$ac_exeext'
11046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11047 (eval $ac_try) 2>&5
11048 ac_status=$?
11049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11050 (exit $ac_status); }; }; then
11051 ac_cv_c_gcc_stack_boundary="yes"
11052 else
11053 echo "$as_me: failed program was:" >&5
11054 sed 's/^/| /' conftest.$ac_ext >&5
11056 ac_cv_c_gcc_stack_boundary="no"
11058 rm -f conftest.err conftest.$ac_objext \
11059 conftest$ac_exeext conftest.$ac_ext
11060 CFLAGS=$ac_wine_try_cflags_saved
11062 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_stack_boundary" >&5
11063 echo "${ECHO_T}$ac_cv_c_gcc_stack_boundary" >&6
11064 if test "$ac_cv_c_gcc_stack_boundary" = "yes"
11065 then
11066 EXTRACFLAGS="$EXTRACFLAGS -mpreferred-stack-boundary=2"
11069 echo "$as_me:$LINENO: checking for gcc -fno-strict-aliasing support" >&5
11070 echo $ECHO_N "checking for gcc -fno-strict-aliasing support... $ECHO_C" >&6
11071 if test "${ac_cv_c_gcc_no_strict_aliasing+set}" = set; then
11072 echo $ECHO_N "(cached) $ECHO_C" >&6
11073 else
11074 ac_wine_try_cflags_saved=$CFLAGS
11075 CFLAGS="$CFLAGS -fno-strict-aliasing"
11076 cat >conftest.$ac_ext <<_ACEOF
11077 /* confdefs.h. */
11078 _ACEOF
11079 cat confdefs.h >>conftest.$ac_ext
11080 cat >>conftest.$ac_ext <<_ACEOF
11081 /* end confdefs.h. */
11084 main ()
11088 return 0;
11090 _ACEOF
11091 rm -f conftest.$ac_objext conftest$ac_exeext
11092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11093 (eval $ac_link) 2>conftest.er1
11094 ac_status=$?
11095 grep -v '^ *+' conftest.er1 >conftest.err
11096 rm -f conftest.er1
11097 cat conftest.err >&5
11098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11099 (exit $ac_status); } &&
11100 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11102 (eval $ac_try) 2>&5
11103 ac_status=$?
11104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11105 (exit $ac_status); }; } &&
11106 { ac_try='test -s conftest$ac_exeext'
11107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11108 (eval $ac_try) 2>&5
11109 ac_status=$?
11110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11111 (exit $ac_status); }; }; then
11112 ac_cv_c_gcc_no_strict_aliasing="yes"
11113 else
11114 echo "$as_me: failed program was:" >&5
11115 sed 's/^/| /' conftest.$ac_ext >&5
11117 ac_cv_c_gcc_no_strict_aliasing="no"
11119 rm -f conftest.err conftest.$ac_objext \
11120 conftest$ac_exeext conftest.$ac_ext
11121 CFLAGS=$ac_wine_try_cflags_saved
11123 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_no_strict_aliasing" >&5
11124 echo "${ECHO_T}$ac_cv_c_gcc_no_strict_aliasing" >&6
11125 if test "$ac_cv_c_gcc_no_strict_aliasing" = "yes"
11126 then
11127 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
11130 echo "$as_me:$LINENO: checking for gcc -gstabs+ support" >&5
11131 echo $ECHO_N "checking for gcc -gstabs+ support... $ECHO_C" >&6
11132 if test "${ac_cv_c_gcc_gstabs+set}" = set; then
11133 echo $ECHO_N "(cached) $ECHO_C" >&6
11134 else
11135 ac_wine_try_cflags_saved=$CFLAGS
11136 CFLAGS="$CFLAGS -gstabs+"
11137 cat >conftest.$ac_ext <<_ACEOF
11138 /* confdefs.h. */
11139 _ACEOF
11140 cat confdefs.h >>conftest.$ac_ext
11141 cat >>conftest.$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11145 main ()
11149 return 0;
11151 _ACEOF
11152 rm -f conftest.$ac_objext conftest$ac_exeext
11153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11154 (eval $ac_link) 2>conftest.er1
11155 ac_status=$?
11156 grep -v '^ *+' conftest.er1 >conftest.err
11157 rm -f conftest.er1
11158 cat conftest.err >&5
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); } &&
11161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11164 ac_status=$?
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; } &&
11167 { ac_try='test -s conftest$ac_exeext'
11168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11169 (eval $ac_try) 2>&5
11170 ac_status=$?
11171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11172 (exit $ac_status); }; }; then
11173 ac_cv_c_gcc_gstabs="yes"
11174 else
11175 echo "$as_me: failed program was:" >&5
11176 sed 's/^/| /' conftest.$ac_ext >&5
11178 ac_cv_c_gcc_gstabs="no"
11180 rm -f conftest.err conftest.$ac_objext \
11181 conftest$ac_exeext conftest.$ac_ext
11182 CFLAGS=$ac_wine_try_cflags_saved
11184 echo "$as_me:$LINENO: result: $ac_cv_c_gcc_gstabs" >&5
11185 echo "${ECHO_T}$ac_cv_c_gcc_gstabs" >&6
11186 if test "$ac_cv_c_gcc_gstabs" = "yes"
11187 then
11188 EXTRACFLAGS="$EXTRACFLAGS -gstabs+"
11191 saved_CFLAGS="$CFLAGS"
11192 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
11193 echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
11194 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6
11195 if test "${ac_cv_c_string_h_warnings+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 else
11198 cat >conftest.$ac_ext <<_ACEOF
11199 /* confdefs.h. */
11200 _ACEOF
11201 cat confdefs.h >>conftest.$ac_ext
11202 cat >>conftest.$ac_ext <<_ACEOF
11203 /* end confdefs.h. */
11204 #include <string.h>
11206 main ()
11210 return 0;
11212 _ACEOF
11213 rm -f conftest.$ac_objext
11214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11215 (eval $ac_compile) 2>conftest.er1
11216 ac_status=$?
11217 grep -v '^ *+' conftest.er1 >conftest.err
11218 rm -f conftest.er1
11219 cat conftest.err >&5
11220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11221 (exit $ac_status); } &&
11222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11224 (eval $ac_try) 2>&5
11225 ac_status=$?
11226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11227 (exit $ac_status); }; } &&
11228 { ac_try='test -s conftest.$ac_objext'
11229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11230 (eval $ac_try) 2>&5
11231 ac_status=$?
11232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11233 (exit $ac_status); }; }; then
11234 ac_cv_c_string_h_warnings=no
11235 else
11236 echo "$as_me: failed program was:" >&5
11237 sed 's/^/| /' conftest.$ac_ext >&5
11239 ac_cv_c_string_h_warnings=yes
11241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11243 echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
11244 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6
11245 CFLAGS="$saved_CFLAGS"
11246 if test "$ac_cv_c_string_h_warnings" = "no"
11247 then
11248 EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
11253 echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
11254 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6
11255 if test "${ac_cv_asm_func_def+set}" = set; then
11256 echo $ECHO_N "(cached) $ECHO_C" >&6
11257 else
11258 cat >conftest.$ac_ext <<_ACEOF
11259 /* confdefs.h. */
11260 _ACEOF
11261 cat confdefs.h >>conftest.$ac_ext
11262 cat >>conftest.$ac_ext <<_ACEOF
11263 /* end confdefs.h. */
11264 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"); }
11267 main ()
11271 return 0;
11273 _ACEOF
11274 rm -f conftest.$ac_objext conftest$ac_exeext
11275 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11276 (eval $ac_link) 2>conftest.er1
11277 ac_status=$?
11278 grep -v '^ *+' conftest.er1 >conftest.err
11279 rm -f conftest.er1
11280 cat conftest.err >&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); } &&
11283 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11285 (eval $ac_try) 2>&5
11286 ac_status=$?
11287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11288 (exit $ac_status); }; } &&
11289 { ac_try='test -s conftest$ac_exeext'
11290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11291 (eval $ac_try) 2>&5
11292 ac_status=$?
11293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11294 (exit $ac_status); }; }; then
11295 ac_cv_asm_func_def=".def"
11296 else
11297 echo "$as_me: failed program was:" >&5
11298 sed 's/^/| /' conftest.$ac_ext >&5
11300 cat >conftest.$ac_ext <<_ACEOF
11301 /* confdefs.h. */
11302 _ACEOF
11303 cat confdefs.h >>conftest.$ac_ext
11304 cat >>conftest.$ac_ext <<_ACEOF
11305 /* end confdefs.h. */
11306 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
11309 main ()
11313 return 0;
11315 _ACEOF
11316 rm -f conftest.$ac_objext conftest$ac_exeext
11317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11318 (eval $ac_link) 2>conftest.er1
11319 ac_status=$?
11320 grep -v '^ *+' conftest.er1 >conftest.err
11321 rm -f conftest.er1
11322 cat conftest.err >&5
11323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11324 (exit $ac_status); } &&
11325 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11327 (eval $ac_try) 2>&5
11328 ac_status=$?
11329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11330 (exit $ac_status); }; } &&
11331 { ac_try='test -s conftest$ac_exeext'
11332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11333 (eval $ac_try) 2>&5
11334 ac_status=$?
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); }; }; then
11337 ac_cv_asm_func_def=".type @function"
11338 else
11339 echo "$as_me: failed program was:" >&5
11340 sed 's/^/| /' conftest.$ac_ext >&5
11342 cat >conftest.$ac_ext <<_ACEOF
11343 /* confdefs.h. */
11344 _ACEOF
11345 cat confdefs.h >>conftest.$ac_ext
11346 cat >>conftest.$ac_ext <<_ACEOF
11347 /* end confdefs.h. */
11348 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
11351 main ()
11355 return 0;
11357 _ACEOF
11358 rm -f conftest.$ac_objext conftest$ac_exeext
11359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11360 (eval $ac_link) 2>conftest.er1
11361 ac_status=$?
11362 grep -v '^ *+' conftest.er1 >conftest.err
11363 rm -f conftest.er1
11364 cat conftest.err >&5
11365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11366 (exit $ac_status); } &&
11367 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11369 (eval $ac_try) 2>&5
11370 ac_status=$?
11371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11372 (exit $ac_status); }; } &&
11373 { ac_try='test -s conftest$ac_exeext'
11374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11375 (eval $ac_try) 2>&5
11376 ac_status=$?
11377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11378 (exit $ac_status); }; }; then
11379 ac_cv_asm_func_def=".type 2"
11380 else
11381 echo "$as_me: failed program was:" >&5
11382 sed 's/^/| /' conftest.$ac_ext >&5
11384 ac_cv_asm_func_def="unknown"
11386 rm -f conftest.err conftest.$ac_objext \
11387 conftest$ac_exeext conftest.$ac_ext
11389 rm -f conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11392 rm -f conftest.err conftest.$ac_objext \
11393 conftest$ac_exeext conftest.$ac_ext
11395 echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
11396 echo "${ECHO_T}$ac_cv_asm_func_def" >&6
11400 case "$ac_cv_asm_func_def" in
11401 ".def")
11402 cat >>confdefs.h <<\_ACEOF
11403 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
11404 _ACEOF
11406 ".type @function")
11407 cat >>confdefs.h <<\_ACEOF
11408 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
11409 _ACEOF
11411 ".type 2")
11412 cat >>confdefs.h <<\_ACEOF
11413 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
11414 _ACEOF
11417 cat >>confdefs.h <<\_ACEOF
11418 #define __ASM_FUNC(name) ""
11419 _ACEOF
11421 esac
11424 echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
11425 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6
11426 if test "${ac_cv_c_extern_prefix+set}" = set; then
11427 echo $ECHO_N "(cached) $ECHO_C" >&6
11428 else
11429 cat >conftest.$ac_ext <<_ACEOF
11430 /* confdefs.h. */
11431 _ACEOF
11432 cat confdefs.h >>conftest.$ac_ext
11433 cat >>conftest.$ac_ext <<_ACEOF
11434 /* end confdefs.h. */
11435 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
11436 extern int ac_test;
11438 main ()
11440 if (ac_test) return 1
11442 return 0;
11444 _ACEOF
11445 rm -f conftest.$ac_objext conftest$ac_exeext
11446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11447 (eval $ac_link) 2>conftest.er1
11448 ac_status=$?
11449 grep -v '^ *+' conftest.er1 >conftest.err
11450 rm -f conftest.er1
11451 cat conftest.err >&5
11452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11453 (exit $ac_status); } &&
11454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11456 (eval $ac_try) 2>&5
11457 ac_status=$?
11458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11459 (exit $ac_status); }; } &&
11460 { ac_try='test -s conftest$ac_exeext'
11461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11462 (eval $ac_try) 2>&5
11463 ac_status=$?
11464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11465 (exit $ac_status); }; }; then
11466 ac_cv_c_extern_prefix="yes"
11467 else
11468 echo "$as_me: failed program was:" >&5
11469 sed 's/^/| /' conftest.$ac_ext >&5
11471 ac_cv_c_extern_prefix="no"
11473 rm -f conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11476 echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
11477 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6
11481 if test "$ac_cv_c_extern_prefix" = "yes"
11482 then
11483 cat >>confdefs.h <<\_ACEOF
11484 #define __ASM_NAME(name) "_" name
11485 _ACEOF
11487 else
11488 cat >>confdefs.h <<\_ACEOF
11489 #define __ASM_NAME(name) name
11490 _ACEOF
11495 DLLEXT=""
11497 DLLFLAGS="-D_REENTRANT"
11499 DLLIBS=""
11501 LDSHARED=""
11503 LDDLLFLAGS=""
11505 LIBEXT="so"
11507 IMPLIBEXT="def"
11510 case $host_os in
11511 cygwin*|mingw32*)
11512 if test -n "$ac_tool_prefix"; then
11513 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
11514 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
11515 echo "$as_me:$LINENO: checking for $ac_word" >&5
11516 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11517 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
11518 echo $ECHO_N "(cached) $ECHO_C" >&6
11519 else
11520 if test -n "$DLLTOOL"; then
11521 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
11522 else
11523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11524 for as_dir in $PATH
11526 IFS=$as_save_IFS
11527 test -z "$as_dir" && as_dir=.
11528 for ac_exec_ext in '' $ac_executable_extensions; do
11529 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11530 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
11531 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11532 break 2
11534 done
11535 done
11539 DLLTOOL=$ac_cv_prog_DLLTOOL
11540 if test -n "$DLLTOOL"; then
11541 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
11542 echo "${ECHO_T}$DLLTOOL" >&6
11543 else
11544 echo "$as_me:$LINENO: result: no" >&5
11545 echo "${ECHO_T}no" >&6
11549 if test -z "$ac_cv_prog_DLLTOOL"; then
11550 ac_ct_DLLTOOL=$DLLTOOL
11551 # Extract the first word of "dlltool", so it can be a program name with args.
11552 set dummy dlltool; ac_word=$2
11553 echo "$as_me:$LINENO: checking for $ac_word" >&5
11554 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11555 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
11556 echo $ECHO_N "(cached) $ECHO_C" >&6
11557 else
11558 if test -n "$ac_ct_DLLTOOL"; then
11559 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
11560 else
11561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11562 for as_dir in $PATH
11564 IFS=$as_save_IFS
11565 test -z "$as_dir" && as_dir=.
11566 for ac_exec_ext in '' $ac_executable_extensions; do
11567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11568 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
11569 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11570 break 2
11572 done
11573 done
11575 test -z "$ac_cv_prog_ac_ct_DLLTOOL" && ac_cv_prog_ac_ct_DLLTOOL="false"
11578 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
11579 if test -n "$ac_ct_DLLTOOL"; then
11580 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
11581 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
11582 else
11583 echo "$as_me:$LINENO: result: no" >&5
11584 echo "${ECHO_T}no" >&6
11587 DLLTOOL=$ac_ct_DLLTOOL
11588 else
11589 DLLTOOL="$ac_cv_prog_DLLTOOL"
11592 if test -n "$ac_tool_prefix"; then
11593 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
11594 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
11595 echo "$as_me:$LINENO: checking for $ac_word" >&5
11596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11597 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
11598 echo $ECHO_N "(cached) $ECHO_C" >&6
11599 else
11600 if test -n "$DLLWRAP"; then
11601 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
11602 else
11603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11604 for as_dir in $PATH
11606 IFS=$as_save_IFS
11607 test -z "$as_dir" && as_dir=.
11608 for ac_exec_ext in '' $ac_executable_extensions; do
11609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11610 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
11611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11612 break 2
11614 done
11615 done
11619 DLLWRAP=$ac_cv_prog_DLLWRAP
11620 if test -n "$DLLWRAP"; then
11621 echo "$as_me:$LINENO: result: $DLLWRAP" >&5
11622 echo "${ECHO_T}$DLLWRAP" >&6
11623 else
11624 echo "$as_me:$LINENO: result: no" >&5
11625 echo "${ECHO_T}no" >&6
11629 if test -z "$ac_cv_prog_DLLWRAP"; then
11630 ac_ct_DLLWRAP=$DLLWRAP
11631 # Extract the first word of "dllwrap", so it can be a program name with args.
11632 set dummy dllwrap; ac_word=$2
11633 echo "$as_me:$LINENO: checking for $ac_word" >&5
11634 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11635 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
11636 echo $ECHO_N "(cached) $ECHO_C" >&6
11637 else
11638 if test -n "$ac_ct_DLLWRAP"; then
11639 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
11640 else
11641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11642 for as_dir in $PATH
11644 IFS=$as_save_IFS
11645 test -z "$as_dir" && as_dir=.
11646 for ac_exec_ext in '' $ac_executable_extensions; do
11647 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11648 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
11649 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11650 break 2
11652 done
11653 done
11655 test -z "$ac_cv_prog_ac_ct_DLLWRAP" && ac_cv_prog_ac_ct_DLLWRAP="false"
11658 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
11659 if test -n "$ac_ct_DLLWRAP"; then
11660 echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
11661 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6
11662 else
11663 echo "$as_me:$LINENO: result: no" >&5
11664 echo "${ECHO_T}no" >&6
11667 DLLWRAP=$ac_ct_DLLWRAP
11668 else
11669 DLLWRAP="$ac_cv_prog_DLLWRAP"
11672 if test "$DLLWRAP" = "false"; then
11673 LIBEXT="a"
11674 else
11675 LIBEXT="dll"
11677 IMPLIBEXT="a"
11678 WIN16_FILES=""
11679 WIN16_INSTALL=""
11682 if test "$ac_cv_header_dlfcn_h" = "yes"
11683 then
11685 for ac_func in dlopen
11687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11688 echo "$as_me:$LINENO: checking for $ac_func" >&5
11689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11690 if eval "test \"\${$as_ac_var+set}\" = set"; then
11691 echo $ECHO_N "(cached) $ECHO_C" >&6
11692 else
11693 cat >conftest.$ac_ext <<_ACEOF
11694 /* confdefs.h. */
11695 _ACEOF
11696 cat confdefs.h >>conftest.$ac_ext
11697 cat >>conftest.$ac_ext <<_ACEOF
11698 /* end confdefs.h. */
11699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11701 #define $ac_func innocuous_$ac_func
11703 /* System header to define __stub macros and hopefully few prototypes,
11704 which can conflict with char $ac_func (); below.
11705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11706 <limits.h> exists even on freestanding compilers. */
11708 #ifdef __STDC__
11709 # include <limits.h>
11710 #else
11711 # include <assert.h>
11712 #endif
11714 #undef $ac_func
11716 /* Override any gcc2 internal prototype to avoid an error. */
11717 #ifdef __cplusplus
11718 extern "C"
11720 #endif
11721 /* We use char because int might match the return type of a gcc2
11722 builtin and then its argument prototype would still apply. */
11723 char $ac_func ();
11724 /* The GNU C library defines this for functions which it implements
11725 to always fail with ENOSYS. Some functions are actually named
11726 something starting with __ and the normal name is an alias. */
11727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11728 choke me
11729 #else
11730 char (*f) () = $ac_func;
11731 #endif
11732 #ifdef __cplusplus
11734 #endif
11737 main ()
11739 return f != $ac_func;
11741 return 0;
11743 _ACEOF
11744 rm -f conftest.$ac_objext conftest$ac_exeext
11745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11746 (eval $ac_link) 2>conftest.er1
11747 ac_status=$?
11748 grep -v '^ *+' conftest.er1 >conftest.err
11749 rm -f conftest.er1
11750 cat conftest.err >&5
11751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11752 (exit $ac_status); } &&
11753 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11755 (eval $ac_try) 2>&5
11756 ac_status=$?
11757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11758 (exit $ac_status); }; } &&
11759 { ac_try='test -s conftest$ac_exeext'
11760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11761 (eval $ac_try) 2>&5
11762 ac_status=$?
11763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11764 (exit $ac_status); }; }; then
11765 eval "$as_ac_var=yes"
11766 else
11767 echo "$as_me: failed program was:" >&5
11768 sed 's/^/| /' conftest.$ac_ext >&5
11770 eval "$as_ac_var=no"
11772 rm -f conftest.err conftest.$ac_objext \
11773 conftest$ac_exeext conftest.$ac_ext
11775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11777 if test `eval echo '${'$as_ac_var'}'` = yes; then
11778 cat >>confdefs.h <<_ACEOF
11779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11780 _ACEOF
11782 else
11783 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11784 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
11785 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11786 echo $ECHO_N "(cached) $ECHO_C" >&6
11787 else
11788 ac_check_lib_save_LIBS=$LIBS
11789 LIBS="-ldl $LIBS"
11790 cat >conftest.$ac_ext <<_ACEOF
11791 /* confdefs.h. */
11792 _ACEOF
11793 cat confdefs.h >>conftest.$ac_ext
11794 cat >>conftest.$ac_ext <<_ACEOF
11795 /* end confdefs.h. */
11797 /* Override any gcc2 internal prototype to avoid an error. */
11798 #ifdef __cplusplus
11799 extern "C"
11800 #endif
11801 /* We use char because int might match the return type of a gcc2
11802 builtin and then its argument prototype would still apply. */
11803 char dlopen ();
11805 main ()
11807 dlopen ();
11809 return 0;
11811 _ACEOF
11812 rm -f conftest.$ac_objext conftest$ac_exeext
11813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11814 (eval $ac_link) 2>conftest.er1
11815 ac_status=$?
11816 grep -v '^ *+' conftest.er1 >conftest.err
11817 rm -f conftest.er1
11818 cat conftest.err >&5
11819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11820 (exit $ac_status); } &&
11821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11823 (eval $ac_try) 2>&5
11824 ac_status=$?
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); }; } &&
11827 { ac_try='test -s conftest$ac_exeext'
11828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11829 (eval $ac_try) 2>&5
11830 ac_status=$?
11831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11832 (exit $ac_status); }; }; then
11833 ac_cv_lib_dl_dlopen=yes
11834 else
11835 echo "$as_me: failed program was:" >&5
11836 sed 's/^/| /' conftest.$ac_ext >&5
11838 ac_cv_lib_dl_dlopen=no
11840 rm -f conftest.err conftest.$ac_objext \
11841 conftest$ac_exeext conftest.$ac_ext
11842 LIBS=$ac_check_lib_save_LIBS
11844 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11845 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11846 if test $ac_cv_lib_dl_dlopen = yes; then
11848 cat >>confdefs.h <<\_ACEOF
11849 #define HAVE_DLOPEN 1
11850 _ACEOF
11852 DLLIBS="-ldl"
11853 else
11854 LIBEXT="a"
11858 done
11860 else
11861 LIBEXT="a"
11864 if test "$LIBEXT" = "so"
11865 then
11866 DLLFLAGS="$DLLFLAGS -fPIC"
11867 DLLEXT=".so"
11868 echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
11869 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6
11870 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
11871 echo $ECHO_N "(cached) $ECHO_C" >&6
11872 else
11873 ac_wine_try_cflags_saved=$CFLAGS
11874 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,conftest.so.1.0,-Bsymbolic"
11875 cat >conftest.$ac_ext <<_ACEOF
11876 void myfunc() {}
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 ac_cv_c_dll_gnuelf="yes"
11900 else
11901 echo "$as_me: failed program was:" >&5
11902 sed 's/^/| /' conftest.$ac_ext >&5
11904 ac_cv_c_dll_gnuelf="no"
11906 rm -f conftest.err conftest.$ac_objext \
11907 conftest$ac_exeext conftest.$ac_ext
11908 CFLAGS=$ac_wine_try_cflags_saved
11910 echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
11911 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6
11912 if test "$ac_cv_c_dll_gnuelf" = "yes"
11913 then
11914 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
11915 LDDLLFLAGS="-shared -Wl,-Bsymbolic"
11916 echo "$as_me:$LINENO: checking whether the linker accepts -z defs" >&5
11917 echo $ECHO_N "checking whether the linker accepts -z defs... $ECHO_C" >&6
11918 if test "${ac_cv_c_dll_zdefs+set}" = set; then
11919 echo $ECHO_N "(cached) $ECHO_C" >&6
11920 else
11921 ac_wine_try_cflags_saved=$CFLAGS
11922 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
11923 cat >conftest.$ac_ext <<_ACEOF
11924 /* confdefs.h. */
11925 _ACEOF
11926 cat confdefs.h >>conftest.$ac_ext
11927 cat >>conftest.$ac_ext <<_ACEOF
11928 /* end confdefs.h. */
11931 main ()
11935 return 0;
11937 _ACEOF
11938 rm -f conftest.$ac_objext conftest$ac_exeext
11939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11940 (eval $ac_link) 2>conftest.er1
11941 ac_status=$?
11942 grep -v '^ *+' conftest.er1 >conftest.err
11943 rm -f conftest.er1
11944 cat conftest.err >&5
11945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11946 (exit $ac_status); } &&
11947 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11949 (eval $ac_try) 2>&5
11950 ac_status=$?
11951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11952 (exit $ac_status); }; } &&
11953 { ac_try='test -s conftest$ac_exeext'
11954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11955 (eval $ac_try) 2>&5
11956 ac_status=$?
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); }; }; then
11959 ac_cv_c_dll_zdefs="yes"
11960 else
11961 echo "$as_me: failed program was:" >&5
11962 sed 's/^/| /' conftest.$ac_ext >&5
11964 ac_cv_c_dll_zdefs="no"
11966 rm -f conftest.err conftest.$ac_objext \
11967 conftest$ac_exeext conftest.$ac_ext
11968 CFLAGS=$ac_wine_try_cflags_saved
11970 echo "$as_me:$LINENO: result: $ac_cv_c_dll_zdefs" >&5
11971 echo "${ECHO_T}$ac_cv_c_dll_zdefs" >&6
11972 if test "$ac_cv_c_dll_zdefs" = "yes"
11973 then
11974 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
11977 echo "$as_me:$LINENO: checking whether the linker accepts -init and -fini" >&5
11978 echo $ECHO_N "checking whether the linker accepts -init and -fini... $ECHO_C" >&6
11979 if test "${ac_cv_c_dll_init_fini+set}" = set; then
11980 echo $ECHO_N "(cached) $ECHO_C" >&6
11981 else
11982 ac_wine_try_cflags_saved=$CFLAGS
11983 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
11984 cat >conftest.$ac_ext <<_ACEOF
11985 /* confdefs.h. */
11986 _ACEOF
11987 cat confdefs.h >>conftest.$ac_ext
11988 cat >>conftest.$ac_ext <<_ACEOF
11989 /* end confdefs.h. */
11992 main ()
11996 return 0;
11998 _ACEOF
11999 rm -f conftest.$ac_objext conftest$ac_exeext
12000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12001 (eval $ac_link) 2>conftest.er1
12002 ac_status=$?
12003 grep -v '^ *+' conftest.er1 >conftest.err
12004 rm -f conftest.er1
12005 cat conftest.err >&5
12006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12007 (exit $ac_status); } &&
12008 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12010 (eval $ac_try) 2>&5
12011 ac_status=$?
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); }; } &&
12014 { ac_try='test -s conftest$ac_exeext'
12015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12016 (eval $ac_try) 2>&5
12017 ac_status=$?
12018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12019 (exit $ac_status); }; }; then
12020 ac_cv_c_dll_init_fini="yes"
12021 else
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.$ac_ext >&5
12025 ac_cv_c_dll_init_fini="no"
12027 rm -f conftest.err conftest.$ac_objext \
12028 conftest$ac_exeext conftest.$ac_ext
12029 CFLAGS=$ac_wine_try_cflags_saved
12031 echo "$as_me:$LINENO: result: $ac_cv_c_dll_init_fini" >&5
12032 echo "${ECHO_T}$ac_cv_c_dll_init_fini" >&6
12033 if test "$ac_cv_c_dll_init_fini" = "yes"
12034 then
12035 LDDLLFLAGS="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
12038 echo "$as_me:$LINENO: checking whether the linker accepts version scripts" >&5
12039 echo $ECHO_N "checking whether the linker accepts version scripts... $ECHO_C" >&6
12040 if test "${ac_cv_c_ld_version_scripts+set}" = set; then
12041 echo $ECHO_N "(cached) $ECHO_C" >&6
12042 else
12043 echo '{ global: *; };' >conftest.map
12044 ac_wine_try_cflags_saved=$CFLAGS
12045 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
12046 cat >conftest.$ac_ext <<_ACEOF
12047 /* confdefs.h. */
12048 _ACEOF
12049 cat confdefs.h >>conftest.$ac_ext
12050 cat >>conftest.$ac_ext <<_ACEOF
12051 /* end confdefs.h. */
12054 main ()
12058 return 0;
12060 _ACEOF
12061 rm -f conftest.$ac_objext conftest$ac_exeext
12062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12063 (eval $ac_link) 2>conftest.er1
12064 ac_status=$?
12065 grep -v '^ *+' conftest.er1 >conftest.err
12066 rm -f conftest.er1
12067 cat conftest.err >&5
12068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12069 (exit $ac_status); } &&
12070 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12072 (eval $ac_try) 2>&5
12073 ac_status=$?
12074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12075 (exit $ac_status); }; } &&
12076 { ac_try='test -s conftest$ac_exeext'
12077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12078 (eval $ac_try) 2>&5
12079 ac_status=$?
12080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12081 (exit $ac_status); }; }; then
12082 ac_cv_c_ld_version_scripts="yes"
12083 else
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.$ac_ext >&5
12087 ac_cv_c_ld_version_scripts="no"
12089 rm -f conftest.err conftest.$ac_objext \
12090 conftest$ac_exeext conftest.$ac_ext
12091 CFLAGS=$ac_wine_try_cflags_saved
12092 rm -f conftest.map
12094 echo "$as_me:$LINENO: result: $ac_cv_c_ld_version_scripts" >&5
12095 echo "${ECHO_T}$ac_cv_c_ld_version_scripts" >&6
12096 if test "$ac_cv_c_ld_version_scripts" = "yes"
12097 then
12098 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
12101 echo "$as_me:$LINENO: checking whether the linker accepts --export-dynamic" >&5
12102 echo $ECHO_N "checking whether the linker accepts --export-dynamic... $ECHO_C" >&6
12103 if test "${ac_cv_c_export_dynamic+set}" = set; then
12104 echo $ECHO_N "(cached) $ECHO_C" >&6
12105 else
12106 ac_wine_try_cflags_saved=$CFLAGS
12107 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
12108 cat >conftest.$ac_ext <<_ACEOF
12109 /* confdefs.h. */
12110 _ACEOF
12111 cat confdefs.h >>conftest.$ac_ext
12112 cat >>conftest.$ac_ext <<_ACEOF
12113 /* end confdefs.h. */
12116 main ()
12120 return 0;
12122 _ACEOF
12123 rm -f conftest.$ac_objext conftest$ac_exeext
12124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12125 (eval $ac_link) 2>conftest.er1
12126 ac_status=$?
12127 grep -v '^ *+' conftest.er1 >conftest.err
12128 rm -f conftest.er1
12129 cat conftest.err >&5
12130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12131 (exit $ac_status); } &&
12132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12134 (eval $ac_try) 2>&5
12135 ac_status=$?
12136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137 (exit $ac_status); }; } &&
12138 { ac_try='test -s conftest$ac_exeext'
12139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140 (eval $ac_try) 2>&5
12141 ac_status=$?
12142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12143 (exit $ac_status); }; }; then
12144 ac_cv_c_export_dynamic="yes"
12145 else
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.$ac_ext >&5
12149 ac_cv_c_export_dynamic="no"
12151 rm -f conftest.err conftest.$ac_objext \
12152 conftest$ac_exeext conftest.$ac_ext
12153 CFLAGS=$ac_wine_try_cflags_saved
12155 echo "$as_me:$LINENO: result: $ac_cv_c_export_dynamic" >&5
12156 echo "${ECHO_T}$ac_cv_c_export_dynamic" >&6
12157 if test "$ac_cv_c_export_dynamic" = "yes"
12158 then
12159 LDEXECFLAGS="-Wl,--export-dynamic"
12163 case $host_cpu in
12164 *i[3456789]86*)
12165 echo "$as_me:$LINENO: checking whether we can relocate the executable to 0x7bf00000" >&5
12166 echo $ECHO_N "checking whether we can relocate the executable to 0x7bf00000... $ECHO_C" >&6
12167 if test "${ac_cv_ld_reloc_exec+set}" = set; then
12168 echo $ECHO_N "(cached) $ECHO_C" >&6
12169 else
12170 ac_wine_try_cflags_saved=$CFLAGS
12171 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
12172 cat >conftest.$ac_ext <<_ACEOF
12173 /* confdefs.h. */
12174 _ACEOF
12175 cat confdefs.h >>conftest.$ac_ext
12176 cat >>conftest.$ac_ext <<_ACEOF
12177 /* end confdefs.h. */
12180 main ()
12184 return 0;
12186 _ACEOF
12187 rm -f conftest.$ac_objext conftest$ac_exeext
12188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12189 (eval $ac_link) 2>conftest.er1
12190 ac_status=$?
12191 grep -v '^ *+' conftest.er1 >conftest.err
12192 rm -f conftest.er1
12193 cat conftest.err >&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); } &&
12196 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12199 ac_status=$?
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; } &&
12202 { ac_try='test -s conftest$ac_exeext'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12205 ac_status=$?
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 ac_cv_ld_reloc_exec="yes"
12209 else
12210 echo "$as_me: failed program was:" >&5
12211 sed 's/^/| /' conftest.$ac_ext >&5
12213 ac_cv_ld_reloc_exec="no"
12215 rm -f conftest.err conftest.$ac_objext \
12216 conftest$ac_exeext conftest.$ac_ext
12217 CFLAGS=$ac_wine_try_cflags_saved
12219 echo "$as_me:$LINENO: result: $ac_cv_ld_reloc_exec" >&5
12220 echo "${ECHO_T}$ac_cv_ld_reloc_exec" >&6
12221 if test "$ac_cv_ld_reloc_exec" = "yes"
12222 then
12223 LDEXECFLAGS="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
12226 esac
12228 else
12229 echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
12230 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6
12231 if test "${ac_cv_c_dll_unixware+set}" = set; then
12232 echo $ECHO_N "(cached) $ECHO_C" >&6
12233 else
12234 ac_wine_try_cflags_saved=$CFLAGS
12235 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
12236 cat >conftest.$ac_ext <<_ACEOF
12237 void myfunc() {}
12238 _ACEOF
12239 rm -f conftest.$ac_objext conftest$ac_exeext
12240 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12241 (eval $ac_link) 2>conftest.er1
12242 ac_status=$?
12243 grep -v '^ *+' conftest.er1 >conftest.err
12244 rm -f conftest.er1
12245 cat conftest.err >&5
12246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12247 (exit $ac_status); } &&
12248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12250 (eval $ac_try) 2>&5
12251 ac_status=$?
12252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12253 (exit $ac_status); }; } &&
12254 { ac_try='test -s conftest$ac_exeext'
12255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256 (eval $ac_try) 2>&5
12257 ac_status=$?
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; }; then
12260 ac_cv_c_dll_unixware="yes"
12261 else
12262 echo "$as_me: failed program was:" >&5
12263 sed 's/^/| /' conftest.$ac_ext >&5
12265 ac_cv_c_dll_unixware="no"
12267 rm -f conftest.err conftest.$ac_objext \
12268 conftest$ac_exeext conftest.$ac_ext
12269 CFLAGS=$ac_wine_try_cflags_saved
12271 echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
12272 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6
12273 if test "$ac_cv_c_dll_unixware" = "yes"
12274 then
12275 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
12276 LDDLLFLAGS="-Wl,-G,-B,symbolic"
12278 else
12279 echo "$as_me:$LINENO: checking whether we can build a Mach-O (Mac OS X/Darwin) dll" >&5
12280 echo $ECHO_N "checking whether we can build a Mach-O (Mac OS X/Darwin) dll... $ECHO_C" >&6
12281 if test "${ac_cv_c_dll_macho+set}" = set; then
12282 echo $ECHO_N "(cached) $ECHO_C" >&6
12283 else
12284 ac_wine_try_cflags_saved=$CFLAGS
12285 CFLAGS="$CFLAGS -bundle"
12286 cat >conftest.$ac_ext <<_ACEOF
12287 void myfunc() {}
12288 _ACEOF
12289 rm -f conftest.$ac_objext conftest$ac_exeext
12290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12291 (eval $ac_link) 2>conftest.er1
12292 ac_status=$?
12293 grep -v '^ *+' conftest.er1 >conftest.err
12294 rm -f conftest.er1
12295 cat conftest.err >&5
12296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12297 (exit $ac_status); } &&
12298 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12300 (eval $ac_try) 2>&5
12301 ac_status=$?
12302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12303 (exit $ac_status); }; } &&
12304 { ac_try='test -s conftest$ac_exeext'
12305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12306 (eval $ac_try) 2>&5
12307 ac_status=$?
12308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12309 (exit $ac_status); }; }; then
12310 ac_cv_c_dll_macho="yes"
12311 else
12312 echo "$as_me: failed program was:" >&5
12313 sed 's/^/| /' conftest.$ac_ext >&5
12315 ac_cv_c_dll_macho="no"
12317 rm -f conftest.err conftest.$ac_objext \
12318 conftest$ac_exeext conftest.$ac_ext
12319 CFLAGS=$ac_wine_try_cflags_saved
12321 echo "$as_me:$LINENO: result: $ac_cv_c_dll_macho" >&5
12322 echo "${ECHO_T}$ac_cv_c_dll_macho" >&6
12323 if test "$ac_cv_c_dll_macho" = "yes"
12324 then
12325 LIBEXT="dylib"
12326 LDDLLFLAGS="-bundle -flat_namespace -undefined suppress -read_only_relocs warning"
12327 LDSHARED="\$(CC) -dynamiclib"
12328 CFLAGS="$CFLAGS -ffixed-r13 -no-cpp-precomp"
12329 STRIP="$STRIP -u -r"
12330 LDEXECFLAGS="-seg1addr 0x120000"
12332 LDLIBWINEFLAGS="-seg1addr 0x140000"
12334 COREFOUNDATIONLIB="-framework CoreFoundation"
12336 IOKITLIB="-framework IOKit"
12338 IOKITLIB="$IOKITLIB $COREFOUNDATIONLIB"
12339 else
12340 echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
12341 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6
12342 if test "${ac_cv_c_dll_hpux+set}" = set; then
12343 echo $ECHO_N "(cached) $ECHO_C" >&6
12344 else
12345 ac_wine_try_cflags_saved=$CFLAGS
12346 CFLAGS="$CFLAGS -shared"
12347 cat >conftest.$ac_ext <<_ACEOF
12348 void myfunc() {}
12349 _ACEOF
12350 rm -f conftest.$ac_objext conftest$ac_exeext
12351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12352 (eval $ac_link) 2>conftest.er1
12353 ac_status=$?
12354 grep -v '^ *+' conftest.er1 >conftest.err
12355 rm -f conftest.er1
12356 cat conftest.err >&5
12357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12358 (exit $ac_status); } &&
12359 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12361 (eval $ac_try) 2>&5
12362 ac_status=$?
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try='test -s conftest$ac_exeext'
12366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12367 (eval $ac_try) 2>&5
12368 ac_status=$?
12369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12370 (exit $ac_status); }; }; then
12371 ac_cv_c_dll_hpux="yes"
12372 else
12373 echo "$as_me: failed program was:" >&5
12374 sed 's/^/| /' conftest.$ac_ext >&5
12376 ac_cv_c_dll_hpux="no"
12378 rm -f conftest.err conftest.$ac_objext \
12379 conftest$ac_exeext conftest.$ac_ext
12380 CFLAGS=$ac_wine_try_cflags_saved
12382 echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
12383 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6
12384 if test "$ac_cv_c_dll_hpux" = "yes"
12385 then
12386 LIBEXT="sl"
12387 DLLEXT=".sl"
12388 LDDLLFLAGS="-shared -fPIC"
12389 LDSHARED="\$(CC) -shared"
12396 CROSSTEST=""
12398 if test "$cross_compiling" = "no"
12399 then
12400 for ac_prog in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw-gcc
12402 # Extract the first word of "$ac_prog", so it can be a program name with args.
12403 set dummy $ac_prog; ac_word=$2
12404 echo "$as_me:$LINENO: checking for $ac_word" >&5
12405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12406 if test "${ac_cv_prog_CROSSCC+set}" = set; then
12407 echo $ECHO_N "(cached) $ECHO_C" >&6
12408 else
12409 if test -n "$CROSSCC"; then
12410 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
12411 else
12412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12413 for as_dir in $PATH
12415 IFS=$as_save_IFS
12416 test -z "$as_dir" && as_dir=.
12417 for ac_exec_ext in '' $ac_executable_extensions; do
12418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12419 ac_cv_prog_CROSSCC="$ac_prog"
12420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12421 break 2
12423 done
12424 done
12428 CROSSCC=$ac_cv_prog_CROSSCC
12429 if test -n "$CROSSCC"; then
12430 echo "$as_me:$LINENO: result: $CROSSCC" >&5
12431 echo "${ECHO_T}$CROSSCC" >&6
12432 else
12433 echo "$as_me:$LINENO: result: no" >&5
12434 echo "${ECHO_T}no" >&6
12437 test -n "$CROSSCC" && break
12438 done
12439 test -n "$CROSSCC" || CROSSCC="false"
12441 for ac_prog in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw-dlltool
12443 # Extract the first word of "$ac_prog", so it can be a program name with args.
12444 set dummy $ac_prog; ac_word=$2
12445 echo "$as_me:$LINENO: checking for $ac_word" >&5
12446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12447 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
12448 echo $ECHO_N "(cached) $ECHO_C" >&6
12449 else
12450 if test -n "$DLLTOOL"; then
12451 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
12452 else
12453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12454 for as_dir in $PATH
12456 IFS=$as_save_IFS
12457 test -z "$as_dir" && as_dir=.
12458 for ac_exec_ext in '' $ac_executable_extensions; do
12459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12460 ac_cv_prog_DLLTOOL="$ac_prog"
12461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12462 break 2
12464 done
12465 done
12469 DLLTOOL=$ac_cv_prog_DLLTOOL
12470 if test -n "$DLLTOOL"; then
12471 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
12472 echo "${ECHO_T}$DLLTOOL" >&6
12473 else
12474 echo "$as_me:$LINENO: result: no" >&5
12475 echo "${ECHO_T}no" >&6
12478 test -n "$DLLTOOL" && break
12479 done
12480 test -n "$DLLTOOL" || DLLTOOL="false"
12482 for ac_prog in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw-windres
12484 # Extract the first word of "$ac_prog", so it can be a program name with args.
12485 set dummy $ac_prog; ac_word=$2
12486 echo "$as_me:$LINENO: checking for $ac_word" >&5
12487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12488 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
12489 echo $ECHO_N "(cached) $ECHO_C" >&6
12490 else
12491 if test -n "$CROSSWINDRES"; then
12492 ac_cv_prog_CROSSWINDRES="$CROSSWINDRES" # Let the user override the test.
12493 else
12494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12495 for as_dir in $PATH
12497 IFS=$as_save_IFS
12498 test -z "$as_dir" && as_dir=.
12499 for ac_exec_ext in '' $ac_executable_extensions; do
12500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12501 ac_cv_prog_CROSSWINDRES="$ac_prog"
12502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12503 break 2
12505 done
12506 done
12510 CROSSWINDRES=$ac_cv_prog_CROSSWINDRES
12511 if test -n "$CROSSWINDRES"; then
12512 echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
12513 echo "${ECHO_T}$CROSSWINDRES" >&6
12514 else
12515 echo "$as_me:$LINENO: result: no" >&5
12516 echo "${ECHO_T}no" >&6
12519 test -n "$CROSSWINDRES" && break
12520 done
12521 test -n "$CROSSWINDRES" || CROSSWINDRES="false"
12523 if test "$CROSSCC" != "false"; then CROSSTEST="\$(CROSSTEST)"; fi
12526 esac
12528 if test "$LIBEXT" = "a"; then
12529 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
12530 It is currently not possible to build Wine without shared library
12531 (.so) support to allow transparent switch between .so and .dll files.
12532 If you are using Linux, you will need a newer binutils.
12533 " >&5
12534 echo "$as_me: error: could not find a way to build shared libraries.
12535 It is currently not possible to build Wine without shared library
12536 (.so) support to allow transparent switch between .so and .dll files.
12537 If you are using Linux, you will need a newer binutils.
12538 " >&2;}
12539 { (exit 1); exit 1; }; }
12542 case $build_os in
12543 cygwin*|mingw32*)
12544 LDPATH="PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$PATH\""
12546 darwin*|macosx*)
12547 LDPATH="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$DYLD_LIBRARY_PATH\""
12550 LDPATH="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/unicode:\$\$LD_LIBRARY_PATH\""
12552 esac
12554 case $host_os in
12555 mingw32*)
12556 CRTLIBS="-lmsvcrt"
12558 SOCKETLIBS="-lws2_32"
12561 esac
12563 case $host_os in
12564 linux*)
12565 case $host_cpu in
12566 *i[3456789]86*) WINE_BINARIES="wine-glibc wine-kthread wine-pthread wine-preloader"
12568 *) WINE_BINARIES="wine-glibc wine-kthread wine-pthread"
12570 esac
12571 MAIN_BINARY="wine-glibc"
12574 darwin*)
12575 WINE_BINARIES="wine-pthread"
12577 MAIN_BINARY="wine-pthread"
12581 WINE_BINARIES="wine-kthread"
12583 MAIN_BINARY="wine-kthread"
12586 esac
12589 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
12590 then
12591 # Extract the first word of "ldd", so it can be a program name with args.
12592 set dummy ldd; ac_word=$2
12593 echo "$as_me:$LINENO: checking for $ac_word" >&5
12594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12595 if test "${ac_cv_path_LDD+set}" = set; then
12596 echo $ECHO_N "(cached) $ECHO_C" >&6
12597 else
12598 case $LDD in
12599 [\\/]* | ?:[\\/]*)
12600 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
12603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12604 as_dummy="/sbin:/usr/sbin:$PATH"
12605 for as_dir in $as_dummy
12607 IFS=$as_save_IFS
12608 test -z "$as_dir" && as_dir=.
12609 for ac_exec_ext in '' $ac_executable_extensions; do
12610 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12611 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
12612 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12613 break 2
12615 done
12616 done
12618 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
12620 esac
12622 LDD=$ac_cv_path_LDD
12624 if test -n "$LDD"; then
12625 echo "$as_me:$LINENO: result: $LDD" >&5
12626 echo "${ECHO_T}$LDD" >&6
12627 else
12628 echo "$as_me:$LINENO: result: no" >&5
12629 echo "${ECHO_T}no" >&6
12633 echo "$as_me:$LINENO: checking for -lX11 soname" >&5
12634 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6
12635 if test "${ac_cv_lib_soname_X11+set}" = set; then
12636 echo $ECHO_N "(cached) $ECHO_C" >&6
12637 else
12638 ac_get_soname_save_LIBS=$LIBS
12639 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
12640 cat >conftest.$ac_ext <<_ACEOF
12641 /* confdefs.h. */
12642 _ACEOF
12643 cat confdefs.h >>conftest.$ac_ext
12644 cat >>conftest.$ac_ext <<_ACEOF
12645 /* end confdefs.h. */
12647 /* Override any gcc2 internal prototype to avoid an error. */
12648 #ifdef __cplusplus
12649 extern "C"
12650 #endif
12651 /* We use char because int might match the return type of a gcc2
12652 builtin and then its argument prototype would still apply. */
12653 char XCreateWindow ();
12655 main ()
12657 XCreateWindow ();
12659 return 0;
12661 _ACEOF
12662 rm -f conftest.$ac_objext conftest$ac_exeext
12663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12664 (eval $ac_link) 2>conftest.er1
12665 ac_status=$?
12666 grep -v '^ *+' conftest.er1 >conftest.err
12667 rm -f conftest.er1
12668 cat conftest.err >&5
12669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12670 (exit $ac_status); } &&
12671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12673 (eval $ac_try) 2>&5
12674 ac_status=$?
12675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12676 (exit $ac_status); }; } &&
12677 { ac_try='test -s conftest$ac_exeext'
12678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12679 (eval $ac_try) 2>&5
12680 ac_status=$?
12681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12682 (exit $ac_status); }; }; then
12683 ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest$ac_exeext | grep libX11\\.$LIBEXT | sed "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"`
12684 if test "x$ac_cv_lib_soname_X11" = "x"
12685 then
12686 ac_cv_lib_soname_X11="libX11.$LIBEXT"
12688 else
12689 echo "$as_me: failed program was:" >&5
12690 sed 's/^/| /' conftest.$ac_ext >&5
12692 ac_cv_lib_soname_X11="libX11.$LIBEXT"
12694 rm -f conftest.err conftest.$ac_objext \
12695 conftest$ac_exeext conftest.$ac_ext
12696 LIBS=$ac_get_soname_save_LIBS
12698 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
12699 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6
12700 if test "x$ac_cv_lib_soname_X11" != xNONE
12701 then
12702 cat >>confdefs.h <<_ACEOF
12703 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
12704 _ACEOF
12707 echo "$as_me:$LINENO: checking for -lXext soname" >&5
12708 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6
12709 if test "${ac_cv_lib_soname_Xext+set}" = set; then
12710 echo $ECHO_N "(cached) $ECHO_C" >&6
12711 else
12712 ac_get_soname_save_LIBS=$LIBS
12713 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
12714 cat >conftest.$ac_ext <<_ACEOF
12715 /* confdefs.h. */
12716 _ACEOF
12717 cat confdefs.h >>conftest.$ac_ext
12718 cat >>conftest.$ac_ext <<_ACEOF
12719 /* end confdefs.h. */
12721 /* Override any gcc2 internal prototype to avoid an error. */
12722 #ifdef __cplusplus
12723 extern "C"
12724 #endif
12725 /* We use char because int might match the return type of a gcc2
12726 builtin and then its argument prototype would still apply. */
12727 char XextCreateExtension ();
12729 main ()
12731 XextCreateExtension ();
12733 return 0;
12735 _ACEOF
12736 rm -f conftest.$ac_objext conftest$ac_exeext
12737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12738 (eval $ac_link) 2>conftest.er1
12739 ac_status=$?
12740 grep -v '^ *+' conftest.er1 >conftest.err
12741 rm -f conftest.er1
12742 cat conftest.err >&5
12743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12744 (exit $ac_status); } &&
12745 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12747 (eval $ac_try) 2>&5
12748 ac_status=$?
12749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12750 (exit $ac_status); }; } &&
12751 { ac_try='test -s conftest$ac_exeext'
12752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12753 (eval $ac_try) 2>&5
12754 ac_status=$?
12755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); }; }; then
12757 ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.$LIBEXT | sed "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"`
12758 if test "x$ac_cv_lib_soname_Xext" = "x"
12759 then
12760 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
12762 else
12763 echo "$as_me: failed program was:" >&5
12764 sed 's/^/| /' conftest.$ac_ext >&5
12766 ac_cv_lib_soname_Xext="libXext.$LIBEXT"
12768 rm -f conftest.err conftest.$ac_objext \
12769 conftest$ac_exeext conftest.$ac_ext
12770 LIBS=$ac_get_soname_save_LIBS
12772 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
12773 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6
12774 if test "x$ac_cv_lib_soname_Xext" != xNONE
12775 then
12776 cat >>confdefs.h <<_ACEOF
12777 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
12778 _ACEOF
12781 echo "$as_me:$LINENO: checking for -lXi soname" >&5
12782 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6
12783 if test "${ac_cv_lib_soname_Xi+set}" = set; then
12784 echo $ECHO_N "(cached) $ECHO_C" >&6
12785 else
12786 ac_get_soname_save_LIBS=$LIBS
12787 LIBS="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12788 cat >conftest.$ac_ext <<_ACEOF
12789 /* confdefs.h. */
12790 _ACEOF
12791 cat confdefs.h >>conftest.$ac_ext
12792 cat >>conftest.$ac_ext <<_ACEOF
12793 /* end confdefs.h. */
12795 /* Override any gcc2 internal prototype to avoid an error. */
12796 #ifdef __cplusplus
12797 extern "C"
12798 #endif
12799 /* We use char because int might match the return type of a gcc2
12800 builtin and then its argument prototype would still apply. */
12801 char XOpenDevice ();
12803 main ()
12805 XOpenDevice ();
12807 return 0;
12809 _ACEOF
12810 rm -f conftest.$ac_objext conftest$ac_exeext
12811 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12812 (eval $ac_link) 2>conftest.er1
12813 ac_status=$?
12814 grep -v '^ *+' conftest.er1 >conftest.err
12815 rm -f conftest.er1
12816 cat conftest.err >&5
12817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12818 (exit $ac_status); } &&
12819 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12821 (eval $ac_try) 2>&5
12822 ac_status=$?
12823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12824 (exit $ac_status); }; } &&
12825 { ac_try='test -s conftest$ac_exeext'
12826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12827 (eval $ac_try) 2>&5
12828 ac_status=$?
12829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12830 (exit $ac_status); }; }; then
12831 ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest$ac_exeext | grep libXi\\.$LIBEXT | sed "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"`
12832 if test "x$ac_cv_lib_soname_Xi" = "x"
12833 then
12834 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
12836 else
12837 echo "$as_me: failed program was:" >&5
12838 sed 's/^/| /' conftest.$ac_ext >&5
12840 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
12842 rm -f conftest.err conftest.$ac_objext \
12843 conftest$ac_exeext conftest.$ac_ext
12844 LIBS=$ac_get_soname_save_LIBS
12846 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
12847 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6
12848 if test "x$ac_cv_lib_soname_Xi" != xNONE
12849 then
12850 cat >>confdefs.h <<_ACEOF
12851 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
12852 _ACEOF
12855 echo "$as_me:$LINENO: checking for -lXrender soname" >&5
12856 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6
12857 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
12858 echo $ECHO_N "(cached) $ECHO_C" >&6
12859 else
12860 ac_get_soname_save_LIBS=$LIBS
12861 LIBS="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12862 cat >conftest.$ac_ext <<_ACEOF
12863 /* confdefs.h. */
12864 _ACEOF
12865 cat confdefs.h >>conftest.$ac_ext
12866 cat >>conftest.$ac_ext <<_ACEOF
12867 /* end confdefs.h. */
12869 /* Override any gcc2 internal prototype to avoid an error. */
12870 #ifdef __cplusplus
12871 extern "C"
12872 #endif
12873 /* We use char because int might match the return type of a gcc2
12874 builtin and then its argument prototype would still apply. */
12875 char XRenderQueryExtension ();
12877 main ()
12879 XRenderQueryExtension ();
12881 return 0;
12883 _ACEOF
12884 rm -f conftest.$ac_objext conftest$ac_exeext
12885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12886 (eval $ac_link) 2>conftest.er1
12887 ac_status=$?
12888 grep -v '^ *+' conftest.er1 >conftest.err
12889 rm -f conftest.er1
12890 cat conftest.err >&5
12891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12892 (exit $ac_status); } &&
12893 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12895 (eval $ac_try) 2>&5
12896 ac_status=$?
12897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12898 (exit $ac_status); }; } &&
12899 { ac_try='test -s conftest$ac_exeext'
12900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12901 (eval $ac_try) 2>&5
12902 ac_status=$?
12903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12904 (exit $ac_status); }; }; then
12905 ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrender\\.$LIBEXT | sed "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"`
12906 if test "x$ac_cv_lib_soname_Xrender" = "x"
12907 then
12908 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
12910 else
12911 echo "$as_me: failed program was:" >&5
12912 sed 's/^/| /' conftest.$ac_ext >&5
12914 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
12916 rm -f conftest.err conftest.$ac_objext \
12917 conftest$ac_exeext conftest.$ac_ext
12918 LIBS=$ac_get_soname_save_LIBS
12920 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
12921 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6
12922 if test "x$ac_cv_lib_soname_Xrender" != xNONE
12923 then
12924 cat >>confdefs.h <<_ACEOF
12925 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
12926 _ACEOF
12929 echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
12930 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6
12931 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
12932 echo $ECHO_N "(cached) $ECHO_C" >&6
12933 else
12934 ac_get_soname_save_LIBS=$LIBS
12935 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
12936 cat >conftest.$ac_ext <<_ACEOF
12937 /* confdefs.h. */
12938 _ACEOF
12939 cat confdefs.h >>conftest.$ac_ext
12940 cat >>conftest.$ac_ext <<_ACEOF
12941 /* end confdefs.h. */
12943 /* Override any gcc2 internal prototype to avoid an error. */
12944 #ifdef __cplusplus
12945 extern "C"
12946 #endif
12947 /* We use char because int might match the return type of a gcc2
12948 builtin and then its argument prototype would still apply. */
12949 char XRRQueryExtension ();
12951 main ()
12953 XRRQueryExtension ();
12955 return 0;
12957 _ACEOF
12958 rm -f conftest.$ac_objext conftest$ac_exeext
12959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12960 (eval $ac_link) 2>conftest.er1
12961 ac_status=$?
12962 grep -v '^ *+' conftest.er1 >conftest.err
12963 rm -f conftest.er1
12964 cat conftest.err >&5
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); } &&
12967 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12969 (eval $ac_try) 2>&5
12970 ac_status=$?
12971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12972 (exit $ac_status); }; } &&
12973 { ac_try='test -s conftest$ac_exeext'
12974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12975 (eval $ac_try) 2>&5
12976 ac_status=$?
12977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12978 (exit $ac_status); }; }; then
12979 ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.$LIBEXT | sed "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"`
12980 if test "x$ac_cv_lib_soname_Xrandr" = "x"
12981 then
12982 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
12984 else
12985 echo "$as_me: failed program was:" >&5
12986 sed 's/^/| /' conftest.$ac_ext >&5
12988 ac_cv_lib_soname_Xrandr="libXrandr.$LIBEXT"
12990 rm -f conftest.err conftest.$ac_objext \
12991 conftest$ac_exeext conftest.$ac_ext
12992 LIBS=$ac_get_soname_save_LIBS
12994 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
12995 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6
12996 if test "x$ac_cv_lib_soname_Xrandr" != xNONE
12997 then
12998 cat >>confdefs.h <<_ACEOF
12999 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
13000 _ACEOF
13003 echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
13004 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6
13005 if test "${ac_cv_lib_soname_freetype+set}" = set; then
13006 echo $ECHO_N "(cached) $ECHO_C" >&6
13007 else
13008 ac_get_soname_save_LIBS=$LIBS
13009 LIBS="-lfreetype $X_LIBS $LIBS"
13010 cat >conftest.$ac_ext <<_ACEOF
13011 /* confdefs.h. */
13012 _ACEOF
13013 cat confdefs.h >>conftest.$ac_ext
13014 cat >>conftest.$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13017 /* Override any gcc2 internal prototype to avoid an error. */
13018 #ifdef __cplusplus
13019 extern "C"
13020 #endif
13021 /* We use char because int might match the return type of a gcc2
13022 builtin and then its argument prototype would still apply. */
13023 char FT_Init_FreeType ();
13025 main ()
13027 FT_Init_FreeType ();
13029 return 0;
13031 _ACEOF
13032 rm -f conftest.$ac_objext conftest$ac_exeext
13033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13034 (eval $ac_link) 2>conftest.er1
13035 ac_status=$?
13036 grep -v '^ *+' conftest.er1 >conftest.err
13037 rm -f conftest.er1
13038 cat conftest.err >&5
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); } &&
13041 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13043 (eval $ac_try) 2>&5
13044 ac_status=$?
13045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); }; } &&
13047 { ac_try='test -s conftest$ac_exeext'
13048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13049 (eval $ac_try) 2>&5
13050 ac_status=$?
13051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13052 (exit $ac_status); }; }; then
13053 ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest$ac_exeext | grep libfreetype\\.$LIBEXT | sed "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"`
13054 if test "x$ac_cv_lib_soname_freetype" = "x"
13055 then
13056 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
13058 else
13059 echo "$as_me: failed program was:" >&5
13060 sed 's/^/| /' conftest.$ac_ext >&5
13062 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
13064 rm -f conftest.err conftest.$ac_objext \
13065 conftest$ac_exeext conftest.$ac_ext
13066 LIBS=$ac_get_soname_save_LIBS
13068 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
13069 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6
13070 if test "x$ac_cv_lib_soname_freetype" != xNONE
13071 then
13072 cat >>confdefs.h <<_ACEOF
13073 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
13074 _ACEOF
13077 echo "$as_me:$LINENO: checking for -lGL soname" >&5
13078 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6
13079 if test "${ac_cv_lib_soname_GL+set}" = set; then
13080 echo $ECHO_N "(cached) $ECHO_C" >&6
13081 else
13082 ac_get_soname_save_LIBS=$LIBS
13083 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
13084 cat >conftest.$ac_ext <<_ACEOF
13085 /* confdefs.h. */
13086 _ACEOF
13087 cat confdefs.h >>conftest.$ac_ext
13088 cat >>conftest.$ac_ext <<_ACEOF
13089 /* end confdefs.h. */
13091 /* Override any gcc2 internal prototype to avoid an error. */
13092 #ifdef __cplusplus
13093 extern "C"
13094 #endif
13095 /* We use char because int might match the return type of a gcc2
13096 builtin and then its argument prototype would still apply. */
13097 char glXQueryExtension ();
13099 main ()
13101 glXQueryExtension ();
13103 return 0;
13105 _ACEOF
13106 rm -f conftest.$ac_objext conftest$ac_exeext
13107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13108 (eval $ac_link) 2>conftest.er1
13109 ac_status=$?
13110 grep -v '^ *+' conftest.er1 >conftest.err
13111 rm -f conftest.er1
13112 cat conftest.err >&5
13113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13114 (exit $ac_status); } &&
13115 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13117 (eval $ac_try) 2>&5
13118 ac_status=$?
13119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13120 (exit $ac_status); }; } &&
13121 { ac_try='test -s conftest$ac_exeext'
13122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13123 (eval $ac_try) 2>&5
13124 ac_status=$?
13125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13126 (exit $ac_status); }; }; then
13127 ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.$LIBEXT | sed "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"`
13128 if test "x$ac_cv_lib_soname_GL" = "x"
13129 then
13130 ac_cv_lib_soname_GL="libGL.$LIBEXT"
13132 else
13133 echo "$as_me: failed program was:" >&5
13134 sed 's/^/| /' conftest.$ac_ext >&5
13136 ac_cv_lib_soname_GL="libGL.$LIBEXT"
13138 rm -f conftest.err conftest.$ac_objext \
13139 conftest$ac_exeext conftest.$ac_ext
13140 LIBS=$ac_get_soname_save_LIBS
13142 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
13143 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6
13144 if test "x$ac_cv_lib_soname_GL" != xNONE
13145 then
13146 cat >>confdefs.h <<_ACEOF
13147 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
13148 _ACEOF
13151 echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
13152 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6
13153 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
13154 echo $ECHO_N "(cached) $ECHO_C" >&6
13155 else
13156 ac_get_soname_save_LIBS=$LIBS
13157 LIBS="-ltxc_dxtn $LIBS"
13158 cat >conftest.$ac_ext <<_ACEOF
13159 /* confdefs.h. */
13160 _ACEOF
13161 cat confdefs.h >>conftest.$ac_ext
13162 cat >>conftest.$ac_ext <<_ACEOF
13163 /* end confdefs.h. */
13165 /* Override any gcc2 internal prototype to avoid an error. */
13166 #ifdef __cplusplus
13167 extern "C"
13168 #endif
13169 /* We use char because int might match the return type of a gcc2
13170 builtin and then its argument prototype would still apply. */
13171 char fetch_2d_texel_rgba_dxt1 ();
13173 main ()
13175 fetch_2d_texel_rgba_dxt1 ();
13177 return 0;
13179 _ACEOF
13180 rm -f conftest.$ac_objext conftest$ac_exeext
13181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13182 (eval $ac_link) 2>conftest.er1
13183 ac_status=$?
13184 grep -v '^ *+' conftest.er1 >conftest.err
13185 rm -f conftest.er1
13186 cat conftest.err >&5
13187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13188 (exit $ac_status); } &&
13189 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13191 (eval $ac_try) 2>&5
13192 ac_status=$?
13193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13194 (exit $ac_status); }; } &&
13195 { ac_try='test -s conftest$ac_exeext'
13196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13197 (eval $ac_try) 2>&5
13198 ac_status=$?
13199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13200 (exit $ac_status); }; }; then
13201 ac_cv_lib_soname_txc_dxtn=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.$LIBEXT | sed "s/^.*\(libtxc_dxtn\.$LIBEXT[^ ]*\).*$/\1/"`
13202 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
13203 then
13204 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
13206 else
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.$ac_ext >&5
13210 ac_cv_lib_soname_txc_dxtn="libtxc_dxtn.$LIBEXT"
13212 rm -f conftest.err conftest.$ac_objext \
13213 conftest$ac_exeext conftest.$ac_ext
13214 LIBS=$ac_get_soname_save_LIBS
13216 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
13217 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6
13218 if test "x$ac_cv_lib_soname_txc_dxtn" != xNONE
13219 then
13220 cat >>confdefs.h <<_ACEOF
13221 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
13222 _ACEOF
13225 echo "$as_me:$LINENO: checking for -lcups soname" >&5
13226 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6
13227 if test "${ac_cv_lib_soname_cups+set}" = set; then
13228 echo $ECHO_N "(cached) $ECHO_C" >&6
13229 else
13230 ac_get_soname_save_LIBS=$LIBS
13231 LIBS="-lcups $LIBS"
13232 cat >conftest.$ac_ext <<_ACEOF
13233 /* confdefs.h. */
13234 _ACEOF
13235 cat confdefs.h >>conftest.$ac_ext
13236 cat >>conftest.$ac_ext <<_ACEOF
13237 /* end confdefs.h. */
13239 /* Override any gcc2 internal prototype to avoid an error. */
13240 #ifdef __cplusplus
13241 extern "C"
13242 #endif
13243 /* We use char because int might match the return type of a gcc2
13244 builtin and then its argument prototype would still apply. */
13245 char cupsGetDefault ();
13247 main ()
13249 cupsGetDefault ();
13251 return 0;
13253 _ACEOF
13254 rm -f conftest.$ac_objext conftest$ac_exeext
13255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13256 (eval $ac_link) 2>conftest.er1
13257 ac_status=$?
13258 grep -v '^ *+' conftest.er1 >conftest.err
13259 rm -f conftest.er1
13260 cat conftest.err >&5
13261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13262 (exit $ac_status); } &&
13263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13265 (eval $ac_try) 2>&5
13266 ac_status=$?
13267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13268 (exit $ac_status); }; } &&
13269 { ac_try='test -s conftest$ac_exeext'
13270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13271 (eval $ac_try) 2>&5
13272 ac_status=$?
13273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13274 (exit $ac_status); }; }; then
13275 ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest$ac_exeext | grep libcups\\.$LIBEXT | sed "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"`
13276 if test "x$ac_cv_lib_soname_cups" = "x"
13277 then
13278 ac_cv_lib_soname_cups="libcups.$LIBEXT"
13280 else
13281 echo "$as_me: failed program was:" >&5
13282 sed 's/^/| /' conftest.$ac_ext >&5
13284 ac_cv_lib_soname_cups="libcups.$LIBEXT"
13286 rm -f conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_get_soname_save_LIBS
13290 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
13291 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6
13292 if test "x$ac_cv_lib_soname_cups" != xNONE
13293 then
13294 cat >>confdefs.h <<_ACEOF
13295 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13296 _ACEOF
13299 echo "$as_me:$LINENO: checking for -ljack soname" >&5
13300 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6
13301 if test "${ac_cv_lib_soname_jack+set}" = set; then
13302 echo $ECHO_N "(cached) $ECHO_C" >&6
13303 else
13304 ac_get_soname_save_LIBS=$LIBS
13305 LIBS="-ljack $LIBS"
13306 cat >conftest.$ac_ext <<_ACEOF
13307 /* confdefs.h. */
13308 _ACEOF
13309 cat confdefs.h >>conftest.$ac_ext
13310 cat >>conftest.$ac_ext <<_ACEOF
13311 /* end confdefs.h. */
13313 /* Override any gcc2 internal prototype to avoid an error. */
13314 #ifdef __cplusplus
13315 extern "C"
13316 #endif
13317 /* We use char because int might match the return type of a gcc2
13318 builtin and then its argument prototype would still apply. */
13319 char jack_client_new ();
13321 main ()
13323 jack_client_new ();
13325 return 0;
13327 _ACEOF
13328 rm -f conftest.$ac_objext conftest$ac_exeext
13329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13330 (eval $ac_link) 2>conftest.er1
13331 ac_status=$?
13332 grep -v '^ *+' conftest.er1 >conftest.err
13333 rm -f conftest.er1
13334 cat conftest.err >&5
13335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13336 (exit $ac_status); } &&
13337 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13339 (eval $ac_try) 2>&5
13340 ac_status=$?
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); }; } &&
13343 { ac_try='test -s conftest$ac_exeext'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13346 ac_status=$?
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; }; then
13349 ac_cv_lib_soname_jack=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.$LIBEXT | sed "s/^.*\(libjack\.$LIBEXT[^ ]*\).*$/\1/"`
13350 if test "x$ac_cv_lib_soname_jack" = "x"
13351 then
13352 ac_cv_lib_soname_jack="libjack.$LIBEXT"
13354 else
13355 echo "$as_me: failed program was:" >&5
13356 sed 's/^/| /' conftest.$ac_ext >&5
13358 ac_cv_lib_soname_jack="libjack.$LIBEXT"
13360 rm -f conftest.err conftest.$ac_objext \
13361 conftest$ac_exeext conftest.$ac_ext
13362 LIBS=$ac_get_soname_save_LIBS
13364 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
13365 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6
13366 if test "x$ac_cv_lib_soname_jack" != xNONE
13367 then
13368 cat >>confdefs.h <<_ACEOF
13369 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
13370 _ACEOF
13373 echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
13374 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6
13375 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
13376 echo $ECHO_N "(cached) $ECHO_C" >&6
13377 else
13378 ac_get_soname_save_LIBS=$LIBS
13379 LIBS="-lfontconfig $LIBS"
13380 cat >conftest.$ac_ext <<_ACEOF
13381 /* confdefs.h. */
13382 _ACEOF
13383 cat confdefs.h >>conftest.$ac_ext
13384 cat >>conftest.$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13387 /* Override any gcc2 internal prototype to avoid an error. */
13388 #ifdef __cplusplus
13389 extern "C"
13390 #endif
13391 /* We use char because int might match the return type of a gcc2
13392 builtin and then its argument prototype would still apply. */
13393 char FcInit ();
13395 main ()
13397 FcInit ();
13399 return 0;
13401 _ACEOF
13402 rm -f conftest.$ac_objext conftest$ac_exeext
13403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13404 (eval $ac_link) 2>conftest.er1
13405 ac_status=$?
13406 grep -v '^ *+' conftest.er1 >conftest.err
13407 rm -f conftest.er1
13408 cat conftest.err >&5
13409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13410 (exit $ac_status); } &&
13411 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13413 (eval $ac_try) 2>&5
13414 ac_status=$?
13415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13416 (exit $ac_status); }; } &&
13417 { ac_try='test -s conftest$ac_exeext'
13418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13419 (eval $ac_try) 2>&5
13420 ac_status=$?
13421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13422 (exit $ac_status); }; }; then
13423 ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest$ac_exeext | grep libfontconfig\\.$LIBEXT | sed "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"`
13424 if test "x$ac_cv_lib_soname_fontconfig" = "x"
13425 then
13426 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
13428 else
13429 echo "$as_me: failed program was:" >&5
13430 sed 's/^/| /' conftest.$ac_ext >&5
13432 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
13434 rm -f conftest.err conftest.$ac_objext \
13435 conftest$ac_exeext conftest.$ac_ext
13436 LIBS=$ac_get_soname_save_LIBS
13438 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
13439 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6
13440 if test "x$ac_cv_lib_soname_fontconfig" != xNONE
13441 then
13442 cat >>confdefs.h <<_ACEOF
13443 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13444 _ACEOF
13447 echo "$as_me:$LINENO: checking for -lssl soname" >&5
13448 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6
13449 if test "${ac_cv_lib_soname_ssl+set}" = set; then
13450 echo $ECHO_N "(cached) $ECHO_C" >&6
13451 else
13452 ac_get_soname_save_LIBS=$LIBS
13453 LIBS="-lssl $LIBS"
13454 cat >conftest.$ac_ext <<_ACEOF
13455 /* confdefs.h. */
13456 _ACEOF
13457 cat confdefs.h >>conftest.$ac_ext
13458 cat >>conftest.$ac_ext <<_ACEOF
13459 /* end confdefs.h. */
13461 /* Override any gcc2 internal prototype to avoid an error. */
13462 #ifdef __cplusplus
13463 extern "C"
13464 #endif
13465 /* We use char because int might match the return type of a gcc2
13466 builtin and then its argument prototype would still apply. */
13467 char SSL_library_init ();
13469 main ()
13471 SSL_library_init ();
13473 return 0;
13475 _ACEOF
13476 rm -f conftest.$ac_objext conftest$ac_exeext
13477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13478 (eval $ac_link) 2>conftest.er1
13479 ac_status=$?
13480 grep -v '^ *+' conftest.er1 >conftest.err
13481 rm -f conftest.er1
13482 cat conftest.err >&5
13483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13484 (exit $ac_status); } &&
13485 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13487 (eval $ac_try) 2>&5
13488 ac_status=$?
13489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13490 (exit $ac_status); }; } &&
13491 { ac_try='test -s conftest$ac_exeext'
13492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13493 (eval $ac_try) 2>&5
13494 ac_status=$?
13495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13496 (exit $ac_status); }; }; then
13497 ac_cv_lib_soname_ssl=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.$LIBEXT | sed "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"`
13498 if test "x$ac_cv_lib_soname_ssl" = "x"
13499 then
13500 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
13502 else
13503 echo "$as_me: failed program was:" >&5
13504 sed 's/^/| /' conftest.$ac_ext >&5
13506 ac_cv_lib_soname_ssl="libssl.$LIBEXT"
13508 rm -f conftest.err conftest.$ac_objext \
13509 conftest$ac_exeext conftest.$ac_ext
13510 LIBS=$ac_get_soname_save_LIBS
13512 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
13513 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6
13514 if test "x$ac_cv_lib_soname_ssl" != xNONE
13515 then
13516 cat >>confdefs.h <<_ACEOF
13517 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
13518 _ACEOF
13521 echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
13522 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6
13523 if test "${ac_cv_lib_soname_crypto+set}" = set; then
13524 echo $ECHO_N "(cached) $ECHO_C" >&6
13525 else
13526 ac_get_soname_save_LIBS=$LIBS
13527 LIBS="-lcrypto $LIBS"
13528 cat >conftest.$ac_ext <<_ACEOF
13529 /* confdefs.h. */
13530 _ACEOF
13531 cat confdefs.h >>conftest.$ac_ext
13532 cat >>conftest.$ac_ext <<_ACEOF
13533 /* end confdefs.h. */
13535 /* Override any gcc2 internal prototype to avoid an error. */
13536 #ifdef __cplusplus
13537 extern "C"
13538 #endif
13539 /* We use char because int might match the return type of a gcc2
13540 builtin and then its argument prototype would still apply. */
13541 char BIO_new_socket ();
13543 main ()
13545 BIO_new_socket ();
13547 return 0;
13549 _ACEOF
13550 rm -f conftest.$ac_objext conftest$ac_exeext
13551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13552 (eval $ac_link) 2>conftest.er1
13553 ac_status=$?
13554 grep -v '^ *+' conftest.er1 >conftest.err
13555 rm -f conftest.er1
13556 cat conftest.err >&5
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); } &&
13559 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13562 ac_status=$?
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; } &&
13565 { ac_try='test -s conftest$ac_exeext'
13566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13567 (eval $ac_try) 2>&5
13568 ac_status=$?
13569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13570 (exit $ac_status); }; }; then
13571 ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest$ac_exeext | grep libcrypto\\.$LIBEXT | sed "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"`
13572 if test "x$ac_cv_lib_soname_crypto" = "x"
13573 then
13574 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
13576 else
13577 echo "$as_me: failed program was:" >&5
13578 sed 's/^/| /' conftest.$ac_ext >&5
13580 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
13582 rm -f conftest.err conftest.$ac_objext \
13583 conftest$ac_exeext conftest.$ac_ext
13584 LIBS=$ac_get_soname_save_LIBS
13586 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
13587 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6
13588 if test "x$ac_cv_lib_soname_crypto" != xNONE
13589 then
13590 cat >>confdefs.h <<_ACEOF
13591 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
13592 _ACEOF
13595 echo "$as_me:$LINENO: checking for -lncurses soname" >&5
13596 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6
13597 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
13598 echo $ECHO_N "(cached) $ECHO_C" >&6
13599 else
13600 ac_get_soname_save_LIBS=$LIBS
13601 LIBS="-lncurses $LIBS"
13602 cat >conftest.$ac_ext <<_ACEOF
13603 /* confdefs.h. */
13604 _ACEOF
13605 cat confdefs.h >>conftest.$ac_ext
13606 cat >>conftest.$ac_ext <<_ACEOF
13607 /* end confdefs.h. */
13609 /* Override any gcc2 internal prototype to avoid an error. */
13610 #ifdef __cplusplus
13611 extern "C"
13612 #endif
13613 /* We use char because int might match the return type of a gcc2
13614 builtin and then its argument prototype would still apply. */
13615 char waddch ();
13617 main ()
13619 waddch ();
13621 return 0;
13623 _ACEOF
13624 rm -f conftest.$ac_objext conftest$ac_exeext
13625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13626 (eval $ac_link) 2>conftest.er1
13627 ac_status=$?
13628 grep -v '^ *+' conftest.er1 >conftest.err
13629 rm -f conftest.er1
13630 cat conftest.err >&5
13631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13632 (exit $ac_status); } &&
13633 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
13639 { ac_try='test -s conftest$ac_exeext'
13640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13641 (eval $ac_try) 2>&5
13642 ac_status=$?
13643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13644 (exit $ac_status); }; }; then
13645 ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.$LIBEXT | sed "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"`
13646 if test "x$ac_cv_lib_soname_ncurses" = "x"
13647 then
13648 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
13650 else
13651 echo "$as_me: failed program was:" >&5
13652 sed 's/^/| /' conftest.$ac_ext >&5
13654 ac_cv_lib_soname_ncurses="libncurses.$LIBEXT"
13656 rm -f conftest.err conftest.$ac_objext \
13657 conftest$ac_exeext conftest.$ac_ext
13658 LIBS=$ac_get_soname_save_LIBS
13660 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
13661 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6
13662 if test "x$ac_cv_lib_soname_ncurses" != xNONE
13663 then
13664 cat >>confdefs.h <<_ACEOF
13665 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13666 _ACEOF
13669 echo "$as_me:$LINENO: checking for -lcurses soname" >&5
13670 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6
13671 if test "${ac_cv_lib_soname_curses+set}" = set; then
13672 echo $ECHO_N "(cached) $ECHO_C" >&6
13673 else
13674 ac_get_soname_save_LIBS=$LIBS
13675 LIBS="-lcurses $LIBS"
13676 cat >conftest.$ac_ext <<_ACEOF
13677 /* confdefs.h. */
13678 _ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13683 /* Override any gcc2 internal prototype to avoid an error. */
13684 #ifdef __cplusplus
13685 extern "C"
13686 #endif
13687 /* We use char because int might match the return type of a gcc2
13688 builtin and then its argument prototype would still apply. */
13689 char waddch ();
13691 main ()
13693 waddch ();
13695 return 0;
13697 _ACEOF
13698 rm -f conftest.$ac_objext conftest$ac_exeext
13699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13700 (eval $ac_link) 2>conftest.er1
13701 ac_status=$?
13702 grep -v '^ *+' conftest.er1 >conftest.err
13703 rm -f conftest.er1
13704 cat conftest.err >&5
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); } &&
13707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13709 (eval $ac_try) 2>&5
13710 ac_status=$?
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); }; } &&
13713 { ac_try='test -s conftest$ac_exeext'
13714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13715 (eval $ac_try) 2>&5
13716 ac_status=$?
13717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13718 (exit $ac_status); }; }; then
13719 ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest$ac_exeext | grep libcurses\\.$LIBEXT | sed "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"`
13720 if test "x$ac_cv_lib_soname_curses" = "x"
13721 then
13722 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
13724 else
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13728 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
13730 rm -f conftest.err conftest.$ac_objext \
13731 conftest$ac_exeext conftest.$ac_ext
13732 LIBS=$ac_get_soname_save_LIBS
13734 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
13735 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6
13736 if test "x$ac_cv_lib_soname_curses" != xNONE
13737 then
13738 cat >>confdefs.h <<_ACEOF
13739 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13740 _ACEOF
13743 echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
13744 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6
13745 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
13746 echo $ECHO_N "(cached) $ECHO_C" >&6
13747 else
13748 ac_get_soname_save_LIBS=$LIBS
13749 LIBS="-ljpeg $LIBS"
13750 cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h. */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13757 /* Override any gcc2 internal prototype to avoid an error. */
13758 #ifdef __cplusplus
13759 extern "C"
13760 #endif
13761 /* We use char because int might match the return type of a gcc2
13762 builtin and then its argument prototype would still apply. */
13763 char jpeg_start_decompress ();
13765 main ()
13767 jpeg_start_decompress ();
13769 return 0;
13771 _ACEOF
13772 rm -f conftest.$ac_objext conftest$ac_exeext
13773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13774 (eval $ac_link) 2>conftest.er1
13775 ac_status=$?
13776 grep -v '^ *+' conftest.er1 >conftest.err
13777 rm -f conftest.er1
13778 cat conftest.err >&5
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); } &&
13781 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13784 ac_status=$?
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; } &&
13787 { ac_try='test -s conftest$ac_exeext'
13788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13789 (eval $ac_try) 2>&5
13790 ac_status=$?
13791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13792 (exit $ac_status); }; }; then
13793 ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.$LIBEXT | sed "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"`
13794 if test "x$ac_cv_lib_soname_jpeg" = "x"
13795 then
13796 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
13798 else
13799 echo "$as_me: failed program was:" >&5
13800 sed 's/^/| /' conftest.$ac_ext >&5
13802 ac_cv_lib_soname_jpeg="libjpeg.$LIBEXT"
13804 rm -f conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 LIBS=$ac_get_soname_save_LIBS
13808 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
13809 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6
13810 if test "x$ac_cv_lib_soname_jpeg" != xNONE
13811 then
13812 cat >>confdefs.h <<_ACEOF
13813 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13814 _ACEOF
13817 echo "$as_me:$LINENO: checking for -lungif soname" >&5
13818 echo $ECHO_N "checking for -lungif soname... $ECHO_C" >&6
13819 if test "${ac_cv_lib_soname_ungif+set}" = set; then
13820 echo $ECHO_N "(cached) $ECHO_C" >&6
13821 else
13822 ac_get_soname_save_LIBS=$LIBS
13823 LIBS="-lungif $LIBS"
13824 cat >conftest.$ac_ext <<_ACEOF
13825 /* confdefs.h. */
13826 _ACEOF
13827 cat confdefs.h >>conftest.$ac_ext
13828 cat >>conftest.$ac_ext <<_ACEOF
13829 /* end confdefs.h. */
13831 /* Override any gcc2 internal prototype to avoid an error. */
13832 #ifdef __cplusplus
13833 extern "C"
13834 #endif
13835 /* We use char because int might match the return type of a gcc2
13836 builtin and then its argument prototype would still apply. */
13837 char DGifOpen ();
13839 main ()
13841 DGifOpen ();
13843 return 0;
13845 _ACEOF
13846 rm -f conftest.$ac_objext conftest$ac_exeext
13847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13848 (eval $ac_link) 2>conftest.er1
13849 ac_status=$?
13850 grep -v '^ *+' conftest.er1 >conftest.err
13851 rm -f conftest.er1
13852 cat conftest.err >&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 (exit $ac_status); } &&
13855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13857 (eval $ac_try) 2>&5
13858 ac_status=$?
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }; } &&
13861 { ac_try='test -s conftest$ac_exeext'
13862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13863 (eval $ac_try) 2>&5
13864 ac_status=$?
13865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13866 (exit $ac_status); }; }; then
13867 ac_cv_lib_soname_ungif=`$ac_cv_path_LDD conftest$ac_exeext | grep libungif\\.$LIBEXT | sed "s/^.*\(libungif\.$LIBEXT[^ ]*\).*$/\1/"`
13868 if test "x$ac_cv_lib_soname_ungif" = "x"
13869 then
13870 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
13872 else
13873 echo "$as_me: failed program was:" >&5
13874 sed 's/^/| /' conftest.$ac_ext >&5
13876 ac_cv_lib_soname_ungif="libungif.$LIBEXT"
13878 rm -f conftest.err conftest.$ac_objext \
13879 conftest$ac_exeext conftest.$ac_ext
13880 LIBS=$ac_get_soname_save_LIBS
13882 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ungif" >&5
13883 echo "${ECHO_T}$ac_cv_lib_soname_ungif" >&6
13884 if test "x$ac_cv_lib_soname_ungif" != xNONE
13885 then
13886 cat >>confdefs.h <<_ACEOF
13887 #define SONAME_LIBUNGIF "$ac_cv_lib_soname_ungif"
13888 _ACEOF
13891 echo "$as_me:$LINENO: checking for -lgif soname" >&5
13892 echo $ECHO_N "checking for -lgif soname... $ECHO_C" >&6
13893 if test "${ac_cv_lib_soname_gif+set}" = set; then
13894 echo $ECHO_N "(cached) $ECHO_C" >&6
13895 else
13896 ac_get_soname_save_LIBS=$LIBS
13897 LIBS="-lgif $LIBS"
13898 cat >conftest.$ac_ext <<_ACEOF
13899 /* confdefs.h. */
13900 _ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13905 /* Override any gcc2 internal prototype to avoid an error. */
13906 #ifdef __cplusplus
13907 extern "C"
13908 #endif
13909 /* We use char because int might match the return type of a gcc2
13910 builtin and then its argument prototype would still apply. */
13911 char DGifOpen ();
13913 main ()
13915 DGifOpen ();
13917 return 0;
13919 _ACEOF
13920 rm -f conftest.$ac_objext conftest$ac_exeext
13921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13922 (eval $ac_link) 2>conftest.er1
13923 ac_status=$?
13924 grep -v '^ *+' conftest.er1 >conftest.err
13925 rm -f conftest.er1
13926 cat conftest.err >&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } &&
13929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13932 ac_status=$?
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; } &&
13935 { ac_try='test -s conftest$ac_exeext'
13936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13937 (eval $ac_try) 2>&5
13938 ac_status=$?
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 (exit $ac_status); }; }; then
13941 ac_cv_lib_soname_gif=`$ac_cv_path_LDD conftest$ac_exeext | grep libgif\\.$LIBEXT | sed "s/^.*\(libgif\.$LIBEXT[^ ]*\).*$/\1/"`
13942 if test "x$ac_cv_lib_soname_gif" = "x"
13943 then
13944 ac_cv_lib_soname_gif="libgif.$LIBEXT"
13946 else
13947 echo "$as_me: failed program was:" >&5
13948 sed 's/^/| /' conftest.$ac_ext >&5
13950 ac_cv_lib_soname_gif="libgif.$LIBEXT"
13952 rm -f conftest.err conftest.$ac_objext \
13953 conftest$ac_exeext conftest.$ac_ext
13954 LIBS=$ac_get_soname_save_LIBS
13956 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_gif" >&5
13957 echo "${ECHO_T}$ac_cv_lib_soname_gif" >&6
13958 if test "x$ac_cv_lib_soname_gif" != xNONE
13959 then
13960 cat >>confdefs.h <<_ACEOF
13961 #define SONAME_LIBGIF "$ac_cv_lib_soname_gif"
13962 _ACEOF
13965 echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
13966 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6
13967 if test "${ac_cv_lib_soname_capi20+set}" = set; then
13968 echo $ECHO_N "(cached) $ECHO_C" >&6
13969 else
13970 ac_get_soname_save_LIBS=$LIBS
13971 LIBS="-lcapi20 $LIBS"
13972 cat >conftest.$ac_ext <<_ACEOF
13973 /* confdefs.h. */
13974 _ACEOF
13975 cat confdefs.h >>conftest.$ac_ext
13976 cat >>conftest.$ac_ext <<_ACEOF
13977 /* end confdefs.h. */
13979 /* Override any gcc2 internal prototype to avoid an error. */
13980 #ifdef __cplusplus
13981 extern "C"
13982 #endif
13983 /* We use char because int might match the return type of a gcc2
13984 builtin and then its argument prototype would still apply. */
13985 char capi20_isinstalled ();
13987 main ()
13989 capi20_isinstalled ();
13991 return 0;
13993 _ACEOF
13994 rm -f conftest.$ac_objext conftest$ac_exeext
13995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13996 (eval $ac_link) 2>conftest.er1
13997 ac_status=$?
13998 grep -v '^ *+' conftest.er1 >conftest.err
13999 rm -f conftest.er1
14000 cat conftest.err >&5
14001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14002 (exit $ac_status); } &&
14003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14005 (eval $ac_try) 2>&5
14006 ac_status=$?
14007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14008 (exit $ac_status); }; } &&
14009 { ac_try='test -s conftest$ac_exeext'
14010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14011 (eval $ac_try) 2>&5
14012 ac_status=$?
14013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14014 (exit $ac_status); }; }; then
14015 ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest$ac_exeext | grep libcapi20\\.$LIBEXT | sed "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"`
14016 if test "x$ac_cv_lib_soname_capi20" = "x"
14017 then
14018 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
14020 else
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.$ac_ext >&5
14024 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
14026 rm -f conftest.err conftest.$ac_objext \
14027 conftest$ac_exeext conftest.$ac_ext
14028 LIBS=$ac_get_soname_save_LIBS
14030 echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
14031 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6
14032 if test "x$ac_cv_lib_soname_capi20" != xNONE
14033 then
14034 cat >>confdefs.h <<_ACEOF
14035 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
14036 _ACEOF
14102 for ac_func in \
14103 _lwp_create \
14104 _lwp_self \
14105 _pclose \
14106 _popen \
14107 _snprintf \
14108 _spawnvp \
14109 _stricmp \
14110 _strnicmp \
14111 _vsnprintf \
14112 chsize \
14113 clone \
14114 epoll_create \
14115 ffs \
14116 finite \
14117 fork \
14118 fpclass \
14119 fstatfs \
14120 fstatvfs \
14121 ftruncate \
14122 futimes \
14123 futimesat \
14124 getnetbyname \
14125 getopt_long \
14126 getpagesize \
14127 getprotobyname \
14128 getprotobynumber \
14129 getpwuid \
14130 getservbyport \
14131 gettid \
14132 gettimeofday \
14133 getuid \
14134 inet_network \
14135 lstat \
14136 memmove \
14137 mmap \
14138 pclose \
14139 popen \
14140 pread \
14141 pwrite \
14142 readlink \
14143 rfork \
14144 sched_yield \
14145 select \
14146 sendmsg \
14147 settimeofday \
14148 sigaltstack \
14149 sigprocmask \
14150 snprintf \
14151 spawnvp \
14152 statfs \
14153 statvfs \
14154 strcasecmp \
14155 strerror \
14156 strncasecmp \
14157 tcgetattr \
14158 timegm \
14159 usleep \
14160 vsnprintf \
14161 wait4 \
14162 waitpid \
14165 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14166 echo "$as_me:$LINENO: checking for $ac_func" >&5
14167 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14168 if eval "test \"\${$as_ac_var+set}\" = set"; then
14169 echo $ECHO_N "(cached) $ECHO_C" >&6
14170 else
14171 cat >conftest.$ac_ext <<_ACEOF
14172 /* confdefs.h. */
14173 _ACEOF
14174 cat confdefs.h >>conftest.$ac_ext
14175 cat >>conftest.$ac_ext <<_ACEOF
14176 /* end confdefs.h. */
14177 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14179 #define $ac_func innocuous_$ac_func
14181 /* System header to define __stub macros and hopefully few prototypes,
14182 which can conflict with char $ac_func (); below.
14183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14184 <limits.h> exists even on freestanding compilers. */
14186 #ifdef __STDC__
14187 # include <limits.h>
14188 #else
14189 # include <assert.h>
14190 #endif
14192 #undef $ac_func
14194 /* Override any gcc2 internal prototype to avoid an error. */
14195 #ifdef __cplusplus
14196 extern "C"
14198 #endif
14199 /* We use char because int might match the return type of a gcc2
14200 builtin and then its argument prototype would still apply. */
14201 char $ac_func ();
14202 /* The GNU C library defines this for functions which it implements
14203 to always fail with ENOSYS. Some functions are actually named
14204 something starting with __ and the normal name is an alias. */
14205 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14206 choke me
14207 #else
14208 char (*f) () = $ac_func;
14209 #endif
14210 #ifdef __cplusplus
14212 #endif
14215 main ()
14217 return f != $ac_func;
14219 return 0;
14221 _ACEOF
14222 rm -f conftest.$ac_objext conftest$ac_exeext
14223 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14224 (eval $ac_link) 2>conftest.er1
14225 ac_status=$?
14226 grep -v '^ *+' conftest.er1 >conftest.err
14227 rm -f conftest.er1
14228 cat conftest.err >&5
14229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14230 (exit $ac_status); } &&
14231 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14233 (eval $ac_try) 2>&5
14234 ac_status=$?
14235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14236 (exit $ac_status); }; } &&
14237 { ac_try='test -s conftest$ac_exeext'
14238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14239 (eval $ac_try) 2>&5
14240 ac_status=$?
14241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14242 (exit $ac_status); }; }; then
14243 eval "$as_ac_var=yes"
14244 else
14245 echo "$as_me: failed program was:" >&5
14246 sed 's/^/| /' conftest.$ac_ext >&5
14248 eval "$as_ac_var=no"
14250 rm -f conftest.err conftest.$ac_objext \
14251 conftest$ac_exeext conftest.$ac_ext
14253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14255 if test `eval echo '${'$as_ac_var'}'` = yes; then
14256 cat >>confdefs.h <<_ACEOF
14257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14258 _ACEOF
14261 done
14269 for ac_header in sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
14271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14272 echo "$as_me:$LINENO: checking for $ac_header" >&5
14273 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14274 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14275 echo $ECHO_N "(cached) $ECHO_C" >&6
14276 else
14277 cat >conftest.$ac_ext <<_ACEOF
14278 /* confdefs.h. */
14279 _ACEOF
14280 cat confdefs.h >>conftest.$ac_ext
14281 cat >>conftest.$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14283 #include <sys/types.h>
14284 #if HAVE_SYS_PARAM_H
14285 # include <sys/param.h>
14286 #endif
14288 #include <$ac_header>
14289 _ACEOF
14290 rm -f conftest.$ac_objext
14291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14292 (eval $ac_compile) 2>conftest.er1
14293 ac_status=$?
14294 grep -v '^ *+' conftest.er1 >conftest.err
14295 rm -f conftest.er1
14296 cat conftest.err >&5
14297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14298 (exit $ac_status); } &&
14299 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14302 ac_status=$?
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; } &&
14305 { ac_try='test -s conftest.$ac_objext'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14308 ac_status=$?
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; }; then
14311 eval "$as_ac_Header=yes"
14312 else
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14316 eval "$as_ac_Header=no"
14318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14321 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14322 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14323 cat >>confdefs.h <<_ACEOF
14324 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14325 _ACEOF
14329 done
14338 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
14340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14341 echo "$as_me:$LINENO: checking for $ac_header" >&5
14342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14344 echo $ECHO_N "(cached) $ECHO_C" >&6
14345 else
14346 cat >conftest.$ac_ext <<_ACEOF
14347 /* confdefs.h. */
14348 _ACEOF
14349 cat confdefs.h >>conftest.$ac_ext
14350 cat >>conftest.$ac_ext <<_ACEOF
14351 /* end confdefs.h. */
14352 #include <sys/types.h>
14353 #if HAVE_SYS_SOCKET_H
14354 # include <sys/socket.h>
14355 #endif
14357 #include <$ac_header>
14358 _ACEOF
14359 rm -f conftest.$ac_objext
14360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14361 (eval $ac_compile) 2>conftest.er1
14362 ac_status=$?
14363 grep -v '^ *+' conftest.er1 >conftest.err
14364 rm -f conftest.er1
14365 cat conftest.err >&5
14366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); } &&
14368 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14370 (eval $ac_try) 2>&5
14371 ac_status=$?
14372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14373 (exit $ac_status); }; } &&
14374 { ac_try='test -s conftest.$ac_objext'
14375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14376 (eval $ac_try) 2>&5
14377 ac_status=$?
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; }; then
14380 eval "$as_ac_Header=yes"
14381 else
14382 echo "$as_me: failed program was:" >&5
14383 sed 's/^/| /' conftest.$ac_ext >&5
14385 eval "$as_ac_Header=no"
14387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14389 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14390 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14391 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14392 cat >>confdefs.h <<_ACEOF
14393 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14394 _ACEOF
14398 done
14402 for ac_header in resolv.h
14404 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14405 echo "$as_me:$LINENO: checking for $ac_header" >&5
14406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14408 echo $ECHO_N "(cached) $ECHO_C" >&6
14409 else
14410 cat >conftest.$ac_ext <<_ACEOF
14411 /* confdefs.h. */
14412 _ACEOF
14413 cat confdefs.h >>conftest.$ac_ext
14414 cat >>conftest.$ac_ext <<_ACEOF
14415 /* end confdefs.h. */
14416 #include <sys/types.h>
14417 #if HAVE_SYS_SOCKET_H
14418 # include <sys/socket.h>
14419 #endif
14420 #if HAVE_NETINET_IN_H
14421 # include <netinet/in.h>
14422 #endif
14423 #if HAVE_ARPA_NAMESER_H
14424 # include <arpa/nameser.h>
14425 #endif
14427 #include <$ac_header>
14428 _ACEOF
14429 rm -f conftest.$ac_objext
14430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14431 (eval $ac_compile) 2>conftest.er1
14432 ac_status=$?
14433 grep -v '^ *+' conftest.er1 >conftest.err
14434 rm -f conftest.er1
14435 cat conftest.err >&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14440 (eval $ac_try) 2>&5
14441 ac_status=$?
14442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14443 (exit $ac_status); }; } &&
14444 { ac_try='test -s conftest.$ac_objext'
14445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14446 (eval $ac_try) 2>&5
14447 ac_status=$?
14448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14449 (exit $ac_status); }; }; then
14450 eval "$as_ac_Header=yes"
14451 else
14452 echo "$as_me: failed program was:" >&5
14453 sed 's/^/| /' conftest.$ac_ext >&5
14455 eval "$as_ac_Header=no"
14457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14460 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14462 cat >>confdefs.h <<_ACEOF
14463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14464 _ACEOF
14468 done
14472 for ac_header in ucontext.h
14474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14475 echo "$as_me:$LINENO: checking for $ac_header" >&5
14476 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14477 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14478 echo $ECHO_N "(cached) $ECHO_C" >&6
14479 else
14480 cat >conftest.$ac_ext <<_ACEOF
14481 /* confdefs.h. */
14482 _ACEOF
14483 cat confdefs.h >>conftest.$ac_ext
14484 cat >>conftest.$ac_ext <<_ACEOF
14485 /* end confdefs.h. */
14486 #include <signal.h>
14488 #include <$ac_header>
14489 _ACEOF
14490 rm -f conftest.$ac_objext
14491 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14492 (eval $ac_compile) 2>conftest.er1
14493 ac_status=$?
14494 grep -v '^ *+' conftest.er1 >conftest.err
14495 rm -f conftest.er1
14496 cat conftest.err >&5
14497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14498 (exit $ac_status); } &&
14499 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14501 (eval $ac_try) 2>&5
14502 ac_status=$?
14503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14504 (exit $ac_status); }; } &&
14505 { ac_try='test -s conftest.$ac_objext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 eval "$as_ac_Header=yes"
14512 else
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.$ac_ext >&5
14516 eval "$as_ac_Header=no"
14518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14523 cat >>confdefs.h <<_ACEOF
14524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14525 _ACEOF
14529 done
14534 for ac_header in linux/ipx.h linux/videodev.h
14536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14537 echo "$as_me:$LINENO: checking for $ac_header" >&5
14538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14540 echo $ECHO_N "(cached) $ECHO_C" >&6
14541 else
14542 cat >conftest.$ac_ext <<_ACEOF
14543 /* confdefs.h. */
14544 _ACEOF
14545 cat confdefs.h >>conftest.$ac_ext
14546 cat >>conftest.$ac_ext <<_ACEOF
14547 /* end confdefs.h. */
14548 #ifdef HAVE_SYS_TIME_H
14549 #include <sys/time.h>
14550 #endif
14551 #include <sys/types.h>
14552 #ifdef HAVE_ASM_TYPES_H
14553 #include <asm/types.h>
14554 #endif
14556 #include <$ac_header>
14557 _ACEOF
14558 rm -f conftest.$ac_objext
14559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14560 (eval $ac_compile) 2>conftest.er1
14561 ac_status=$?
14562 grep -v '^ *+' conftest.er1 >conftest.err
14563 rm -f conftest.er1
14564 cat conftest.err >&5
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); } &&
14567 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14569 (eval $ac_try) 2>&5
14570 ac_status=$?
14571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14572 (exit $ac_status); }; } &&
14573 { ac_try='test -s conftest.$ac_objext'
14574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14575 (eval $ac_try) 2>&5
14576 ac_status=$?
14577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14578 (exit $ac_status); }; }; then
14579 eval "$as_ac_Header=yes"
14580 else
14581 echo "$as_me: failed program was:" >&5
14582 sed 's/^/| /' conftest.$ac_ext >&5
14584 eval "$as_ac_Header=no"
14586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14590 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14591 cat >>confdefs.h <<_ACEOF
14592 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14593 _ACEOF
14597 done
14601 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
14602 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
14603 if test "${ac_cv_c_const+set}" = set; then
14604 echo $ECHO_N "(cached) $ECHO_C" >&6
14605 else
14606 cat >conftest.$ac_ext <<_ACEOF
14607 /* confdefs.h. */
14608 _ACEOF
14609 cat confdefs.h >>conftest.$ac_ext
14610 cat >>conftest.$ac_ext <<_ACEOF
14611 /* end confdefs.h. */
14614 main ()
14616 /* FIXME: Include the comments suggested by Paul. */
14617 #ifndef __cplusplus
14618 /* Ultrix mips cc rejects this. */
14619 typedef int charset[2];
14620 const charset x;
14621 /* SunOS 4.1.1 cc rejects this. */
14622 char const *const *ccp;
14623 char **p;
14624 /* NEC SVR4.0.2 mips cc rejects this. */
14625 struct point {int x, y;};
14626 static struct point const zero = {0,0};
14627 /* AIX XL C 1.02.0.0 rejects this.
14628 It does not let you subtract one const X* pointer from another in
14629 an arm of an if-expression whose if-part is not a constant
14630 expression */
14631 const char *g = "string";
14632 ccp = &g + (g ? g-g : 0);
14633 /* HPUX 7.0 cc rejects these. */
14634 ++ccp;
14635 p = (char**) ccp;
14636 ccp = (char const *const *) p;
14637 { /* SCO 3.2v4 cc rejects this. */
14638 char *t;
14639 char const *s = 0 ? (char *) 0 : (char const *) 0;
14641 *t++ = 0;
14643 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
14644 int x[] = {25, 17};
14645 const int *foo = &x[0];
14646 ++foo;
14648 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
14649 typedef const int *iptr;
14650 iptr p = 0;
14651 ++p;
14653 { /* AIX XL C 1.02.0.0 rejects this saying
14654 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
14655 struct s { int j; const int *ap[3]; };
14656 struct s *b; b->j = 5;
14658 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
14659 const int foo = 10;
14661 #endif
14664 return 0;
14666 _ACEOF
14667 rm -f conftest.$ac_objext
14668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14669 (eval $ac_compile) 2>conftest.er1
14670 ac_status=$?
14671 grep -v '^ *+' conftest.er1 >conftest.err
14672 rm -f conftest.er1
14673 cat conftest.err >&5
14674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14675 (exit $ac_status); } &&
14676 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14678 (eval $ac_try) 2>&5
14679 ac_status=$?
14680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14681 (exit $ac_status); }; } &&
14682 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
14688 ac_cv_c_const=yes
14689 else
14690 echo "$as_me: failed program was:" >&5
14691 sed 's/^/| /' conftest.$ac_ext >&5
14693 ac_cv_c_const=no
14695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14697 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
14698 echo "${ECHO_T}$ac_cv_c_const" >&6
14699 if test $ac_cv_c_const = no; then
14701 cat >>confdefs.h <<\_ACEOF
14702 #define const
14703 _ACEOF
14707 echo "$as_me:$LINENO: checking for inline" >&5
14708 echo $ECHO_N "checking for inline... $ECHO_C" >&6
14709 if test "${ac_cv_c_inline+set}" = set; then
14710 echo $ECHO_N "(cached) $ECHO_C" >&6
14711 else
14712 ac_cv_c_inline=no
14713 for ac_kw in inline __inline__ __inline; do
14714 cat >conftest.$ac_ext <<_ACEOF
14715 /* confdefs.h. */
14716 _ACEOF
14717 cat confdefs.h >>conftest.$ac_ext
14718 cat >>conftest.$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14720 #ifndef __cplusplus
14721 typedef int foo_t;
14722 static $ac_kw foo_t static_foo () {return 0; }
14723 $ac_kw foo_t foo () {return 0; }
14724 #endif
14726 _ACEOF
14727 rm -f conftest.$ac_objext
14728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14729 (eval $ac_compile) 2>conftest.er1
14730 ac_status=$?
14731 grep -v '^ *+' conftest.er1 >conftest.err
14732 rm -f conftest.er1
14733 cat conftest.err >&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); } &&
14736 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; } &&
14742 { ac_try='test -s conftest.$ac_objext'
14743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14744 (eval $ac_try) 2>&5
14745 ac_status=$?
14746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14747 (exit $ac_status); }; }; then
14748 ac_cv_c_inline=$ac_kw; break
14749 else
14750 echo "$as_me: failed program was:" >&5
14751 sed 's/^/| /' conftest.$ac_ext >&5
14754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14755 done
14758 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
14759 echo "${ECHO_T}$ac_cv_c_inline" >&6
14762 case $ac_cv_c_inline in
14763 inline | yes) ;;
14765 case $ac_cv_c_inline in
14766 no) ac_val=;;
14767 *) ac_val=$ac_cv_c_inline;;
14768 esac
14769 cat >>confdefs.h <<_ACEOF
14770 #ifndef __cplusplus
14771 #define inline $ac_val
14772 #endif
14773 _ACEOF
14775 esac
14777 echo "$as_me:$LINENO: checking for mode_t" >&5
14778 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
14779 if test "${ac_cv_type_mode_t+set}" = set; then
14780 echo $ECHO_N "(cached) $ECHO_C" >&6
14781 else
14782 cat >conftest.$ac_ext <<_ACEOF
14783 /* confdefs.h. */
14784 _ACEOF
14785 cat confdefs.h >>conftest.$ac_ext
14786 cat >>conftest.$ac_ext <<_ACEOF
14787 /* end confdefs.h. */
14788 $ac_includes_default
14790 main ()
14792 if ((mode_t *) 0)
14793 return 0;
14794 if (sizeof (mode_t))
14795 return 0;
14797 return 0;
14799 _ACEOF
14800 rm -f conftest.$ac_objext
14801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14802 (eval $ac_compile) 2>conftest.er1
14803 ac_status=$?
14804 grep -v '^ *+' conftest.er1 >conftest.err
14805 rm -f conftest.er1
14806 cat conftest.err >&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } &&
14809 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14811 (eval $ac_try) 2>&5
14812 ac_status=$?
14813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14814 (exit $ac_status); }; } &&
14815 { ac_try='test -s conftest.$ac_objext'
14816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14817 (eval $ac_try) 2>&5
14818 ac_status=$?
14819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14820 (exit $ac_status); }; }; then
14821 ac_cv_type_mode_t=yes
14822 else
14823 echo "$as_me: failed program was:" >&5
14824 sed 's/^/| /' conftest.$ac_ext >&5
14826 ac_cv_type_mode_t=no
14828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14830 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
14831 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
14832 if test $ac_cv_type_mode_t = yes; then
14834 cat >>confdefs.h <<_ACEOF
14835 #define HAVE_MODE_T 1
14836 _ACEOF
14840 echo "$as_me:$LINENO: checking for off_t" >&5
14841 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
14842 if test "${ac_cv_type_off_t+set}" = set; then
14843 echo $ECHO_N "(cached) $ECHO_C" >&6
14844 else
14845 cat >conftest.$ac_ext <<_ACEOF
14846 /* confdefs.h. */
14847 _ACEOF
14848 cat confdefs.h >>conftest.$ac_ext
14849 cat >>conftest.$ac_ext <<_ACEOF
14850 /* end confdefs.h. */
14851 $ac_includes_default
14853 main ()
14855 if ((off_t *) 0)
14856 return 0;
14857 if (sizeof (off_t))
14858 return 0;
14860 return 0;
14862 _ACEOF
14863 rm -f conftest.$ac_objext
14864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14865 (eval $ac_compile) 2>conftest.er1
14866 ac_status=$?
14867 grep -v '^ *+' conftest.er1 >conftest.err
14868 rm -f conftest.er1
14869 cat conftest.err >&5
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); } &&
14872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14874 (eval $ac_try) 2>&5
14875 ac_status=$?
14876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14877 (exit $ac_status); }; } &&
14878 { ac_try='test -s conftest.$ac_objext'
14879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14880 (eval $ac_try) 2>&5
14881 ac_status=$?
14882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14883 (exit $ac_status); }; }; then
14884 ac_cv_type_off_t=yes
14885 else
14886 echo "$as_me: failed program was:" >&5
14887 sed 's/^/| /' conftest.$ac_ext >&5
14889 ac_cv_type_off_t=no
14891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14893 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
14894 echo "${ECHO_T}$ac_cv_type_off_t" >&6
14895 if test $ac_cv_type_off_t = yes; then
14897 cat >>confdefs.h <<_ACEOF
14898 #define HAVE_OFF_T 1
14899 _ACEOF
14903 echo "$as_me:$LINENO: checking for pid_t" >&5
14904 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
14905 if test "${ac_cv_type_pid_t+set}" = set; then
14906 echo $ECHO_N "(cached) $ECHO_C" >&6
14907 else
14908 cat >conftest.$ac_ext <<_ACEOF
14909 /* confdefs.h. */
14910 _ACEOF
14911 cat confdefs.h >>conftest.$ac_ext
14912 cat >>conftest.$ac_ext <<_ACEOF
14913 /* end confdefs.h. */
14914 $ac_includes_default
14916 main ()
14918 if ((pid_t *) 0)
14919 return 0;
14920 if (sizeof (pid_t))
14921 return 0;
14923 return 0;
14925 _ACEOF
14926 rm -f conftest.$ac_objext
14927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14928 (eval $ac_compile) 2>conftest.er1
14929 ac_status=$?
14930 grep -v '^ *+' conftest.er1 >conftest.err
14931 rm -f conftest.er1
14932 cat conftest.err >&5
14933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14934 (exit $ac_status); } &&
14935 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14937 (eval $ac_try) 2>&5
14938 ac_status=$?
14939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14940 (exit $ac_status); }; } &&
14941 { ac_try='test -s conftest.$ac_objext'
14942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14943 (eval $ac_try) 2>&5
14944 ac_status=$?
14945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14946 (exit $ac_status); }; }; then
14947 ac_cv_type_pid_t=yes
14948 else
14949 echo "$as_me: failed program was:" >&5
14950 sed 's/^/| /' conftest.$ac_ext >&5
14952 ac_cv_type_pid_t=no
14954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14956 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
14957 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
14958 if test $ac_cv_type_pid_t = yes; then
14960 cat >>confdefs.h <<_ACEOF
14961 #define HAVE_PID_T 1
14962 _ACEOF
14966 echo "$as_me:$LINENO: checking for size_t" >&5
14967 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
14968 if test "${ac_cv_type_size_t+set}" = set; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 else
14971 cat >conftest.$ac_ext <<_ACEOF
14972 /* confdefs.h. */
14973 _ACEOF
14974 cat confdefs.h >>conftest.$ac_ext
14975 cat >>conftest.$ac_ext <<_ACEOF
14976 /* end confdefs.h. */
14977 $ac_includes_default
14979 main ()
14981 if ((size_t *) 0)
14982 return 0;
14983 if (sizeof (size_t))
14984 return 0;
14986 return 0;
14988 _ACEOF
14989 rm -f conftest.$ac_objext
14990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14991 (eval $ac_compile) 2>conftest.er1
14992 ac_status=$?
14993 grep -v '^ *+' conftest.er1 >conftest.err
14994 rm -f conftest.er1
14995 cat conftest.err >&5
14996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14997 (exit $ac_status); } &&
14998 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15000 (eval $ac_try) 2>&5
15001 ac_status=$?
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); }; } &&
15004 { ac_try='test -s conftest.$ac_objext'
15005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15006 (eval $ac_try) 2>&5
15007 ac_status=$?
15008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15009 (exit $ac_status); }; }; then
15010 ac_cv_type_size_t=yes
15011 else
15012 echo "$as_me: failed program was:" >&5
15013 sed 's/^/| /' conftest.$ac_ext >&5
15015 ac_cv_type_size_t=no
15017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15019 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
15020 echo "${ECHO_T}$ac_cv_type_size_t" >&6
15021 if test $ac_cv_type_size_t = yes; then
15023 cat >>confdefs.h <<_ACEOF
15024 #define HAVE_SIZE_T 1
15025 _ACEOF
15029 echo "$as_me:$LINENO: checking for ssize_t" >&5
15030 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
15031 if test "${ac_cv_type_ssize_t+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 else
15034 cat >conftest.$ac_ext <<_ACEOF
15035 /* confdefs.h. */
15036 _ACEOF
15037 cat confdefs.h >>conftest.$ac_ext
15038 cat >>conftest.$ac_ext <<_ACEOF
15039 /* end confdefs.h. */
15040 $ac_includes_default
15042 main ()
15044 if ((ssize_t *) 0)
15045 return 0;
15046 if (sizeof (ssize_t))
15047 return 0;
15049 return 0;
15051 _ACEOF
15052 rm -f conftest.$ac_objext
15053 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15054 (eval $ac_compile) 2>conftest.er1
15055 ac_status=$?
15056 grep -v '^ *+' conftest.er1 >conftest.err
15057 rm -f conftest.er1
15058 cat conftest.err >&5
15059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15060 (exit $ac_status); } &&
15061 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15063 (eval $ac_try) 2>&5
15064 ac_status=$?
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); }; } &&
15067 { ac_try='test -s conftest.$ac_objext'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15070 ac_status=$?
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; }; then
15073 ac_cv_type_ssize_t=yes
15074 else
15075 echo "$as_me: failed program was:" >&5
15076 sed 's/^/| /' conftest.$ac_ext >&5
15078 ac_cv_type_ssize_t=no
15080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15082 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
15083 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
15084 if test $ac_cv_type_ssize_t = yes; then
15086 cat >>confdefs.h <<_ACEOF
15087 #define HAVE_SSIZE_T 1
15088 _ACEOF
15092 echo "$as_me:$LINENO: checking for long long" >&5
15093 echo $ECHO_N "checking for long long... $ECHO_C" >&6
15094 if test "${ac_cv_type_long_long+set}" = set; then
15095 echo $ECHO_N "(cached) $ECHO_C" >&6
15096 else
15097 cat >conftest.$ac_ext <<_ACEOF
15098 /* confdefs.h. */
15099 _ACEOF
15100 cat confdefs.h >>conftest.$ac_ext
15101 cat >>conftest.$ac_ext <<_ACEOF
15102 /* end confdefs.h. */
15103 $ac_includes_default
15105 main ()
15107 if ((long long *) 0)
15108 return 0;
15109 if (sizeof (long long))
15110 return 0;
15112 return 0;
15114 _ACEOF
15115 rm -f conftest.$ac_objext
15116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15117 (eval $ac_compile) 2>conftest.er1
15118 ac_status=$?
15119 grep -v '^ *+' conftest.er1 >conftest.err
15120 rm -f conftest.er1
15121 cat conftest.err >&5
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); } &&
15124 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try='test -s conftest.$ac_objext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15133 ac_status=$?
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 ac_cv_type_long_long=yes
15137 else
15138 echo "$as_me: failed program was:" >&5
15139 sed 's/^/| /' conftest.$ac_ext >&5
15141 ac_cv_type_long_long=no
15143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15145 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
15146 echo "${ECHO_T}$ac_cv_type_long_long" >&6
15147 if test $ac_cv_type_long_long = yes; then
15149 cat >>confdefs.h <<_ACEOF
15150 #define HAVE_LONG_LONG 1
15151 _ACEOF
15155 echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
15156 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6
15157 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
15158 echo $ECHO_N "(cached) $ECHO_C" >&6
15159 else
15160 cat >conftest.$ac_ext <<_ACEOF
15161 /* confdefs.h. */
15162 _ACEOF
15163 cat confdefs.h >>conftest.$ac_ext
15164 cat >>conftest.$ac_ext <<_ACEOF
15165 /* end confdefs.h. */
15166 $ac_includes_default
15168 main ()
15170 if ((fsblkcnt_t *) 0)
15171 return 0;
15172 if (sizeof (fsblkcnt_t))
15173 return 0;
15175 return 0;
15177 _ACEOF
15178 rm -f conftest.$ac_objext
15179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15180 (eval $ac_compile) 2>conftest.er1
15181 ac_status=$?
15182 grep -v '^ *+' conftest.er1 >conftest.err
15183 rm -f conftest.er1
15184 cat conftest.err >&5
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); } &&
15187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15190 ac_status=$?
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; } &&
15193 { ac_try='test -s conftest.$ac_objext'
15194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15195 (eval $ac_try) 2>&5
15196 ac_status=$?
15197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15198 (exit $ac_status); }; }; then
15199 ac_cv_type_fsblkcnt_t=yes
15200 else
15201 echo "$as_me: failed program was:" >&5
15202 sed 's/^/| /' conftest.$ac_ext >&5
15204 ac_cv_type_fsblkcnt_t=no
15206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15208 echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
15209 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6
15210 if test $ac_cv_type_fsblkcnt_t = yes; then
15212 cat >>confdefs.h <<_ACEOF
15213 #define HAVE_FSBLKCNT_T 1
15214 _ACEOF
15218 echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
15219 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6
15220 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
15221 echo $ECHO_N "(cached) $ECHO_C" >&6
15222 else
15223 cat >conftest.$ac_ext <<_ACEOF
15224 /* confdefs.h. */
15225 _ACEOF
15226 cat confdefs.h >>conftest.$ac_ext
15227 cat >>conftest.$ac_ext <<_ACEOF
15228 /* end confdefs.h. */
15229 $ac_includes_default
15231 main ()
15233 if ((fsfilcnt_t *) 0)
15234 return 0;
15235 if (sizeof (fsfilcnt_t))
15236 return 0;
15238 return 0;
15240 _ACEOF
15241 rm -f conftest.$ac_objext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15243 (eval $ac_compile) 2>conftest.er1
15244 ac_status=$?
15245 grep -v '^ *+' conftest.er1 >conftest.err
15246 rm -f conftest.er1
15247 cat conftest.err >&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } &&
15250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15252 (eval $ac_try) 2>&5
15253 ac_status=$?
15254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); }; } &&
15256 { ac_try='test -s conftest.$ac_objext'
15257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15258 (eval $ac_try) 2>&5
15259 ac_status=$?
15260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15261 (exit $ac_status); }; }; then
15262 ac_cv_type_fsfilcnt_t=yes
15263 else
15264 echo "$as_me: failed program was:" >&5
15265 sed 's/^/| /' conftest.$ac_ext >&5
15267 ac_cv_type_fsfilcnt_t=no
15269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15271 echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
15272 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6
15273 if test $ac_cv_type_fsfilcnt_t = yes; then
15275 cat >>confdefs.h <<_ACEOF
15276 #define HAVE_FSFILCNT_T 1
15277 _ACEOF
15282 echo "$as_me:$LINENO: checking for sigset_t" >&5
15283 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6
15284 if test "${ac_cv_type_sigset_t+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15286 else
15287 cat >conftest.$ac_ext <<_ACEOF
15288 /* confdefs.h. */
15289 _ACEOF
15290 cat confdefs.h >>conftest.$ac_ext
15291 cat >>conftest.$ac_ext <<_ACEOF
15292 /* end confdefs.h. */
15293 #include <signal.h>
15296 main ()
15298 if ((sigset_t *) 0)
15299 return 0;
15300 if (sizeof (sigset_t))
15301 return 0;
15303 return 0;
15305 _ACEOF
15306 rm -f conftest.$ac_objext
15307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15308 (eval $ac_compile) 2>conftest.er1
15309 ac_status=$?
15310 grep -v '^ *+' conftest.er1 >conftest.err
15311 rm -f conftest.er1
15312 cat conftest.err >&5
15313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15314 (exit $ac_status); } &&
15315 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15317 (eval $ac_try) 2>&5
15318 ac_status=$?
15319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15320 (exit $ac_status); }; } &&
15321 { ac_try='test -s conftest.$ac_objext'
15322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15323 (eval $ac_try) 2>&5
15324 ac_status=$?
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); }; }; then
15327 ac_cv_type_sigset_t=yes
15328 else
15329 echo "$as_me: failed program was:" >&5
15330 sed 's/^/| /' conftest.$ac_ext >&5
15332 ac_cv_type_sigset_t=no
15334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15336 echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
15337 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6
15338 if test $ac_cv_type_sigset_t = yes; then
15340 cat >>confdefs.h <<_ACEOF
15341 #define HAVE_SIGSET_T 1
15342 _ACEOF
15347 echo "$as_me:$LINENO: checking for request_sense" >&5
15348 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6
15349 if test "${ac_cv_type_request_sense+set}" = set; then
15350 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 else
15352 cat >conftest.$ac_ext <<_ACEOF
15353 /* confdefs.h. */
15354 _ACEOF
15355 cat confdefs.h >>conftest.$ac_ext
15356 cat >>conftest.$ac_ext <<_ACEOF
15357 /* end confdefs.h. */
15358 #include <linux/cdrom.h>
15361 main ()
15363 if ((request_sense *) 0)
15364 return 0;
15365 if (sizeof (request_sense))
15366 return 0;
15368 return 0;
15370 _ACEOF
15371 rm -f conftest.$ac_objext
15372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15373 (eval $ac_compile) 2>conftest.er1
15374 ac_status=$?
15375 grep -v '^ *+' conftest.er1 >conftest.err
15376 rm -f conftest.er1
15377 cat conftest.err >&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); } &&
15380 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15382 (eval $ac_try) 2>&5
15383 ac_status=$?
15384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15385 (exit $ac_status); }; } &&
15386 { ac_try='test -s conftest.$ac_objext'
15387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15388 (eval $ac_try) 2>&5
15389 ac_status=$?
15390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15391 (exit $ac_status); }; }; then
15392 ac_cv_type_request_sense=yes
15393 else
15394 echo "$as_me: failed program was:" >&5
15395 sed 's/^/| /' conftest.$ac_ext >&5
15397 ac_cv_type_request_sense=no
15399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15401 echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
15402 echo "${ECHO_T}$ac_cv_type_request_sense" >&6
15403 if test $ac_cv_type_request_sense = yes; then
15405 cat >>confdefs.h <<_ACEOF
15406 #define HAVE_REQUEST_SENSE 1
15407 _ACEOF
15413 echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
15414 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6
15415 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
15416 echo $ECHO_N "(cached) $ECHO_C" >&6
15417 else
15418 cat >conftest.$ac_ext <<_ACEOF
15419 /* confdefs.h. */
15420 _ACEOF
15421 cat confdefs.h >>conftest.$ac_ext
15422 cat >>conftest.$ac_ext <<_ACEOF
15423 /* end confdefs.h. */
15424 #ifdef HAVE_LINUX_INPUT_H
15425 #include <linux/input.h>
15426 #endif
15429 main ()
15431 static struct ff_effect ac_aggr;
15432 if (ac_aggr.direction)
15433 return 0;
15435 return 0;
15437 _ACEOF
15438 rm -f conftest.$ac_objext
15439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15440 (eval $ac_compile) 2>conftest.er1
15441 ac_status=$?
15442 grep -v '^ *+' conftest.er1 >conftest.err
15443 rm -f conftest.er1
15444 cat conftest.err >&5
15445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15446 (exit $ac_status); } &&
15447 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15449 (eval $ac_try) 2>&5
15450 ac_status=$?
15451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15452 (exit $ac_status); }; } &&
15453 { ac_try='test -s conftest.$ac_objext'
15454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15455 (eval $ac_try) 2>&5
15456 ac_status=$?
15457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15458 (exit $ac_status); }; }; then
15459 ac_cv_member_struct_ff_effect_direction=yes
15460 else
15461 echo "$as_me: failed program was:" >&5
15462 sed 's/^/| /' conftest.$ac_ext >&5
15464 cat >conftest.$ac_ext <<_ACEOF
15465 /* confdefs.h. */
15466 _ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15470 #ifdef HAVE_LINUX_INPUT_H
15471 #include <linux/input.h>
15472 #endif
15475 main ()
15477 static struct ff_effect ac_aggr;
15478 if (sizeof ac_aggr.direction)
15479 return 0;
15481 return 0;
15483 _ACEOF
15484 rm -f conftest.$ac_objext
15485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15486 (eval $ac_compile) 2>conftest.er1
15487 ac_status=$?
15488 grep -v '^ *+' conftest.er1 >conftest.err
15489 rm -f conftest.er1
15490 cat conftest.err >&5
15491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15492 (exit $ac_status); } &&
15493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15495 (eval $ac_try) 2>&5
15496 ac_status=$?
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; } &&
15499 { ac_try='test -s conftest.$ac_objext'
15500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15501 (eval $ac_try) 2>&5
15502 ac_status=$?
15503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15504 (exit $ac_status); }; }; then
15505 ac_cv_member_struct_ff_effect_direction=yes
15506 else
15507 echo "$as_me: failed program was:" >&5
15508 sed 's/^/| /' conftest.$ac_ext >&5
15510 ac_cv_member_struct_ff_effect_direction=no
15512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15516 echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
15517 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6
15518 if test $ac_cv_member_struct_ff_effect_direction = yes; then
15520 cat >>confdefs.h <<_ACEOF
15521 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
15522 _ACEOF
15528 echo "$as_me:$LINENO: checking for sigaddset" >&5
15529 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6
15530 if test "${wine_cv_have_sigaddset+set}" = set; then
15531 echo $ECHO_N "(cached) $ECHO_C" >&6
15532 else
15533 cat >conftest.$ac_ext <<_ACEOF
15534 /* confdefs.h. */
15535 _ACEOF
15536 cat confdefs.h >>conftest.$ac_ext
15537 cat >>conftest.$ac_ext <<_ACEOF
15538 /* end confdefs.h. */
15539 #include <signal.h>
15541 main ()
15543 sigset_t set; sigaddset(&set,SIGTERM);
15545 return 0;
15547 _ACEOF
15548 rm -f conftest.$ac_objext conftest$ac_exeext
15549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15550 (eval $ac_link) 2>conftest.er1
15551 ac_status=$?
15552 grep -v '^ *+' conftest.er1 >conftest.err
15553 rm -f conftest.er1
15554 cat conftest.err >&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); } &&
15557 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15559 (eval $ac_try) 2>&5
15560 ac_status=$?
15561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15562 (exit $ac_status); }; } &&
15563 { ac_try='test -s conftest$ac_exeext'
15564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15565 (eval $ac_try) 2>&5
15566 ac_status=$?
15567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15568 (exit $ac_status); }; }; then
15569 wine_cv_have_sigaddset=yes
15570 else
15571 echo "$as_me: failed program was:" >&5
15572 sed 's/^/| /' conftest.$ac_ext >&5
15574 wine_cv_have_sigaddset=no
15576 rm -f conftest.err conftest.$ac_objext \
15577 conftest$ac_exeext conftest.$ac_ext
15579 echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
15580 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6
15581 if test "$wine_cv_have_sigaddset" = "yes"
15582 then
15584 cat >>confdefs.h <<\_ACEOF
15585 #define HAVE_SIGADDSET 1
15586 _ACEOF
15591 echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
15592 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6
15593 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
15594 echo $ECHO_N "(cached) $ECHO_C" >&6
15595 else
15596 cat >conftest.$ac_ext <<_ACEOF
15597 /* confdefs.h. */
15598 _ACEOF
15599 cat confdefs.h >>conftest.$ac_ext
15600 cat >>conftest.$ac_ext <<_ACEOF
15601 /* end confdefs.h. */
15603 #include <netdb.h>
15606 main ()
15609 char *name=NULL;
15610 struct hostent he;
15611 struct hostent *result;
15612 char *buf=NULL;
15613 int bufsize=0;
15614 int res,errnr;
15615 char *addr=NULL;
15616 int addrlen=0;
15617 int addrtype=0;
15618 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
15619 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
15622 return 0;
15624 _ACEOF
15625 rm -f conftest.$ac_objext conftest$ac_exeext
15626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15627 (eval $ac_link) 2>conftest.er1
15628 ac_status=$?
15629 grep -v '^ *+' conftest.er1 >conftest.err
15630 rm -f conftest.er1
15631 cat conftest.err >&5
15632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } &&
15634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15636 (eval $ac_try) 2>&5
15637 ac_status=$?
15638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15639 (exit $ac_status); }; } &&
15640 { ac_try='test -s conftest$ac_exeext'
15641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15642 (eval $ac_try) 2>&5
15643 ac_status=$?
15644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15645 (exit $ac_status); }; }; then
15646 wine_cv_linux_gethostbyname_r_6=yes
15647 else
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.$ac_ext >&5
15651 wine_cv_linux_gethostbyname_r_6=no
15654 rm -f conftest.err conftest.$ac_objext \
15655 conftest$ac_exeext conftest.$ac_ext
15658 echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
15659 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6
15660 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
15661 then
15663 cat >>confdefs.h <<\_ACEOF
15664 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
15665 _ACEOF
15669 if test "$ac_cv_header_linux_joystick_h" = "yes"
15670 then
15671 echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
15672 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6
15673 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15675 else
15676 cat >conftest.$ac_ext <<_ACEOF
15677 /* confdefs.h. */
15678 _ACEOF
15679 cat confdefs.h >>conftest.$ac_ext
15680 cat >>conftest.$ac_ext <<_ACEOF
15681 /* end confdefs.h. */
15683 #include <sys/ioctl.h>
15684 #include <linux/joystick.h>
15686 struct js_event blub;
15687 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
15688 #error "no 2.2 header"
15689 #endif
15692 main ()
15694 /*empty*/
15696 return 0;
15698 _ACEOF
15699 rm -f conftest.$ac_objext
15700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15701 (eval $ac_compile) 2>conftest.er1
15702 ac_status=$?
15703 grep -v '^ *+' conftest.er1 >conftest.err
15704 rm -f conftest.er1
15705 cat conftest.err >&5
15706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15707 (exit $ac_status); } &&
15708 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15710 (eval $ac_try) 2>&5
15711 ac_status=$?
15712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15713 (exit $ac_status); }; } &&
15714 { ac_try='test -s conftest.$ac_objext'
15715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15716 (eval $ac_try) 2>&5
15717 ac_status=$?
15718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15719 (exit $ac_status); }; }; then
15720 wine_cv_linux_joystick_22_api=yes
15721 else
15722 echo "$as_me: failed program was:" >&5
15723 sed 's/^/| /' conftest.$ac_ext >&5
15725 wine_cv_linux_joystick_22_api=no
15727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15730 echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
15731 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6
15732 if test "$wine_cv_linux_joystick_22_api" = "yes"
15733 then
15735 cat >>confdefs.h <<\_ACEOF
15736 #define HAVE_LINUX_22_JOYSTICK_API 1
15737 _ACEOF
15743 if test "$ac_cv_header_sys_vfs_h" = "yes"
15744 then
15745 echo "$as_me:$LINENO: checking whether sys/vfs.h defines statfs" >&5
15746 echo $ECHO_N "checking whether sys/vfs.h defines statfs... $ECHO_C" >&6
15747 if test "${wine_cv_sys_vfs_has_statfs+set}" = set; then
15748 echo $ECHO_N "(cached) $ECHO_C" >&6
15749 else
15750 cat >conftest.$ac_ext <<_ACEOF
15751 /* confdefs.h. */
15752 _ACEOF
15753 cat confdefs.h >>conftest.$ac_ext
15754 cat >>conftest.$ac_ext <<_ACEOF
15755 /* end confdefs.h. */
15757 #include <sys/types.h>
15758 #ifdef HAVE_SYS_PARAM_H
15759 # include <sys/param.h>
15760 #endif
15761 #include <sys/vfs.h>
15764 main ()
15767 struct statfs stfs;
15769 memset(&stfs,0,sizeof(stfs));
15772 return 0;
15774 _ACEOF
15775 rm -f conftest.$ac_objext
15776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15777 (eval $ac_compile) 2>conftest.er1
15778 ac_status=$?
15779 grep -v '^ *+' conftest.er1 >conftest.err
15780 rm -f conftest.er1
15781 cat conftest.err >&5
15782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15783 (exit $ac_status); } &&
15784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15786 (eval $ac_try) 2>&5
15787 ac_status=$?
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); }; } &&
15790 { ac_try='test -s conftest.$ac_objext'
15791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15792 (eval $ac_try) 2>&5
15793 ac_status=$?
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); }; }; then
15796 wine_cv_sys_vfs_has_statfs=yes
15797 else
15798 echo "$as_me: failed program was:" >&5
15799 sed 's/^/| /' conftest.$ac_ext >&5
15801 wine_cv_sys_vfs_has_statfs=no
15804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15807 echo "$as_me:$LINENO: result: $wine_cv_sys_vfs_has_statfs" >&5
15808 echo "${ECHO_T}$wine_cv_sys_vfs_has_statfs" >&6
15809 if test "$wine_cv_sys_vfs_has_statfs" = "yes"
15810 then
15812 cat >>confdefs.h <<\_ACEOF
15813 #define STATFS_DEFINED_BY_SYS_VFS 1
15814 _ACEOF
15819 if test "$ac_cv_header_sys_statfs_h" = "yes"
15820 then
15821 echo "$as_me:$LINENO: checking whether sys/statfs.h defines statfs" >&5
15822 echo $ECHO_N "checking whether sys/statfs.h defines statfs... $ECHO_C" >&6
15823 if test "${wine_cv_sys_statfs_has_statfs+set}" = set; then
15824 echo $ECHO_N "(cached) $ECHO_C" >&6
15825 else
15826 cat >conftest.$ac_ext <<_ACEOF
15827 /* confdefs.h. */
15828 _ACEOF
15829 cat confdefs.h >>conftest.$ac_ext
15830 cat >>conftest.$ac_ext <<_ACEOF
15831 /* end confdefs.h. */
15833 #include <sys/types.h>
15834 #ifdef HAVE_SYS_PARAM_H
15835 # include <sys/param.h>
15836 #endif
15837 #include <sys/statfs.h>
15840 main ()
15843 struct statfs stfs;
15846 return 0;
15848 _ACEOF
15849 rm -f conftest.$ac_objext
15850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15851 (eval $ac_compile) 2>conftest.er1
15852 ac_status=$?
15853 grep -v '^ *+' conftest.er1 >conftest.err
15854 rm -f conftest.er1
15855 cat conftest.err >&5
15856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15857 (exit $ac_status); } &&
15858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15860 (eval $ac_try) 2>&5
15861 ac_status=$?
15862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15863 (exit $ac_status); }; } &&
15864 { ac_try='test -s conftest.$ac_objext'
15865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15866 (eval $ac_try) 2>&5
15867 ac_status=$?
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; }; then
15870 wine_cv_sys_statfs_has_statfs=yes
15871 else
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.$ac_ext >&5
15875 wine_cv_sys_statfs_has_statfs=no
15878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15881 echo "$as_me:$LINENO: result: $wine_cv_sys_statfs_has_statfs" >&5
15882 echo "${ECHO_T}$wine_cv_sys_statfs_has_statfs" >&6
15883 if test "$wine_cv_sys_statfs_has_statfs" = "yes"
15884 then
15886 cat >>confdefs.h <<\_ACEOF
15887 #define STATFS_DEFINED_BY_SYS_STATFS 1
15888 _ACEOF
15893 if test "$ac_cv_header_sys_mount_h" = "yes"
15894 then
15895 echo "$as_me:$LINENO: checking whether sys/mount.h defines statfs" >&5
15896 echo $ECHO_N "checking whether sys/mount.h defines statfs... $ECHO_C" >&6
15897 if test "${wine_cv_sys_mount_has_statfs+set}" = set; then
15898 echo $ECHO_N "(cached) $ECHO_C" >&6
15899 else
15900 cat >conftest.$ac_ext <<_ACEOF
15901 /* confdefs.h. */
15902 _ACEOF
15903 cat confdefs.h >>conftest.$ac_ext
15904 cat >>conftest.$ac_ext <<_ACEOF
15905 /* end confdefs.h. */
15907 #include <sys/types.h>
15908 #ifdef HAVE_SYS_PARAM_H
15909 # include <sys/param.h>
15910 #endif
15911 #include <sys/mount.h>
15914 main ()
15917 struct statfs stfs;
15920 return 0;
15922 _ACEOF
15923 rm -f conftest.$ac_objext
15924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15925 (eval $ac_compile) 2>conftest.er1
15926 ac_status=$?
15927 grep -v '^ *+' conftest.er1 >conftest.err
15928 rm -f conftest.er1
15929 cat conftest.err >&5
15930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15931 (exit $ac_status); } &&
15932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15934 (eval $ac_try) 2>&5
15935 ac_status=$?
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); }; } &&
15938 { ac_try='test -s conftest.$ac_objext'
15939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15940 (eval $ac_try) 2>&5
15941 ac_status=$?
15942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15943 (exit $ac_status); }; }; then
15944 wine_cv_sys_mount_has_statfs=yes
15945 else
15946 echo "$as_me: failed program was:" >&5
15947 sed 's/^/| /' conftest.$ac_ext >&5
15949 wine_cv_sys_mount_has_statfs=no
15952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15955 echo "$as_me:$LINENO: result: $wine_cv_sys_mount_has_statfs" >&5
15956 echo "${ECHO_T}$wine_cv_sys_mount_has_statfs" >&6
15957 if test "$wine_cv_sys_mount_has_statfs" = "yes"
15958 then
15960 cat >>confdefs.h <<\_ACEOF
15961 #define STATFS_DEFINED_BY_SYS_MOUNT 1
15962 _ACEOF
15968 echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
15969 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6
15970 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
15971 echo $ECHO_N "(cached) $ECHO_C" >&6
15972 else
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 #include <sys/types.h>
15980 #ifdef HAVE_SYS_PARAM_H
15981 # include <sys/param.h>
15982 #endif
15983 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
15984 # include <sys/mount.h>
15985 #else
15986 # ifdef STATFS_DEFINED_BY_SYS_VFS
15987 # include <sys/vfs.h>
15988 # else
15989 # ifdef STATFS_DEFINED_BY_SYS_STATFS
15990 # include <sys/statfs.h>
15991 # endif
15992 # endif
15993 #endif
15996 main ()
15998 static struct statfs ac_aggr;
15999 if (ac_aggr.f_bfree)
16000 return 0;
16002 return 0;
16004 _ACEOF
16005 rm -f conftest.$ac_objext
16006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16007 (eval $ac_compile) 2>conftest.er1
16008 ac_status=$?
16009 grep -v '^ *+' conftest.er1 >conftest.err
16010 rm -f conftest.er1
16011 cat conftest.err >&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); } &&
16014 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; } &&
16020 { ac_try='test -s conftest.$ac_objext'
16021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16022 (eval $ac_try) 2>&5
16023 ac_status=$?
16024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16025 (exit $ac_status); }; }; then
16026 ac_cv_member_struct_statfs_f_bfree=yes
16027 else
16028 echo "$as_me: failed program was:" >&5
16029 sed 's/^/| /' conftest.$ac_ext >&5
16031 cat >conftest.$ac_ext <<_ACEOF
16032 /* confdefs.h. */
16033 _ACEOF
16034 cat confdefs.h >>conftest.$ac_ext
16035 cat >>conftest.$ac_ext <<_ACEOF
16036 /* end confdefs.h. */
16037 #include <sys/types.h>
16038 #ifdef HAVE_SYS_PARAM_H
16039 # include <sys/param.h>
16040 #endif
16041 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16042 # include <sys/mount.h>
16043 #else
16044 # ifdef STATFS_DEFINED_BY_SYS_VFS
16045 # include <sys/vfs.h>
16046 # else
16047 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16048 # include <sys/statfs.h>
16049 # endif
16050 # endif
16051 #endif
16054 main ()
16056 static struct statfs ac_aggr;
16057 if (sizeof ac_aggr.f_bfree)
16058 return 0;
16060 return 0;
16062 _ACEOF
16063 rm -f conftest.$ac_objext
16064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16065 (eval $ac_compile) 2>conftest.er1
16066 ac_status=$?
16067 grep -v '^ *+' conftest.er1 >conftest.err
16068 rm -f conftest.er1
16069 cat conftest.err >&5
16070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16071 (exit $ac_status); } &&
16072 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16074 (eval $ac_try) 2>&5
16075 ac_status=$?
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try='test -s conftest.$ac_objext'
16079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16080 (eval $ac_try) 2>&5
16081 ac_status=$?
16082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16083 (exit $ac_status); }; }; then
16084 ac_cv_member_struct_statfs_f_bfree=yes
16085 else
16086 echo "$as_me: failed program was:" >&5
16087 sed 's/^/| /' conftest.$ac_ext >&5
16089 ac_cv_member_struct_statfs_f_bfree=no
16091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16095 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
16096 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6
16097 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_STRUCT_STATFS_F_BFREE 1
16101 _ACEOF
16105 echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
16106 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6
16107 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
16108 echo $ECHO_N "(cached) $ECHO_C" >&6
16109 else
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116 #include <sys/types.h>
16117 #ifdef HAVE_SYS_PARAM_H
16118 # include <sys/param.h>
16119 #endif
16120 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16121 # include <sys/mount.h>
16122 #else
16123 # ifdef STATFS_DEFINED_BY_SYS_VFS
16124 # include <sys/vfs.h>
16125 # else
16126 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16127 # include <sys/statfs.h>
16128 # endif
16129 # endif
16130 #endif
16133 main ()
16135 static struct statfs ac_aggr;
16136 if (ac_aggr.f_bavail)
16137 return 0;
16139 return 0;
16141 _ACEOF
16142 rm -f conftest.$ac_objext
16143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16144 (eval $ac_compile) 2>conftest.er1
16145 ac_status=$?
16146 grep -v '^ *+' conftest.er1 >conftest.err
16147 rm -f conftest.er1
16148 cat conftest.err >&5
16149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16150 (exit $ac_status); } &&
16151 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16153 (eval $ac_try) 2>&5
16154 ac_status=$?
16155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16156 (exit $ac_status); }; } &&
16157 { ac_try='test -s conftest.$ac_objext'
16158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16159 (eval $ac_try) 2>&5
16160 ac_status=$?
16161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16162 (exit $ac_status); }; }; then
16163 ac_cv_member_struct_statfs_f_bavail=yes
16164 else
16165 echo "$as_me: failed program was:" >&5
16166 sed 's/^/| /' conftest.$ac_ext >&5
16168 cat >conftest.$ac_ext <<_ACEOF
16169 /* confdefs.h. */
16170 _ACEOF
16171 cat confdefs.h >>conftest.$ac_ext
16172 cat >>conftest.$ac_ext <<_ACEOF
16173 /* end confdefs.h. */
16174 #include <sys/types.h>
16175 #ifdef HAVE_SYS_PARAM_H
16176 # include <sys/param.h>
16177 #endif
16178 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16179 # include <sys/mount.h>
16180 #else
16181 # ifdef STATFS_DEFINED_BY_SYS_VFS
16182 # include <sys/vfs.h>
16183 # else
16184 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16185 # include <sys/statfs.h>
16186 # endif
16187 # endif
16188 #endif
16191 main ()
16193 static struct statfs ac_aggr;
16194 if (sizeof ac_aggr.f_bavail)
16195 return 0;
16197 return 0;
16199 _ACEOF
16200 rm -f conftest.$ac_objext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16202 (eval $ac_compile) 2>conftest.er1
16203 ac_status=$?
16204 grep -v '^ *+' conftest.er1 >conftest.err
16205 rm -f conftest.er1
16206 cat conftest.err >&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16212 ac_status=$?
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; } &&
16215 { ac_try='test -s conftest.$ac_objext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16218 ac_status=$?
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 ac_cv_member_struct_statfs_f_bavail=yes
16222 else
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.$ac_ext >&5
16226 ac_cv_member_struct_statfs_f_bavail=no
16228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16232 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
16233 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6
16234 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
16236 cat >>confdefs.h <<_ACEOF
16237 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16238 _ACEOF
16242 echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
16243 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6
16244 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
16245 echo $ECHO_N "(cached) $ECHO_C" >&6
16246 else
16247 cat >conftest.$ac_ext <<_ACEOF
16248 /* confdefs.h. */
16249 _ACEOF
16250 cat confdefs.h >>conftest.$ac_ext
16251 cat >>conftest.$ac_ext <<_ACEOF
16252 /* end confdefs.h. */
16253 #include <sys/types.h>
16254 #ifdef HAVE_SYS_PARAM_H
16255 # include <sys/param.h>
16256 #endif
16257 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16258 # include <sys/mount.h>
16259 #else
16260 # ifdef STATFS_DEFINED_BY_SYS_VFS
16261 # include <sys/vfs.h>
16262 # else
16263 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16264 # include <sys/statfs.h>
16265 # endif
16266 # endif
16267 #endif
16270 main ()
16272 static struct statfs ac_aggr;
16273 if (ac_aggr.f_frsize)
16274 return 0;
16276 return 0;
16278 _ACEOF
16279 rm -f conftest.$ac_objext
16280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16281 (eval $ac_compile) 2>conftest.er1
16282 ac_status=$?
16283 grep -v '^ *+' conftest.er1 >conftest.err
16284 rm -f conftest.er1
16285 cat conftest.err >&5
16286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16287 (exit $ac_status); } &&
16288 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16290 (eval $ac_try) 2>&5
16291 ac_status=$?
16292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16293 (exit $ac_status); }; } &&
16294 { ac_try='test -s conftest.$ac_objext'
16295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16296 (eval $ac_try) 2>&5
16297 ac_status=$?
16298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16299 (exit $ac_status); }; }; then
16300 ac_cv_member_struct_statfs_f_frsize=yes
16301 else
16302 echo "$as_me: failed program was:" >&5
16303 sed 's/^/| /' conftest.$ac_ext >&5
16305 cat >conftest.$ac_ext <<_ACEOF
16306 /* confdefs.h. */
16307 _ACEOF
16308 cat confdefs.h >>conftest.$ac_ext
16309 cat >>conftest.$ac_ext <<_ACEOF
16310 /* end confdefs.h. */
16311 #include <sys/types.h>
16312 #ifdef HAVE_SYS_PARAM_H
16313 # include <sys/param.h>
16314 #endif
16315 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16316 # include <sys/mount.h>
16317 #else
16318 # ifdef STATFS_DEFINED_BY_SYS_VFS
16319 # include <sys/vfs.h>
16320 # else
16321 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16322 # include <sys/statfs.h>
16323 # endif
16324 # endif
16325 #endif
16328 main ()
16330 static struct statfs ac_aggr;
16331 if (sizeof ac_aggr.f_frsize)
16332 return 0;
16334 return 0;
16336 _ACEOF
16337 rm -f conftest.$ac_objext
16338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16339 (eval $ac_compile) 2>conftest.er1
16340 ac_status=$?
16341 grep -v '^ *+' conftest.er1 >conftest.err
16342 rm -f conftest.er1
16343 cat conftest.err >&5
16344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16345 (exit $ac_status); } &&
16346 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest.$ac_objext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 ac_cv_member_struct_statfs_f_frsize=yes
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16363 ac_cv_member_struct_statfs_f_frsize=no
16365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16369 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
16370 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6
16371 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
16373 cat >>confdefs.h <<_ACEOF
16374 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16375 _ACEOF
16379 echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
16380 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6
16381 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
16382 echo $ECHO_N "(cached) $ECHO_C" >&6
16383 else
16384 cat >conftest.$ac_ext <<_ACEOF
16385 /* confdefs.h. */
16386 _ACEOF
16387 cat confdefs.h >>conftest.$ac_ext
16388 cat >>conftest.$ac_ext <<_ACEOF
16389 /* end confdefs.h. */
16390 #include <sys/types.h>
16391 #ifdef HAVE_SYS_PARAM_H
16392 # include <sys/param.h>
16393 #endif
16394 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16395 # include <sys/mount.h>
16396 #else
16397 # ifdef STATFS_DEFINED_BY_SYS_VFS
16398 # include <sys/vfs.h>
16399 # else
16400 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16401 # include <sys/statfs.h>
16402 # endif
16403 # endif
16404 #endif
16407 main ()
16409 static struct statfs ac_aggr;
16410 if (ac_aggr.f_ffree)
16411 return 0;
16413 return 0;
16415 _ACEOF
16416 rm -f conftest.$ac_objext
16417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16418 (eval $ac_compile) 2>conftest.er1
16419 ac_status=$?
16420 grep -v '^ *+' conftest.er1 >conftest.err
16421 rm -f conftest.er1
16422 cat conftest.err >&5
16423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16424 (exit $ac_status); } &&
16425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16427 (eval $ac_try) 2>&5
16428 ac_status=$?
16429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16430 (exit $ac_status); }; } &&
16431 { ac_try='test -s conftest.$ac_objext'
16432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16433 (eval $ac_try) 2>&5
16434 ac_status=$?
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }; }; then
16437 ac_cv_member_struct_statfs_f_ffree=yes
16438 else
16439 echo "$as_me: failed program was:" >&5
16440 sed 's/^/| /' conftest.$ac_ext >&5
16442 cat >conftest.$ac_ext <<_ACEOF
16443 /* confdefs.h. */
16444 _ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16448 #include <sys/types.h>
16449 #ifdef HAVE_SYS_PARAM_H
16450 # include <sys/param.h>
16451 #endif
16452 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16453 # include <sys/mount.h>
16454 #else
16455 # ifdef STATFS_DEFINED_BY_SYS_VFS
16456 # include <sys/vfs.h>
16457 # else
16458 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16459 # include <sys/statfs.h>
16460 # endif
16461 # endif
16462 #endif
16465 main ()
16467 static struct statfs ac_aggr;
16468 if (sizeof ac_aggr.f_ffree)
16469 return 0;
16471 return 0;
16473 _ACEOF
16474 rm -f conftest.$ac_objext
16475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16476 (eval $ac_compile) 2>conftest.er1
16477 ac_status=$?
16478 grep -v '^ *+' conftest.er1 >conftest.err
16479 rm -f conftest.er1
16480 cat conftest.err >&5
16481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16482 (exit $ac_status); } &&
16483 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16486 ac_status=$?
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; } &&
16489 { ac_try='test -s conftest.$ac_objext'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16492 ac_status=$?
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; }; then
16495 ac_cv_member_struct_statfs_f_ffree=yes
16496 else
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16500 ac_cv_member_struct_statfs_f_ffree=no
16502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16506 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
16507 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6
16508 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
16510 cat >>confdefs.h <<_ACEOF
16511 #define HAVE_STRUCT_STATFS_F_FFREE 1
16512 _ACEOF
16516 echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
16517 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6
16518 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
16519 echo $ECHO_N "(cached) $ECHO_C" >&6
16520 else
16521 cat >conftest.$ac_ext <<_ACEOF
16522 /* confdefs.h. */
16523 _ACEOF
16524 cat confdefs.h >>conftest.$ac_ext
16525 cat >>conftest.$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16527 #include <sys/types.h>
16528 #ifdef HAVE_SYS_PARAM_H
16529 # include <sys/param.h>
16530 #endif
16531 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16532 # include <sys/mount.h>
16533 #else
16534 # ifdef STATFS_DEFINED_BY_SYS_VFS
16535 # include <sys/vfs.h>
16536 # else
16537 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16538 # include <sys/statfs.h>
16539 # endif
16540 # endif
16541 #endif
16544 main ()
16546 static struct statfs ac_aggr;
16547 if (ac_aggr.f_favail)
16548 return 0;
16550 return 0;
16552 _ACEOF
16553 rm -f conftest.$ac_objext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>conftest.er1
16556 ac_status=$?
16557 grep -v '^ *+' conftest.er1 >conftest.err
16558 rm -f conftest.er1
16559 cat conftest.err >&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16565 ac_status=$?
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try='test -s conftest.$ac_objext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 ac_cv_member_struct_statfs_f_favail=yes
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16579 cat >conftest.$ac_ext <<_ACEOF
16580 /* confdefs.h. */
16581 _ACEOF
16582 cat confdefs.h >>conftest.$ac_ext
16583 cat >>conftest.$ac_ext <<_ACEOF
16584 /* end confdefs.h. */
16585 #include <sys/types.h>
16586 #ifdef HAVE_SYS_PARAM_H
16587 # include <sys/param.h>
16588 #endif
16589 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16590 # include <sys/mount.h>
16591 #else
16592 # ifdef STATFS_DEFINED_BY_SYS_VFS
16593 # include <sys/vfs.h>
16594 # else
16595 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16596 # include <sys/statfs.h>
16597 # endif
16598 # endif
16599 #endif
16602 main ()
16604 static struct statfs ac_aggr;
16605 if (sizeof ac_aggr.f_favail)
16606 return 0;
16608 return 0;
16610 _ACEOF
16611 rm -f conftest.$ac_objext
16612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16613 (eval $ac_compile) 2>conftest.er1
16614 ac_status=$?
16615 grep -v '^ *+' conftest.er1 >conftest.err
16616 rm -f conftest.er1
16617 cat conftest.err >&5
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } &&
16620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16622 (eval $ac_try) 2>&5
16623 ac_status=$?
16624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16625 (exit $ac_status); }; } &&
16626 { ac_try='test -s conftest.$ac_objext'
16627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16628 (eval $ac_try) 2>&5
16629 ac_status=$?
16630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16631 (exit $ac_status); }; }; then
16632 ac_cv_member_struct_statfs_f_favail=yes
16633 else
16634 echo "$as_me: failed program was:" >&5
16635 sed 's/^/| /' conftest.$ac_ext >&5
16637 ac_cv_member_struct_statfs_f_favail=no
16639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16643 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
16644 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6
16645 if test $ac_cv_member_struct_statfs_f_favail = yes; then
16647 cat >>confdefs.h <<_ACEOF
16648 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16649 _ACEOF
16653 echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
16654 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6
16655 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
16656 echo $ECHO_N "(cached) $ECHO_C" >&6
16657 else
16658 cat >conftest.$ac_ext <<_ACEOF
16659 /* confdefs.h. */
16660 _ACEOF
16661 cat confdefs.h >>conftest.$ac_ext
16662 cat >>conftest.$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 #include <sys/types.h>
16665 #ifdef HAVE_SYS_PARAM_H
16666 # include <sys/param.h>
16667 #endif
16668 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16669 # include <sys/mount.h>
16670 #else
16671 # ifdef STATFS_DEFINED_BY_SYS_VFS
16672 # include <sys/vfs.h>
16673 # else
16674 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16675 # include <sys/statfs.h>
16676 # endif
16677 # endif
16678 #endif
16681 main ()
16683 static struct statfs ac_aggr;
16684 if (ac_aggr.f_namelen)
16685 return 0;
16687 return 0;
16689 _ACEOF
16690 rm -f conftest.$ac_objext
16691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16692 (eval $ac_compile) 2>conftest.er1
16693 ac_status=$?
16694 grep -v '^ *+' conftest.er1 >conftest.err
16695 rm -f conftest.er1
16696 cat conftest.err >&5
16697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16698 (exit $ac_status); } &&
16699 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16701 (eval $ac_try) 2>&5
16702 ac_status=$?
16703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16704 (exit $ac_status); }; } &&
16705 { ac_try='test -s conftest.$ac_objext'
16706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16707 (eval $ac_try) 2>&5
16708 ac_status=$?
16709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16710 (exit $ac_status); }; }; then
16711 ac_cv_member_struct_statfs_f_namelen=yes
16712 else
16713 echo "$as_me: failed program was:" >&5
16714 sed 's/^/| /' conftest.$ac_ext >&5
16716 cat >conftest.$ac_ext <<_ACEOF
16717 /* confdefs.h. */
16718 _ACEOF
16719 cat confdefs.h >>conftest.$ac_ext
16720 cat >>conftest.$ac_ext <<_ACEOF
16721 /* end confdefs.h. */
16722 #include <sys/types.h>
16723 #ifdef HAVE_SYS_PARAM_H
16724 # include <sys/param.h>
16725 #endif
16726 #ifdef STATFS_DEFINED_BY_SYS_MOUNT
16727 # include <sys/mount.h>
16728 #else
16729 # ifdef STATFS_DEFINED_BY_SYS_VFS
16730 # include <sys/vfs.h>
16731 # else
16732 # ifdef STATFS_DEFINED_BY_SYS_STATFS
16733 # include <sys/statfs.h>
16734 # endif
16735 # endif
16736 #endif
16739 main ()
16741 static struct statfs ac_aggr;
16742 if (sizeof ac_aggr.f_namelen)
16743 return 0;
16745 return 0;
16747 _ACEOF
16748 rm -f conftest.$ac_objext
16749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16750 (eval $ac_compile) 2>conftest.er1
16751 ac_status=$?
16752 grep -v '^ *+' conftest.er1 >conftest.err
16753 rm -f conftest.er1
16754 cat conftest.err >&5
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); } &&
16757 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16759 (eval $ac_try) 2>&5
16760 ac_status=$?
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); }; } &&
16763 { ac_try='test -s conftest.$ac_objext'
16764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16765 (eval $ac_try) 2>&5
16766 ac_status=$?
16767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16768 (exit $ac_status); }; }; then
16769 ac_cv_member_struct_statfs_f_namelen=yes
16770 else
16771 echo "$as_me: failed program was:" >&5
16772 sed 's/^/| /' conftest.$ac_ext >&5
16774 ac_cv_member_struct_statfs_f_namelen=no
16776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16778 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16780 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
16781 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6
16782 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
16784 cat >>confdefs.h <<_ACEOF
16785 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16786 _ACEOF
16792 echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
16793 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6
16794 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
16795 echo $ECHO_N "(cached) $ECHO_C" >&6
16796 else
16797 cat >conftest.$ac_ext <<_ACEOF
16798 /* confdefs.h. */
16799 _ACEOF
16800 cat confdefs.h >>conftest.$ac_ext
16801 cat >>conftest.$ac_ext <<_ACEOF
16802 /* end confdefs.h. */
16803 #ifdef HAVE_SYS_STATVFS_H
16804 #include <sys/statvfs.h>
16805 #endif
16808 main ()
16810 static struct statvfs ac_aggr;
16811 if (ac_aggr.f_blocks)
16812 return 0;
16814 return 0;
16816 _ACEOF
16817 rm -f conftest.$ac_objext
16818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16819 (eval $ac_compile) 2>conftest.er1
16820 ac_status=$?
16821 grep -v '^ *+' conftest.er1 >conftest.err
16822 rm -f conftest.er1
16823 cat conftest.err >&5
16824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16825 (exit $ac_status); } &&
16826 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16828 (eval $ac_try) 2>&5
16829 ac_status=$?
16830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16831 (exit $ac_status); }; } &&
16832 { ac_try='test -s conftest.$ac_objext'
16833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16834 (eval $ac_try) 2>&5
16835 ac_status=$?
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); }; }; then
16838 ac_cv_member_struct_statvfs_f_blocks=yes
16839 else
16840 echo "$as_me: failed program was:" >&5
16841 sed 's/^/| /' conftest.$ac_ext >&5
16843 cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h. */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 #ifdef HAVE_SYS_STATVFS_H
16850 #include <sys/statvfs.h>
16851 #endif
16854 main ()
16856 static struct statvfs ac_aggr;
16857 if (sizeof ac_aggr.f_blocks)
16858 return 0;
16860 return 0;
16862 _ACEOF
16863 rm -f conftest.$ac_objext
16864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16865 (eval $ac_compile) 2>conftest.er1
16866 ac_status=$?
16867 grep -v '^ *+' conftest.er1 >conftest.err
16868 rm -f conftest.er1
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } &&
16872 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16874 (eval $ac_try) 2>&5
16875 ac_status=$?
16876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16877 (exit $ac_status); }; } &&
16878 { ac_try='test -s conftest.$ac_objext'
16879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16880 (eval $ac_try) 2>&5
16881 ac_status=$?
16882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16883 (exit $ac_status); }; }; then
16884 ac_cv_member_struct_statvfs_f_blocks=yes
16885 else
16886 echo "$as_me: failed program was:" >&5
16887 sed 's/^/| /' conftest.$ac_ext >&5
16889 ac_cv_member_struct_statvfs_f_blocks=no
16891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16895 echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
16896 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6
16897 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
16899 cat >>confdefs.h <<_ACEOF
16900 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16901 _ACEOF
16907 echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
16908 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6
16909 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
16910 echo $ECHO_N "(cached) $ECHO_C" >&6
16911 else
16912 cat >conftest.$ac_ext <<_ACEOF
16913 /* confdefs.h. */
16914 _ACEOF
16915 cat confdefs.h >>conftest.$ac_ext
16916 cat >>conftest.$ac_ext <<_ACEOF
16917 /* end confdefs.h. */
16918 #include <sys/types.h>
16919 #ifdef HAVE_SYS_SOCKET_H
16920 # include <sys/socket.h>
16921 #endif
16922 #ifdef HAVE_SYS_UN_H
16923 # include <sys/un.h>
16924 #endif
16927 main ()
16929 static struct msghdr ac_aggr;
16930 if (ac_aggr.msg_accrights)
16931 return 0;
16933 return 0;
16935 _ACEOF
16936 rm -f conftest.$ac_objext
16937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16938 (eval $ac_compile) 2>conftest.er1
16939 ac_status=$?
16940 grep -v '^ *+' conftest.er1 >conftest.err
16941 rm -f conftest.er1
16942 cat conftest.err >&5
16943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16944 (exit $ac_status); } &&
16945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16947 (eval $ac_try) 2>&5
16948 ac_status=$?
16949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16950 (exit $ac_status); }; } &&
16951 { ac_try='test -s conftest.$ac_objext'
16952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16953 (eval $ac_try) 2>&5
16954 ac_status=$?
16955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16956 (exit $ac_status); }; }; then
16957 ac_cv_member_struct_msghdr_msg_accrights=yes
16958 else
16959 echo "$as_me: failed program was:" >&5
16960 sed 's/^/| /' conftest.$ac_ext >&5
16962 cat >conftest.$ac_ext <<_ACEOF
16963 /* confdefs.h. */
16964 _ACEOF
16965 cat confdefs.h >>conftest.$ac_ext
16966 cat >>conftest.$ac_ext <<_ACEOF
16967 /* end confdefs.h. */
16968 #include <sys/types.h>
16969 #ifdef HAVE_SYS_SOCKET_H
16970 # include <sys/socket.h>
16971 #endif
16972 #ifdef HAVE_SYS_UN_H
16973 # include <sys/un.h>
16974 #endif
16977 main ()
16979 static struct msghdr ac_aggr;
16980 if (sizeof ac_aggr.msg_accrights)
16981 return 0;
16983 return 0;
16985 _ACEOF
16986 rm -f conftest.$ac_objext
16987 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16988 (eval $ac_compile) 2>conftest.er1
16989 ac_status=$?
16990 grep -v '^ *+' conftest.er1 >conftest.err
16991 rm -f conftest.er1
16992 cat conftest.err >&5
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); } &&
16995 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16997 (eval $ac_try) 2>&5
16998 ac_status=$?
16999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17000 (exit $ac_status); }; } &&
17001 { ac_try='test -s conftest.$ac_objext'
17002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17003 (eval $ac_try) 2>&5
17004 ac_status=$?
17005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17006 (exit $ac_status); }; }; then
17007 ac_cv_member_struct_msghdr_msg_accrights=yes
17008 else
17009 echo "$as_me: failed program was:" >&5
17010 sed 's/^/| /' conftest.$ac_ext >&5
17012 ac_cv_member_struct_msghdr_msg_accrights=no
17014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17018 echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
17019 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6
17020 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
17022 cat >>confdefs.h <<_ACEOF
17023 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17024 _ACEOF
17028 echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
17029 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6
17030 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 else
17033 cat >conftest.$ac_ext <<_ACEOF
17034 /* confdefs.h. */
17035 _ACEOF
17036 cat confdefs.h >>conftest.$ac_ext
17037 cat >>conftest.$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 #include <sys/types.h>
17040 #ifdef HAVE_SYS_SOCKET_H
17041 # include <sys/socket.h>
17042 #endif
17043 #ifdef HAVE_SYS_UN_H
17044 # include <sys/un.h>
17045 #endif
17048 main ()
17050 static struct sockaddr ac_aggr;
17051 if (ac_aggr.sa_len)
17052 return 0;
17054 return 0;
17056 _ACEOF
17057 rm -f conftest.$ac_objext
17058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17059 (eval $ac_compile) 2>conftest.er1
17060 ac_status=$?
17061 grep -v '^ *+' conftest.er1 >conftest.err
17062 rm -f conftest.er1
17063 cat conftest.err >&5
17064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); } &&
17066 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17068 (eval $ac_try) 2>&5
17069 ac_status=$?
17070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17071 (exit $ac_status); }; } &&
17072 { ac_try='test -s conftest.$ac_objext'
17073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17074 (eval $ac_try) 2>&5
17075 ac_status=$?
17076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17077 (exit $ac_status); }; }; then
17078 ac_cv_member_struct_sockaddr_sa_len=yes
17079 else
17080 echo "$as_me: failed program was:" >&5
17081 sed 's/^/| /' conftest.$ac_ext >&5
17083 cat >conftest.$ac_ext <<_ACEOF
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <sys/types.h>
17090 #ifdef HAVE_SYS_SOCKET_H
17091 # include <sys/socket.h>
17092 #endif
17093 #ifdef HAVE_SYS_UN_H
17094 # include <sys/un.h>
17095 #endif
17098 main ()
17100 static struct sockaddr ac_aggr;
17101 if (sizeof ac_aggr.sa_len)
17102 return 0;
17104 return 0;
17106 _ACEOF
17107 rm -f conftest.$ac_objext
17108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17109 (eval $ac_compile) 2>conftest.er1
17110 ac_status=$?
17111 grep -v '^ *+' conftest.er1 >conftest.err
17112 rm -f conftest.er1
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 (exit $ac_status); } &&
17116 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17118 (eval $ac_try) 2>&5
17119 ac_status=$?
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); }; } &&
17122 { ac_try='test -s conftest.$ac_objext'
17123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17124 (eval $ac_try) 2>&5
17125 ac_status=$?
17126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17127 (exit $ac_status); }; }; then
17128 ac_cv_member_struct_sockaddr_sa_len=yes
17129 else
17130 echo "$as_me: failed program was:" >&5
17131 sed 's/^/| /' conftest.$ac_ext >&5
17133 ac_cv_member_struct_sockaddr_sa_len=no
17135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17139 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
17140 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6
17141 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
17143 cat >>confdefs.h <<_ACEOF
17144 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17145 _ACEOF
17149 echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
17150 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6
17151 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
17152 echo $ECHO_N "(cached) $ECHO_C" >&6
17153 else
17154 cat >conftest.$ac_ext <<_ACEOF
17155 /* confdefs.h. */
17156 _ACEOF
17157 cat confdefs.h >>conftest.$ac_ext
17158 cat >>conftest.$ac_ext <<_ACEOF
17159 /* end confdefs.h. */
17160 #include <sys/types.h>
17161 #ifdef HAVE_SYS_SOCKET_H
17162 # include <sys/socket.h>
17163 #endif
17164 #ifdef HAVE_SYS_UN_H
17165 # include <sys/un.h>
17166 #endif
17169 main ()
17171 static struct sockaddr_un ac_aggr;
17172 if (ac_aggr.sun_len)
17173 return 0;
17175 return 0;
17177 _ACEOF
17178 rm -f conftest.$ac_objext
17179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17180 (eval $ac_compile) 2>conftest.er1
17181 ac_status=$?
17182 grep -v '^ *+' conftest.er1 >conftest.err
17183 rm -f conftest.er1
17184 cat conftest.err >&5
17185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17186 (exit $ac_status); } &&
17187 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17189 (eval $ac_try) 2>&5
17190 ac_status=$?
17191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17192 (exit $ac_status); }; } &&
17193 { ac_try='test -s conftest.$ac_objext'
17194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17195 (eval $ac_try) 2>&5
17196 ac_status=$?
17197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17198 (exit $ac_status); }; }; then
17199 ac_cv_member_struct_sockaddr_un_sun_len=yes
17200 else
17201 echo "$as_me: failed program was:" >&5
17202 sed 's/^/| /' conftest.$ac_ext >&5
17204 cat >conftest.$ac_ext <<_ACEOF
17205 /* confdefs.h. */
17206 _ACEOF
17207 cat confdefs.h >>conftest.$ac_ext
17208 cat >>conftest.$ac_ext <<_ACEOF
17209 /* end confdefs.h. */
17210 #include <sys/types.h>
17211 #ifdef HAVE_SYS_SOCKET_H
17212 # include <sys/socket.h>
17213 #endif
17214 #ifdef HAVE_SYS_UN_H
17215 # include <sys/un.h>
17216 #endif
17219 main ()
17221 static struct sockaddr_un ac_aggr;
17222 if (sizeof ac_aggr.sun_len)
17223 return 0;
17225 return 0;
17227 _ACEOF
17228 rm -f conftest.$ac_objext
17229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17230 (eval $ac_compile) 2>conftest.er1
17231 ac_status=$?
17232 grep -v '^ *+' conftest.er1 >conftest.err
17233 rm -f conftest.er1
17234 cat conftest.err >&5
17235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17236 (exit $ac_status); } &&
17237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17239 (eval $ac_try) 2>&5
17240 ac_status=$?
17241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17242 (exit $ac_status); }; } &&
17243 { ac_try='test -s conftest.$ac_objext'
17244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17245 (eval $ac_try) 2>&5
17246 ac_status=$?
17247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17248 (exit $ac_status); }; }; then
17249 ac_cv_member_struct_sockaddr_un_sun_len=yes
17250 else
17251 echo "$as_me: failed program was:" >&5
17252 sed 's/^/| /' conftest.$ac_ext >&5
17254 ac_cv_member_struct_sockaddr_un_sun_len=no
17256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17260 echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
17261 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6
17262 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
17264 cat >>confdefs.h <<_ACEOF
17265 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17266 _ACEOF
17272 echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
17273 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6
17274 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
17275 echo $ECHO_N "(cached) $ECHO_C" >&6
17276 else
17277 cat >conftest.$ac_ext <<_ACEOF
17278 /* confdefs.h. */
17279 _ACEOF
17280 cat confdefs.h >>conftest.$ac_ext
17281 cat >>conftest.$ac_ext <<_ACEOF
17282 /* end confdefs.h. */
17283 #include <sys/types.h>
17284 #ifdef HAVE_SCSI_SG_H
17285 #include <scsi/sg.h>
17286 #endif
17289 main ()
17291 static scsireq_t ac_aggr;
17292 if (ac_aggr.cmd)
17293 return 0;
17295 return 0;
17297 _ACEOF
17298 rm -f conftest.$ac_objext
17299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17300 (eval $ac_compile) 2>conftest.er1
17301 ac_status=$?
17302 grep -v '^ *+' conftest.er1 >conftest.err
17303 rm -f conftest.er1
17304 cat conftest.err >&5
17305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17306 (exit $ac_status); } &&
17307 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17309 (eval $ac_try) 2>&5
17310 ac_status=$?
17311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17312 (exit $ac_status); }; } &&
17313 { ac_try='test -s conftest.$ac_objext'
17314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17315 (eval $ac_try) 2>&5
17316 ac_status=$?
17317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17318 (exit $ac_status); }; }; then
17319 ac_cv_member_scsireq_t_cmd=yes
17320 else
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.$ac_ext >&5
17324 cat >conftest.$ac_ext <<_ACEOF
17325 /* confdefs.h. */
17326 _ACEOF
17327 cat confdefs.h >>conftest.$ac_ext
17328 cat >>conftest.$ac_ext <<_ACEOF
17329 /* end confdefs.h. */
17330 #include <sys/types.h>
17331 #ifdef HAVE_SCSI_SG_H
17332 #include <scsi/sg.h>
17333 #endif
17336 main ()
17338 static scsireq_t ac_aggr;
17339 if (sizeof ac_aggr.cmd)
17340 return 0;
17342 return 0;
17344 _ACEOF
17345 rm -f conftest.$ac_objext
17346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17347 (eval $ac_compile) 2>conftest.er1
17348 ac_status=$?
17349 grep -v '^ *+' conftest.er1 >conftest.err
17350 rm -f conftest.er1
17351 cat conftest.err >&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } &&
17354 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17356 (eval $ac_try) 2>&5
17357 ac_status=$?
17358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17359 (exit $ac_status); }; } &&
17360 { ac_try='test -s conftest.$ac_objext'
17361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17362 (eval $ac_try) 2>&5
17363 ac_status=$?
17364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17365 (exit $ac_status); }; }; then
17366 ac_cv_member_scsireq_t_cmd=yes
17367 else
17368 echo "$as_me: failed program was:" >&5
17369 sed 's/^/| /' conftest.$ac_ext >&5
17371 ac_cv_member_scsireq_t_cmd=no
17373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17377 echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
17378 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6
17379 if test $ac_cv_member_scsireq_t_cmd = yes; then
17381 cat >>confdefs.h <<_ACEOF
17382 #define HAVE_SCSIREQ_T_CMD 1
17383 _ACEOF
17387 echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
17388 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6
17389 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
17390 echo $ECHO_N "(cached) $ECHO_C" >&6
17391 else
17392 cat >conftest.$ac_ext <<_ACEOF
17393 /* confdefs.h. */
17394 _ACEOF
17395 cat confdefs.h >>conftest.$ac_ext
17396 cat >>conftest.$ac_ext <<_ACEOF
17397 /* end confdefs.h. */
17398 #include <sys/types.h>
17399 #ifdef HAVE_SCSI_SG_H
17400 #include <scsi/sg.h>
17401 #endif
17404 main ()
17406 static sg_io_hdr_t ac_aggr;
17407 if (ac_aggr.interface_id)
17408 return 0;
17410 return 0;
17412 _ACEOF
17413 rm -f conftest.$ac_objext
17414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17415 (eval $ac_compile) 2>conftest.er1
17416 ac_status=$?
17417 grep -v '^ *+' conftest.er1 >conftest.err
17418 rm -f conftest.er1
17419 cat conftest.err >&5
17420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17421 (exit $ac_status); } &&
17422 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17424 (eval $ac_try) 2>&5
17425 ac_status=$?
17426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17427 (exit $ac_status); }; } &&
17428 { ac_try='test -s conftest.$ac_objext'
17429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17430 (eval $ac_try) 2>&5
17431 ac_status=$?
17432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17433 (exit $ac_status); }; }; then
17434 ac_cv_member_sg_io_hdr_t_interface_id=yes
17435 else
17436 echo "$as_me: failed program was:" >&5
17437 sed 's/^/| /' conftest.$ac_ext >&5
17439 cat >conftest.$ac_ext <<_ACEOF
17440 /* confdefs.h. */
17441 _ACEOF
17442 cat confdefs.h >>conftest.$ac_ext
17443 cat >>conftest.$ac_ext <<_ACEOF
17444 /* end confdefs.h. */
17445 #include <sys/types.h>
17446 #ifdef HAVE_SCSI_SG_H
17447 #include <scsi/sg.h>
17448 #endif
17451 main ()
17453 static sg_io_hdr_t ac_aggr;
17454 if (sizeof ac_aggr.interface_id)
17455 return 0;
17457 return 0;
17459 _ACEOF
17460 rm -f conftest.$ac_objext
17461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17462 (eval $ac_compile) 2>conftest.er1
17463 ac_status=$?
17464 grep -v '^ *+' conftest.er1 >conftest.err
17465 rm -f conftest.er1
17466 cat conftest.err >&5
17467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17468 (exit $ac_status); } &&
17469 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17471 (eval $ac_try) 2>&5
17472 ac_status=$?
17473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17474 (exit $ac_status); }; } &&
17475 { ac_try='test -s conftest.$ac_objext'
17476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17477 (eval $ac_try) 2>&5
17478 ac_status=$?
17479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17480 (exit $ac_status); }; }; then
17481 ac_cv_member_sg_io_hdr_t_interface_id=yes
17482 else
17483 echo "$as_me: failed program was:" >&5
17484 sed 's/^/| /' conftest.$ac_ext >&5
17486 ac_cv_member_sg_io_hdr_t_interface_id=no
17488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17492 echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
17493 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6
17494 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
17496 cat >>confdefs.h <<_ACEOF
17497 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17498 _ACEOF
17504 echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
17505 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6
17506 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
17507 echo $ECHO_N "(cached) $ECHO_C" >&6
17508 else
17509 cat >conftest.$ac_ext <<_ACEOF
17510 /* confdefs.h. */
17511 _ACEOF
17512 cat confdefs.h >>conftest.$ac_ext
17513 cat >>conftest.$ac_ext <<_ACEOF
17514 /* end confdefs.h. */
17515 #include <signal.h>
17518 main ()
17520 static siginfo_t ac_aggr;
17521 if (ac_aggr.si_fd)
17522 return 0;
17524 return 0;
17526 _ACEOF
17527 rm -f conftest.$ac_objext
17528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17529 (eval $ac_compile) 2>conftest.er1
17530 ac_status=$?
17531 grep -v '^ *+' conftest.er1 >conftest.err
17532 rm -f conftest.er1
17533 cat conftest.err >&5
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); } &&
17536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17538 (eval $ac_try) 2>&5
17539 ac_status=$?
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); }; } &&
17542 { ac_try='test -s conftest.$ac_objext'
17543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17544 (eval $ac_try) 2>&5
17545 ac_status=$?
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); }; }; then
17548 ac_cv_member_siginfo_t_si_fd=yes
17549 else
17550 echo "$as_me: failed program was:" >&5
17551 sed 's/^/| /' conftest.$ac_ext >&5
17553 cat >conftest.$ac_ext <<_ACEOF
17554 /* confdefs.h. */
17555 _ACEOF
17556 cat confdefs.h >>conftest.$ac_ext
17557 cat >>conftest.$ac_ext <<_ACEOF
17558 /* end confdefs.h. */
17559 #include <signal.h>
17562 main ()
17564 static siginfo_t ac_aggr;
17565 if (sizeof ac_aggr.si_fd)
17566 return 0;
17568 return 0;
17570 _ACEOF
17571 rm -f conftest.$ac_objext
17572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17573 (eval $ac_compile) 2>conftest.er1
17574 ac_status=$?
17575 grep -v '^ *+' conftest.er1 >conftest.err
17576 rm -f conftest.er1
17577 cat conftest.err >&5
17578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17579 (exit $ac_status); } &&
17580 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17582 (eval $ac_try) 2>&5
17583 ac_status=$?
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); }; } &&
17586 { ac_try='test -s conftest.$ac_objext'
17587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17588 (eval $ac_try) 2>&5
17589 ac_status=$?
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; }; then
17592 ac_cv_member_siginfo_t_si_fd=yes
17593 else
17594 echo "$as_me: failed program was:" >&5
17595 sed 's/^/| /' conftest.$ac_ext >&5
17597 ac_cv_member_siginfo_t_si_fd=no
17599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17601 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17603 echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
17604 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6
17605 if test $ac_cv_member_siginfo_t_si_fd = yes; then
17607 cat >>confdefs.h <<_ACEOF
17608 #define HAVE_SIGINFO_T_SI_FD 1
17609 _ACEOF
17615 echo "$as_me:$LINENO: checking for struct option.name" >&5
17616 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6
17617 if test "${ac_cv_member_struct_option_name+set}" = set; then
17618 echo $ECHO_N "(cached) $ECHO_C" >&6
17619 else
17620 cat >conftest.$ac_ext <<_ACEOF
17621 /* confdefs.h. */
17622 _ACEOF
17623 cat confdefs.h >>conftest.$ac_ext
17624 cat >>conftest.$ac_ext <<_ACEOF
17625 /* end confdefs.h. */
17626 #ifdef HAVE_GETOPT_H
17627 #include <getopt.h>
17628 #endif
17631 main ()
17633 static struct option ac_aggr;
17634 if (ac_aggr.name)
17635 return 0;
17637 return 0;
17639 _ACEOF
17640 rm -f conftest.$ac_objext
17641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642 (eval $ac_compile) 2>conftest.er1
17643 ac_status=$?
17644 grep -v '^ *+' conftest.er1 >conftest.err
17645 rm -f conftest.er1
17646 cat conftest.err >&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } &&
17649 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651 (eval $ac_try) 2>&5
17652 ac_status=$?
17653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17654 (exit $ac_status); }; } &&
17655 { ac_try='test -s conftest.$ac_objext'
17656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17657 (eval $ac_try) 2>&5
17658 ac_status=$?
17659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17660 (exit $ac_status); }; }; then
17661 ac_cv_member_struct_option_name=yes
17662 else
17663 echo "$as_me: failed program was:" >&5
17664 sed 's/^/| /' conftest.$ac_ext >&5
17666 cat >conftest.$ac_ext <<_ACEOF
17667 /* confdefs.h. */
17668 _ACEOF
17669 cat confdefs.h >>conftest.$ac_ext
17670 cat >>conftest.$ac_ext <<_ACEOF
17671 /* end confdefs.h. */
17672 #ifdef HAVE_GETOPT_H
17673 #include <getopt.h>
17674 #endif
17677 main ()
17679 static struct option ac_aggr;
17680 if (sizeof ac_aggr.name)
17681 return 0;
17683 return 0;
17685 _ACEOF
17686 rm -f conftest.$ac_objext
17687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17688 (eval $ac_compile) 2>conftest.er1
17689 ac_status=$?
17690 grep -v '^ *+' conftest.er1 >conftest.err
17691 rm -f conftest.er1
17692 cat conftest.err >&5
17693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17694 (exit $ac_status); } &&
17695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17697 (eval $ac_try) 2>&5
17698 ac_status=$?
17699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17700 (exit $ac_status); }; } &&
17701 { ac_try='test -s conftest.$ac_objext'
17702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17703 (eval $ac_try) 2>&5
17704 ac_status=$?
17705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17706 (exit $ac_status); }; }; then
17707 ac_cv_member_struct_option_name=yes
17708 else
17709 echo "$as_me: failed program was:" >&5
17710 sed 's/^/| /' conftest.$ac_ext >&5
17712 ac_cv_member_struct_option_name=no
17714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17718 echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
17719 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6
17720 if test $ac_cv_member_struct_option_name = yes; then
17722 cat >>confdefs.h <<_ACEOF
17723 #define HAVE_STRUCT_OPTION_NAME 1
17724 _ACEOF
17730 echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
17731 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6
17732 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
17733 echo $ECHO_N "(cached) $ECHO_C" >&6
17734 else
17735 cat >conftest.$ac_ext <<_ACEOF
17736 /* confdefs.h. */
17737 _ACEOF
17738 cat confdefs.h >>conftest.$ac_ext
17739 cat >>conftest.$ac_ext <<_ACEOF
17740 /* end confdefs.h. */
17741 $ac_includes_default
17743 main ()
17745 static struct stat ac_aggr;
17746 if (ac_aggr.st_blocks)
17747 return 0;
17749 return 0;
17751 _ACEOF
17752 rm -f conftest.$ac_objext
17753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17754 (eval $ac_compile) 2>conftest.er1
17755 ac_status=$?
17756 grep -v '^ *+' conftest.er1 >conftest.err
17757 rm -f conftest.er1
17758 cat conftest.err >&5
17759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17760 (exit $ac_status); } &&
17761 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17763 (eval $ac_try) 2>&5
17764 ac_status=$?
17765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17766 (exit $ac_status); }; } &&
17767 { ac_try='test -s conftest.$ac_objext'
17768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17769 (eval $ac_try) 2>&5
17770 ac_status=$?
17771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17772 (exit $ac_status); }; }; then
17773 ac_cv_member_struct_stat_st_blocks=yes
17774 else
17775 echo "$as_me: failed program was:" >&5
17776 sed 's/^/| /' conftest.$ac_ext >&5
17778 cat >conftest.$ac_ext <<_ACEOF
17779 /* confdefs.h. */
17780 _ACEOF
17781 cat confdefs.h >>conftest.$ac_ext
17782 cat >>conftest.$ac_ext <<_ACEOF
17783 /* end confdefs.h. */
17784 $ac_includes_default
17786 main ()
17788 static struct stat ac_aggr;
17789 if (sizeof ac_aggr.st_blocks)
17790 return 0;
17792 return 0;
17794 _ACEOF
17795 rm -f conftest.$ac_objext
17796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17797 (eval $ac_compile) 2>conftest.er1
17798 ac_status=$?
17799 grep -v '^ *+' conftest.er1 >conftest.err
17800 rm -f conftest.er1
17801 cat conftest.err >&5
17802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17803 (exit $ac_status); } &&
17804 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17806 (eval $ac_try) 2>&5
17807 ac_status=$?
17808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17809 (exit $ac_status); }; } &&
17810 { ac_try='test -s conftest.$ac_objext'
17811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17812 (eval $ac_try) 2>&5
17813 ac_status=$?
17814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17815 (exit $ac_status); }; }; then
17816 ac_cv_member_struct_stat_st_blocks=yes
17817 else
17818 echo "$as_me: failed program was:" >&5
17819 sed 's/^/| /' conftest.$ac_ext >&5
17821 ac_cv_member_struct_stat_st_blocks=no
17823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17825 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17827 echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
17828 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6
17829 if test $ac_cv_member_struct_stat_st_blocks = yes; then
17831 cat >>confdefs.h <<_ACEOF
17832 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17833 _ACEOF
17839 echo "$as_me:$LINENO: checking for timezone variable" >&5
17840 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6
17841 if test "${ac_cv_have_timezone+set}" = set; then
17842 echo $ECHO_N "(cached) $ECHO_C" >&6
17843 else
17844 cat >conftest.$ac_ext <<_ACEOF
17845 /* confdefs.h. */
17846 _ACEOF
17847 cat confdefs.h >>conftest.$ac_ext
17848 cat >>conftest.$ac_ext <<_ACEOF
17849 /* end confdefs.h. */
17850 #include <time.h>
17852 main ()
17854 timezone;
17856 return 0;
17858 _ACEOF
17859 rm -f conftest.$ac_objext conftest$ac_exeext
17860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17861 (eval $ac_link) 2>conftest.er1
17862 ac_status=$?
17863 grep -v '^ *+' conftest.er1 >conftest.err
17864 rm -f conftest.er1
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } &&
17868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17870 (eval $ac_try) 2>&5
17871 ac_status=$?
17872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17873 (exit $ac_status); }; } &&
17874 { ac_try='test -s conftest$ac_exeext'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; }; then
17880 ac_cv_have_timezone="yes"
17881 else
17882 echo "$as_me: failed program was:" >&5
17883 sed 's/^/| /' conftest.$ac_ext >&5
17885 ac_cv_have_timezone="no"
17887 rm -f conftest.err conftest.$ac_objext \
17888 conftest$ac_exeext conftest.$ac_ext
17890 echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
17891 echo "${ECHO_T}$ac_cv_have_timezone" >&6
17892 if test "$ac_cv_have_timezone" = "yes"
17893 then
17895 cat >>confdefs.h <<\_ACEOF
17896 #define HAVE_TIMEZONE 1
17897 _ACEOF
17900 echo "$as_me:$LINENO: checking for daylight variable" >&5
17901 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6
17902 if test "${ac_cv_have_daylight+set}" = set; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 #include <time.h>
17913 main ()
17915 daylight;
17917 return 0;
17919 _ACEOF
17920 rm -f conftest.$ac_objext conftest$ac_exeext
17921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17922 (eval $ac_link) 2>conftest.er1
17923 ac_status=$?
17924 grep -v '^ *+' conftest.er1 >conftest.err
17925 rm -f conftest.er1
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } &&
17929 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17931 (eval $ac_try) 2>&5
17932 ac_status=$?
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); }; } &&
17935 { ac_try='test -s conftest$ac_exeext'
17936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17937 (eval $ac_try) 2>&5
17938 ac_status=$?
17939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17940 (exit $ac_status); }; }; then
17941 ac_cv_have_daylight="yes"
17942 else
17943 echo "$as_me: failed program was:" >&5
17944 sed 's/^/| /' conftest.$ac_ext >&5
17946 ac_cv_have_daylight="no"
17948 rm -f conftest.err conftest.$ac_objext \
17949 conftest$ac_exeext conftest.$ac_ext
17951 echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
17952 echo "${ECHO_T}$ac_cv_have_daylight" >&6
17953 if test "$ac_cv_have_daylight" = "yes"
17954 then
17956 cat >>confdefs.h <<\_ACEOF
17957 #define HAVE_DAYLIGHT 1
17958 _ACEOF
17963 case $host_cpu in
17964 *i[3456789]86*) echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
17965 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6
17966 if test "${ac_cv_cpp_def___i386__+set}" = set; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 else
17969 cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h. */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 #ifndef __i386__
17977 #endif
17978 _ACEOF
17979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17980 $EGREP "yes" >/dev/null 2>&1; then
17981 ac_cv_cpp_def___i386__=yes
17982 else
17983 ac_cv_cpp_def___i386__=no
17985 rm -f conftest*
17988 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
17989 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6
17990 if test $ac_cv_cpp_def___i386__ = yes; then
17991 CFLAGS="$CFLAGS -D__i386__"
17992 LINTFLAGS="$LINTFLAGS -D__i386__"
17995 *alpha*) echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
17996 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6
17997 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
17998 echo $ECHO_N "(cached) $ECHO_C" >&6
17999 else
18000 cat >conftest.$ac_ext <<_ACEOF
18001 /* confdefs.h. */
18002 _ACEOF
18003 cat confdefs.h >>conftest.$ac_ext
18004 cat >>conftest.$ac_ext <<_ACEOF
18005 /* end confdefs.h. */
18006 #ifndef __ALPHA__
18008 #endif
18009 _ACEOF
18010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18011 $EGREP "yes" >/dev/null 2>&1; then
18012 ac_cv_cpp_def___ALPHA__=yes
18013 else
18014 ac_cv_cpp_def___ALPHA__=no
18016 rm -f conftest*
18019 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
18020 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6
18021 if test $ac_cv_cpp_def___ALPHA__ = yes; then
18022 CFLAGS="$CFLAGS -D__ALPHA__"
18023 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
18026 *sparc*) echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
18027 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6
18028 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
18029 echo $ECHO_N "(cached) $ECHO_C" >&6
18030 else
18031 cat >conftest.$ac_ext <<_ACEOF
18032 /* confdefs.h. */
18033 _ACEOF
18034 cat confdefs.h >>conftest.$ac_ext
18035 cat >>conftest.$ac_ext <<_ACEOF
18036 /* end confdefs.h. */
18037 #ifndef __sparc__
18039 #endif
18040 _ACEOF
18041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18042 $EGREP "yes" >/dev/null 2>&1; then
18043 ac_cv_cpp_def___sparc__=yes
18044 else
18045 ac_cv_cpp_def___sparc__=no
18047 rm -f conftest*
18050 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
18051 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6
18052 if test $ac_cv_cpp_def___sparc__ = yes; then
18053 CFLAGS="$CFLAGS -D__sparc__"
18054 LINTFLAGS="$LINTFLAGS -D__sparc__"
18057 *powerpc*) echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
18058 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6
18059 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
18060 echo $ECHO_N "(cached) $ECHO_C" >&6
18061 else
18062 cat >conftest.$ac_ext <<_ACEOF
18063 /* confdefs.h. */
18064 _ACEOF
18065 cat confdefs.h >>conftest.$ac_ext
18066 cat >>conftest.$ac_ext <<_ACEOF
18067 /* end confdefs.h. */
18068 #ifndef __powerpc__
18070 #endif
18071 _ACEOF
18072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18073 $EGREP "yes" >/dev/null 2>&1; then
18074 ac_cv_cpp_def___powerpc__=yes
18075 else
18076 ac_cv_cpp_def___powerpc__=no
18078 rm -f conftest*
18081 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
18082 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6
18083 if test $ac_cv_cpp_def___powerpc__ = yes; then
18084 CFLAGS="$CFLAGS -D__powerpc__"
18085 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18088 esac
18090 case $host_vendor in
18091 *sun*) echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
18092 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6
18093 if test "${ac_cv_cpp_def___sun__+set}" = set; then
18094 echo $ECHO_N "(cached) $ECHO_C" >&6
18095 else
18096 cat >conftest.$ac_ext <<_ACEOF
18097 /* confdefs.h. */
18098 _ACEOF
18099 cat confdefs.h >>conftest.$ac_ext
18100 cat >>conftest.$ac_ext <<_ACEOF
18101 /* end confdefs.h. */
18102 #ifndef __sun__
18104 #endif
18105 _ACEOF
18106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18107 $EGREP "yes" >/dev/null 2>&1; then
18108 ac_cv_cpp_def___sun__=yes
18109 else
18110 ac_cv_cpp_def___sun__=no
18112 rm -f conftest*
18115 echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
18116 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6
18117 if test $ac_cv_cpp_def___sun__ = yes; then
18118 CFLAGS="$CFLAGS -D__sun__"
18119 LINTFLAGS="$LINTFLAGS -D__sun__"
18122 esac
18128 ac_config_commands="$ac_config_commands dlls/gdi/enhmfdrv"
18130 ac_config_commands="$ac_config_commands dlls/gdi/mfdrv"
18132 ac_config_commands="$ac_config_commands dlls/kernel/messages"
18134 ac_config_commands="$ac_config_commands dlls/user/resources"
18136 ac_config_commands="$ac_config_commands dlls/wineps/data"
18138 ac_config_commands="$ac_config_commands include/wine"
18141 MAKE_RULES=Make.rules
18144 MAKE_DLL_RULES=dlls/Makedll.rules
18147 MAKE_TEST_RULES=dlls/Maketest.rules
18150 MAKE_LIB_RULES=libs/Makelib.rules
18153 MAKE_PROG_RULES=programs/Makeprog.rules
18156 ac_config_files="$ac_config_files Make.rules dlls/Makedll.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/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/comcat/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/commdlg/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/ctl3d/Makefile dlls/d3d8/Makefile dlls/d3d9/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/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/hhctrl.ocx/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/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/lzexpand/Makefile dlls/lzexpand/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/msacm/Makefile dlls/msacm/imaadp32/Makefile dlls/msacm/msadp32/Makefile dlls/msacm/msg711/Makefile dlls/msacm/winemp3/Makefile dlls/msacm/tests/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/msdmo/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/msvidc32/Makefile dlls/msvideo/Makefile dlls/mswsock/Makefile dlls/msxml3/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/olecli/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr/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/richedit/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/shdocvw/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/tapi32/Makefile dlls/ttydrv/Makefile dlls/twain/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/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/win32s/Makefile dlls/winaspi/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/wineps/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/mcianim/Makefile dlls/winmm/mciavi/Makefile dlls/mcicda/Makefile dlls/winmm/mciseq/Makefile dlls/winmm/mciwave/Makefile dlls/winmm/tests/Makefile dlls/winmm/wavemap/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/winnls/Makefile dlls/winsock/Makefile dlls/winsock/tests/Makefile dlls/winspool/Makefile dlls/winspool/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wldap32/Makefile dlls/wow32/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/avitools/Makefile programs/clock/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/expand/Makefile programs/hh/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 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"
18159 cat >confcache <<\_ACEOF
18160 # This file is a shell script that caches the results of configure
18161 # tests run on this system so they can be shared between configure
18162 # scripts and configure runs, see configure's option --config-cache.
18163 # It is not useful on other systems. If it contains results you don't
18164 # want to keep, you may remove or edit it.
18166 # config.status only pays attention to the cache file if you give it
18167 # the --recheck option to rerun configure.
18169 # `ac_cv_env_foo' variables (set or unset) will be overridden when
18170 # loading this file, other *unset* `ac_cv_foo' will be assigned the
18171 # following values.
18173 _ACEOF
18175 # The following way of writing the cache mishandles newlines in values,
18176 # but we know of no workaround that is simple, portable, and efficient.
18177 # So, don't put newlines in cache variables' values.
18178 # Ultrix sh set writes to stderr and can't be redirected directly,
18179 # and sets the high bit in the cache file unless we assign to the vars.
18181 (set) 2>&1 |
18182 case `(ac_space=' '; set | grep ac_space) 2>&1` in
18183 *ac_space=\ *)
18184 # `set' does not quote correctly, so add quotes (double-quote
18185 # substitution turns \\\\ into \\, and sed turns \\ into \).
18186 sed -n \
18187 "s/'/'\\\\''/g;
18188 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
18191 # `set' quotes correctly as required by POSIX, so do not add quotes.
18192 sed -n \
18193 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
18195 esac;
18197 sed '
18198 t clear
18199 : clear
18200 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
18201 t end
18202 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
18203 : end' >>confcache
18204 if diff $cache_file confcache >/dev/null 2>&1; then :; else
18205 if test -w $cache_file; then
18206 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
18207 cat confcache >$cache_file
18208 else
18209 echo "not updating unwritable cache $cache_file"
18212 rm -f confcache
18214 test "x$prefix" = xNONE && prefix=$ac_default_prefix
18215 # Let make expand exec_prefix.
18216 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
18218 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18219 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
18220 # trailing colons and then remove the whole line if VPATH becomes empty
18221 # (actually we leave an empty line to preserve line numbers).
18222 if test "x$srcdir" = x.; then
18223 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18224 s/:*\$(srcdir):*/:/;
18225 s/:*\${srcdir}:*/:/;
18226 s/:*@srcdir@:*/:/;
18227 s/^\([^=]*=[ ]*\):*/\1/;
18228 s/:*$//;
18229 s/^[^=]*=[ ]*$//;
18233 DEFS=-DHAVE_CONFIG_H
18235 ac_libobjs=
18236 ac_ltlibobjs=
18237 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
18238 # 1. Remove the extension, and $U if already installed.
18239 ac_i=`echo "$ac_i" |
18240 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
18241 # 2. Add them.
18242 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
18243 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
18244 done
18245 LIBOBJS=$ac_libobjs
18247 LTLIBOBJS=$ac_ltlibobjs
18251 : ${CONFIG_STATUS=./config.status}
18252 ac_clean_files_save=$ac_clean_files
18253 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18254 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
18255 echo "$as_me: creating $CONFIG_STATUS" >&6;}
18256 cat >$CONFIG_STATUS <<_ACEOF
18257 #! $SHELL
18258 # Generated by $as_me.
18259 # Run this file to recreate the current configuration.
18260 # Compiler output produced by configure, useful for debugging
18261 # configure, is in config.log if it exists.
18263 debug=false
18264 ac_cs_recheck=false
18265 ac_cs_silent=false
18266 SHELL=\${CONFIG_SHELL-$SHELL}
18267 _ACEOF
18269 cat >>$CONFIG_STATUS <<\_ACEOF
18270 ## --------------------- ##
18271 ## M4sh Initialization. ##
18272 ## --------------------- ##
18274 # Be Bourne compatible
18275 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
18276 emulate sh
18277 NULLCMD=:
18278 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18279 # is contrary to our usage. Disable this feature.
18280 alias -g '${1+"$@"}'='"$@"'
18281 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
18282 set -o posix
18284 DUALCASE=1; export DUALCASE # for MKS sh
18286 # Support unset when possible.
18287 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18288 as_unset=unset
18289 else
18290 as_unset=false
18294 # Work around bugs in pre-3.0 UWIN ksh.
18295 $as_unset ENV MAIL MAILPATH
18296 PS1='$ '
18297 PS2='> '
18298 PS4='+ '
18300 # NLS nuisances.
18301 for as_var in \
18302 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
18303 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
18304 LC_TELEPHONE LC_TIME
18306 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
18307 eval $as_var=C; export $as_var
18308 else
18309 $as_unset $as_var
18311 done
18313 # Required to use basename.
18314 if expr a : '\(a\)' >/dev/null 2>&1; then
18315 as_expr=expr
18316 else
18317 as_expr=false
18320 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
18321 as_basename=basename
18322 else
18323 as_basename=false
18327 # Name of the executable.
18328 as_me=`$as_basename "$0" ||
18329 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
18330 X"$0" : 'X\(//\)$' \| \
18331 X"$0" : 'X\(/\)$' \| \
18332 . : '\(.\)' 2>/dev/null ||
18333 echo X/"$0" |
18334 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
18335 /^X\/\(\/\/\)$/{ s//\1/; q; }
18336 /^X\/\(\/\).*/{ s//\1/; q; }
18337 s/.*/./; q'`
18340 # PATH needs CR, and LINENO needs CR and PATH.
18341 # Avoid depending upon Character Ranges.
18342 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18343 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18344 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18345 as_cr_digits='0123456789'
18346 as_cr_alnum=$as_cr_Letters$as_cr_digits
18348 # The user is always right.
18349 if test "${PATH_SEPARATOR+set}" != set; then
18350 echo "#! /bin/sh" >conf$$.sh
18351 echo "exit 0" >>conf$$.sh
18352 chmod +x conf$$.sh
18353 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
18354 PATH_SEPARATOR=';'
18355 else
18356 PATH_SEPARATOR=:
18358 rm -f conf$$.sh
18362 as_lineno_1=$LINENO
18363 as_lineno_2=$LINENO
18364 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18365 test "x$as_lineno_1" != "x$as_lineno_2" &&
18366 test "x$as_lineno_3" = "x$as_lineno_2" || {
18367 # Find who we are. Look in the path if we contain no path at all
18368 # relative or not.
18369 case $0 in
18370 *[\\/]* ) as_myself=$0 ;;
18371 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18372 for as_dir in $PATH
18374 IFS=$as_save_IFS
18375 test -z "$as_dir" && as_dir=.
18376 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18377 done
18380 esac
18381 # We did not find ourselves, most probably we were run as `sh COMMAND'
18382 # in which case we are not to be found in the path.
18383 if test "x$as_myself" = x; then
18384 as_myself=$0
18386 if test ! -f "$as_myself"; then
18387 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
18388 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
18389 { (exit 1); exit 1; }; }
18391 case $CONFIG_SHELL in
18393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18394 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
18396 IFS=$as_save_IFS
18397 test -z "$as_dir" && as_dir=.
18398 for as_base in sh bash ksh sh5; do
18399 case $as_dir in
18401 if ("$as_dir/$as_base" -c '
18402 as_lineno_1=$LINENO
18403 as_lineno_2=$LINENO
18404 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
18405 test "x$as_lineno_1" != "x$as_lineno_2" &&
18406 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
18407 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
18408 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
18409 CONFIG_SHELL=$as_dir/$as_base
18410 export CONFIG_SHELL
18411 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
18412 fi;;
18413 esac
18414 done
18415 done
18417 esac
18419 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18420 # uniformly replaced by the line number. The first 'sed' inserts a
18421 # line-number line before each line; the second 'sed' does the real
18422 # work. The second script uses 'N' to pair each line-number line
18423 # with the numbered line, and appends trailing '-' during
18424 # substitution so that $LINENO is not a special case at line end.
18425 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18426 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
18427 sed '=' <$as_myself |
18428 sed '
18430 s,$,-,
18431 : loop
18432 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
18433 t loop
18434 s,-$,,
18435 s,^['$as_cr_digits']*\n,,
18436 ' >$as_me.lineno &&
18437 chmod +x $as_me.lineno ||
18438 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
18439 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
18440 { (exit 1); exit 1; }; }
18442 # Don't try to exec as it changes $[0], causing all sort of problems
18443 # (the dirname of $[0] is not the place where we might find the
18444 # original and so on. Autoconf is especially sensible to this).
18445 . ./$as_me.lineno
18446 # Exit status is that of the last command.
18447 exit
18451 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
18452 *c*,-n*) ECHO_N= ECHO_C='
18453 ' ECHO_T=' ' ;;
18454 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
18455 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
18456 esac
18458 if expr a : '\(a\)' >/dev/null 2>&1; then
18459 as_expr=expr
18460 else
18461 as_expr=false
18464 rm -f conf$$ conf$$.exe conf$$.file
18465 echo >conf$$.file
18466 if ln -s conf$$.file conf$$ 2>/dev/null; then
18467 # We could just check for DJGPP; but this test a) works b) is more generic
18468 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
18469 if test -f conf$$.exe; then
18470 # Don't use ln at all; we don't have any links
18471 as_ln_s='cp -p'
18472 else
18473 as_ln_s='ln -s'
18475 elif ln conf$$.file conf$$ 2>/dev/null; then
18476 as_ln_s=ln
18477 else
18478 as_ln_s='cp -p'
18480 rm -f conf$$ conf$$.exe conf$$.file
18482 if mkdir -p . 2>/dev/null; then
18483 as_mkdir_p=:
18484 else
18485 test -d ./-p && rmdir ./-p
18486 as_mkdir_p=false
18489 as_executable_p="test -f"
18491 # Sed expression to map a string onto a valid CPP name.
18492 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18494 # Sed expression to map a string onto a valid variable name.
18495 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18498 # IFS
18499 # We need space, tab and new line, in precisely that order.
18500 as_nl='
18502 IFS=" $as_nl"
18504 # CDPATH.
18505 $as_unset CDPATH
18507 exec 6>&1
18509 # Open the log real soon, to keep \$[0] and so on meaningful, and to
18510 # report actual input values of CONFIG_FILES etc. instead of their
18511 # values after options handling. Logging --version etc. is OK.
18512 exec 5>>config.log
18514 echo
18515 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18516 ## Running $as_me. ##
18517 _ASBOX
18518 } >&5
18519 cat >&5 <<_CSEOF
18521 This file was extended by Wine $as_me 20050725, which was
18522 generated by GNU Autoconf 2.59. Invocation command line was
18524 CONFIG_FILES = $CONFIG_FILES
18525 CONFIG_HEADERS = $CONFIG_HEADERS
18526 CONFIG_LINKS = $CONFIG_LINKS
18527 CONFIG_COMMANDS = $CONFIG_COMMANDS
18528 $ $0 $@
18530 _CSEOF
18531 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
18532 echo >&5
18533 _ACEOF
18535 # Files that config.status was made for.
18536 if test -n "$ac_config_files"; then
18537 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
18540 if test -n "$ac_config_headers"; then
18541 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
18544 if test -n "$ac_config_links"; then
18545 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
18548 if test -n "$ac_config_commands"; then
18549 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
18552 cat >>$CONFIG_STATUS <<\_ACEOF
18554 ac_cs_usage="\
18555 \`$as_me' instantiates files from templates according to the
18556 current configuration.
18558 Usage: $0 [OPTIONS] [FILE]...
18560 -h, --help print this help, then exit
18561 -V, --version print version number, then exit
18562 -q, --quiet do not print progress messages
18563 -d, --debug don't remove temporary files
18564 --recheck update $as_me by reconfiguring in the same conditions
18565 --file=FILE[:TEMPLATE]
18566 instantiate the configuration file FILE
18567 --header=FILE[:TEMPLATE]
18568 instantiate the configuration header FILE
18570 Configuration files:
18571 $config_files
18573 Configuration headers:
18574 $config_headers
18576 Configuration commands:
18577 $config_commands
18579 Report bugs to <bug-autoconf@gnu.org>."
18580 _ACEOF
18582 cat >>$CONFIG_STATUS <<_ACEOF
18583 ac_cs_version="\\
18584 Wine config.status 20050725
18585 configured by $0, generated by GNU Autoconf 2.59,
18586 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
18588 Copyright (C) 2003 Free Software Foundation, Inc.
18589 This config.status script is free software; the Free Software Foundation
18590 gives unlimited permission to copy, distribute and modify it."
18591 srcdir=$srcdir
18592 INSTALL="$INSTALL"
18593 _ACEOF
18595 cat >>$CONFIG_STATUS <<\_ACEOF
18596 # If no file are specified by the user, then we need to provide default
18597 # value. By we need to know if files were specified by the user.
18598 ac_need_defaults=:
18599 while test $# != 0
18601 case $1 in
18602 --*=*)
18603 ac_option=`expr "x$1" : 'x\([^=]*\)='`
18604 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
18605 ac_shift=:
18608 ac_option=$1
18609 ac_optarg=$2
18610 ac_shift=shift
18612 *) # This is not an option, so the user has probably given explicit
18613 # arguments.
18614 ac_option=$1
18615 ac_need_defaults=false;;
18616 esac
18618 case $ac_option in
18619 # Handling of the options.
18620 _ACEOF
18621 cat >>$CONFIG_STATUS <<\_ACEOF
18622 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18623 ac_cs_recheck=: ;;
18624 --version | --vers* | -V )
18625 echo "$ac_cs_version"; exit 0 ;;
18626 --he | --h)
18627 # Conflict between --help and --header
18628 { { echo "$as_me:$LINENO: error: ambiguous option: $1
18629 Try \`$0 --help' for more information." >&5
18630 echo "$as_me: error: ambiguous option: $1
18631 Try \`$0 --help' for more information." >&2;}
18632 { (exit 1); exit 1; }; };;
18633 --help | --hel | -h )
18634 echo "$ac_cs_usage"; exit 0 ;;
18635 --debug | --d* | -d )
18636 debug=: ;;
18637 --file | --fil | --fi | --f )
18638 $ac_shift
18639 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
18640 ac_need_defaults=false;;
18641 --header | --heade | --head | --hea )
18642 $ac_shift
18643 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
18644 ac_need_defaults=false;;
18645 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18646 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18647 ac_cs_silent=: ;;
18649 # This is an error.
18650 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
18651 Try \`$0 --help' for more information." >&5
18652 echo "$as_me: error: unrecognized option: $1
18653 Try \`$0 --help' for more information." >&2;}
18654 { (exit 1); exit 1; }; } ;;
18656 *) ac_config_targets="$ac_config_targets $1" ;;
18658 esac
18659 shift
18660 done
18662 ac_configure_extra_args=
18664 if $ac_cs_silent; then
18665 exec 6>/dev/null
18666 ac_configure_extra_args="$ac_configure_extra_args --silent"
18669 _ACEOF
18670 cat >>$CONFIG_STATUS <<_ACEOF
18671 if \$ac_cs_recheck; then
18672 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
18673 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18676 _ACEOF
18682 cat >>$CONFIG_STATUS <<\_ACEOF
18683 for ac_config_target in $ac_config_targets
18685 case "$ac_config_target" in
18686 # Handling of arguments.
18687 "Make.rules" ) CONFIG_FILES="$CONFIG_FILES Make.rules" ;;
18688 "dlls/Makedll.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Makedll.rules" ;;
18689 "dlls/Maketest.rules" ) CONFIG_FILES="$CONFIG_FILES dlls/Maketest.rules" ;;
18690 "libs/Makelib.rules" ) CONFIG_FILES="$CONFIG_FILES libs/Makelib.rules" ;;
18691 "programs/Makeprog.rules" ) CONFIG_FILES="$CONFIG_FILES programs/Makeprog.rules" ;;
18692 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18693 "dlls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/Makefile" ;;
18694 "dlls/activeds/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/activeds/Makefile" ;;
18695 "dlls/advapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/Makefile" ;;
18696 "dlls/advapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
18697 "dlls/advpack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/Makefile" ;;
18698 "dlls/advpack/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
18699 "dlls/amstream/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/amstream/Makefile" ;;
18700 "dlls/atl/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/atl/Makefile" ;;
18701 "dlls/avicap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avicap32/Makefile" ;;
18702 "dlls/avifil32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/avifil32/Makefile" ;;
18703 "dlls/cabinet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cabinet/Makefile" ;;
18704 "dlls/capi2032/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/capi2032/Makefile" ;;
18705 "dlls/cards/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cards/Makefile" ;;
18706 "dlls/cfgmgr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
18707 "dlls/comcat/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comcat/Makefile" ;;
18708 "dlls/comctl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/Makefile" ;;
18709 "dlls/comctl32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
18710 "dlls/commdlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/commdlg/Makefile" ;;
18711 "dlls/crtdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crtdll/Makefile" ;;
18712 "dlls/crypt32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/Makefile" ;;
18713 "dlls/crypt32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
18714 "dlls/cryptdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
18715 "dlls/ctl3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ctl3d/Makefile" ;;
18716 "dlls/d3d8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d8/Makefile" ;;
18717 "dlls/d3d9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3d9/Makefile" ;;
18718 "dlls/d3dim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dim/Makefile" ;;
18719 "dlls/d3drm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3drm/Makefile" ;;
18720 "dlls/d3dx8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
18721 "dlls/d3dxof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
18722 "dlls/dbghelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
18723 "dlls/dciman32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dciman32/Makefile" ;;
18724 "dlls/ddraw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/Makefile" ;;
18725 "dlls/ddraw/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
18726 "dlls/devenum/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/devenum/Makefile" ;;
18727 "dlls/dinput/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/Makefile" ;;
18728 "dlls/dinput/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
18729 "dlls/dinput8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dinput8/Makefile" ;;
18730 "dlls/dmband/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmband/Makefile" ;;
18731 "dlls/dmcompos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
18732 "dlls/dmime/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmime/Makefile" ;;
18733 "dlls/dmloader/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmloader/Makefile" ;;
18734 "dlls/dmscript/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmscript/Makefile" ;;
18735 "dlls/dmstyle/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
18736 "dlls/dmsynth/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
18737 "dlls/dmusic/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic/Makefile" ;;
18738 "dlls/dmusic32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
18739 "dlls/dplay/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplay/Makefile" ;;
18740 "dlls/dplayx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dplayx/Makefile" ;;
18741 "dlls/dpnet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnet/Makefile" ;;
18742 "dlls/dpnhpast/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
18743 "dlls/dsound/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/Makefile" ;;
18744 "dlls/dsound/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
18745 "dlls/dswave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dswave/Makefile" ;;
18746 "dlls/dxdiagn/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
18747 "dlls/dxerr8/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
18748 "dlls/dxerr9/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
18749 "dlls/dxguid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/dxguid/Makefile" ;;
18750 "dlls/gdi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/Makefile" ;;
18751 "dlls/gdi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/gdi/tests/Makefile" ;;
18752 "dlls/glu32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glu32/Makefile" ;;
18753 "dlls/glut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/glut32/Makefile" ;;
18754 "dlls/hhctrl.ocx/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
18755 "dlls/iccvid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iccvid/Makefile" ;;
18756 "dlls/icmp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/icmp/Makefile" ;;
18757 "dlls/ifsmgr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
18758 "dlls/imagehlp/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
18759 "dlls/imm32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/imm32/Makefile" ;;
18760 "dlls/iphlpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
18761 "dlls/iphlpapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
18762 "dlls/itss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/itss/Makefile" ;;
18763 "dlls/kernel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/Makefile" ;;
18764 "dlls/kernel/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/kernel/tests/Makefile" ;;
18765 "dlls/lzexpand/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/Makefile" ;;
18766 "dlls/lzexpand/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/lzexpand/tests/Makefile" ;;
18767 "dlls/mapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/Makefile" ;;
18768 "dlls/mapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
18769 "dlls/midimap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/midimap/Makefile" ;;
18770 "dlls/mlang/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/Makefile" ;;
18771 "dlls/mlang/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
18772 "dlls/mmdevldr.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
18773 "dlls/monodebg.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
18774 "dlls/mpr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mpr/Makefile" ;;
18775 "dlls/msacm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/Makefile" ;;
18776 "dlls/msacm/imaadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/imaadp32/Makefile" ;;
18777 "dlls/msacm/msadp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msadp32/Makefile" ;;
18778 "dlls/msacm/msg711/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/msg711/Makefile" ;;
18779 "dlls/msacm/winemp3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/winemp3/Makefile" ;;
18780 "dlls/msacm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msacm/tests/Makefile" ;;
18781 "dlls/mscms/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/Makefile" ;;
18782 "dlls/mscms/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
18783 "dlls/msdmo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msdmo/Makefile" ;;
18784 "dlls/mshtml/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/Makefile" ;;
18785 "dlls/mshtml/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
18786 "dlls/msi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/Makefile" ;;
18787 "dlls/msi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
18788 "dlls/msimg32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msimg32/Makefile" ;;
18789 "dlls/msisys/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msisys/Makefile" ;;
18790 "dlls/msnet32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msnet32/Makefile" ;;
18791 "dlls/msrle32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msrle32/Makefile" ;;
18792 "dlls/msvcrt/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
18793 "dlls/msvcrt/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
18794 "dlls/msvcrt20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
18795 "dlls/msvcrt40/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
18796 "dlls/msvcrtd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
18797 "dlls/msvcrtd/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
18798 "dlls/msvidc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
18799 "dlls/msvideo/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msvideo/Makefile" ;;
18800 "dlls/mswsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mswsock/Makefile" ;;
18801 "dlls/msxml3/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/msxml3/Makefile" ;;
18802 "dlls/netapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/Makefile" ;;
18803 "dlls/netapi32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
18804 "dlls/newdev/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/newdev/Makefile" ;;
18805 "dlls/ntdll/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/Makefile" ;;
18806 "dlls/ntdll/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
18807 "dlls/objsel/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/objsel/Makefile" ;;
18808 "dlls/odbc32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbc32/Makefile" ;;
18809 "dlls/odbccp32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
18810 "dlls/ole32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/Makefile" ;;
18811 "dlls/ole32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
18812 "dlls/oleacc/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleacc/Makefile" ;;
18813 "dlls/oleaut32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
18814 "dlls/oleaut32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
18815 "dlls/olecli/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olecli/Makefile" ;;
18816 "dlls/oledlg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/oledlg/Makefile" ;;
18817 "dlls/olepro32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olepro32/Makefile" ;;
18818 "dlls/olesvr/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/olesvr/Makefile" ;;
18819 "dlls/opengl32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/opengl32/Makefile" ;;
18820 "dlls/powrprof/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/powrprof/Makefile" ;;
18821 "dlls/psapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/Makefile" ;;
18822 "dlls/psapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
18823 "dlls/qcap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/qcap/Makefile" ;;
18824 "dlls/quartz/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/Makefile" ;;
18825 "dlls/quartz/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
18826 "dlls/rasapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
18827 "dlls/riched20/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/riched20/Makefile" ;;
18828 "dlls/richedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/richedit/Makefile" ;;
18829 "dlls/rpcrt4/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
18830 "dlls/rpcrt4/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
18831 "dlls/rsabase/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/Makefile" ;;
18832 "dlls/rsabase/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
18833 "dlls/rsaenh/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
18834 "dlls/rsaenh/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
18835 "dlls/secur32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/Makefile" ;;
18836 "dlls/secur32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
18837 "dlls/sensapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sensapi/Makefile" ;;
18838 "dlls/serialui/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/serialui/Makefile" ;;
18839 "dlls/setupapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/setupapi/Makefile" ;;
18840 "dlls/shdocvw/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
18841 "dlls/shell32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/Makefile" ;;
18842 "dlls/shell32/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
18843 "dlls/shfolder/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shfolder/Makefile" ;;
18844 "dlls/shlwapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
18845 "dlls/shlwapi/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
18846 "dlls/snmpapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
18847 "dlls/stdole2.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
18848 "dlls/stdole32.tlb/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
18849 "dlls/sti/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/sti/Makefile" ;;
18850 "dlls/strmiids/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/strmiids/Makefile" ;;
18851 "dlls/tapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/tapi32/Makefile" ;;
18852 "dlls/ttydrv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/ttydrv/Makefile" ;;
18853 "dlls/twain/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/twain/Makefile" ;;
18854 "dlls/unicows/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/unicows/Makefile" ;;
18855 "dlls/url/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/url/Makefile" ;;
18856 "dlls/urlmon/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/Makefile" ;;
18857 "dlls/urlmon/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
18858 "dlls/user/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/Makefile" ;;
18859 "dlls/user/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/user/tests/Makefile" ;;
18860 "dlls/usp10/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/usp10/Makefile" ;;
18861 "dlls/uuid/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uuid/Makefile" ;;
18862 "dlls/uxtheme/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
18863 "dlls/vdhcp.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
18864 "dlls/vdmdbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
18865 "dlls/version/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/Makefile" ;;
18866 "dlls/version/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/version/tests/Makefile" ;;
18867 "dlls/vmm.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
18868 "dlls/vnbt.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
18869 "dlls/vnetbios.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
18870 "dlls/vtdapi.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
18871 "dlls/vwin32.vxd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
18872 "dlls/win32s/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/win32s/Makefile" ;;
18873 "dlls/winaspi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winaspi/Makefile" ;;
18874 "dlls/wined3d/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wined3d/Makefile" ;;
18875 "dlls/winedos/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winedos/Makefile" ;;
18876 "dlls/wineps/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wineps/Makefile" ;;
18877 "dlls/wininet/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/Makefile" ;;
18878 "dlls/wininet/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
18879 "dlls/winmm/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/Makefile" ;;
18880 "dlls/winmm/joystick/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
18881 "dlls/winmm/mcianim/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mcianim/Makefile" ;;
18882 "dlls/winmm/mciavi/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciavi/Makefile" ;;
18883 "dlls/mcicda/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/mcicda/Makefile" ;;
18884 "dlls/winmm/mciseq/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciseq/Makefile" ;;
18885 "dlls/winmm/mciwave/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/mciwave/Makefile" ;;
18886 "dlls/winmm/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
18887 "dlls/winmm/wavemap/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wavemap/Makefile" ;;
18888 "dlls/winmm/winealsa/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
18889 "dlls/winmm/winearts/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
18890 "dlls/winmm/wineaudioio/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
18891 "dlls/winmm/wineesd/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
18892 "dlls/winmm/winejack/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
18893 "dlls/winmm/winenas/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
18894 "dlls/winmm/wineoss/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
18895 "dlls/winnls/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winnls/Makefile" ;;
18896 "dlls/winsock/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/Makefile" ;;
18897 "dlls/winsock/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winsock/tests/Makefile" ;;
18898 "dlls/winspool/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/Makefile" ;;
18899 "dlls/winspool/tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/winspool/tests/Makefile" ;;
18900 "dlls/wintab32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintab32/Makefile" ;;
18901 "dlls/wintrust/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wintrust/Makefile" ;;
18902 "dlls/wldap32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wldap32/Makefile" ;;
18903 "dlls/wow32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wow32/Makefile" ;;
18904 "dlls/wsock32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wsock32/Makefile" ;;
18905 "dlls/wtsapi32/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
18906 "dlls/x11drv/Makefile" ) CONFIG_FILES="$CONFIG_FILES dlls/x11drv/Makefile" ;;
18907 "documentation/Makefile" ) CONFIG_FILES="$CONFIG_FILES documentation/Makefile" ;;
18908 "fonts/Makefile" ) CONFIG_FILES="$CONFIG_FILES fonts/Makefile" ;;
18909 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
18910 "libs/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/Makefile" ;;
18911 "libs/port/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/port/Makefile" ;;
18912 "libs/unicode/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/unicode/Makefile" ;;
18913 "libs/wine/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wine/Makefile" ;;
18914 "libs/wpp/Makefile" ) CONFIG_FILES="$CONFIG_FILES libs/wpp/Makefile" ;;
18915 "loader/Makefile" ) CONFIG_FILES="$CONFIG_FILES loader/Makefile" ;;
18916 "programs/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/Makefile" ;;
18917 "programs/avitools/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/avitools/Makefile" ;;
18918 "programs/clock/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/clock/Makefile" ;;
18919 "programs/cmdlgtst/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
18920 "programs/control/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/control/Makefile" ;;
18921 "programs/expand/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/expand/Makefile" ;;
18922 "programs/hh/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/hh/Makefile" ;;
18923 "programs/msiexec/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/msiexec/Makefile" ;;
18924 "programs/notepad/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/notepad/Makefile" ;;
18925 "programs/progman/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/progman/Makefile" ;;
18926 "programs/regedit/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regedit/Makefile" ;;
18927 "programs/regsvr32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/regsvr32/Makefile" ;;
18928 "programs/rpcss/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rpcss/Makefile" ;;
18929 "programs/rundll32/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/rundll32/Makefile" ;;
18930 "programs/start/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/start/Makefile" ;;
18931 "programs/taskmgr/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/taskmgr/Makefile" ;;
18932 "programs/uninstaller/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/uninstaller/Makefile" ;;
18933 "programs/view/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/view/Makefile" ;;
18934 "programs/wcmd/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wcmd/Makefile" ;;
18935 "programs/wineboot/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineboot/Makefile" ;;
18936 "programs/winebrowser/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winebrowser/Makefile" ;;
18937 "programs/winecfg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winecfg/Makefile" ;;
18938 "programs/wineconsole/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/wineconsole/Makefile" ;;
18939 "programs/winedbg/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winedbg/Makefile" ;;
18940 "programs/winefile/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winefile/Makefile" ;;
18941 "programs/winemenubuilder/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
18942 "programs/winemine/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winemine/Makefile" ;;
18943 "programs/winepath/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winepath/Makefile" ;;
18944 "programs/winetest/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winetest/Makefile" ;;
18945 "programs/winevdm/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winevdm/Makefile" ;;
18946 "programs/winhelp/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winhelp/Makefile" ;;
18947 "programs/winver/Makefile" ) CONFIG_FILES="$CONFIG_FILES programs/winver/Makefile" ;;
18948 "server/Makefile" ) CONFIG_FILES="$CONFIG_FILES server/Makefile" ;;
18949 "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
18950 "tools/widl/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/widl/Makefile" ;;
18951 "tools/winapi/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winapi/Makefile" ;;
18952 "tools/winebuild/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winebuild/Makefile" ;;
18953 "tools/winedump/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winedump/Makefile" ;;
18954 "tools/winegcc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/winegcc/Makefile" ;;
18955 "tools/wmc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wmc/Makefile" ;;
18956 "tools/wrc/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/wrc/Makefile" ;;
18957 "dlls/gdi/enhmfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/enhmfdrv" ;;
18958 "dlls/gdi/mfdrv" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/gdi/mfdrv" ;;
18959 "dlls/kernel/messages" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/kernel/messages" ;;
18960 "dlls/user/resources" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/user/resources" ;;
18961 "dlls/wineps/data" ) CONFIG_COMMANDS="$CONFIG_COMMANDS dlls/wineps/data" ;;
18962 "include/wine" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/wine" ;;
18963 "include/config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
18964 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18965 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18966 { (exit 1); exit 1; }; };;
18967 esac
18968 done
18970 # If the user did not use the arguments to specify the items to instantiate,
18971 # then the envvar interface is used. Set only those that are not.
18972 # We use the long form for the default assignment because of an extremely
18973 # bizarre bug on SunOS 4.1.3.
18974 if $ac_need_defaults; then
18975 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18976 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18977 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18980 # Have a temporary directory for convenience. Make it in the build tree
18981 # simply because there is no reason to put it here, and in addition,
18982 # creating and moving files from /tmp can sometimes cause problems.
18983 # Create a temporary directory, and hook for its removal unless debugging.
18984 $debug ||
18986 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
18987 trap '{ (exit 1); exit 1; }' 1 2 13 15
18990 # Create a (secure) tmp directory for tmp files.
18993 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
18994 test -n "$tmp" && test -d "$tmp"
18995 } ||
18997 tmp=./confstat$$-$RANDOM
18998 (umask 077 && mkdir $tmp)
18999 } ||
19001 echo "$me: cannot create a temporary directory in ." >&2
19002 { (exit 1); exit 1; }
19005 _ACEOF
19007 cat >>$CONFIG_STATUS <<_ACEOF
19010 # CONFIG_FILES section.
19013 # No need to generate the scripts if there are no CONFIG_FILES.
19014 # This happens for instance when ./config.status config.h
19015 if test -n "\$CONFIG_FILES"; then
19016 # Protect against being on the right side of a sed subst in config.status.
19017 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
19018 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
19019 s,@SHELL@,$SHELL,;t t
19020 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
19021 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
19022 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
19023 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
19024 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
19025 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
19026 s,@exec_prefix@,$exec_prefix,;t t
19027 s,@prefix@,$prefix,;t t
19028 s,@program_transform_name@,$program_transform_name,;t t
19029 s,@bindir@,$bindir,;t t
19030 s,@sbindir@,$sbindir,;t t
19031 s,@libexecdir@,$libexecdir,;t t
19032 s,@datadir@,$datadir,;t t
19033 s,@sysconfdir@,$sysconfdir,;t t
19034 s,@sharedstatedir@,$sharedstatedir,;t t
19035 s,@localstatedir@,$localstatedir,;t t
19036 s,@libdir@,$libdir,;t t
19037 s,@includedir@,$includedir,;t t
19038 s,@oldincludedir@,$oldincludedir,;t t
19039 s,@infodir@,$infodir,;t t
19040 s,@mandir@,$mandir,;t t
19041 s,@build_alias@,$build_alias,;t t
19042 s,@host_alias@,$host_alias,;t t
19043 s,@target_alias@,$target_alias,;t t
19044 s,@DEFS@,$DEFS,;t t
19045 s,@ECHO_C@,$ECHO_C,;t t
19046 s,@ECHO_N@,$ECHO_N,;t t
19047 s,@ECHO_T@,$ECHO_T,;t t
19048 s,@LIBS@,$LIBS,;t t
19049 s,@DLLDEFS@,$DLLDEFS,;t t
19050 s,@build@,$build,;t t
19051 s,@build_cpu@,$build_cpu,;t t
19052 s,@build_vendor@,$build_vendor,;t t
19053 s,@build_os@,$build_os,;t t
19054 s,@host@,$host,;t t
19055 s,@host_cpu@,$host_cpu,;t t
19056 s,@host_vendor@,$host_vendor,;t t
19057 s,@host_os@,$host_os,;t t
19058 s,@WIN16_FILES@,$WIN16_FILES,;t t
19059 s,@WIN16_INSTALL@,$WIN16_INSTALL,;t t
19060 s,@SET_MAKE@,$SET_MAKE,;t t
19061 s,@CC@,$CC,;t t
19062 s,@CFLAGS@,$CFLAGS,;t t
19063 s,@LDFLAGS@,$LDFLAGS,;t t
19064 s,@CPPFLAGS@,$CPPFLAGS,;t t
19065 s,@ac_ct_CC@,$ac_ct_CC,;t t
19066 s,@EXEEXT@,$EXEEXT,;t t
19067 s,@OBJEXT@,$OBJEXT,;t t
19068 s,@CXX@,$CXX,;t t
19069 s,@CXXFLAGS@,$CXXFLAGS,;t t
19070 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
19071 s,@CPPBIN@,$CPPBIN,;t t
19072 s,@ac_ct_CPPBIN@,$ac_ct_CPPBIN,;t t
19073 s,@TOOLSDIR@,$TOOLSDIR,;t t
19074 s,@CPP@,$CPP,;t t
19075 s,@X_CFLAGS@,$X_CFLAGS,;t t
19076 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
19077 s,@X_LIBS@,$X_LIBS,;t t
19078 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
19079 s,@LEX@,$LEX,;t t
19080 s,@LEXLIB@,$LEXLIB,;t t
19081 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
19082 s,@XLEX@,$XLEX,;t t
19083 s,@BISON@,$BISON,;t t
19084 s,@AS@,$AS,;t t
19085 s,@ac_ct_AS@,$ac_ct_AS,;t t
19086 s,@LD@,$LD,;t t
19087 s,@ac_ct_LD@,$ac_ct_LD,;t t
19088 s,@AR@,$AR,;t t
19089 s,@ac_ct_AR@,$ac_ct_AR,;t t
19090 s,@RANLIB@,$RANLIB,;t t
19091 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19092 s,@STRIP@,$STRIP,;t t
19093 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19094 s,@WINDRES@,$WINDRES,;t t
19095 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
19096 s,@LN_S@,$LN_S,;t t
19097 s,@LN@,$LN,;t t
19098 s,@EGREP@,$EGREP,;t t
19099 s,@LDCONFIG@,$LDCONFIG,;t t
19100 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19101 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19102 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
19103 s,@LINT@,$LINT,;t t
19104 s,@LINTFLAGS@,$LINTFLAGS,;t t
19105 s,@FONTFORGE@,$FONTFORGE,;t t
19106 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
19107 s,@LIBPTHREAD@,$LIBPTHREAD,;t t
19108 s,@XLIB@,$XLIB,;t t
19109 s,@XFILES@,$XFILES,;t t
19110 s,@OPENGLFILES@,$OPENGLFILES,;t t
19111 s,@GLU32FILES@,$GLU32FILES,;t t
19112 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
19113 s,@GLUT_LIBS@,$GLUT_LIBS,;t t
19114 s,@GLUT32FILES@,$GLUT32FILES,;t t
19115 s,@NASLIBS@,$NASLIBS,;t t
19116 s,@XML2LIBS@,$XML2LIBS,;t t
19117 s,@XML2INCL@,$XML2INCL,;t t
19118 s,@CURSESLIBS@,$CURSESLIBS,;t t
19119 s,@sane_devel@,$sane_devel,;t t
19120 s,@SANELIBS@,$SANELIBS,;t t
19121 s,@SANEINCL@,$SANEINCL,;t t
19122 s,@ICULIBS@,$ICULIBS,;t t
19123 s,@LCMSLIBS@,$LCMSLIBS,;t t
19124 s,@LDAPLIBS@,$LDAPLIBS,;t t
19125 s,@FREETYPELIBS@,$FREETYPELIBS,;t t
19126 s,@FREETYPEINCL@,$FREETYPEINCL,;t t
19127 s,@ft_devel@,$ft_devel,;t t
19128 s,@ft_devel2@,$ft_devel2,;t t
19129 s,@FONTSSUBDIRS@,$FONTSSUBDIRS,;t t
19130 s,@ARTSCCONFIG@,$ARTSCCONFIG,;t t
19131 s,@ARTSLIBS@,$ARTSLIBS,;t t
19132 s,@ARTSINCL@,$ARTSINCL,;t t
19133 s,@ESDCONFIG@,$ESDCONFIG,;t t
19134 s,@ESDLIBS@,$ESDLIBS,;t t
19135 s,@ESDINCL@,$ESDINCL,;t t
19136 s,@ALSALIBS@,$ALSALIBS,;t t
19137 s,@AUDIOIOLIBS@,$AUDIOIOLIBS,;t t
19138 s,@EXTRACFLAGS@,$EXTRACFLAGS,;t t
19139 s,@DLLEXT@,$DLLEXT,;t t
19140 s,@DLLFLAGS@,$DLLFLAGS,;t t
19141 s,@DLLIBS@,$DLLIBS,;t t
19142 s,@LDSHARED@,$LDSHARED,;t t
19143 s,@LDDLLFLAGS@,$LDDLLFLAGS,;t t
19144 s,@LIBEXT@,$LIBEXT,;t t
19145 s,@IMPLIBEXT@,$IMPLIBEXT,;t t
19146 s,@DLLTOOL@,$DLLTOOL,;t t
19147 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
19148 s,@DLLWRAP@,$DLLWRAP,;t t
19149 s,@ac_ct_DLLWRAP@,$ac_ct_DLLWRAP,;t t
19150 s,@LDEXECFLAGS@,$LDEXECFLAGS,;t t
19151 s,@LDLIBWINEFLAGS@,$LDLIBWINEFLAGS,;t t
19152 s,@COREFOUNDATIONLIB@,$COREFOUNDATIONLIB,;t t
19153 s,@IOKITLIB@,$IOKITLIB,;t t
19154 s,@CROSSTEST@,$CROSSTEST,;t t
19155 s,@CROSSCC@,$CROSSCC,;t t
19156 s,@CROSSWINDRES@,$CROSSWINDRES,;t t
19157 s,@LDPATH@,$LDPATH,;t t
19158 s,@CRTLIBS@,$CRTLIBS,;t t
19159 s,@SOCKETLIBS@,$SOCKETLIBS,;t t
19160 s,@WINE_BINARIES@,$WINE_BINARIES,;t t
19161 s,@MAIN_BINARY@,$MAIN_BINARY,;t t
19162 s,@LDD@,$LDD,;t t
19163 s,@LIBOBJS@,$LIBOBJS,;t t
19164 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
19165 /@MAKE_RULES@/r $MAKE_RULES
19166 s,@MAKE_RULES@,,;t t
19167 /@MAKE_DLL_RULES@/r $MAKE_DLL_RULES
19168 s,@MAKE_DLL_RULES@,,;t t
19169 /@MAKE_TEST_RULES@/r $MAKE_TEST_RULES
19170 s,@MAKE_TEST_RULES@,,;t t
19171 /@MAKE_LIB_RULES@/r $MAKE_LIB_RULES
19172 s,@MAKE_LIB_RULES@,,;t t
19173 /@MAKE_PROG_RULES@/r $MAKE_PROG_RULES
19174 s,@MAKE_PROG_RULES@,,;t t
19175 CEOF
19177 _ACEOF
19179 cat >>$CONFIG_STATUS <<\_ACEOF
19180 # Split the substitutions into bite-sized pieces for seds with
19181 # small command number limits, like on Digital OSF/1 and HP-UX.
19182 ac_max_sed_lines=48
19183 ac_sed_frag=1 # Number of current file.
19184 ac_beg=1 # First line for current file.
19185 ac_end=$ac_max_sed_lines # Line after last line for current file.
19186 ac_more_lines=:
19187 ac_sed_cmds=
19188 while $ac_more_lines; do
19189 if test $ac_beg -gt 1; then
19190 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19191 else
19192 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
19194 if test ! -s $tmp/subs.frag; then
19195 ac_more_lines=false
19196 else
19197 # The purpose of the label and of the branching condition is to
19198 # speed up the sed processing (if there are no `@' at all, there
19199 # is no need to browse any of the substitutions).
19200 # These are the two extra sed commands mentioned above.
19201 (echo ':t
19202 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
19203 if test -z "$ac_sed_cmds"; then
19204 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
19205 else
19206 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
19208 ac_sed_frag=`expr $ac_sed_frag + 1`
19209 ac_beg=$ac_end
19210 ac_end=`expr $ac_end + $ac_max_sed_lines`
19212 done
19213 if test -z "$ac_sed_cmds"; then
19214 ac_sed_cmds=cat
19216 fi # test -n "$CONFIG_FILES"
19218 _ACEOF
19219 cat >>$CONFIG_STATUS <<\_ACEOF
19220 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
19221 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19222 case $ac_file in
19223 - | *:- | *:-:* ) # input from stdin
19224 cat >$tmp/stdin
19225 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19226 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19227 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19228 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19229 * ) ac_file_in=$ac_file.in ;;
19230 esac
19232 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
19233 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19235 X"$ac_file" : 'X\(//\)[^/]' \| \
19236 X"$ac_file" : 'X\(//\)$' \| \
19237 X"$ac_file" : 'X\(/\)' \| \
19238 . : '\(.\)' 2>/dev/null ||
19239 echo X"$ac_file" |
19240 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19241 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19242 /^X\(\/\/\)$/{ s//\1/; q; }
19243 /^X\(\/\).*/{ s//\1/; q; }
19244 s/.*/./; q'`
19245 { if $as_mkdir_p; then
19246 mkdir -p "$ac_dir"
19247 else
19248 as_dir="$ac_dir"
19249 as_dirs=
19250 while test ! -d "$as_dir"; do
19251 as_dirs="$as_dir $as_dirs"
19252 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19253 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19254 X"$as_dir" : 'X\(//\)[^/]' \| \
19255 X"$as_dir" : 'X\(//\)$' \| \
19256 X"$as_dir" : 'X\(/\)' \| \
19257 . : '\(.\)' 2>/dev/null ||
19258 echo X"$as_dir" |
19259 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19260 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19261 /^X\(\/\/\)$/{ s//\1/; q; }
19262 /^X\(\/\).*/{ s//\1/; q; }
19263 s/.*/./; q'`
19264 done
19265 test ! -n "$as_dirs" || mkdir $as_dirs
19266 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19267 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19268 { (exit 1); exit 1; }; }; }
19270 ac_builddir=.
19272 if test "$ac_dir" != .; then
19273 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19274 # A "../" for each directory in $ac_dir_suffix.
19275 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19276 else
19277 ac_dir_suffix= ac_top_builddir=
19280 case $srcdir in
19281 .) # No --srcdir option. We are building in place.
19282 ac_srcdir=.
19283 if test -z "$ac_top_builddir"; then
19284 ac_top_srcdir=.
19285 else
19286 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19287 fi ;;
19288 [\\/]* | ?:[\\/]* ) # Absolute path.
19289 ac_srcdir=$srcdir$ac_dir_suffix;
19290 ac_top_srcdir=$srcdir ;;
19291 *) # Relative path.
19292 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19293 ac_top_srcdir=$ac_top_builddir$srcdir ;;
19294 esac
19296 # Do not use `cd foo && pwd` to compute absolute paths, because
19297 # the directories may not exist.
19298 case `pwd` in
19299 .) ac_abs_builddir="$ac_dir";;
19301 case "$ac_dir" in
19302 .) ac_abs_builddir=`pwd`;;
19303 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19304 *) ac_abs_builddir=`pwd`/"$ac_dir";;
19305 esac;;
19306 esac
19307 case $ac_abs_builddir in
19308 .) ac_abs_top_builddir=${ac_top_builddir}.;;
19310 case ${ac_top_builddir}. in
19311 .) ac_abs_top_builddir=$ac_abs_builddir;;
19312 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19313 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19314 esac;;
19315 esac
19316 case $ac_abs_builddir in
19317 .) ac_abs_srcdir=$ac_srcdir;;
19319 case $ac_srcdir in
19320 .) ac_abs_srcdir=$ac_abs_builddir;;
19321 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19322 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19323 esac;;
19324 esac
19325 case $ac_abs_builddir in
19326 .) ac_abs_top_srcdir=$ac_top_srcdir;;
19328 case $ac_top_srcdir in
19329 .) ac_abs_top_srcdir=$ac_abs_builddir;;
19330 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19331 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19332 esac;;
19333 esac
19336 case $INSTALL in
19337 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19338 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
19339 esac
19341 # Let's still pretend it is `configure' which instantiates (i.e., don't
19342 # use $as_me), people would be surprised to read:
19343 # /* config.h. Generated by config.status. */
19344 if test x"$ac_file" = x-; then
19345 configure_input=
19346 else
19347 configure_input="$ac_file. "
19349 configure_input=$configure_input"Generated from `echo $ac_file_in |
19350 sed 's,.*/,,'` by configure."
19352 # First look for the input files in the build tree, otherwise in the
19353 # src tree.
19354 ac_file_inputs=`IFS=:
19355 for f in $ac_file_in; do
19356 case $f in
19357 -) echo $tmp/stdin ;;
19358 [\\/$]*)
19359 # Absolute (can't be DOS-style, as IFS=:)
19360 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19361 echo "$as_me: error: cannot find input file: $f" >&2;}
19362 { (exit 1); exit 1; }; }
19363 echo "$f";;
19364 *) # Relative
19365 if test -f "$f"; then
19366 # Build tree
19367 echo "$f"
19368 elif test -f "$srcdir/$f"; then
19369 # Source tree
19370 echo "$srcdir/$f"
19371 else
19372 # /dev/null tree
19373 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19374 echo "$as_me: error: cannot find input file: $f" >&2;}
19375 { (exit 1); exit 1; }; }
19376 fi;;
19377 esac
19378 done` || { (exit 1); exit 1; }
19380 if test x"$ac_file" != x-; then
19381 { echo "$as_me:$LINENO: creating $ac_file" >&5
19382 echo "$as_me: creating $ac_file" >&6;}
19383 rm -f "$ac_file"
19385 _ACEOF
19386 cat >>$CONFIG_STATUS <<_ACEOF
19387 sed "$ac_vpsub
19388 $extrasub
19389 _ACEOF
19390 cat >>$CONFIG_STATUS <<\_ACEOF
19392 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19393 s,@configure_input@,$configure_input,;t t
19394 s,@srcdir@,$ac_srcdir,;t t
19395 s,@abs_srcdir@,$ac_abs_srcdir,;t t
19396 s,@top_srcdir@,$ac_top_srcdir,;t t
19397 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
19398 s,@builddir@,$ac_builddir,;t t
19399 s,@abs_builddir@,$ac_abs_builddir,;t t
19400 s,@top_builddir@,$ac_top_builddir,;t t
19401 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
19402 s,@INSTALL@,$ac_INSTALL,;t t
19403 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
19404 rm -f $tmp/stdin
19405 if test x"$ac_file" != x-; then
19406 mv $tmp/out $ac_file
19407 else
19408 cat $tmp/out
19409 rm -f $tmp/out
19412 done
19413 _ACEOF
19414 cat >>$CONFIG_STATUS <<\_ACEOF
19417 # CONFIG_HEADER section.
19420 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19421 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19423 # ac_d sets the value in "#define NAME VALUE" lines.
19424 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19425 ac_dB='[ ].*$,\1#\2'
19426 ac_dC=' '
19427 ac_dD=',;t'
19428 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19429 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19430 ac_uB='$,\1#\2define\3'
19431 ac_uC=' '
19432 ac_uD=',;t'
19434 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
19435 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19436 case $ac_file in
19437 - | *:- | *:-:* ) # input from stdin
19438 cat >$tmp/stdin
19439 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19440 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19441 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
19442 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
19443 * ) ac_file_in=$ac_file.in ;;
19444 esac
19446 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
19447 echo "$as_me: creating $ac_file" >&6;}
19449 # First look for the input files in the build tree, otherwise in the
19450 # src tree.
19451 ac_file_inputs=`IFS=:
19452 for f in $ac_file_in; do
19453 case $f in
19454 -) echo $tmp/stdin ;;
19455 [\\/$]*)
19456 # Absolute (can't be DOS-style, as IFS=:)
19457 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19458 echo "$as_me: error: cannot find input file: $f" >&2;}
19459 { (exit 1); exit 1; }; }
19460 # Do quote $f, to prevent DOS paths from being IFS'd.
19461 echo "$f";;
19462 *) # Relative
19463 if test -f "$f"; then
19464 # Build tree
19465 echo "$f"
19466 elif test -f "$srcdir/$f"; then
19467 # Source tree
19468 echo "$srcdir/$f"
19469 else
19470 # /dev/null tree
19471 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
19472 echo "$as_me: error: cannot find input file: $f" >&2;}
19473 { (exit 1); exit 1; }; }
19474 fi;;
19475 esac
19476 done` || { (exit 1); exit 1; }
19477 # Remove the trailing spaces.
19478 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
19480 _ACEOF
19482 # Transform confdefs.h into two sed scripts, `conftest.defines' and
19483 # `conftest.undefs', that substitutes the proper values into
19484 # config.h.in to produce config.h. The first handles `#define'
19485 # templates, and the second `#undef' templates.
19486 # And first: Protect against being on the right side of a sed subst in
19487 # config.status. Protect against being in an unquoted here document
19488 # in config.status.
19489 rm -f conftest.defines conftest.undefs
19490 # Using a here document instead of a string reduces the quoting nightmare.
19491 # Putting comments in sed scripts is not portable.
19493 # `end' is used to avoid that the second main sed command (meant for
19494 # 0-ary CPP macros) applies to n-ary macro definitions.
19495 # See the Autoconf documentation for `clear'.
19496 cat >confdef2sed.sed <<\_ACEOF
19497 s/[\\&,]/\\&/g
19498 s,[\\$`],\\&,g
19499 t clear
19500 : clear
19501 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
19502 t end
19503 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
19504 : end
19505 _ACEOF
19506 # If some macros were called several times there might be several times
19507 # the same #defines, which is useless. Nevertheless, we may not want to
19508 # sort them, since we want the *last* AC-DEFINE to be honored.
19509 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
19510 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
19511 rm -f confdef2sed.sed
19513 # This sed command replaces #undef with comments. This is necessary, for
19514 # example, in the case of _POSIX_SOURCE, which is predefined and required
19515 # on some systems where configure will not decide to define it.
19516 cat >>conftest.undefs <<\_ACEOF
19517 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
19518 _ACEOF
19520 # Break up conftest.defines because some shells have a limit on the size
19521 # of here documents, and old seds have small limits too (100 cmds).
19522 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
19523 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
19524 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
19525 echo ' :' >>$CONFIG_STATUS
19526 rm -f conftest.tail
19527 while grep . conftest.defines >/dev/null
19529 # Write a limited-size here document to $tmp/defines.sed.
19530 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
19531 # Speed up: don't consider the non `#define' lines.
19532 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
19533 # Work around the forget-to-reset-the-flag bug.
19534 echo 't clr' >>$CONFIG_STATUS
19535 echo ': clr' >>$CONFIG_STATUS
19536 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
19537 echo 'CEOF
19538 sed -f $tmp/defines.sed $tmp/in >$tmp/out
19539 rm -f $tmp/in
19540 mv $tmp/out $tmp/in
19541 ' >>$CONFIG_STATUS
19542 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
19543 rm -f conftest.defines
19544 mv conftest.tail conftest.defines
19545 done
19546 rm -f conftest.defines
19547 echo ' fi # grep' >>$CONFIG_STATUS
19548 echo >>$CONFIG_STATUS
19550 # Break up conftest.undefs because some shells have a limit on the size
19551 # of here documents, and old seds have small limits too (100 cmds).
19552 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
19553 rm -f conftest.tail
19554 while grep . conftest.undefs >/dev/null
19556 # Write a limited-size here document to $tmp/undefs.sed.
19557 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
19558 # Speed up: don't consider the non `#undef'
19559 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
19560 # Work around the forget-to-reset-the-flag bug.
19561 echo 't clr' >>$CONFIG_STATUS
19562 echo ': clr' >>$CONFIG_STATUS
19563 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
19564 echo 'CEOF
19565 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
19566 rm -f $tmp/in
19567 mv $tmp/out $tmp/in
19568 ' >>$CONFIG_STATUS
19569 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
19570 rm -f conftest.undefs
19571 mv conftest.tail conftest.undefs
19572 done
19573 rm -f conftest.undefs
19575 cat >>$CONFIG_STATUS <<\_ACEOF
19576 # Let's still pretend it is `configure' which instantiates (i.e., don't
19577 # use $as_me), people would be surprised to read:
19578 # /* config.h. Generated by config.status. */
19579 if test x"$ac_file" = x-; then
19580 echo "/* Generated by configure. */" >$tmp/config.h
19581 else
19582 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
19584 cat $tmp/in >>$tmp/config.h
19585 rm -f $tmp/in
19586 if test x"$ac_file" != x-; then
19587 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
19588 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
19589 echo "$as_me: $ac_file is unchanged" >&6;}
19590 else
19591 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
19592 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19593 X"$ac_file" : 'X\(//\)[^/]' \| \
19594 X"$ac_file" : 'X\(//\)$' \| \
19595 X"$ac_file" : 'X\(/\)' \| \
19596 . : '\(.\)' 2>/dev/null ||
19597 echo X"$ac_file" |
19598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19599 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19600 /^X\(\/\/\)$/{ s//\1/; q; }
19601 /^X\(\/\).*/{ s//\1/; q; }
19602 s/.*/./; q'`
19603 { if $as_mkdir_p; then
19604 mkdir -p "$ac_dir"
19605 else
19606 as_dir="$ac_dir"
19607 as_dirs=
19608 while test ! -d "$as_dir"; do
19609 as_dirs="$as_dir $as_dirs"
19610 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19611 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19612 X"$as_dir" : 'X\(//\)[^/]' \| \
19613 X"$as_dir" : 'X\(//\)$' \| \
19614 X"$as_dir" : 'X\(/\)' \| \
19615 . : '\(.\)' 2>/dev/null ||
19616 echo X"$as_dir" |
19617 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19618 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19619 /^X\(\/\/\)$/{ s//\1/; q; }
19620 /^X\(\/\).*/{ s//\1/; q; }
19621 s/.*/./; q'`
19622 done
19623 test ! -n "$as_dirs" || mkdir $as_dirs
19624 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19625 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19626 { (exit 1); exit 1; }; }; }
19628 rm -f $ac_file
19629 mv $tmp/config.h $ac_file
19631 else
19632 cat $tmp/config.h
19633 rm -f $tmp/config.h
19635 done
19636 _ACEOF
19637 cat >>$CONFIG_STATUS <<\_ACEOF
19640 # CONFIG_COMMANDS section.
19642 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
19643 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
19644 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
19645 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
19646 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19647 X"$ac_dest" : 'X\(//\)[^/]' \| \
19648 X"$ac_dest" : 'X\(//\)$' \| \
19649 X"$ac_dest" : 'X\(/\)' \| \
19650 . : '\(.\)' 2>/dev/null ||
19651 echo X"$ac_dest" |
19652 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19653 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19654 /^X\(\/\/\)$/{ s//\1/; q; }
19655 /^X\(\/\).*/{ s//\1/; q; }
19656 s/.*/./; q'`
19657 { if $as_mkdir_p; then
19658 mkdir -p "$ac_dir"
19659 else
19660 as_dir="$ac_dir"
19661 as_dirs=
19662 while test ! -d "$as_dir"; do
19663 as_dirs="$as_dir $as_dirs"
19664 as_dir=`(dirname "$as_dir") 2>/dev/null ||
19665 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19666 X"$as_dir" : 'X\(//\)[^/]' \| \
19667 X"$as_dir" : 'X\(//\)$' \| \
19668 X"$as_dir" : 'X\(/\)' \| \
19669 . : '\(.\)' 2>/dev/null ||
19670 echo X"$as_dir" |
19671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
19672 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
19673 /^X\(\/\/\)$/{ s//\1/; q; }
19674 /^X\(\/\).*/{ s//\1/; q; }
19675 s/.*/./; q'`
19676 done
19677 test ! -n "$as_dirs" || mkdir $as_dirs
19678 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
19679 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
19680 { (exit 1); exit 1; }; }; }
19682 ac_builddir=.
19684 if test "$ac_dir" != .; then
19685 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
19686 # A "../" for each directory in $ac_dir_suffix.
19687 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
19688 else
19689 ac_dir_suffix= ac_top_builddir=
19692 case $srcdir in
19693 .) # No --srcdir option. We are building in place.
19694 ac_srcdir=.
19695 if test -z "$ac_top_builddir"; then
19696 ac_top_srcdir=.
19697 else
19698 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
19699 fi ;;
19700 [\\/]* | ?:[\\/]* ) # Absolute path.
19701 ac_srcdir=$srcdir$ac_dir_suffix;
19702 ac_top_srcdir=$srcdir ;;
19703 *) # Relative path.
19704 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
19705 ac_top_srcdir=$ac_top_builddir$srcdir ;;
19706 esac
19708 # Do not use `cd foo && pwd` to compute absolute paths, because
19709 # the directories may not exist.
19710 case `pwd` in
19711 .) ac_abs_builddir="$ac_dir";;
19713 case "$ac_dir" in
19714 .) ac_abs_builddir=`pwd`;;
19715 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
19716 *) ac_abs_builddir=`pwd`/"$ac_dir";;
19717 esac;;
19718 esac
19719 case $ac_abs_builddir in
19720 .) ac_abs_top_builddir=${ac_top_builddir}.;;
19722 case ${ac_top_builddir}. in
19723 .) ac_abs_top_builddir=$ac_abs_builddir;;
19724 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
19725 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
19726 esac;;
19727 esac
19728 case $ac_abs_builddir in
19729 .) ac_abs_srcdir=$ac_srcdir;;
19731 case $ac_srcdir in
19732 .) ac_abs_srcdir=$ac_abs_builddir;;
19733 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
19734 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
19735 esac;;
19736 esac
19737 case $ac_abs_builddir in
19738 .) ac_abs_top_srcdir=$ac_top_srcdir;;
19740 case $ac_top_srcdir in
19741 .) ac_abs_top_srcdir=$ac_abs_builddir;;
19742 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
19743 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
19744 esac;;
19745 esac
19748 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
19749 echo "$as_me: executing $ac_dest commands" >&6;}
19750 case $ac_dest in
19751 dlls/gdi/enhmfdrv ) test -d "dlls/gdi/enhmfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/enhmfdrv" >&5
19752 echo "$as_me: creating dlls/gdi/enhmfdrv" >&6;} && mkdir "dlls/gdi/enhmfdrv") ;;
19753 dlls/gdi/mfdrv ) test -d "dlls/gdi/mfdrv" || ({ echo "$as_me:$LINENO: creating dlls/gdi/mfdrv" >&5
19754 echo "$as_me: creating dlls/gdi/mfdrv" >&6;} && mkdir "dlls/gdi/mfdrv") ;;
19755 dlls/kernel/messages ) test -d "dlls/kernel/messages" || ({ echo "$as_me:$LINENO: creating dlls/kernel/messages" >&5
19756 echo "$as_me: creating dlls/kernel/messages" >&6;} && mkdir "dlls/kernel/messages") ;;
19757 dlls/user/resources ) test -d "dlls/user/resources" || ({ echo "$as_me:$LINENO: creating dlls/user/resources" >&5
19758 echo "$as_me: creating dlls/user/resources" >&6;} && mkdir "dlls/user/resources") ;;
19759 dlls/wineps/data ) test -d "dlls/wineps/data" || ({ echo "$as_me:$LINENO: creating dlls/wineps/data" >&5
19760 echo "$as_me: creating dlls/wineps/data" >&6;} && mkdir "dlls/wineps/data") ;;
19761 include/wine ) test -d "include/wine" || ({ echo "$as_me:$LINENO: creating include/wine" >&5
19762 echo "$as_me: creating include/wine" >&6;} && mkdir "include/wine") ;;
19763 esac
19764 done
19765 _ACEOF
19767 cat >>$CONFIG_STATUS <<\_ACEOF
19769 { (exit 0); exit 0; }
19770 _ACEOF
19771 chmod +x $CONFIG_STATUS
19772 ac_clean_files=$ac_clean_files_save
19775 # configure is writing to config.log, and then calls config.status.
19776 # config.status does its own redirection, appending to config.log.
19777 # Unfortunately, on DOS this fails, as config.log is still kept open
19778 # by configure, so config.status won't be able to write to it; its
19779 # output is simply discarded. So we exec the FD to /dev/null,
19780 # effectively closing config.log, so it can be properly (re)opened and
19781 # appended to by config.status. When coming back to configure, we
19782 # need to make the FD available again.
19783 if test "$no_create" != yes; then
19784 ac_cs_success=:
19785 ac_config_status_args=
19786 test "$silent" = yes &&
19787 ac_config_status_args="$ac_config_status_args --quiet"
19788 exec 5>/dev/null
19789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19790 exec 5>>config.log
19791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19792 # would make configure fail if this is the last instruction.
19793 $ac_cs_success || { (exit 1); exit 1; }
19797 if test "$have_x" = "no"
19798 then
19799 echo
19800 echo "*** Warning: X development files not found. Wine will be built without"
19801 echo "*** X support, which currently does not work, and would probably not be"
19802 echo "*** what you want anyway. You will need to install devel packages of"
19803 echo "*** Xlib/Xfree86 at the very least."
19806 if test "$wine_cv_opengl_version_OK" = "no"
19807 then
19808 echo
19809 echo "*** Warning: old Mesa headers detected. Wine will be built without Direct3D"
19810 echo "*** support. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)."
19813 if test "$wine_cv_msg_freetype" = "yes"
19814 then
19815 echo
19816 echo "*** Note: Your system appears to have the FreeType 2 runtime libraries"
19817 echo "*** installed, but 'freetype-config' is not in your PATH. Install the"
19818 echo "*** freetype-devel package (or its equivalent on your distribution) to"
19819 echo "*** enable Wine to use TrueType fonts."
19822 if test -z "$ALSALIBS" -a \
19823 -z "$ARTSC_LIBS" -a \
19824 -z "$AUDIOIOLIBS" -a \
19825 -z "$NASLIBS" -a \
19826 -z "$ESD_LIBS" -a \
19827 -z "$ac_cv_lib_soname_jack" -a \
19828 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
19829 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
19830 "$ac_cv_header_soundcard_h" != "yes"
19831 then
19832 echo "*** No sound system was found. Windows applications will be silent."
19833 echo "*** The currently supported sound systems are:"
19834 echo "*** ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS"
19837 echo
19838 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."
19839 echo