1 diff -ru ../release/mingw-utils-0.3/Makefile.am ./Makefile.am
2 --- ../release/mingw-utils-0.3/Makefile.am Wed Dec 4 07:06:21 2002
3 +++ ./Makefile.am Tue Aug 8 06:53:25 2006
5 -SUBDIRS = dos2unix drmingw pexports redir reimp res2coff scripts unix2dos
18 +SUBDIRS = dos2unix $(DRMINGW) pexports ${REDIR} reimp ${RES2COFF} scripts unix2dos
20 +EXTRA_DIST = dos2unix/dos2unix.1 unix2dos/unix2dos.1
22 instdir = /tmp/$(PACKAGE)-$(VERSION)
24 diff -ru ../release/mingw-utils-0.3/Makefile.in ./Makefile.in
25 --- ../release/mingw-utils-0.3/Makefile.in Tue Nov 25 11:31:11 2003
26 +++ ./Makefile.in Tue Aug 8 06:53:25 2006
28 -# Makefile.in generated by automake 1.7.9 from Makefile.am.
29 +# Makefile.in generated by automake 1.9.6 from Makefile.am.
32 -# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
33 -# Free Software Foundation, Inc.
34 +# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
35 +# 2003, 2004, 2005 Free Software Foundation, Inc.
36 # This Makefile.in is free software; the Free Software Foundation
37 # gives unlimited permission to copy and/or distribute it,
38 # with or without modifications, as long as this notice is preserved.
45 top_srcdir = @top_srcdir@
48 pkglibdir = $(libdir)/@PACKAGE@
49 pkgincludedir = $(includedir)/@PACKAGE@
52 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
54 install_sh_DATA = $(install_sh) -c -m 644
60 +DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
61 + $(srcdir)/Makefile.in $(srcdir)/config.h.in \
62 + $(top_srcdir)/configure AUTHORS COPYING ChangeLog INSTALL NEWS \
63 + compile depcomp install-sh missing
64 +ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
65 +am__aclocal_m4_deps = $(top_srcdir)/configure.ac
66 +am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
68 +am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
69 + configure.lineno configure.status.lineno
70 +mkinstalldirs = $(install_sh) -d
71 +CONFIG_HEADER = config.h
75 +RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
76 + html-recursive info-recursive install-data-recursive \
77 + install-exec-recursive install-info-recursive \
78 + install-recursive installcheck-recursive installdirs-recursive \
79 + pdf-recursive ps-recursive uninstall-info-recursive \
83 +DIST_SUBDIRS = dos2unix drmingw pexports redir reimp res2coff scripts \
85 +DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
86 +distdir = $(PACKAGE)-$(VERSION)
87 +top_distdir = $(distdir)
88 +am__remove_distdir = \
89 + { test ! -d $(distdir) \
90 + || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
91 + && rm -fr $(distdir); }; }
92 +DIST_ARCHIVES = $(distdir).tar.gz
94 +distuninstallcheck_listfiles = find . -type f -print
95 +distcleancheck_listfiles = find . -type f -print
97 AMDEP_FALSE = @AMDEP_FALSE@
98 AMDEP_TRUE = @AMDEP_TRUE@
100 AUTOHEADER = @AUTOHEADER@
101 AUTOMAKE = @AUTOMAKE@
103 +BUILD_DRMINGW_FALSE = @BUILD_DRMINGW_FALSE@
104 +BUILD_DRMINGW_TRUE = @BUILD_DRMINGW_TRUE@
105 +BUILD_REDIR_FALSE = @BUILD_REDIR_FALSE@
106 +BUILD_REDIR_TRUE = @BUILD_REDIR_TRUE@
107 +BUILD_RES2COFF_FALSE = @BUILD_RES2COFF_FALSE@
108 +BUILD_RES2COFF_TRUE = @BUILD_RES2COFF_TRUE@
110 CCDEPMODE = @CCDEPMODE@
113 am__include = @am__include@
114 am__leading_dot = @am__leading_dot@
115 am__quote = @am__quote@
117 +am__untar = @am__untar@
119 build_alias = @build_alias@
122 libexecdir = @libexecdir@
123 localstatedir = @localstatedir@
126 oldincludedir = @oldincludedir@
128 program_transform_name = @program_transform_name@
129 @@ -120,45 +164,48 @@
130 sharedstatedir = @sharedstatedir@
131 sysconfdir = @sysconfdir@
132 target_alias = @target_alias@
133 -SUBDIRS = dos2unix drmingw pexports redir reimp res2coff scripts unix2dos
135 +@BUILD_DRMINGW_TRUE@DRMINGW = drmingw
136 +@BUILD_REDIR_TRUE@REDIR = redir
137 +@BUILD_RES2COFF_TRUE@RES2COFF = res2coff
138 +SUBDIRS = dos2unix $(DRMINGW) pexports ${REDIR} reimp ${RES2COFF} scripts unix2dos
139 +EXTRA_DIST = dos2unix/dos2unix.1 unix2dos/unix2dos.1
140 instdir = /tmp/$(PACKAGE)-$(VERSION)
142 -ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
143 -mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
144 -CONFIG_HEADER = config.h
145 -CONFIG_CLEAN_FILES =
148 -RECURSIVE_TARGETS = info-recursive dvi-recursive pdf-recursive \
149 - ps-recursive install-info-recursive uninstall-info-recursive \
150 - all-recursive install-data-recursive install-exec-recursive \
151 - installdirs-recursive install-recursive uninstall-recursive \
152 - check-recursive installcheck-recursive
153 -DIST_COMMON = README $(srcdir)/Makefile.in $(srcdir)/configure AUTHORS \
154 - COPYING ChangeLog INSTALL Makefile.am NEWS aclocal.m4 compile \
155 - config.h.in configure configure.ac depcomp install-sh missing \
157 -DIST_SUBDIRS = $(SUBDIRS)
159 $(MAKE) $(AM_MAKEFLAGS) all-recursive
163 -am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \
165 -$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
168 +$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
169 + @for dep in $?; do \
170 + case '$(am__configure_deps)' in \
172 + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu '; \
173 + cd $(srcdir) && $(AUTOMAKE) --gnu \
178 + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \
179 cd $(top_srcdir) && \
180 $(AUTOMAKE) --gnu Makefile
181 -Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
182 - cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
184 +Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
187 + echo ' $(SHELL) ./config.status'; \
188 + $(SHELL) ./config.status;; \
190 + echo ' cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)'; \
191 + cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe);; \
194 -$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
195 +$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
196 $(SHELL) ./config.status --recheck
197 -$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
198 - cd $(srcdir) && $(AUTOCONF)
200 -$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac
201 +$(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
202 + cd $(srcdir) && $(AUTOCONF)
203 +$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
204 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
207 @@ -170,10 +217,10 @@
208 stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
210 cd $(top_builddir) && $(SHELL) ./config.status config.h
212 -$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(top_srcdir)/configure.ac $(ACLOCAL_M4)
213 +$(srcdir)/config.h.in: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
214 cd $(top_srcdir) && $(AUTOHEADER)
215 - touch $(srcdir)/config.h.in
220 -rm -f config.h stamp-h1
222 # (which will cause the Makefiles to be regenerated when you run `make');
223 # (2) otherwise, pass the desired values on the `make' command line.
224 $(RECURSIVE_TARGETS):
225 - @set fnord $$MAKEFLAGS; amf=$$2; \
226 + @failcom='exit 1'; \
227 + for f in x $$MAKEFLAGS; do \
230 + *k*) failcom='fail=yes';; \
234 target=`echo $@ | sed s/-recursive//`; \
235 list='$(SUBDIRS)'; for subdir in $$list; do \
237 local_target="$$target"; \
239 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
240 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
241 + || eval $$failcom; \
243 if test "$$dot_seen" = "no"; then \
244 $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
247 mostlyclean-recursive clean-recursive distclean-recursive \
248 maintainer-clean-recursive:
249 - @set fnord $$MAKEFLAGS; amf=$$2; \
250 + @failcom='exit 1'; \
251 + for f in x $$MAKEFLAGS; do \
254 + *k*) failcom='fail=yes';; \
259 distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
261 local_target="$$target"; \
263 (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
264 - || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
265 + || eval $$failcom; \
266 done && test -z "$$fail"
268 list='$(SUBDIRS)'; for subdir in $$list; do \
270 test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) ctags); \
281 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
282 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
283 unique=`for i in $$list; do \
284 @@ -254,19 +305,22 @@
285 $(AWK) ' { files[$$0] = 1; } \
286 END { for (i in files) print i; }'`; \
290 TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
291 $(TAGS_FILES) $(LISP)
294 - if (etags --etags-include --version) >/dev/null 2>&1; then \
295 + if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \
296 include_option=--etags-include; \
299 include_option=--include; \
302 list='$(SUBDIRS)'; for subdir in $$list; do \
303 if test "$$subdir" = .; then :; else \
304 - test -f $$subdir/TAGS && \
305 + test ! -f $$subdir/TAGS || \
306 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \
309 @@ -276,10 +330,11 @@
311 $(AWK) ' { files[$$0] = 1; } \
312 END { for (i in files) print i; }'`; \
313 - test -z "$(ETAGS_ARGS)$$tags$$unique" \
314 - || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
317 + if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
318 + test -n "$$unique" || unique=$$empty_fix; \
319 + $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
323 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
324 $(TAGS_FILES) $(LISP)
325 @@ -302,24 +357,11 @@
328 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
329 -DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
332 -distdir = $(PACKAGE)-$(VERSION)
334 -am__remove_distdir = \
335 - { test ! -d $(distdir) \
336 - || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
337 - && rm -fr $(distdir); }; }
340 -distuninstallcheck_listfiles = find . -type f -print
341 -distcleancheck_listfiles = find . -type f -print
343 distdir: $(DISTFILES)
344 $(am__remove_distdir)
346 - $(mkinstalldirs) $(distdir)/scripts
347 + $(mkdir_p) $(distdir)/dos2unix $(distdir)/scripts $(distdir)/unix2dos
348 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
349 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
350 list='$(DISTFILES)'; for file in $$list; do \
352 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
353 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
355 - $(mkinstalldirs) "$(distdir)$$dir"; \
356 + $(mkdir_p) "$(distdir)$$dir"; \
360 @@ -346,15 +388,17 @@
364 - list='$(SUBDIRS)'; for subdir in $$list; do \
365 + list='$(DIST_SUBDIRS)'; for subdir in $$list; do \
366 if test "$$subdir" = .; then :; else \
367 - test -d $(distdir)/$$subdir \
368 - || mkdir $(distdir)/$$subdir \
369 + test -d "$(distdir)/$$subdir" \
370 + || $(mkdir_p) "$(distdir)/$$subdir" \
372 + distdir=`$(am__cd) $(distdir) && pwd`; \
373 + top_distdir=`$(am__cd) $(top_distdir) && pwd`; \
375 $(MAKE) $(AM_MAKEFLAGS) \
376 - top_distdir="$(top_distdir)" \
377 - distdir=../$(distdir)/$$subdir \
378 + top_distdir="$$top_distdir" \
379 + distdir="$$distdir/$$subdir" \
383 @@ -365,19 +409,46 @@
384 ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
385 || chmod -R a+r $(distdir)
387 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
388 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
389 + $(am__remove_distdir)
392 + tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2
393 + $(am__remove_distdir)
396 + tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z
397 + $(am__remove_distdir)
400 + shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
401 + $(am__remove_distdir)
404 + -rm -f $(distdir).zip
405 + zip -rq $(distdir).zip $(distdir)
406 $(am__remove_distdir)
408 dist dist-all: distdir
409 - $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
410 + tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
411 $(am__remove_distdir)
413 # This target untars the dist file and tries a VPATH configuration. Then
414 # it guarantees that the distribution is self-contained by making another
417 - $(am__remove_distdir)
418 - GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
419 + case '$(DIST_ARCHIVES)' in \
421 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
423 + bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
425 + uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
427 + GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
429 + unzip $(distdir).zip ;;\
431 chmod -R a-w $(distdir); chmod a+w $(distdir)
432 mkdir $(distdir)/_build
433 mkdir $(distdir)/_inst
434 @@ -397,19 +468,20 @@
436 && chmod -R a-w "$$dc_install_base" \
438 - (cd ../.. && $(mkinstalldirs) "$$dc_destdir") \
439 + (cd ../.. && umask 077 && mkdir "$$dc_destdir") \
440 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \
441 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \
442 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" \
443 distuninstallcheck_dir="$$dc_destdir" distuninstallcheck; \
444 } || { rm -rf "$$dc_destdir"; exit 1; }) \
445 && rm -rf "$$dc_destdir" \
446 - && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
447 - && rm -f $(distdir).tar.gz \
448 + && $(MAKE) $(AM_MAKEFLAGS) dist \
449 + && rm -rf $(DIST_ARCHIVES) \
450 && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
451 $(am__remove_distdir)
452 - @echo "$(distdir).tar.gz is ready for distribution" | \
453 - sed 'h;s/./=/g;p;x;p;x'
454 + @(echo "$(distdir) archives ready for distribution: "; \
455 + list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
456 + sed -e '1{h;s/./=/g;p;x;}' -e '$${p;x;}'
458 @cd $(distuninstallcheck_dir) \
459 && test `$(distuninstallcheck_listfiles) | wc -l` -le 1 \
461 all-am: Makefile config.h
462 installdirs: installdirs-recursive
465 install: install-recursive
466 install-exec: install-exec-recursive
467 install-data: install-data-recursive
472 - -rm -f $(CONFIG_CLEAN_FILES)
473 + -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
475 maintainer-clean-generic:
476 @echo "This command is intended for maintainers to use"
481 +html: html-recursive
486 @@ -507,22 +580,20 @@
488 uninstall-info: uninstall-info-recursive
490 -.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am check check-am clean \
491 - clean-generic clean-recursive ctags ctags-recursive dist \
492 - dist-all dist-gzip distcheck distclean distclean-generic \
493 - distclean-hdr distclean-recursive distclean-tags distcleancheck \
494 - distdir distuninstallcheck dvi dvi-am dvi-recursive info \
495 - info-am info-recursive install install-am install-data \
496 - install-data-am install-data-recursive install-exec \
497 - install-exec-am install-exec-recursive install-info \
498 - install-info-am install-info-recursive install-man \
499 - install-recursive install-strip installcheck installcheck-am \
500 - installdirs installdirs-am installdirs-recursive \
501 - maintainer-clean maintainer-clean-generic \
502 - maintainer-clean-recursive mostlyclean mostlyclean-generic \
503 - mostlyclean-recursive pdf pdf-am pdf-recursive ps ps-am \
504 - ps-recursive tags tags-recursive uninstall uninstall-am \
505 - uninstall-info-am uninstall-info-recursive uninstall-recursive
506 +.PHONY: $(RECURSIVE_TARGETS) CTAGS GTAGS all all-am am--refresh check \
507 + check-am clean clean-generic clean-recursive ctags \
508 + ctags-recursive dist dist-all dist-bzip2 dist-gzip dist-shar \
509 + dist-tarZ dist-zip distcheck distclean distclean-generic \
510 + distclean-hdr distclean-recursive distclean-tags \
511 + distcleancheck distdir distuninstallcheck dvi dvi-am html \
512 + html-am info info-am install install-am install-data \
513 + install-data-am install-exec install-exec-am install-info \
514 + install-info-am install-man install-strip installcheck \
515 + installcheck-am installdirs installdirs-am maintainer-clean \
516 + maintainer-clean-generic maintainer-clean-recursive \
517 + mostlyclean mostlyclean-generic mostlyclean-recursive pdf \
518 + pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
523 diff -ru ../release/mingw-utils-0.3/configure ./configure
524 --- ../release/mingw-utils-0.3/configure Tue Nov 25 11:31:12 2003
525 +++ ./configure Tue Aug 8 06:53:25 2006
528 # Guess values for system-dependent variables and create Makefiles.
529 -# Generated by GNU Autoconf 2.58 for mingw-utils 0.3.
530 +# Generated by GNU Autoconf 2.59 for mingw-utils 0.3.
532 # Copyright (C) 2003 Free Software Foundation, Inc.
533 # This configure script is free software; the Free Software Foundation
538 -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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE am__leading_dot MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LEX LEXLIB LEX_OUTPUT_ROOT YACC WINDRES ac_pt_WINDRES CPP EGREP LIBOBJS LTLIBOBJS'
539 +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 INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT BUILD_DRMINGW_TRUE BUILD_DRMINGW_FALSE BUILD_REDIR_TRUE BUILD_REDIR_FALSE BUILD_RES2COFF_TRUE BUILD_RES2COFF_FALSE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB LEX LEXLIB LEX_OUTPUT_ROOT YACC WINDRES ac_pt_WINDRES CPP EGREP LIBOBJS LTLIBOBJS'
542 # Initialize some variables set by options.
543 @@ -859,10 +859,15 @@
545 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
546 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
547 - --enable-maintainer-mode enable make rules and dependencies not useful
548 - (and sometimes confusing) to the casual installer
549 - --disable-dependency-tracking Speeds up one-time builds
550 - --enable-dependency-tracking Do not reject slow dependency extractors
551 + --enable-maintainer-mode enable make rules and dependencies not useful
552 + (and sometimes confusing) to the casual installer
553 + --disable-drmingw Don't build drmingw (default is build)
554 + --disable-redir Don't build redir (default is build)
555 + --disable-res2coff Don't build res2coff (default is build)
556 + --disable-nonportable shortcut for --disable-drmingw, --disable-redir and
558 + --disable-dependency-tracking speeds up one-time build
559 + --enable-dependency-tracking do not reject slow dependency extractors
561 Some influential environment variables:
562 CC C compiler command
565 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
573 if $ac_init_version; then
575 mingw-utils configure 0.3
576 -generated by GNU Autoconf 2.58
577 +generated by GNU Autoconf 2.59
579 Copyright (C) 2003 Free Software Foundation, Inc.
580 This configure script is free software; the Free Software Foundation
582 running configure, to aid debugging if configure makes a mistake.
584 It was created by mingw-utils $as_me 0.3, which was
585 -generated by GNU Autoconf 2.58. Invocation command line was
586 +generated by GNU Autoconf 2.59. Invocation command line was
590 @@ -1325,7 +1330,7 @@
594 -am__api_version="1.7"
595 +am__api_version="1.9"
597 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
598 if test -f $ac_dir/install-sh; then
599 @@ -1488,7 +1493,6 @@
600 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
604 # expand $ac_aux_dir to an absolute path
605 am_aux_dir=`cd $ac_aux_dir && pwd`
607 @@ -1502,6 +1506,39 @@
608 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
611 +if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
612 + # We used to keeping the `.' as first argument, in order to
613 + # allow $(mkdir_p) to be used without argument. As in
614 + # $(mkdir_p) $(somedir)
615 + # where $(somedir) is conditionally defined. However this is wrong
617 + # 1. if the package is installed by a user who cannot write `.'
618 + # make install will fail,
619 + # 2. the above comment should most certainly read
620 + # $(mkdir_p) $(DESTDIR)$(somedir)
621 + # so it does not work when $(somedir) is undefined and
622 + # $(DESTDIR) is not.
623 + # To support the latter case, we have to write
624 + # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
625 + # so the `.' trick is pointless.
626 + mkdir_p='mkdir -p --'
628 + # On NextStep and OpenStep, the `mkdir' command does not
629 + # recognize any option. It will interpret all options as
630 + # directories to create, and then abort because `.' already
632 + for d in ./-p ./--version;
634 + test -d $d && rmdir $d
636 + # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
637 + if test -f "$ac_aux_dir/mkinstalldirs"; then
638 + mkdir_p='$(mkinstalldirs)'
640 + mkdir_p='$(install_sh) -d'
644 for ac_prog in gawk mawk nawk awk
646 # Extract the first word of "$ac_prog", so it can be a program name with args.
647 @@ -1580,7 +1617,7 @@
649 rmdir .tst 2>/dev/null
651 - # test to see if srcdir already configured
652 +# test to see if srcdir already configured
653 if test "`cd $srcdir && pwd`" != "`pwd`" &&
654 test -f $srcdir/config.status; then
655 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
656 @@ -1619,9 +1656,6 @@
658 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
661 -AMTAR=${AMTAR-"${am_missing_run}tar"}
663 install_sh=${install_sh-"$am_aux_dir/install-sh"}
665 # Installed binaries are usually stripped using `strip' when the user
666 @@ -1714,6 +1748,13 @@
668 # We need awk for the "check" target. The system "awk" is bad on
670 +# Always define AMTAR for backward compatibility.
672 +AMTAR=${AMTAR-"${am_missing_run}tar"}
674 +am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
680 @@ -1745,6 +1786,99 @@
684 +# Check whether --enable-drmingw or --disable-drmingw was given.
685 +if test "${enable_drmingw+set}" = set; then
686 + enableval="$enable_drmingw"
687 + case "${enableval}" in
688 + yes) build_drmingw=true ;;
689 + no) build_drmingw=false ;;
690 + *) { { echo "$as_me:$LINENO: error: --enable-drmingw argument must be yes or no, not \"${enableval}\"" >&5
691 +echo "$as_me: error: --enable-drmingw argument must be yes or no, not \"${enableval}\"" >&2;}
692 + { (exit 1); exit 1; }; } ;;
698 +# Check whether --enable-redir or --disable-redir was given.
699 +if test "${enable_redir+set}" = set; then
700 + enableval="$enable_redir"
701 + case "${enableval}" in
702 + yes) build_redir=true ;;
703 + no) build_redir=false ;;
704 + *) { { echo "$as_me:$LINENO: error: --enable-redir argument must be yes or no, not \"${enableval}\"" >&5
705 +echo "$as_me: error: --enable-redir argument must be yes or no, not \"${enableval}\"" >&2;}
706 + { (exit 1); exit 1; }; } ;;
712 +# Check whether --enable-res2coff or --disable-res2coff was given.
713 +if test "${enable_res2coff+set}" = set; then
714 + enableval="$enable_res2coff"
715 + case "${enableval}" in
716 + yes) build_res2coff=true ;;
717 + no) build_res2coff=false ;;
718 + *) { { echo "$as_me:$LINENO: error: --enable-res2coff argument must be yes or no, not \"${enableval}\"" >&5
719 +echo "$as_me: error: --enable-res2coff argument must be yes or no, not \"${enableval}\"" >&2;}
720 + { (exit 1); exit 1; }; } ;;
723 + build_res2coff=true
726 +# Check whether --enable-nonportable or --disable-nonportable was given.
727 +if test "${enable_nonportable+set}" = set; then
728 + enableval="$enable_nonportable"
729 + case "${enableval}" in
730 + yes) build_drmingw=true
732 + build_res2coff=true
734 + no) build_res2coff=false
736 + build_res2coff=false
738 + *) { { echo "$as_me:$LINENO: error: --enable-nonportable argument must be yes or no, not \"${enableval}\"" >&5
739 +echo "$as_me: error: --enable-nonportable argument must be yes or no, not \"${enableval}\"" >&2;}
740 + { (exit 1); exit 1; }; } ;;
743 + build_res2coff=true
748 +if test "${build_drmingw}" = "true"; then
749 + BUILD_DRMINGW_TRUE=
750 + BUILD_DRMINGW_FALSE='#'
752 + BUILD_DRMINGW_TRUE='#'
753 + BUILD_DRMINGW_FALSE=
758 +if test "${build_redir}" = "true"; then
760 + BUILD_REDIR_FALSE='#'
762 + BUILD_REDIR_TRUE='#'
768 +if test "${build_res2coff}" = "true"; then
769 + BUILD_RES2COFF_TRUE=
770 + BUILD_RES2COFF_FALSE='#'
772 + BUILD_RES2COFF_TRUE='#'
773 + BUILD_RES2COFF_FALSE=
777 # Checks for programs.
779 ac_cpp='$CPP $CPPFLAGS'
780 @@ -2314,7 +2448,8 @@
782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
783 (exit $ac_status); } &&
784 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
785 + { ac_try='test -z "$ac_c_werror_flag"
786 + || test ! -s conftest.err'
787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
790 @@ -2372,7 +2507,8 @@
792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
793 (exit $ac_status); } &&
794 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
795 + { ac_try='test -z "$ac_c_werror_flag"
796 + || test ! -s conftest.err'
797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
800 @@ -2488,7 +2624,8 @@
802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
803 (exit $ac_status); } &&
804 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
805 + { ac_try='test -z "$ac_c_werror_flag"
806 + || test ! -s conftest.err'
807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
810 @@ -2542,7 +2679,8 @@
812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
813 (exit $ac_status); } &&
814 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
815 + { ac_try='test -z "$ac_c_werror_flag"
816 + || test ! -s conftest.err'
817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
820 @@ -2587,7 +2725,8 @@
822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
823 (exit $ac_status); } &&
824 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
825 + { ac_try='test -z "$ac_c_werror_flag"
826 + || test ! -s conftest.err'
827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
830 @@ -2631,7 +2770,8 @@
832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
833 (exit $ac_status); } &&
834 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
835 + { ac_try='test -z "$ac_c_werror_flag"
836 + || test ! -s conftest.err'
837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
840 @@ -2776,7 +2916,9 @@
842 for i in 1 2 3 4 5 6; do
843 echo '#include "conftst'$i'.h"' >> sub/conftest.c
844 - : > sub/conftst$i.h
845 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
846 + # Solaris 8's {/usr,}/bin/sh.
847 + touch sub/conftst$i.h
849 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
851 @@ -2804,9 +2946,14 @@
852 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
853 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
854 # icc doesn't choke on unknown options, it will just issue warnings
855 - # (even with -Werror). So we grep stderr for any message
856 - # that says an option was ignored.
857 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
858 + # or remarks (even with -Werror). So we grep stderr for any message
859 + # that says an option was ignored or not supported.
860 + # When given -MP, icc 7.0 and 7.1 complain thusly:
861 + # icc: Command line warning: ignoring option '-M'; no argument required
862 + # The diagnosis changed in icc 8.0:
863 + # icc: Command line remark: option '-MP' not supported
864 + if (grep 'ignoring option' conftest.err ||
865 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
866 am_cv_CC_dependencies_compiler_type=$depmode
869 @@ -2982,7 +3129,8 @@
871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
872 (exit $ac_status); } &&
873 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
874 + { ac_try='test -z "$ac_cxx_werror_flag"
875 + || test ! -s conftest.err'
876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
879 @@ -3040,7 +3188,8 @@
881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
882 (exit $ac_status); } &&
883 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
884 + { ac_try='test -z "$ac_cxx_werror_flag"
885 + || test ! -s conftest.err'
886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
889 @@ -3111,7 +3260,8 @@
891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
892 (exit $ac_status); } &&
893 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
894 + { ac_try='test -z "$ac_cxx_werror_flag"
895 + || test ! -s conftest.err'
896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
899 @@ -3155,7 +3305,8 @@
901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
902 (exit $ac_status); } &&
903 - { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
904 + { ac_try='test -z "$ac_cxx_werror_flag"
905 + || test ! -s conftest.err'
906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
909 @@ -3229,7 +3380,9 @@
911 for i in 1 2 3 4 5 6; do
912 echo '#include "conftst'$i'.h"' >> sub/conftest.c
913 - : > sub/conftst$i.h
914 + # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
915 + # Solaris 8's {/usr,}/bin/sh.
916 + touch sub/conftst$i.h
918 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
920 @@ -3257,9 +3410,14 @@
921 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
922 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
923 # icc doesn't choke on unknown options, it will just issue warnings
924 - # (even with -Werror). So we grep stderr for any message
925 - # that says an option was ignored.
926 - if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else
927 + # or remarks (even with -Werror). So we grep stderr for any message
928 + # that says an option was ignored or not supported.
929 + # When given -MP, icc 7.0 and 7.1 complain thusly:
930 + # icc: Command line warning: ignoring option '-M'; no argument required
931 + # The diagnosis changed in icc 8.0:
932 + # icc: Command line remark: option '-MP' not supported
933 + if (grep 'ignoring option' conftest.err ||
934 + grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
935 am_cv_CXX_dependencies_compiler_type=$depmode
938 @@ -3601,7 +3759,8 @@
940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
941 (exit $ac_status); } &&
942 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
943 + { ac_try='test -z "$ac_c_werror_flag"
944 + || test ! -s conftest.err'
945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
948 @@ -3667,7 +3826,8 @@
950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
951 (exit $ac_status); } &&
952 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
953 + { ac_try='test -z "$ac_c_werror_flag"
954 + || test ! -s conftest.err'
955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
958 @@ -3756,7 +3916,8 @@
960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
961 (exit $ac_status); } &&
962 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
963 + { ac_try='test -z "$ac_c_werror_flag"
964 + || test ! -s conftest.err'
965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
968 @@ -3903,9 +4064,6 @@
972 - test -z "$ac_cv_path_ac_pt_WINDRES" && ac_cv_path_ac_pt_WINDRES="{ echo "$as_me:$LINENO: WARNING: Could not find a windres tool in your PATH. Will not be able to compile drmingw." >&5
973 -echo "$as_me: WARNING: Could not find a windres tool in your PATH. Will not be able to compile drmingw." >&2;}
978 @@ -3925,6 +4083,22 @@
982 +if test -z "${WINDRES}"; then
983 + { echo "$as_me:$LINENO: WARNING: windres tool isn't in your PATH, drmingw can't be built!!" >&5
984 +echo "$as_me: WARNING: windres tool isn't in your PATH, drmingw can't be built!!" >&2;}
988 + BUILD_DRMINGW_TRUE=
989 + BUILD_DRMINGW_FALSE='#'
991 + BUILD_DRMINGW_TRUE='#'
992 + BUILD_DRMINGW_FALSE=
999 # Checks for header files.
1001 @@ -4210,7 +4384,8 @@
1002 cat conftest.err >&5
1003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1004 (exit $ac_status); } &&
1005 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1006 + { ac_try='test -z "$ac_c_werror_flag"
1007 + || test ! -s conftest.err'
1008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1011 @@ -4342,9 +4517,7 @@
1015 -where_toGet_utime_h='not found!'
1016 -# this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
1017 -# AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
1019 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
1022 @@ -4383,7 +4556,8 @@
1023 cat conftest.err >&5
1024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1025 (exit $ac_status); } &&
1026 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1027 + { ac_try='test -z "$ac_c_werror_flag"
1028 + || test ! -s conftest.err'
1029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1032 @@ -4416,6 +4590,160 @@
1037 +for ac_header in windows.h
1039 +as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
1040 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
1041 + echo "$as_me:$LINENO: checking for $ac_header" >&5
1042 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1043 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
1044 + echo $ECHO_N "(cached) $ECHO_C" >&6
1046 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1047 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1049 + # Is the header compilable?
1050 +echo "$as_me:$LINENO: checking $ac_header usability" >&5
1051 +echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
1052 +cat >conftest.$ac_ext <<_ACEOF
1055 +cat confdefs.h >>conftest.$ac_ext
1056 +cat >>conftest.$ac_ext <<_ACEOF
1057 +/* end confdefs.h. */
1058 +$ac_includes_default
1059 +#include <$ac_header>
1061 +rm -f conftest.$ac_objext
1062 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1063 + (eval $ac_compile) 2>conftest.er1
1065 + grep -v '^ *+' conftest.er1 >conftest.err
1066 + rm -f conftest.er1
1067 + cat conftest.err >&5
1068 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1069 + (exit $ac_status); } &&
1070 + { ac_try='test -z "$ac_c_werror_flag"
1071 + || test ! -s conftest.err'
1072 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1073 + (eval $ac_try) 2>&5
1075 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1076 + (exit $ac_status); }; } &&
1077 + { ac_try='test -s conftest.$ac_objext'
1078 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1079 + (eval $ac_try) 2>&5
1081 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1082 + (exit $ac_status); }; }; then
1083 + ac_header_compiler=yes
1085 + echo "$as_me: failed program was:" >&5
1086 +sed 's/^/| /' conftest.$ac_ext >&5
1088 +ac_header_compiler=no
1090 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1091 +echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
1092 +echo "${ECHO_T}$ac_header_compiler" >&6
1094 +# Is the header present?
1095 +echo "$as_me:$LINENO: checking $ac_header presence" >&5
1096 +echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
1097 +cat >conftest.$ac_ext <<_ACEOF
1100 +cat confdefs.h >>conftest.$ac_ext
1101 +cat >>conftest.$ac_ext <<_ACEOF
1102 +/* end confdefs.h. */
1103 +#include <$ac_header>
1105 +if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
1106 + (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1108 + grep -v '^ *+' conftest.er1 >conftest.err
1109 + rm -f conftest.er1
1110 + cat conftest.err >&5
1111 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1112 + (exit $ac_status); } >/dev/null; then
1113 + if test -s conftest.err; then
1114 + ac_cpp_err=$ac_c_preproc_warn_flag
1115 + ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
1122 +if test -z "$ac_cpp_err"; then
1123 + ac_header_preproc=yes
1125 + echo "$as_me: failed program was:" >&5
1126 +sed 's/^/| /' conftest.$ac_ext >&5
1128 + ac_header_preproc=no
1130 +rm -f conftest.err conftest.$ac_ext
1131 +echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
1132 +echo "${ECHO_T}$ac_header_preproc" >&6
1134 +# So? What about this header?
1135 +case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
1137 + { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
1138 +echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
1139 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
1140 +echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
1141 + ac_header_preproc=yes
1144 + { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
1145 +echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
1146 + { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
1147 +echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
1148 + { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
1149 +echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
1150 + { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
1151 +echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
1152 + { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
1153 +echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
1154 + { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
1155 +echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
1158 +## -------------------------------------- ##
1159 +## Report this to the mingw-utils lists. ##
1160 +## -------------------------------------- ##
1163 + sed "s/^/$as_me: WARNING: /" >&2
1166 +echo "$as_me:$LINENO: checking for $ac_header" >&5
1167 +echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
1168 +if eval "test \"\${$as_ac_Header+set}\" = set"; then
1169 + echo $ECHO_N "(cached) $ECHO_C" >&6
1171 + eval "$as_ac_Header=\$ac_header_preproc"
1173 +echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
1174 +echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
1177 +if test `eval echo '${'$as_ac_Header'}'` = yes; then
1178 + cat >>confdefs.h <<_ACEOF
1179 +#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
1187 +where_toGet_utime_h='not found!'
1188 +# this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
1189 +# AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
1190 if test "${ac_cv_header_utime_h+set}" = set; then
1191 echo "$as_me:$LINENO: checking for utime.h" >&5
1192 echo $ECHO_N "checking for utime.h... $ECHO_C" >&6
1193 @@ -4446,7 +4774,8 @@
1194 cat conftest.err >&5
1195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1196 (exit $ac_status); } &&
1197 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1198 + { ac_try='test -z "$ac_c_werror_flag"
1199 + || test ! -s conftest.err'
1200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1203 @@ -4590,7 +4919,8 @@
1204 cat conftest.err >&5
1205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1206 (exit $ac_status); } &&
1207 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1208 + { ac_try='test -z "$ac_c_werror_flag"
1209 + || test ! -s conftest.err'
1210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1213 @@ -4787,7 +5117,8 @@
1214 cat conftest.err >&5
1215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1216 (exit $ac_status); } &&
1217 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1218 + { ac_try='test -z "$ac_c_werror_flag"
1219 + || test ! -s conftest.err'
1220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1223 @@ -4888,7 +5219,8 @@
1224 cat conftest.err >&5
1225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1226 (exit $ac_status); } &&
1227 - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1228 + { ac_try='test -z "$ac_c_werror_flag"
1229 + || test ! -s conftest.err'
1230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1233 @@ -4921,24 +5253,1681 @@
1237 - ac_config_files="$ac_config_files Makefile dos2unix/Makefile drmingw/Makefile pexports/Makefile redir/Makefile reimp/Makefile res2coff/Makefile scripts/Makefile scripts/a2dll scripts/dsw2mak unix2dos/Makefile"
1238 +echo "$as_me:$LINENO: checking for _int64" >&5
1239 +echo $ECHO_N "checking for _int64... $ECHO_C" >&6
1240 +if test "${ac_cv_type__int64+set}" = set; then
1241 + echo $ECHO_N "(cached) $ECHO_C" >&6
1243 + cat >conftest.$ac_ext <<_ACEOF
1246 +cat confdefs.h >>conftest.$ac_ext
1247 +cat >>conftest.$ac_ext <<_ACEOF
1248 +/* end confdefs.h. */
1249 +$ac_includes_default
1255 +if (sizeof (_int64))
1261 +rm -f conftest.$ac_objext
1262 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1263 + (eval $ac_compile) 2>conftest.er1
1265 + grep -v '^ *+' conftest.er1 >conftest.err
1266 + rm -f conftest.er1
1267 + cat conftest.err >&5
1268 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1269 + (exit $ac_status); } &&
1270 + { ac_try='test -z "$ac_c_werror_flag"
1271 + || test ! -s conftest.err'
1272 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1273 + (eval $ac_try) 2>&5
1275 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1276 + (exit $ac_status); }; } &&
1277 + { ac_try='test -s conftest.$ac_objext'
1278 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1279 + (eval $ac_try) 2>&5
1281 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1282 + (exit $ac_status); }; }; then
1283 + ac_cv_type__int64=yes
1285 + echo "$as_me: failed program was:" >&5
1286 +sed 's/^/| /' conftest.$ac_ext >&5
1288 -cat >confcache <<\_ACEOF
1289 -# This file is a shell script that caches the results of configure
1290 -# tests run on this system so they can be shared between configure
1291 -# scripts and configure runs, see configure's option --config-cache.
1292 -# It is not useful on other systems. If it contains results you don't
1293 -# want to keep, you may remove or edit it.
1295 -# config.status only pays attention to the cache file if you give it
1296 -# the --recheck option to rerun configure.
1298 -# `ac_cv_env_foo' variables (set or unset) will be overridden when
1299 -# loading this file, other *unset* `ac_cv_foo' will be assigned the
1300 -# following values.
1301 +ac_cv_type__int64=no
1303 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1305 +echo "$as_me:$LINENO: result: $ac_cv_type__int64" >&5
1306 +echo "${ECHO_T}$ac_cv_type__int64" >&6
1308 +echo "$as_me:$LINENO: checking size of _int64" >&5
1309 +echo $ECHO_N "checking size of _int64... $ECHO_C" >&6
1310 +if test "${ac_cv_sizeof__int64+set}" = set; then
1311 + echo $ECHO_N "(cached) $ECHO_C" >&6
1313 + if test "$ac_cv_type__int64" = yes; then
1314 + # The cast to unsigned long works around a bug in the HP C Compiler
1315 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1316 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1317 + # This bug is HP SR number 8606223364.
1318 + if test "$cross_compiling" = yes; then
1319 + # Depending upon the size, compute the lo and hi bounds.
1320 +cat >conftest.$ac_ext <<_ACEOF
1324 +cat confdefs.h >>conftest.$ac_ext
1325 +cat >>conftest.$ac_ext <<_ACEOF
1326 +/* end confdefs.h. */
1327 +$ac_includes_default
1331 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) >= 0)];
1338 +rm -f conftest.$ac_objext
1339 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1340 + (eval $ac_compile) 2>conftest.er1
1342 + grep -v '^ *+' conftest.er1 >conftest.err
1343 + rm -f conftest.er1
1344 + cat conftest.err >&5
1345 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1346 + (exit $ac_status); } &&
1347 + { ac_try='test -z "$ac_c_werror_flag"
1348 + || test ! -s conftest.err'
1349 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1350 + (eval $ac_try) 2>&5
1352 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1353 + (exit $ac_status); }; } &&
1354 + { ac_try='test -s conftest.$ac_objext'
1355 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1356 + (eval $ac_try) 2>&5
1358 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1359 + (exit $ac_status); }; }; then
1362 + cat >conftest.$ac_ext <<_ACEOF
1365 +cat confdefs.h >>conftest.$ac_ext
1366 +cat >>conftest.$ac_ext <<_ACEOF
1367 +/* end confdefs.h. */
1368 +$ac_includes_default
1372 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) <= $ac_mid)];
1379 +rm -f conftest.$ac_objext
1380 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1381 + (eval $ac_compile) 2>conftest.er1
1383 + grep -v '^ *+' conftest.er1 >conftest.err
1384 + rm -f conftest.er1
1385 + cat conftest.err >&5
1386 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1387 + (exit $ac_status); } &&
1388 + { ac_try='test -z "$ac_c_werror_flag"
1389 + || test ! -s conftest.err'
1390 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1391 + (eval $ac_try) 2>&5
1393 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1394 + (exit $ac_status); }; } &&
1395 + { ac_try='test -s conftest.$ac_objext'
1396 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1397 + (eval $ac_try) 2>&5
1399 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1400 + (exit $ac_status); }; }; then
1401 + ac_hi=$ac_mid; break
1403 + echo "$as_me: failed program was:" >&5
1404 +sed 's/^/| /' conftest.$ac_ext >&5
1406 +ac_lo=`expr $ac_mid + 1`
1407 + if test $ac_lo -le $ac_mid; then
1411 + ac_mid=`expr 2 '*' $ac_mid + 1`
1413 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1416 + echo "$as_me: failed program was:" >&5
1417 +sed 's/^/| /' conftest.$ac_ext >&5
1419 +cat >conftest.$ac_ext <<_ACEOF
1422 +cat confdefs.h >>conftest.$ac_ext
1423 +cat >>conftest.$ac_ext <<_ACEOF
1424 +/* end confdefs.h. */
1425 +$ac_includes_default
1429 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) < 0)];
1436 +rm -f conftest.$ac_objext
1437 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1438 + (eval $ac_compile) 2>conftest.er1
1440 + grep -v '^ *+' conftest.er1 >conftest.err
1441 + rm -f conftest.er1
1442 + cat conftest.err >&5
1443 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1444 + (exit $ac_status); } &&
1445 + { ac_try='test -z "$ac_c_werror_flag"
1446 + || test ! -s conftest.err'
1447 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1448 + (eval $ac_try) 2>&5
1450 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1451 + (exit $ac_status); }; } &&
1452 + { ac_try='test -s conftest.$ac_objext'
1453 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1454 + (eval $ac_try) 2>&5
1456 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1457 + (exit $ac_status); }; }; then
1458 + ac_hi=-1 ac_mid=-1
1460 + cat >conftest.$ac_ext <<_ACEOF
1463 +cat confdefs.h >>conftest.$ac_ext
1464 +cat >>conftest.$ac_ext <<_ACEOF
1465 +/* end confdefs.h. */
1466 +$ac_includes_default
1470 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) >= $ac_mid)];
1477 +rm -f conftest.$ac_objext
1478 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1479 + (eval $ac_compile) 2>conftest.er1
1481 + grep -v '^ *+' conftest.er1 >conftest.err
1482 + rm -f conftest.er1
1483 + cat conftest.err >&5
1484 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1485 + (exit $ac_status); } &&
1486 + { ac_try='test -z "$ac_c_werror_flag"
1487 + || test ! -s conftest.err'
1488 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1489 + (eval $ac_try) 2>&5
1491 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1492 + (exit $ac_status); }; } &&
1493 + { ac_try='test -s conftest.$ac_objext'
1494 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1495 + (eval $ac_try) 2>&5
1497 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1498 + (exit $ac_status); }; }; then
1499 + ac_lo=$ac_mid; break
1501 + echo "$as_me: failed program was:" >&5
1502 +sed 's/^/| /' conftest.$ac_ext >&5
1504 +ac_hi=`expr '(' $ac_mid ')' - 1`
1505 + if test $ac_mid -le $ac_hi; then
1509 + ac_mid=`expr 2 '*' $ac_mid`
1511 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1514 + echo "$as_me: failed program was:" >&5
1515 +sed 's/^/| /' conftest.$ac_ext >&5
1519 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1521 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1522 +# Binary search between lo and hi bounds.
1523 +while test "x$ac_lo" != "x$ac_hi"; do
1524 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
1525 + cat >conftest.$ac_ext <<_ACEOF
1528 +cat confdefs.h >>conftest.$ac_ext
1529 +cat >>conftest.$ac_ext <<_ACEOF
1530 +/* end confdefs.h. */
1531 +$ac_includes_default
1535 +static int test_array [1 - 2 * !(((long) (sizeof (_int64))) <= $ac_mid)];
1542 +rm -f conftest.$ac_objext
1543 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1544 + (eval $ac_compile) 2>conftest.er1
1546 + grep -v '^ *+' conftest.er1 >conftest.err
1547 + rm -f conftest.er1
1548 + cat conftest.err >&5
1549 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1550 + (exit $ac_status); } &&
1551 + { ac_try='test -z "$ac_c_werror_flag"
1552 + || test ! -s conftest.err'
1553 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1554 + (eval $ac_try) 2>&5
1556 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1557 + (exit $ac_status); }; } &&
1558 + { ac_try='test -s conftest.$ac_objext'
1559 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1560 + (eval $ac_try) 2>&5
1562 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1563 + (exit $ac_status); }; }; then
1566 + echo "$as_me: failed program was:" >&5
1567 +sed 's/^/| /' conftest.$ac_ext >&5
1569 +ac_lo=`expr '(' $ac_mid ')' + 1`
1571 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1574 +?*) ac_cv_sizeof__int64=$ac_lo;;
1575 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (_int64), 77
1576 +See \`config.log' for more details." >&5
1577 +echo "$as_me: error: cannot compute sizeof (_int64), 77
1578 +See \`config.log' for more details." >&2;}
1579 + { (exit 1); exit 1; }; } ;;
1582 + if test "$cross_compiling" = yes; then
1583 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1584 +See \`config.log' for more details." >&5
1585 +echo "$as_me: error: cannot run test program while cross compiling
1586 +See \`config.log' for more details." >&2;}
1587 + { (exit 1); exit 1; }; }
1589 + cat >conftest.$ac_ext <<_ACEOF
1592 +cat confdefs.h >>conftest.$ac_ext
1593 +cat >>conftest.$ac_ext <<_ACEOF
1594 +/* end confdefs.h. */
1595 +$ac_includes_default
1596 +long longval () { return (long) (sizeof (_int64)); }
1597 +unsigned long ulongval () { return (long) (sizeof (_int64)); }
1599 +#include <stdlib.h>
1604 + FILE *f = fopen ("conftest.val", "w");
1607 + if (((long) (sizeof (_int64))) < 0)
1609 + long i = longval ();
1610 + if (i != ((long) (sizeof (_int64))))
1612 + fprintf (f, "%ld\n", i);
1616 + unsigned long i = ulongval ();
1617 + if (i != ((long) (sizeof (_int64))))
1619 + fprintf (f, "%lu\n", i);
1621 + exit (ferror (f) || fclose (f) != 0);
1627 +rm -f conftest$ac_exeext
1628 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1629 + (eval $ac_link) 2>&5
1631 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1632 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1633 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1634 + (eval $ac_try) 2>&5
1636 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1637 + (exit $ac_status); }; }; then
1638 + ac_cv_sizeof__int64=`cat conftest.val`
1640 + echo "$as_me: program exited with status $ac_status" >&5
1641 +echo "$as_me: failed program was:" >&5
1642 +sed 's/^/| /' conftest.$ac_ext >&5
1644 +( exit $ac_status )
1645 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (_int64), 77
1646 +See \`config.log' for more details." >&5
1647 +echo "$as_me: error: cannot compute sizeof (_int64), 77
1648 +See \`config.log' for more details." >&2;}
1649 + { (exit 1); exit 1; }; }
1651 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1656 + ac_cv_sizeof__int64=0
1659 +echo "$as_me:$LINENO: result: $ac_cv_sizeof__int64" >&5
1660 +echo "${ECHO_T}$ac_cv_sizeof__int64" >&6
1661 +cat >>confdefs.h <<_ACEOF
1662 +#define SIZEOF__INT64 $ac_cv_sizeof__int64
1666 +echo "$as_me:$LINENO: checking for long long" >&5
1667 +echo $ECHO_N "checking for long long... $ECHO_C" >&6
1668 +if test "${ac_cv_type_long_long+set}" = set; then
1669 + echo $ECHO_N "(cached) $ECHO_C" >&6
1671 + cat >conftest.$ac_ext <<_ACEOF
1674 +cat confdefs.h >>conftest.$ac_ext
1675 +cat >>conftest.$ac_ext <<_ACEOF
1676 +/* end confdefs.h. */
1677 +$ac_includes_default
1681 +if ((long long *) 0)
1683 +if (sizeof (long long))
1689 +rm -f conftest.$ac_objext
1690 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1691 + (eval $ac_compile) 2>conftest.er1
1693 + grep -v '^ *+' conftest.er1 >conftest.err
1694 + rm -f conftest.er1
1695 + cat conftest.err >&5
1696 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1697 + (exit $ac_status); } &&
1698 + { ac_try='test -z "$ac_c_werror_flag"
1699 + || test ! -s conftest.err'
1700 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1701 + (eval $ac_try) 2>&5
1703 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1704 + (exit $ac_status); }; } &&
1705 + { ac_try='test -s conftest.$ac_objext'
1706 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1707 + (eval $ac_try) 2>&5
1709 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1710 + (exit $ac_status); }; }; then
1711 + ac_cv_type_long_long=yes
1713 + echo "$as_me: failed program was:" >&5
1714 +sed 's/^/| /' conftest.$ac_ext >&5
1716 +ac_cv_type_long_long=no
1718 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1720 +echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
1721 +echo "${ECHO_T}$ac_cv_type_long_long" >&6
1723 +echo "$as_me:$LINENO: checking size of long long" >&5
1724 +echo $ECHO_N "checking size of long long... $ECHO_C" >&6
1725 +if test "${ac_cv_sizeof_long_long+set}" = set; then
1726 + echo $ECHO_N "(cached) $ECHO_C" >&6
1728 + if test "$ac_cv_type_long_long" = yes; then
1729 + # The cast to unsigned long works around a bug in the HP C Compiler
1730 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
1731 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
1732 + # This bug is HP SR number 8606223364.
1733 + if test "$cross_compiling" = yes; then
1734 + # Depending upon the size, compute the lo and hi bounds.
1735 +cat >conftest.$ac_ext <<_ACEOF
1738 +cat confdefs.h >>conftest.$ac_ext
1739 +cat >>conftest.$ac_ext <<_ACEOF
1740 +/* end confdefs.h. */
1741 +$ac_includes_default
1745 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
1752 +rm -f conftest.$ac_objext
1753 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1754 + (eval $ac_compile) 2>conftest.er1
1756 + grep -v '^ *+' conftest.er1 >conftest.err
1757 + rm -f conftest.er1
1758 + cat conftest.err >&5
1759 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1760 + (exit $ac_status); } &&
1761 + { ac_try='test -z "$ac_c_werror_flag"
1762 + || test ! -s conftest.err'
1763 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1764 + (eval $ac_try) 2>&5
1766 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1767 + (exit $ac_status); }; } &&
1768 + { ac_try='test -s conftest.$ac_objext'
1769 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1770 + (eval $ac_try) 2>&5
1772 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1773 + (exit $ac_status); }; }; then
1776 + cat >conftest.$ac_ext <<_ACEOF
1779 +cat confdefs.h >>conftest.$ac_ext
1780 +cat >>conftest.$ac_ext <<_ACEOF
1781 +/* end confdefs.h. */
1782 +$ac_includes_default
1786 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
1793 +rm -f conftest.$ac_objext
1794 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1795 + (eval $ac_compile) 2>conftest.er1
1797 + grep -v '^ *+' conftest.er1 >conftest.err
1798 + rm -f conftest.er1
1799 + cat conftest.err >&5
1800 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1801 + (exit $ac_status); } &&
1802 + { ac_try='test -z "$ac_c_werror_flag"
1803 + || test ! -s conftest.err'
1804 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1805 + (eval $ac_try) 2>&5
1807 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1808 + (exit $ac_status); }; } &&
1809 + { ac_try='test -s conftest.$ac_objext'
1810 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1811 + (eval $ac_try) 2>&5
1813 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814 + (exit $ac_status); }; }; then
1815 + ac_hi=$ac_mid; break
1817 + echo "$as_me: failed program was:" >&5
1818 +sed 's/^/| /' conftest.$ac_ext >&5
1820 +ac_lo=`expr $ac_mid + 1`
1821 + if test $ac_lo -le $ac_mid; then
1825 + ac_mid=`expr 2 '*' $ac_mid + 1`
1827 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1830 + echo "$as_me: failed program was:" >&5
1831 +sed 's/^/| /' conftest.$ac_ext >&5
1833 +cat >conftest.$ac_ext <<_ACEOF
1836 +cat confdefs.h >>conftest.$ac_ext
1837 +cat >>conftest.$ac_ext <<_ACEOF
1838 +/* end confdefs.h. */
1839 +$ac_includes_default
1843 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
1850 +rm -f conftest.$ac_objext
1851 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1852 + (eval $ac_compile) 2>conftest.er1
1854 + grep -v '^ *+' conftest.er1 >conftest.err
1855 + rm -f conftest.er1
1856 + cat conftest.err >&5
1857 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1858 + (exit $ac_status); } &&
1859 + { ac_try='test -z "$ac_c_werror_flag"
1860 + || test ! -s conftest.err'
1861 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1862 + (eval $ac_try) 2>&5
1864 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1865 + (exit $ac_status); }; } &&
1866 + { ac_try='test -s conftest.$ac_objext'
1867 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1868 + (eval $ac_try) 2>&5
1870 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1871 + (exit $ac_status); }; }; then
1872 + ac_hi=-1 ac_mid=-1
1874 + cat >conftest.$ac_ext <<_ACEOF
1877 +cat confdefs.h >>conftest.$ac_ext
1878 +cat >>conftest.$ac_ext <<_ACEOF
1879 +/* end confdefs.h. */
1880 +$ac_includes_default
1884 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
1891 +rm -f conftest.$ac_objext
1892 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1893 + (eval $ac_compile) 2>conftest.er1
1895 + grep -v '^ *+' conftest.er1 >conftest.err
1896 + rm -f conftest.er1
1897 + cat conftest.err >&5
1898 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1899 + (exit $ac_status); } &&
1900 + { ac_try='test -z "$ac_c_werror_flag"
1901 + || test ! -s conftest.err'
1902 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1903 + (eval $ac_try) 2>&5
1905 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 + (exit $ac_status); }; } &&
1907 + { ac_try='test -s conftest.$ac_objext'
1908 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1909 + (eval $ac_try) 2>&5
1911 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1912 + (exit $ac_status); }; }; then
1913 + ac_lo=$ac_mid; break
1915 + echo "$as_me: failed program was:" >&5
1916 +sed 's/^/| /' conftest.$ac_ext >&5
1918 +ac_hi=`expr '(' $ac_mid ')' - 1`
1919 + if test $ac_mid -le $ac_hi; then
1923 + ac_mid=`expr 2 '*' $ac_mid`
1925 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1928 + echo "$as_me: failed program was:" >&5
1929 +sed 's/^/| /' conftest.$ac_ext >&5
1933 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1935 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1936 +# Binary search between lo and hi bounds.
1937 +while test "x$ac_lo" != "x$ac_hi"; do
1938 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
1939 + cat >conftest.$ac_ext <<_ACEOF
1942 +cat confdefs.h >>conftest.$ac_ext
1943 +cat >>conftest.$ac_ext <<_ACEOF
1944 +/* end confdefs.h. */
1945 +$ac_includes_default
1949 +static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
1956 +rm -f conftest.$ac_objext
1957 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1958 + (eval $ac_compile) 2>conftest.er1
1960 + grep -v '^ *+' conftest.er1 >conftest.err
1961 + rm -f conftest.er1
1962 + cat conftest.err >&5
1963 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 + (exit $ac_status); } &&
1965 + { ac_try='test -z "$ac_c_werror_flag"
1966 + || test ! -s conftest.err'
1967 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1968 + (eval $ac_try) 2>&5
1970 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 + (exit $ac_status); }; } &&
1972 + { ac_try='test -s conftest.$ac_objext'
1973 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1974 + (eval $ac_try) 2>&5
1976 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977 + (exit $ac_status); }; }; then
1980 + echo "$as_me: failed program was:" >&5
1981 +sed 's/^/| /' conftest.$ac_ext >&5
1983 +ac_lo=`expr '(' $ac_mid ')' + 1`
1985 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
1988 +?*) ac_cv_sizeof_long_long=$ac_lo;;
1989 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
1990 +See \`config.log' for more details." >&5
1991 +echo "$as_me: error: cannot compute sizeof (long long), 77
1992 +See \`config.log' for more details." >&2;}
1993 + { (exit 1); exit 1; }; } ;;
1996 + if test "$cross_compiling" = yes; then
1997 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
1998 +See \`config.log' for more details." >&5
1999 +echo "$as_me: error: cannot run test program while cross compiling
2000 +See \`config.log' for more details." >&2;}
2001 + { (exit 1); exit 1; }; }
2003 + cat >conftest.$ac_ext <<_ACEOF
2006 +cat confdefs.h >>conftest.$ac_ext
2007 +cat >>conftest.$ac_ext <<_ACEOF
2008 +/* end confdefs.h. */
2009 +$ac_includes_default
2010 +long longval () { return (long) (sizeof (long long)); }
2011 +unsigned long ulongval () { return (long) (sizeof (long long)); }
2013 +#include <stdlib.h>
2018 + FILE *f = fopen ("conftest.val", "w");
2021 + if (((long) (sizeof (long long))) < 0)
2023 + long i = longval ();
2024 + if (i != ((long) (sizeof (long long))))
2026 + fprintf (f, "%ld\n", i);
2030 + unsigned long i = ulongval ();
2031 + if (i != ((long) (sizeof (long long))))
2033 + fprintf (f, "%lu\n", i);
2035 + exit (ferror (f) || fclose (f) != 0);
2041 +rm -f conftest$ac_exeext
2042 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2043 + (eval $ac_link) 2>&5
2045 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2047 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2048 + (eval $ac_try) 2>&5
2050 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 + (exit $ac_status); }; }; then
2052 + ac_cv_sizeof_long_long=`cat conftest.val`
2054 + echo "$as_me: program exited with status $ac_status" >&5
2055 +echo "$as_me: failed program was:" >&5
2056 +sed 's/^/| /' conftest.$ac_ext >&5
2058 +( exit $ac_status )
2059 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
2060 +See \`config.log' for more details." >&5
2061 +echo "$as_me: error: cannot compute sizeof (long long), 77
2062 +See \`config.log' for more details." >&2;}
2063 + { (exit 1); exit 1; }; }
2065 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2070 + ac_cv_sizeof_long_long=0
2073 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
2074 +echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
2075 +cat >>confdefs.h <<_ACEOF
2076 +#define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
2080 +echo "$as_me:$LINENO: checking for long" >&5
2081 +echo $ECHO_N "checking for long... $ECHO_C" >&6
2082 +if test "${ac_cv_type_long+set}" = set; then
2083 + echo $ECHO_N "(cached) $ECHO_C" >&6
2085 + cat >conftest.$ac_ext <<_ACEOF
2088 +cat confdefs.h >>conftest.$ac_ext
2089 +cat >>conftest.$ac_ext <<_ACEOF
2090 +/* end confdefs.h. */
2091 +$ac_includes_default
2103 +rm -f conftest.$ac_objext
2104 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2105 + (eval $ac_compile) 2>conftest.er1
2107 + grep -v '^ *+' conftest.er1 >conftest.err
2108 + rm -f conftest.er1
2109 + cat conftest.err >&5
2110 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2111 + (exit $ac_status); } &&
2112 + { ac_try='test -z "$ac_c_werror_flag"
2113 + || test ! -s conftest.err'
2114 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2115 + (eval $ac_try) 2>&5
2117 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 + (exit $ac_status); }; } &&
2119 + { ac_try='test -s conftest.$ac_objext'
2120 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2121 + (eval $ac_try) 2>&5
2123 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2124 + (exit $ac_status); }; }; then
2125 + ac_cv_type_long=yes
2127 + echo "$as_me: failed program was:" >&5
2128 +sed 's/^/| /' conftest.$ac_ext >&5
2132 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2134 +echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
2135 +echo "${ECHO_T}$ac_cv_type_long" >&6
2137 +echo "$as_me:$LINENO: checking size of long" >&5
2138 +echo $ECHO_N "checking size of long... $ECHO_C" >&6
2139 +if test "${ac_cv_sizeof_long+set}" = set; then
2140 + echo $ECHO_N "(cached) $ECHO_C" >&6
2142 + if test "$ac_cv_type_long" = yes; then
2143 + # The cast to unsigned long works around a bug in the HP C Compiler
2144 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
2145 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
2146 + # This bug is HP SR number 8606223364.
2147 + if test "$cross_compiling" = yes; then
2148 + # Depending upon the size, compute the lo and hi bounds.
2149 +cat >conftest.$ac_ext <<_ACEOF
2152 +cat confdefs.h >>conftest.$ac_ext
2153 +cat >>conftest.$ac_ext <<_ACEOF
2154 +/* end confdefs.h. */
2155 +$ac_includes_default
2159 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
2166 +rm -f conftest.$ac_objext
2167 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2168 + (eval $ac_compile) 2>conftest.er1
2170 + grep -v '^ *+' conftest.er1 >conftest.err
2171 + rm -f conftest.er1
2172 + cat conftest.err >&5
2173 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2174 + (exit $ac_status); } &&
2175 + { ac_try='test -z "$ac_c_werror_flag"
2176 + || test ! -s conftest.err'
2177 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178 + (eval $ac_try) 2>&5
2180 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 + (exit $ac_status); }; } &&
2182 + { ac_try='test -s conftest.$ac_objext'
2183 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184 + (eval $ac_try) 2>&5
2186 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 + (exit $ac_status); }; }; then
2190 + cat >conftest.$ac_ext <<_ACEOF
2193 +cat confdefs.h >>conftest.$ac_ext
2194 +cat >>conftest.$ac_ext <<_ACEOF
2195 +/* end confdefs.h. */
2196 +$ac_includes_default
2200 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
2207 +rm -f conftest.$ac_objext
2208 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2209 + (eval $ac_compile) 2>conftest.er1
2211 + grep -v '^ *+' conftest.er1 >conftest.err
2212 + rm -f conftest.er1
2213 + cat conftest.err >&5
2214 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 + (exit $ac_status); } &&
2216 + { ac_try='test -z "$ac_c_werror_flag"
2217 + || test ! -s conftest.err'
2218 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2219 + (eval $ac_try) 2>&5
2221 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 + (exit $ac_status); }; } &&
2223 + { ac_try='test -s conftest.$ac_objext'
2224 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2225 + (eval $ac_try) 2>&5
2227 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 + (exit $ac_status); }; }; then
2229 + ac_hi=$ac_mid; break
2231 + echo "$as_me: failed program was:" >&5
2232 +sed 's/^/| /' conftest.$ac_ext >&5
2234 +ac_lo=`expr $ac_mid + 1`
2235 + if test $ac_lo -le $ac_mid; then
2239 + ac_mid=`expr 2 '*' $ac_mid + 1`
2241 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2244 + echo "$as_me: failed program was:" >&5
2245 +sed 's/^/| /' conftest.$ac_ext >&5
2247 +cat >conftest.$ac_ext <<_ACEOF
2250 +cat confdefs.h >>conftest.$ac_ext
2251 +cat >>conftest.$ac_ext <<_ACEOF
2252 +/* end confdefs.h. */
2253 +$ac_includes_default
2257 +static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
2264 +rm -f conftest.$ac_objext
2265 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2266 + (eval $ac_compile) 2>conftest.er1
2268 + grep -v '^ *+' conftest.er1 >conftest.err
2269 + rm -f conftest.er1
2270 + cat conftest.err >&5
2271 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 + (exit $ac_status); } &&
2273 + { ac_try='test -z "$ac_c_werror_flag"
2274 + || test ! -s conftest.err'
2275 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 + (eval $ac_try) 2>&5
2278 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 + (exit $ac_status); }; } &&
2280 + { ac_try='test -s conftest.$ac_objext'
2281 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 + (eval $ac_try) 2>&5
2284 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 + (exit $ac_status); }; }; then
2286 + ac_hi=-1 ac_mid=-1
2288 + cat >conftest.$ac_ext <<_ACEOF
2291 +cat confdefs.h >>conftest.$ac_ext
2292 +cat >>conftest.$ac_ext <<_ACEOF
2293 +/* end confdefs.h. */
2294 +$ac_includes_default
2298 +static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
2305 +rm -f conftest.$ac_objext
2306 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2307 + (eval $ac_compile) 2>conftest.er1
2309 + grep -v '^ *+' conftest.er1 >conftest.err
2310 + rm -f conftest.er1
2311 + cat conftest.err >&5
2312 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 + (exit $ac_status); } &&
2314 + { ac_try='test -z "$ac_c_werror_flag"
2315 + || test ! -s conftest.err'
2316 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2317 + (eval $ac_try) 2>&5
2319 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2320 + (exit $ac_status); }; } &&
2321 + { ac_try='test -s conftest.$ac_objext'
2322 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2323 + (eval $ac_try) 2>&5
2325 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2326 + (exit $ac_status); }; }; then
2327 + ac_lo=$ac_mid; break
2329 + echo "$as_me: failed program was:" >&5
2330 +sed 's/^/| /' conftest.$ac_ext >&5
2332 +ac_hi=`expr '(' $ac_mid ')' - 1`
2333 + if test $ac_mid -le $ac_hi; then
2337 + ac_mid=`expr 2 '*' $ac_mid`
2339 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2342 + echo "$as_me: failed program was:" >&5
2343 +sed 's/^/| /' conftest.$ac_ext >&5
2347 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2349 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2350 +# Binary search between lo and hi bounds.
2351 +while test "x$ac_lo" != "x$ac_hi"; do
2352 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2353 + cat >conftest.$ac_ext <<_ACEOF
2356 +cat confdefs.h >>conftest.$ac_ext
2357 +cat >>conftest.$ac_ext <<_ACEOF
2358 +/* end confdefs.h. */
2359 +$ac_includes_default
2363 +static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
2370 +rm -f conftest.$ac_objext
2371 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2372 + (eval $ac_compile) 2>conftest.er1
2374 + grep -v '^ *+' conftest.er1 >conftest.err
2375 + rm -f conftest.er1
2376 + cat conftest.err >&5
2377 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 + (exit $ac_status); } &&
2379 + { ac_try='test -z "$ac_c_werror_flag"
2380 + || test ! -s conftest.err'
2381 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2382 + (eval $ac_try) 2>&5
2384 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2385 + (exit $ac_status); }; } &&
2386 + { ac_try='test -s conftest.$ac_objext'
2387 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2388 + (eval $ac_try) 2>&5
2390 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 + (exit $ac_status); }; }; then
2394 + echo "$as_me: failed program was:" >&5
2395 +sed 's/^/| /' conftest.$ac_ext >&5
2397 +ac_lo=`expr '(' $ac_mid ')' + 1`
2399 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2402 +?*) ac_cv_sizeof_long=$ac_lo;;
2403 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
2404 +See \`config.log' for more details." >&5
2405 +echo "$as_me: error: cannot compute sizeof (long), 77
2406 +See \`config.log' for more details." >&2;}
2407 + { (exit 1); exit 1; }; } ;;
2410 + if test "$cross_compiling" = yes; then
2411 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2412 +See \`config.log' for more details." >&5
2413 +echo "$as_me: error: cannot run test program while cross compiling
2414 +See \`config.log' for more details." >&2;}
2415 + { (exit 1); exit 1; }; }
2417 + cat >conftest.$ac_ext <<_ACEOF
2420 +cat confdefs.h >>conftest.$ac_ext
2421 +cat >>conftest.$ac_ext <<_ACEOF
2422 +/* end confdefs.h. */
2423 +$ac_includes_default
2424 +long longval () { return (long) (sizeof (long)); }
2425 +unsigned long ulongval () { return (long) (sizeof (long)); }
2427 +#include <stdlib.h>
2432 + FILE *f = fopen ("conftest.val", "w");
2435 + if (((long) (sizeof (long))) < 0)
2437 + long i = longval ();
2438 + if (i != ((long) (sizeof (long))))
2440 + fprintf (f, "%ld\n", i);
2444 + unsigned long i = ulongval ();
2445 + if (i != ((long) (sizeof (long))))
2447 + fprintf (f, "%lu\n", i);
2449 + exit (ferror (f) || fclose (f) != 0);
2455 +rm -f conftest$ac_exeext
2456 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2457 + (eval $ac_link) 2>&5
2459 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2460 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2461 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2462 + (eval $ac_try) 2>&5
2464 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 + (exit $ac_status); }; }; then
2466 + ac_cv_sizeof_long=`cat conftest.val`
2468 + echo "$as_me: program exited with status $ac_status" >&5
2469 +echo "$as_me: failed program was:" >&5
2470 +sed 's/^/| /' conftest.$ac_ext >&5
2472 +( exit $ac_status )
2473 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
2474 +See \`config.log' for more details." >&5
2475 +echo "$as_me: error: cannot compute sizeof (long), 77
2476 +See \`config.log' for more details." >&2;}
2477 + { (exit 1); exit 1; }; }
2479 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2484 + ac_cv_sizeof_long=0
2487 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
2488 +echo "${ECHO_T}$ac_cv_sizeof_long" >&6
2489 +cat >>confdefs.h <<_ACEOF
2490 +#define SIZEOF_LONG $ac_cv_sizeof_long
2494 +echo "$as_me:$LINENO: checking for void *" >&5
2495 +echo $ECHO_N "checking for void *... $ECHO_C" >&6
2496 +if test "${ac_cv_type_void_p+set}" = set; then
2497 + echo $ECHO_N "(cached) $ECHO_C" >&6
2499 + cat >conftest.$ac_ext <<_ACEOF
2502 +cat confdefs.h >>conftest.$ac_ext
2503 +cat >>conftest.$ac_ext <<_ACEOF
2504 +/* end confdefs.h. */
2505 +$ac_includes_default
2511 +if (sizeof (void *))
2517 +rm -f conftest.$ac_objext
2518 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2519 + (eval $ac_compile) 2>conftest.er1
2521 + grep -v '^ *+' conftest.er1 >conftest.err
2522 + rm -f conftest.er1
2523 + cat conftest.err >&5
2524 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525 + (exit $ac_status); } &&
2526 + { ac_try='test -z "$ac_c_werror_flag"
2527 + || test ! -s conftest.err'
2528 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529 + (eval $ac_try) 2>&5
2531 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2532 + (exit $ac_status); }; } &&
2533 + { ac_try='test -s conftest.$ac_objext'
2534 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535 + (eval $ac_try) 2>&5
2537 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2538 + (exit $ac_status); }; }; then
2539 + ac_cv_type_void_p=yes
2541 + echo "$as_me: failed program was:" >&5
2542 +sed 's/^/| /' conftest.$ac_ext >&5
2544 +ac_cv_type_void_p=no
2546 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2548 +echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
2549 +echo "${ECHO_T}$ac_cv_type_void_p" >&6
2551 +echo "$as_me:$LINENO: checking size of void *" >&5
2552 +echo $ECHO_N "checking size of void *... $ECHO_C" >&6
2553 +if test "${ac_cv_sizeof_void_p+set}" = set; then
2554 + echo $ECHO_N "(cached) $ECHO_C" >&6
2556 + if test "$ac_cv_type_void_p" = yes; then
2557 + # The cast to unsigned long works around a bug in the HP C Compiler
2558 + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
2559 + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
2560 + # This bug is HP SR number 8606223364.
2561 + if test "$cross_compiling" = yes; then
2562 + # Depending upon the size, compute the lo and hi bounds.
2563 +cat >conftest.$ac_ext <<_ACEOF
2566 +cat confdefs.h >>conftest.$ac_ext
2567 +cat >>conftest.$ac_ext <<_ACEOF
2568 +/* end confdefs.h. */
2569 +$ac_includes_default
2573 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
2580 +rm -f conftest.$ac_objext
2581 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2582 + (eval $ac_compile) 2>conftest.er1
2584 + grep -v '^ *+' conftest.er1 >conftest.err
2585 + rm -f conftest.er1
2586 + cat conftest.err >&5
2587 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2588 + (exit $ac_status); } &&
2589 + { ac_try='test -z "$ac_c_werror_flag"
2590 + || test ! -s conftest.err'
2591 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2592 + (eval $ac_try) 2>&5
2594 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2595 + (exit $ac_status); }; } &&
2596 + { ac_try='test -s conftest.$ac_objext'
2597 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2598 + (eval $ac_try) 2>&5
2600 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 + (exit $ac_status); }; }; then
2604 + cat >conftest.$ac_ext <<_ACEOF
2607 +cat confdefs.h >>conftest.$ac_ext
2608 +cat >>conftest.$ac_ext <<_ACEOF
2609 +/* end confdefs.h. */
2610 +$ac_includes_default
2614 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
2621 +rm -f conftest.$ac_objext
2622 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2623 + (eval $ac_compile) 2>conftest.er1
2625 + grep -v '^ *+' conftest.er1 >conftest.err
2626 + rm -f conftest.er1
2627 + cat conftest.err >&5
2628 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 + (exit $ac_status); } &&
2630 + { ac_try='test -z "$ac_c_werror_flag"
2631 + || test ! -s conftest.err'
2632 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2633 + (eval $ac_try) 2>&5
2635 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2636 + (exit $ac_status); }; } &&
2637 + { ac_try='test -s conftest.$ac_objext'
2638 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 + (eval $ac_try) 2>&5
2641 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2642 + (exit $ac_status); }; }; then
2643 + ac_hi=$ac_mid; break
2645 + echo "$as_me: failed program was:" >&5
2646 +sed 's/^/| /' conftest.$ac_ext >&5
2648 +ac_lo=`expr $ac_mid + 1`
2649 + if test $ac_lo -le $ac_mid; then
2653 + ac_mid=`expr 2 '*' $ac_mid + 1`
2655 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2658 + echo "$as_me: failed program was:" >&5
2659 +sed 's/^/| /' conftest.$ac_ext >&5
2661 +cat >conftest.$ac_ext <<_ACEOF
2664 +cat confdefs.h >>conftest.$ac_ext
2665 +cat >>conftest.$ac_ext <<_ACEOF
2666 +/* end confdefs.h. */
2667 +$ac_includes_default
2671 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
2678 +rm -f conftest.$ac_objext
2679 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2680 + (eval $ac_compile) 2>conftest.er1
2682 + grep -v '^ *+' conftest.er1 >conftest.err
2683 + rm -f conftest.er1
2684 + cat conftest.err >&5
2685 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686 + (exit $ac_status); } &&
2687 + { ac_try='test -z "$ac_c_werror_flag"
2688 + || test ! -s conftest.err'
2689 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 + (eval $ac_try) 2>&5
2692 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 + (exit $ac_status); }; } &&
2694 + { ac_try='test -s conftest.$ac_objext'
2695 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 + (eval $ac_try) 2>&5
2698 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 + (exit $ac_status); }; }; then
2700 + ac_hi=-1 ac_mid=-1
2702 + cat >conftest.$ac_ext <<_ACEOF
2705 +cat confdefs.h >>conftest.$ac_ext
2706 +cat >>conftest.$ac_ext <<_ACEOF
2707 +/* end confdefs.h. */
2708 +$ac_includes_default
2712 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
2719 +rm -f conftest.$ac_objext
2720 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2721 + (eval $ac_compile) 2>conftest.er1
2723 + grep -v '^ *+' conftest.er1 >conftest.err
2724 + rm -f conftest.er1
2725 + cat conftest.err >&5
2726 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2727 + (exit $ac_status); } &&
2728 + { ac_try='test -z "$ac_c_werror_flag"
2729 + || test ! -s conftest.err'
2730 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2731 + (eval $ac_try) 2>&5
2733 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 + (exit $ac_status); }; } &&
2735 + { ac_try='test -s conftest.$ac_objext'
2736 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2737 + (eval $ac_try) 2>&5
2739 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2740 + (exit $ac_status); }; }; then
2741 + ac_lo=$ac_mid; break
2743 + echo "$as_me: failed program was:" >&5
2744 +sed 's/^/| /' conftest.$ac_ext >&5
2746 +ac_hi=`expr '(' $ac_mid ')' - 1`
2747 + if test $ac_mid -le $ac_hi; then
2751 + ac_mid=`expr 2 '*' $ac_mid`
2753 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2756 + echo "$as_me: failed program was:" >&5
2757 +sed 's/^/| /' conftest.$ac_ext >&5
2761 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2763 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2764 +# Binary search between lo and hi bounds.
2765 +while test "x$ac_lo" != "x$ac_hi"; do
2766 + ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
2767 + cat >conftest.$ac_ext <<_ACEOF
2770 +cat confdefs.h >>conftest.$ac_ext
2771 +cat >>conftest.$ac_ext <<_ACEOF
2772 +/* end confdefs.h. */
2773 +$ac_includes_default
2777 +static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
2784 +rm -f conftest.$ac_objext
2785 +if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2786 + (eval $ac_compile) 2>conftest.er1
2788 + grep -v '^ *+' conftest.er1 >conftest.err
2789 + rm -f conftest.er1
2790 + cat conftest.err >&5
2791 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 + (exit $ac_status); } &&
2793 + { ac_try='test -z "$ac_c_werror_flag"
2794 + || test ! -s conftest.err'
2795 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2796 + (eval $ac_try) 2>&5
2798 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 + (exit $ac_status); }; } &&
2800 + { ac_try='test -s conftest.$ac_objext'
2801 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802 + (eval $ac_try) 2>&5
2804 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 + (exit $ac_status); }; }; then
2808 + echo "$as_me: failed program was:" >&5
2809 +sed 's/^/| /' conftest.$ac_ext >&5
2811 +ac_lo=`expr '(' $ac_mid ')' + 1`
2813 +rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2816 +?*) ac_cv_sizeof_void_p=$ac_lo;;
2817 +'') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
2818 +See \`config.log' for more details." >&5
2819 +echo "$as_me: error: cannot compute sizeof (void *), 77
2820 +See \`config.log' for more details." >&2;}
2821 + { (exit 1); exit 1; }; } ;;
2824 + if test "$cross_compiling" = yes; then
2825 + { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
2826 +See \`config.log' for more details." >&5
2827 +echo "$as_me: error: cannot run test program while cross compiling
2828 +See \`config.log' for more details." >&2;}
2829 + { (exit 1); exit 1; }; }
2831 + cat >conftest.$ac_ext <<_ACEOF
2834 +cat confdefs.h >>conftest.$ac_ext
2835 +cat >>conftest.$ac_ext <<_ACEOF
2836 +/* end confdefs.h. */
2837 +$ac_includes_default
2838 +long longval () { return (long) (sizeof (void *)); }
2839 +unsigned long ulongval () { return (long) (sizeof (void *)); }
2841 +#include <stdlib.h>
2846 + FILE *f = fopen ("conftest.val", "w");
2849 + if (((long) (sizeof (void *))) < 0)
2851 + long i = longval ();
2852 + if (i != ((long) (sizeof (void *))))
2854 + fprintf (f, "%ld\n", i);
2858 + unsigned long i = ulongval ();
2859 + if (i != ((long) (sizeof (void *))))
2861 + fprintf (f, "%lu\n", i);
2863 + exit (ferror (f) || fclose (f) != 0);
2869 +rm -f conftest$ac_exeext
2870 +if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2871 + (eval $ac_link) 2>&5
2873 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2874 + (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2875 + { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876 + (eval $ac_try) 2>&5
2878 + echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879 + (exit $ac_status); }; }; then
2880 + ac_cv_sizeof_void_p=`cat conftest.val`
2882 + echo "$as_me: program exited with status $ac_status" >&5
2883 +echo "$as_me: failed program was:" >&5
2884 +sed 's/^/| /' conftest.$ac_ext >&5
2886 +( exit $ac_status )
2887 +{ { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
2888 +See \`config.log' for more details." >&5
2889 +echo "$as_me: error: cannot compute sizeof (void *), 77
2890 +See \`config.log' for more details." >&2;}
2891 + { (exit 1); exit 1; }; }
2893 +rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2898 + ac_cv_sizeof_void_p=0
2901 +echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
2902 +echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
2903 +cat >>confdefs.h <<_ACEOF
2904 +#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
2909 + ac_config_files="$ac_config_files Makefile dos2unix/Makefile drmingw/Makefile pexports/Makefile redir/Makefile reimp/Makefile res2coff/Makefile scripts/Makefile scripts/a2dll scripts/dsw2mak unix2dos/Makefile"
2911 +cat >confcache <<\_ACEOF
2912 +# This file is a shell script that caches the results of configure
2913 +# tests run on this system so they can be shared between configure
2914 +# scripts and configure runs, see configure's option --config-cache.
2915 +# It is not useful on other systems. If it contains results you don't
2916 +# want to keep, you may remove or edit it.
2918 +# config.status only pays attention to the cache file if you give it
2919 +# the --recheck option to rerun configure.
2921 +# `ac_cv_env_foo' variables (set or unset) will be overridden when
2922 +# loading this file, other *unset* `ac_cv_foo' will be assigned the
2923 +# following values.
2927 # The following way of writing the cache mishandles newlines in values,
2928 # but we know of no workaround that is simple, portable, and efficient.
2929 # So, don't put newlines in cache variables' values.
2930 @@ -5021,6 +7010,27 @@
2931 Usually this means the macro was only invoked conditionally." >&2;}
2932 { (exit 1); exit 1; }; }
2934 +if test -z "${BUILD_DRMINGW_TRUE}" && test -z "${BUILD_DRMINGW_FALSE}"; then
2935 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRMINGW\" was never defined.
2936 +Usually this means the macro was only invoked conditionally." >&5
2937 +echo "$as_me: error: conditional \"BUILD_DRMINGW\" was never defined.
2938 +Usually this means the macro was only invoked conditionally." >&2;}
2939 + { (exit 1); exit 1; }; }
2941 +if test -z "${BUILD_REDIR_TRUE}" && test -z "${BUILD_REDIR_FALSE}"; then
2942 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_REDIR\" was never defined.
2943 +Usually this means the macro was only invoked conditionally." >&5
2944 +echo "$as_me: error: conditional \"BUILD_REDIR\" was never defined.
2945 +Usually this means the macro was only invoked conditionally." >&2;}
2946 + { (exit 1); exit 1; }; }
2948 +if test -z "${BUILD_RES2COFF_TRUE}" && test -z "${BUILD_RES2COFF_FALSE}"; then
2949 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_RES2COFF\" was never defined.
2950 +Usually this means the macro was only invoked conditionally." >&5
2951 +echo "$as_me: error: conditional \"BUILD_RES2COFF\" was never defined.
2952 +Usually this means the macro was only invoked conditionally." >&2;}
2953 + { (exit 1); exit 1; }; }
2955 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
2956 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
2957 Usually this means the macro was only invoked conditionally." >&5
2958 @@ -5042,6 +7052,13 @@
2959 Usually this means the macro was only invoked conditionally." >&2;}
2960 { (exit 1); exit 1; }; }
2962 +if test -z "${BUILD_DRMINGW_TRUE}" && test -z "${BUILD_DRMINGW_FALSE}"; then
2963 + { { echo "$as_me:$LINENO: error: conditional \"BUILD_DRMINGW\" was never defined.
2964 +Usually this means the macro was only invoked conditionally." >&5
2965 +echo "$as_me: error: conditional \"BUILD_DRMINGW\" was never defined.
2966 +Usually this means the macro was only invoked conditionally." >&2;}
2967 + { (exit 1); exit 1; }; }
2970 : ${CONFIG_STATUS=./config.status}
2971 ac_clean_files_save=$ac_clean_files
2972 @@ -5314,7 +7331,7 @@
2975 This file was extended by mingw-utils $as_me 0.3, which was
2976 -generated by GNU Autoconf 2.58. Invocation command line was
2977 +generated by GNU Autoconf 2.59. Invocation command line was
2979 CONFIG_FILES = $CONFIG_FILES
2980 CONFIG_HEADERS = $CONFIG_HEADERS
2981 @@ -5377,7 +7394,7 @@
2982 cat >>$CONFIG_STATUS <<_ACEOF
2984 mingw-utils config.status 0.3
2985 -configured by $0, generated by GNU Autoconf 2.58,
2986 +configured by $0, generated by GNU Autoconf 2.59,
2987 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2989 Copyright (C) 2003 Free Software Foundation, Inc.
2990 @@ -5595,17 +7612,26 @@
2991 s,@AUTOMAKE@,$AUTOMAKE,;t t
2992 s,@AUTOHEADER@,$AUTOHEADER,;t t
2993 s,@MAKEINFO@,$MAKEINFO,;t t
2994 -s,@AMTAR@,$AMTAR,;t t
2995 s,@install_sh@,$install_sh,;t t
2996 s,@STRIP@,$STRIP,;t t
2997 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
2998 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
2999 +s,@mkdir_p@,$mkdir_p,;t t
3001 s,@SET_MAKE@,$SET_MAKE,;t t
3002 s,@am__leading_dot@,$am__leading_dot,;t t
3003 +s,@AMTAR@,$AMTAR,;t t
3004 +s,@am__tar@,$am__tar,;t t
3005 +s,@am__untar@,$am__untar,;t t
3006 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
3007 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
3008 s,@MAINT@,$MAINT,;t t
3009 +s,@BUILD_DRMINGW_TRUE@,$BUILD_DRMINGW_TRUE,;t t
3010 +s,@BUILD_DRMINGW_FALSE@,$BUILD_DRMINGW_FALSE,;t t
3011 +s,@BUILD_REDIR_TRUE@,$BUILD_REDIR_TRUE,;t t
3012 +s,@BUILD_REDIR_FALSE@,$BUILD_REDIR_FALSE,;t t
3013 +s,@BUILD_RES2COFF_TRUE@,$BUILD_RES2COFF_TRUE,;t t
3014 +s,@BUILD_RES2COFF_FALSE@,$BUILD_RES2COFF_FALSE,;t t
3016 s,@CFLAGS@,$CFLAGS,;t t
3017 s,@LDFLAGS@,$LDFLAGS,;t t
3018 @@ -6262,27 +8288,21 @@
3022 - grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
3023 - # Extract the definition of DEP_FILES from the Makefile without
3025 - DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
3026 + # Extract the definition of DEPDIR, am__include, and am__quote
3027 + # from the Makefile without running `make'.
3028 + DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
3029 test -z "$DEPDIR" && continue
3030 + am__include=`sed -n 's/^am__include = //p' < "$mf"`
3031 + test -z "am__include" && continue
3032 + am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
3033 # When using ansi2knr, U may be empty or an underscore; expand it
3034 - U=`sed -n -e '/^U = / s///p' < "$mf"`
3035 - test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
3036 - # We invoke sed twice because it is the simplest approach to
3037 - # changing $(DEPDIR) to its actual value in the expansion.
3038 - for file in `sed -n -e '
3039 - /^DEP_FILES = .*\\\\$/ {
3048 - /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
3049 + U=`sed -n 's/^U = //p' < "$mf"`
3050 + # Find all dependency output files, they are included files with
3051 + # $(DEPDIR) in their names. We invoke sed twice because it is the
3052 + # simplest approach to changing $(DEPDIR) to its actual value in the
3054 + for file in `sed -n "
3055 + s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
3056 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
3057 # Make sure the directory exists.
3058 test -f "$dirpart/$file" && continue
3059 diff -ru ../release/mingw-utils-0.3/configure.ac ./configure.ac
3060 --- ../release/mingw-utils-0.3/configure.ac Tue Nov 25 11:24:13 2003
3061 +++ ./configure.ac Tue Aug 8 06:53:25 2006
3063 AM_CONFIG_HEADER(config.h)
3066 +AC_ARG_ENABLE(drmingw,
3067 + AS_HELP_STRING([--disable-drmingw],[Don't build drmingw (default is build)]),
3068 + [case "${enableval}" in
3069 + yes) build_drmingw=true ;;
3070 + no) build_drmingw=false ;;
3071 + *) AC_MSG_ERROR([--enable-drmingw argument must be yes or no, not "${enableval}"]) ;;
3073 + [build_drmingw=true])
3075 +AC_ARG_ENABLE(redir,
3076 + AS_HELP_STRING([--disable-redir],[Don't build redir (default is build)]),
3077 + [case "${enableval}" in
3078 + yes) build_redir=true ;;
3079 + no) build_redir=false ;;
3080 + *) AC_MSG_ERROR([--enable-redir argument must be yes or no, not "${enableval}"]) ;;
3082 + [build_redir=true])
3084 +AC_ARG_ENABLE(res2coff,
3085 + AS_HELP_STRING([--disable-res2coff],[Don't build res2coff (default is build)]),
3086 + [case "${enableval}" in
3087 + yes) build_res2coff=true ;;
3088 + no) build_res2coff=false ;;
3089 + *) AC_MSG_ERROR([--enable-res2coff argument must be yes or no, not "${enableval}"]) ;;
3091 + [build_res2coff=true])
3093 +AC_ARG_ENABLE(nonportable,
3094 + AS_HELP_STRING([--disable-nonportable],[shortcut for --disable-drmingw, --disable-redir and --disable-res2coff]),
3095 + [case "${enableval}" in
3096 + yes) build_drmingw=true
3098 + build_res2coff=true
3100 + no) build_res2coff=false
3102 + build_res2coff=false
3104 + *) AC_MSG_ERROR([--enable-nonportable argument must be yes or no, not "${enableval}"]) ;;
3106 + [build_res2coff=true])
3108 +AM_CONDITIONAL(BUILD_DRMINGW, [test "${build_drmingw}" = "true"])
3109 +AM_CONDITIONAL(BUILD_REDIR, [test "${build_redir}" = "true"])
3110 +AM_CONDITIONAL(BUILD_RES2COFF, [test "${build_res2coff}" = "true"])
3112 # Checks for programs.
3118 AC_ARG_VAR(WINDRES, [Windows Resource compiler tool path])
3119 -AC_PATH_TOOL(WINDRES,windres,
3120 - [AC_MSG_WARN(Could not find a windres tool in your PATH. Will not be able to compile drmingw.)]
3122 +AC_PATH_TOOL(WINDRES,windres)
3124 +if test -z "${WINDRES}"; then
3125 + AC_MSG_WARN([windres tool isn't in your PATH, drmingw can't be built!!])
3126 + AM_CONDITIONAL(BUILD_DRMINGW, false)
3131 # Checks for header files.
3134 +AC_CHECK_HEADERS([windows.h])
3136 where_toGet_utime_h='not found!'
3137 # this part is scrambled by autoconf. phooey. so we just cannot tell the user what we are doing.
3138 # AC_MSG_CHECKING([for whether utime.h is found as "utime.h" or "sys/utime.h"])
3140 # Checks for library functions.
3141 AC_CHECK_FUNCS(mkstemp mktemp, break)
3142 AC_CHECK_FUNCS(utime)
3144 +AC_CHECK_SIZEOF(_int64)
3145 +AC_CHECK_SIZEOF(long long)
3146 +AC_CHECK_SIZEOF(long)
3147 +AC_CHECK_SIZEOF(void *)
3151 diff -ru ../release/mingw-utils-0.3/dos2unix/Makefile.am ./dos2unix/Makefile.am
3152 --- ../release/mingw-utils-0.3/dos2unix/Makefile.am Wed Dec 4 07:07:55 2002
3153 +++ ./dos2unix/Makefile.am Tue Aug 8 07:18:14 2006
3155 doc_DATA = COPYING dos2unix.html
3157 dos2unix.html: dos2unix.1
3159 + man2html < $< > $@
3160 diff -ru ../release/mingw-utils-0.3/dos2unix/Makefile.in ./dos2unix/Makefile.in
3161 --- ../release/mingw-utils-0.3/dos2unix/Makefile.in Tue Nov 25 11:31:11 2003
3162 +++ ./dos2unix/Makefile.in Tue Aug 8 07:01:48 2006
3166 dos2unix.html: dos2unix.1
3168 + man2html < $< > $@
3169 # Tell versions [3.59,3.63) of GNU make to not export all variables.
3170 # Otherwise a system limit (for SysV at least) may be exceeded.
3172 diff -ru ../release/mingw-utils-0.3/pexports/pexports.c ./pexports/pexports.c
3173 --- ../release/mingw-utils-0.3/pexports/pexports.c Tue Nov 25 10:23:09 2003
3174 +++ ./pexports/pexports.c Tue Aug 8 06:53:25 2006
3178 /* get pointer to section header n */
3179 -#define IMAGE_SECTION_HDR(n) ((PIMAGE_SECTION_HEADER) ((DWORD) nt_hdr + \
3180 +#define IMAGE_SECTION_HDR(n) ((PIMAGE_SECTION_HEADER) ((ULONG_PTR) nt_hdr + \
3181 4 + sizeof(IMAGE_FILE_HEADER) + \
3182 nt_hdr->FileHeader.SizeOfOptionalHeader + \
3183 n * sizeof(IMAGE_SECTION_HEADER)))
3188 - nt_hdr = (PIMAGE_NT_HEADERS) ((DWORD) dos_hdr + dos_hdr->e_lfanew);
3189 + nt_hdr = (PIMAGE_NT_HEADERS) ((ULONG_PTR) dos_hdr + dos_hdr->e_lfanew);
3191 exp_rva = nt_hdr->OptionalHeader.DataDirectory[0].VirtualAddress;
3194 PIMAGE_EXPORT_DIRECTORY exports;
3196 PWORD ordinal_table;
3197 - char **name_table;
3198 + DWORD *name_table;
3199 DWORD *function_table;
3201 static int first = 1;
3203 /* set up various pointers */
3204 export_name = RVA_TO_PTR(exports->Name,char*);
3205 ordinal_table = RVA_TO_PTR(exports->AddressOfNameOrdinals,PWORD);
3206 - name_table = RVA_TO_PTR(exports->AddressOfNames,char**);
3207 + name_table = RVA_TO_PTR(exports->AddressOfNames,DWORD*);
3208 function_table = RVA_TO_PTR(exports->AddressOfFunctions,void*);
3211 @@ -297,14 +297,14 @@
3214 /* convert rva to pointer into loaded file */
3217 rva_to_ptr(DWORD rva)
3219 PIMAGE_SECTION_HEADER section = find_section(rva);
3220 if (section->PointerToRawData == 0)
3223 - return ((DWORD) dos_hdr + (DWORD) rva - (section->VirtualAddress - section->PointerToRawData));
3224 + return ((ULONG_PTR) dos_hdr + (DWORD) rva - (section->VirtualAddress - section->PointerToRawData));
3227 /* Load a portable executable into memory */
3228 diff -ru ../release/mingw-utils-0.3/pexports/pexports.h ./pexports/pexports.h
3229 --- ../release/mingw-utils-0.3/pexports/pexports.h Sun May 26 06:13:58 2002
3230 +++ ./pexports/pexports.h Tue Aug 8 06:53:25 2006
3232 #define VER_MINOR 43
3234 /* These are needed */
3235 -typedef unsigned short WORD;
3236 -typedef unsigned int DWORD;
3237 -typedef unsigned char BYTE;
3239 -typedef WORD *PWORD;
3240 -typedef DWORD *PDWORD;
3241 +typedef unsigned short WORD, *PWORD;
3242 +typedef unsigned char BYTE, *PBYTE;
3244 +#if SIZEOF_LONG == 4
3245 +typedef unsigned long DWORD, *PDWORD;
3246 +typedef long LONG, *PLONG;
3248 +typedef unsigned int DWORD, *PDWORD;
3249 +typedef int LONG, *PLONG;
3252 +#if SIZEOF_LONG == SIZEOF_VOID_P
3253 +typedef unsigned long ULONG_PTR;
3254 +#elif SIZEOF_LONG_LONG == SIZEOF_VOID_P
3255 +typedef unsigned long long ULONG_PTR;
3256 +#elif SIZEOF__INT64 == SIZEOF_VOID_P
3257 +typedef unsigned _int64 ULONG_PTR;
3259 +typedef unsigned int ULONG_PTR;
3263 typedef struct _IMAGE_DATA_DIRECTORY {
3266 DWORD NumberOfFunctions;
3267 DWORD NumberOfNames;
3268 - PDWORD *AddressOfFunctions;
3269 - PDWORD *AddressOfNames;
3270 - PWORD *AddressOfNameOrdinals;
3271 + DWORD AddressOfFunctions;
3272 + DWORD AddressOfNames;
3273 + DWORD AddressOfNameOrdinals;
3274 } IMAGE_EXPORT_DIRECTORY, *PIMAGE_EXPORT_DIRECTORY;
3276 typedef struct _IMAGE_DOS_HEADER {
3279 load_pe_image(const char *filename);
3283 rva_to_ptr(DWORD rva);
3286 diff -ru ../release/mingw-utils-0.3/reimp/ar.c ./reimp/ar.c
3287 --- ../release/mingw-utils-0.3/reimp/ar.c Wed Apr 10 09:39:07 2002
3288 +++ ./reimp/ar.c Tue Aug 8 06:53:25 2006
3290 if (fread (long_names, size, 1, f) != 1)
3291 error (0, "unexpected end-of-file\n");
3297 diff -ru ../release/mingw-utils-0.3/reimp/reimp.h ./reimp/reimp.h
3298 --- ../release/mingw-utils-0.3/reimp/reimp.h Wed Apr 10 09:39:07 2002
3299 +++ ./reimp/reimp.h Tue Aug 8 06:53:25 2006
3302 /* we need integers of specific sizes */
3304 -#define uint32 unsigned long
3305 +#define uint32 unsigned int
3309 diff -ru ../release/mingw-utils-0.3/scripts/a2dll.in ./scripts/a2dll.in
3310 --- ../release/mingw-utils-0.3/scripts/a2dll.in Sun May 26 06:13:58 2002
3311 +++ ./scripts/a2dll.in Tue Aug 8 06:53:25 2006
3316 +# Figure out where the script is located and then use that path as the location
3328 /usr/bin/mkdir -p .dll
3331 + ${SCRIPTDIR}/ar x ../$in
3336 echo Creating shared library \'$out\'
3338 -dllwrap --export-all -o ../$out `ls` $libs >../ld.err 2>&1
3339 +${SCRIPTDIR}/dllwrap --export-all -o ../$out `ls` $libs >../ld.err 2>&1
3342 if [ `wc ld.err|awk ' {print $1}' ` -gt 2 ]
3344 # 2. I just saw that dlltool lies about assembly-sourced files, it
3345 # lists their symbols as data
3347 - pexports $out >$base.def
3348 + ${SCRIPTDIR}/pexports $out >$base.def
3350 # create import library
3353 - dlltool --dllname $out --def $base.def --output-lib $in
3354 + ${SCRIPTDIR}/dlltool --dllname $out --def $base.def --output-lib $in
3356 # finally, we check whether dll exports data symbols
3357 # if yes, we suggest user on steps to perform
3359 - pexports $out | awk '/DATA/ { print $1}' >$out.data
3360 + ${SCRIPTDIR}/pexports $out | awk '/DATA/ { print $1}' >$out.data
3361 if test -s $out.data
3364 diff -ru ../release/mingw-utils-0.3/unix2dos/Makefile.am ./unix2dos/Makefile.am
3365 --- ../release/mingw-utils-0.3/unix2dos/Makefile.am Wed Dec 4 07:08:07 2002
3366 +++ ./unix2dos/Makefile.am Tue Aug 8 07:02:59 2006
3368 doc_DATA = COPYING unix2dos.html
3370 unix2dos.html: unix2dos.1
3372 + man2html < $< > $@
3373 diff -ru ../release/mingw-utils-0.3/unix2dos/Makefile.in ./unix2dos/Makefile.in
3374 --- ../release/mingw-utils-0.3/unix2dos/Makefile.in Tue Nov 25 11:31:12 2003
3375 +++ ./unix2dos/Makefile.in Tue Aug 8 07:02:48 2006
3379 unix2dos.html: unix2dos.1
3381 + man2html < $< > $@
3382 # Tell versions [3.59,3.63) of GNU make to not export all variables.
3383 # Otherwise a system limit (for SysV at least) may be exceeded.