Changeset 1391 for branches/GNU/src/gcc/fastjar
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (21 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 dir.info 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/fastjar/ChangeLog
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 2003-02-05 Release Manager 2 3 * GCC 3.2.2 Released. 4 5 2002-11-19 Release Manager 6 7 * GCC 3.2.1 Released. 8 9 2002-11-19 Release Manager 10 11 * GCC 3.2.1 Released. 12 13 2002-11-18 Release Manager 14 15 * GCC 3.2.1 Released. 1 2004-02-14 Release Manager 2 3 * GCC 3.3.3 Released. 4 5 2003-10-16 Release Manager 6 7 * GCC 3.3.2 Released. 8 9 2003-08-13 Matthias Klose <doko@debian.org> 10 11 * fastjar.texi: License manual under the GPL. 12 * Makefile.am: Remove reference to fdl.texi 13 * Makefile.in: Regenerate 14 15 2003-08-04 Release Manager 16 17 * GCC 3.3.1 Released. 18 19 2003-07-11 Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at> 20 21 * README: Note that FastJar is not part of GCC. 22 23 2003-05-13 Release Manager 24 25 * GCC 3.3 Released. 26 27 2003-03-30 Joseph S. Myers <jsm@polyomino.org.uk> 28 29 * fastjar.texi: Remove @ at start of file. 30 31 2003-03-10 Mohan Embar <gnustuff@thisiscool.com> 32 33 * dostime.c: add #include <stddef.h> for definition of NULL 34 35 2003-02-04 Joseph S. Myers <jsm@polyomino.org.uk> 36 37 * fastjar.texi: Update to GFDL 1.2. 38 39 2003-01-31 Daiki Ueno <ueno@unixuser.org> 40 41 * jartool.c (extract_jar): Don't lseek to skip extra fields. 42 (consume): If the stream is seekable, do lseek. 43 44 2003-01-28 Ranjit Mathew <rmathew@hotmail.com> 45 46 * jargrep.c: Include xregex.h from libiberty instead of 47 system regex.h for better portability. 48 49 2003-01-21 Ranjit Mathew <rmathew@hotmail.com> 50 51 * jartool.c (list_jar): Terminate the 'ascii_date' buffer 52 with a '\0' to guard against the case where the formatted 53 time string is more than the size allowed by the buffer. 54 55 2002-12-30 DJ Delorie <dj@redhat.com> 56 57 * Makefile.am (jar.1, grepjar.1): Protect against 58 texi2pod/pod2man failing. 59 * Makefile.in: Regenerated. 60 61 2002-12-23 Joseph S. Myers <jsm@polyomino.org.uk> 62 63 * fastjar.texi: Include Cover Texts in man page. 64 65 2002-12-04 Jakub Jelinek <jakub@redhat.com> 66 67 * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar). 68 69 2002-11-21 Ranjit Mathew <rmathew@hotmail.com> 70 71 * jartool.c (extract_jar): Use "open" with O_BINARY instead of 72 "creat" to create extracted files. 16 73 17 74 2002-11-11 Tom Tromey <tromey@redhat.com> … … 22 79 and day of month. 23 80 81 2002-11-10 Jakub Jelinek <jakub@redhat.com> 82 83 * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is 84 non-NULL. 85 86 * configure.in (AC_CHECK_HEADERS): Add limits.h. 87 * configure, config.h.in: Rebuilt. 88 24 89 2002-11-07 Tom Tromey <tromey@redhat.com> 25 90 … … 27 92 * dostime.h (dostime): Removed. 28 93 29 2002-08-14 Release Manager 30 31 * GCC 3.2 Released. 32 33 2002-07-25 Release Manager 34 35 * GCC 3.1.1 Released. 36 37 2002-05-14 Release Manager 38 39 * GCC 3.1 Released. 40 41 2002-05-14 Release Manager 42 43 * GCC 3.1 Released. 94 2002-10-20 Tom Tromey <tromey@redhat.com> 95 96 * jartool.c: Use mode 0666 when opening new file. 97 98 2002-10-15 Ranjit Mathew <rmathew@hotmail.com> 99 100 * configure, config.h.in: Rebuilt. 101 * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG. 102 103 2002-09-11 Tom Tromey <tromey@redhat.com> 104 105 * Makefile.in: Rebuilt. 106 * Makefile.am (TEXINFO_TEX): New macro. 107 (info_TEXINFOS): Likewise. 108 (fastjar_TEXINFOS): Likewise. 109 (man_MANS): Likewise. 110 (EXTRA_DIST): Likewise. 111 (my_makei_flags): Likewise. 112 (fastjar.info): New rule. 113 (fastjar_TEXINFOS): Don't mention `$(srcdir)'. 114 (TEXINFO_TEX): Likewise. 115 (AUTOMAKE_OPTIONS): Added `cygnus'. 116 117 2002-09-11 Matthias Klose <doko@debian.org> 118 119 * Makefile.am: Revert the previous patch. 120 * Makefile.in: Regenerated. 121 122 2002-09-10 Matthias Klose <doko@debian.org> 123 124 * fastjar.texi: New. 125 * Makefile.am: Support building info docs and manpages. 126 * Makefile.in: Regenerated. 127 * configure.in: Set gcc_version. 128 * configure: Regenerated. 129 * jargrep.c: Update usage and help strings. 130 131 2002-09-09 Tom Tromey <tromey@redhat.com> 132 133 * jartool.c (mkdir): Define. 134 * config.h.in: Rebuilt. 135 * aclocal.m4, configure: Rebuilt. 136 * acinclude.m4: New file. Copied gcc_AC_COMPILE_CHECK_SIZEOF, 137 gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from 138 aclocal.m4. 139 140 2002-09-04 Tom Tromey <tromey@redhat.com> 141 142 From greenrd@hotmail.com: 143 * jartool.c (list_jar): Correctly determine when new `filename' 144 buffer must be allocated. Fixes PR java/7830. 145 146 2002-06-03 Geoffrey Keating <geoffk@redhat.com> 147 148 * configure.in: Support cross-compiling. 149 * configure: Regenerate. 150 * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New. 151 (gcc_AC_EXAMINE_OBJECT): New. 152 (fastjar_AC_COMPILE_C_BIGENDIAN): New. 44 153 45 154 2002-03-18 Bryce McKinlay <bryce@waitaki.otago.ac.nz> -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/Makefile.am
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 58 58 59 59 AM_CFLAGS = @fastjar_warn_cflags@ 60 61 TEXINFO_TEX = ../gcc/doc/include/texinfo.tex 62 info_TEXINFOS = fastjar.texi 63 fastjar_TEXINFOS = \ 64 ../gcc/doc/include/gcc-common.texi \ 65 ../gcc/doc/include/gpl.texi 66 man_MANS = jar.1 grepjar.1 67 EXTRA_DIST = $(man_MANS) 68 69 ## This is a hack. We can't set AM_MAKEINFOFLAGS, since that isn't 70 ## available in 1.4. Nor can we override or append to MAKEINFO or 71 ## MAKEINFOFLAGS, since these are overridden by the top-level 72 ## Makefile. So, we just duplicate the rules. FIXME: remove this 73 ## when we upgrade automake. Note that we don't include $(srcdir) in 74 ## my_makei_flags; makeinfo is run in srcdir. 75 my_makei_flags += -I ../gcc/doc/include 76 fastjar.info: fastjar.texi $(fastjar_TEXINFOS) 77 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] 78 cd $(srcdir) \ 79 && $(MAKEINFO) $(my_makei_flags) `echo $< | sed 's,.*/,,'` 80 81 82 TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl 83 POD2MAN = pod2man --center="GNU" --release="gcc-@gcc_version@" 84 85 $(srcdir)/jar.1: $(srcdir)/fastjar.texi 86 -$(TEXI2POD) -D jar < $(srcdir)/fastjar.texi > fastjar.pod 87 -($(POD2MAN) --section=1 fastjar.pod > jar.1.T$$$$ && \ 88 mv -f jar.1.T$$$$ $(srcdir)/jar.1) || \ 89 (rm -f jar.1.T$$$$ && exit 1) 90 -rm -f fastjar.pod 91 92 $(srcdir)/grepjar.1: $(srcdir)/fastjar.texi 93 -$(TEXI2POD) -D grepjar < $(srcdir)/fastjar.texi > grepjar.pod 94 -($(POD2MAN) --section=1 grepjar.pod > grepjar.1.T$$$$ && \ 95 mv -f grepjar.1.T$$$$ $(srcdir)/grepjar.1) || \ 96 (rm -f grepjar.1.T$$$$ && exit 1) 97 -rm -f grepjar.pod -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/Makefile.in
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 # Makefile.in generated automatically by automake 1.4 from Makefile.am2 3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.1 # Makefile.in generated automatically by automake 1.4-p6 from Makefile.am 2 3 # Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc. 4 4 # This Makefile.in is free software; the Free Software Foundation 5 5 # gives unlimited permission to copy and/or distribute it, … … 74 74 ZLIBS = @ZLIBS@ 75 75 fastjar_warn_cflags = @fastjar_warn_cflags@ 76 gcc_version = @gcc_version@ 76 77 77 78 AUTOMAKE_OPTIONS = no-dependencies … … 80 81 # values defined in terms of make variables, as is the case for CC and 81 82 # friends when we are called from the top level Makefile. 82 AM_MAKEFLAGS = \ 83 "AR_FLAGS=$(AR_FLAGS)" \ 84 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \ 85 "CFLAGS=$(CFLAGS)" \ 86 "CXXFLAGS=$(CXXFLAGS)" \ 87 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \ 88 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \ 89 "INSTALL=$(INSTALL)" \ 90 "INSTALL_DATA=$(INSTALL_DATA)" \ 91 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ 92 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \ 93 "JC1FLAGS=$(JC1FLAGS)" \ 94 "LDFLAGS=$(LDFLAGS)" \ 95 "LIBCFLAGS=$(LIBCFLAGS)" \ 96 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \ 97 "MAKE=$(MAKE)" \ 98 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \ 99 "PICFLAG=$(PICFLAG)" \ 100 "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \ 101 "SHELL=$(SHELL)" \ 102 "exec_prefix=$(exec_prefix)" \ 103 "infodir=$(infodir)" \ 104 "libdir=$(libdir)" \ 105 "prefix=$(prefix)" \ 106 "AR=$(AR)" \ 107 "AS=$(AS)" \ 108 "CC=$(CC)" \ 109 "CXX=$(CXX)" \ 110 "LD=$(LD)" \ 111 "LIBCFLAGS=$(LIBCFLAGS)" \ 112 "NM=$(NM)" \ 113 "PICFLAG=$(PICFLAG)" \ 114 "RANLIB=$(RANLIB)" \ 115 "DESTDIR=$(DESTDIR)" 83 AM_MAKEFLAGS = "AR_FLAGS=$(AR_FLAGS)" "CC_FOR_BUILD=$(CC_FOR_BUILD)" "CFLAGS=$(CFLAGS)" "CXXFLAGS=$(CXXFLAGS)" "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" "INSTALL=$(INSTALL)" "INSTALL_DATA=$(INSTALL_DATA)" "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" "JC1FLAGS=$(JC1FLAGS)" "LDFLAGS=$(LDFLAGS)" "LIBCFLAGS=$(LIBCFLAGS)" "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" "MAKE=$(MAKE)" "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" "PICFLAG=$(PICFLAG)" "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" "SHELL=$(SHELL)" "exec_prefix=$(exec_prefix)" "infodir=$(infodir)" "libdir=$(libdir)" "prefix=$(prefix)" "AR=$(AR)" "AS=$(AS)" "CC=$(CC)" "CXX=$(CXX)" "LD=$(LD)" "LIBCFLAGS=$(LIBCFLAGS)" "NM=$(NM)" "PICFLAG=$(PICFLAG)" "RANLIB=$(RANLIB)" "DESTDIR=$(DESTDIR)" 116 84 117 85 … … 121 89 122 90 bin_PROGRAMS = jar grepjar 123 jar_SOURCES = jartool.c dostime.c compress.c pushback.c jartool.h \ 124 zipfile.h dostime.h compress.h pushback.h 91 jar_SOURCES = jartool.c dostime.c compress.c pushback.c jartool.h zipfile.h dostime.h compress.h pushback.h 125 92 126 93 jar_LDADD = $(ZLIBS) $(LIBIBERTY) 127 94 jar_DEPENDENCIES = $(ZDEPS) $(LIBIBERTY) 128 95 129 grepjar_SOURCES = jargrep.c dostime.c compress.c pushback.c jartool.h \ 130 zipfile.h dostime.h compress.h pushback.h 96 grepjar_SOURCES = jargrep.c dostime.c compress.c pushback.c jartool.h zipfile.h dostime.h compress.h pushback.h 131 97 132 98 grepjar_LDADD = $(ZLIBS) $(LIBIBERTY) … … 134 100 135 101 AM_CFLAGS = @fastjar_warn_cflags@ 102 103 TEXINFO_TEX = ../gcc/doc/include/texinfo.tex 104 info_TEXINFOS = fastjar.texi 105 fastjar_TEXINFOS = ../gcc/doc/include/gcc-common.texi ../gcc/doc/include/gpl.texi 106 107 man_MANS = jar.1 grepjar.1 108 EXTRA_DIST = $(man_MANS) 109 110 my_makei_flags = -I ../gcc/doc/include 111 112 TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl 113 POD2MAN = pod2man --center="GNU" --release="gcc-@gcc_version@" 136 114 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 137 115 mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs … … 154 132 CCLD = $(CC) 155 133 LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ 156 DIST_COMMON = README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \ 157 Makefile.am Makefile.in NEWS aclocal.m4 config.h.in configure \ 158 configure.in install-defs.sh.in install-sh missing mkinstalldirs 134 TEXI2DVI = texi2dvi 135 INFO_DEPS = fastjar.info 136 DVIS = fastjar.dvi 137 TEXINFOS = fastjar.texi 138 man1dir = $(mandir)/man1 139 MANS = $(man_MANS) 140 141 NROFF = nroff 142 DIST_COMMON = README $(fastjar_TEXINFOS) ./stamp-h.in AUTHORS COPYING \ 143 ChangeLog INSTALL Makefile.am Makefile.in NEWS acinclude.m4 aclocal.m4 \ 144 config.h.in configure configure.in install-defs.sh.in install-sh \ 145 missing mkinstalldirs 159 146 160 147 … … 168 155 all: all-redirect 169 156 .SUFFIXES: 170 .SUFFIXES: .S .c . o .s157 .SUFFIXES: .S .c .dvi .info .o .ps .s .texi .texinfo .txi 171 158 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4) 172 159 cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile … … 176 163 && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status 177 164 178 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in 165 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4 179 166 cd $(srcdir) && $(ACLOCAL) 180 167 … … 266 253 $(LINK) $(grepjar_LDFLAGS) $(grepjar_OBJECTS) $(grepjar_LDADD) $(LIBS) 267 254 255 fastjar.info: fastjar.texi $(fastjar_TEXINFOS) 256 fastjar.dvi: fastjar.texi $(fastjar_TEXINFOS) 257 258 259 DVIPS = dvips 260 261 .texi.info: 262 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] 263 cd $(srcdir) \ 264 && $(MAKEINFO) `echo $< | sed 's,.*/,,'` 265 266 .texi.dvi: 267 TEXINPUTS=$(srcdir)/../gcc/doc/include:$$TEXINPUTS \ 268 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< 269 270 .texi: 271 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] 272 cd $(srcdir) \ 273 && $(MAKEINFO) `echo $< | sed 's,.*/,,'` 274 275 .texinfo.info: 276 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] 277 cd $(srcdir) \ 278 && $(MAKEINFO) `echo $< | sed 's,.*/,,'` 279 280 .texinfo: 281 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] 282 cd $(srcdir) \ 283 && $(MAKEINFO) `echo $< | sed 's,.*/,,'` 284 285 .texinfo.dvi: 286 TEXINPUTS=$(srcdir)/../gcc/doc/include:$$TEXINPUTS \ 287 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< 288 289 .txi.info: 290 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] 291 cd $(srcdir) \ 292 && $(MAKEINFO) `echo $< | sed 's,.*/,,'` 293 294 .txi.dvi: 295 TEXINPUTS=$(srcdir)/../gcc/doc/include:$$TEXINPUTS \ 296 MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $< 297 298 .txi: 299 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] 300 cd $(srcdir) \ 301 && $(MAKEINFO) `echo $< | sed 's,.*/,,'` 302 .dvi.ps: 303 $(DVIPS) $< -o $@ 304 305 install-info-am: $(INFO_DEPS) 306 @$(NORMAL_INSTALL) 307 $(mkinstalldirs) $(DESTDIR)$(infodir) 308 @list='$(INFO_DEPS)'; \ 309 for file in $$list; do \ 310 d=$(srcdir); \ 311 for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \ 312 if test -f $$d/$$ifile; then \ 313 echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \ 314 $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \ 315 else : ; fi; \ 316 done; \ 317 done 318 @$(POST_INSTALL) 319 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ 320 list='$(INFO_DEPS)'; \ 321 for file in $$list; do \ 322 echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\ 323 install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\ 324 done; \ 325 else : ; fi 326 327 uninstall-info: 328 $(PRE_UNINSTALL) 329 @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \ 330 ii=yes; \ 331 else ii=; fi; \ 332 list='$(INFO_DEPS)'; \ 333 for file in $$list; do \ 334 test -z "$$ii" \ 335 || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ 336 done 337 @$(NORMAL_UNINSTALL) 338 list='$(INFO_DEPS)'; \ 339 for file in $$list; do \ 340 (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \ 341 done 342 343 dist-info: $(INFO_DEPS) 344 list='$(INFO_DEPS)'; \ 345 for base in $$list; do \ 346 d=$(srcdir); \ 347 for file in `cd $$d && eval echo $$base*`; do \ 348 test -f $(distdir)/$$file \ 349 || ln $$d/$$file $(distdir)/$$file 2> /dev/null \ 350 || cp -p $$d/$$file $(distdir)/$$file; \ 351 done; \ 352 done 353 354 mostlyclean-aminfo: 355 -rm -f fastjar.aux fastjar.cp fastjar.cps fastjar.dvi fastjar.fn \ 356 fastjar.fns fastjar.ky fastjar.kys fastjar.ps fastjar.log \ 357 fastjar.pg fastjar.toc fastjar.tp fastjar.tps fastjar.vr \ 358 fastjar.vrs fastjar.op fastjar.tr fastjar.cv fastjar.cn 359 360 clean-aminfo: 361 362 distclean-aminfo: 363 364 maintainer-clean-aminfo: 365 cd $(srcdir) && for i in $(INFO_DEPS); do \ 366 rm -f $$i; \ 367 if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \ 368 rm -f $$i-[0-9]*; \ 369 fi; \ 370 done 371 372 install-man1: 373 $(mkinstalldirs) $(DESTDIR)$(man1dir) 374 @list='$(man1_MANS)'; \ 375 l2='$(man_MANS)'; for i in $$l2; do \ 376 case "$$i" in \ 377 *.1*) list="$$list $$i" ;; \ 378 esac; \ 379 done; \ 380 for i in $$list; do \ 381 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \ 382 else file=$$i; fi; \ 383 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 384 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ 385 inst=`echo $$inst | sed '$(transform)'`.$$ext; \ 386 echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \ 387 $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \ 388 done 389 390 uninstall-man1: 391 @list='$(man1_MANS)'; \ 392 l2='$(man_MANS)'; for i in $$l2; do \ 393 case "$$i" in \ 394 *.1*) list="$$list $$i" ;; \ 395 esac; \ 396 done; \ 397 for i in $$list; do \ 398 ext=`echo $$i | sed -e 's/^.*\\.//'`; \ 399 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \ 400 inst=`echo $$inst | sed '$(transform)'`.$$ext; \ 401 echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \ 402 rm -f $(DESTDIR)$(man1dir)/$$inst; \ 403 done 404 install-man: $(MANS) 405 @$(NORMAL_INSTALL) 406 $(MAKE) $(AM_MAKEFLAGS) install-man1 407 uninstall-man: 408 @$(NORMAL_UNINSTALL) 409 $(MAKE) $(AM_MAKEFLAGS) uninstall-man1 410 268 411 tags: TAGS 269 412 … … 284 427 END { for (i in files) print i; }'`; \ 285 428 test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \ 286 || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)429 || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)) 287 430 288 431 mostlyclean-tags: … … 336 479 d=$(srcdir); \ 337 480 if test -d $$d/$$file; then \ 338 cp -pr $$ /$$file $(distdir)/$$file; \481 cp -pr $$d/$$file $(distdir)/$$file; \ 339 482 else \ 340 483 test -f $(distdir)/$$file \ … … 343 486 fi; \ 344 487 done 345 info-am: 488 $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info 489 info-am: $(INFO_DEPS) 346 490 info: info-am 347 dvi-am: 491 dvi-am: $(DVIS) 348 492 dvi: dvi-am 349 493 check-am: all-am … … 357 501 install-exec: install-exec-am 358 502 359 install-data-am: 503 install-data-am: install-info-am install-man 360 504 install-data: install-data-am 361 505 … … 363 507 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am 364 508 install: install-am 365 uninstall-am: uninstall-binPROGRAMS 509 uninstall-am: uninstall-binPROGRAMS uninstall-info uninstall-man 366 510 uninstall: uninstall-am 367 all-am: Makefile $( PROGRAMS) config.h511 all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) config.h 368 512 all-redirect: all-am 369 513 install-strip: 370 514 $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install 371 515 installdirs: 372 $(mkinstalldirs) $(DESTDIR)$(bindir) 516 $(mkinstalldirs) $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \ 517 $(DESTDIR)$(mandir)/man1 373 518 374 519 … … 383 528 maintainer-clean-generic: 384 529 mostlyclean-am: mostlyclean-hdr mostlyclean-binPROGRAMS \ 385 mostlyclean-compile mostlyclean- tags \530 mostlyclean-compile mostlyclean-aminfo mostlyclean-tags \ 386 531 mostlyclean-generic 387 532 388 533 mostlyclean: mostlyclean-am 389 534 390 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean- tags\391 clean- generic mostlyclean-am535 clean-am: clean-hdr clean-binPROGRAMS clean-compile clean-aminfo \ 536 clean-tags clean-generic mostlyclean-am 392 537 393 538 clean: clean-am 394 539 395 540 distclean-am: distclean-hdr distclean-binPROGRAMS distclean-compile \ 396 distclean-tags distclean-generic clean-am 541 distclean-aminfo distclean-tags distclean-generic \ 542 clean-am 397 543 398 544 distclean: distclean-am … … 400 546 401 547 maintainer-clean-am: maintainer-clean-hdr maintainer-clean-binPROGRAMS \ 402 maintainer-clean-compile maintainer-clean-tags \ 403 maintainer-clean-generic distclean-am 548 maintainer-clean-compile maintainer-clean-aminfo \ 549 maintainer-clean-tags maintainer-clean-generic \ 550 distclean-am 404 551 @echo "This command is intended for maintainers to use;" 405 552 @echo "it deletes files that may require special tools to rebuild." … … 412 559 maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \ 413 560 mostlyclean-compile distclean-compile clean-compile \ 414 maintainer-clean-compile tags mostlyclean-tags distclean-tags \ 415 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \ 416 check-am installcheck-am installcheck all-recursive-am install-exec-am \ 561 maintainer-clean-compile install-info-am uninstall-info \ 562 mostlyclean-aminfo distclean-aminfo clean-aminfo \ 563 maintainer-clean-aminfo install-man1 uninstall-man1 install-man \ 564 uninstall-man tags mostlyclean-tags distclean-tags clean-tags \ 565 maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \ 566 installcheck-am installcheck all-recursive-am install-exec-am \ 417 567 install-exec install-data-am install-data install-am install \ 418 568 uninstall-am uninstall all-redirect all-am all installdirs \ … … 420 570 maintainer-clean-generic clean mostlyclean distclean maintainer-clean 421 571 572 fastjar.info: fastjar.texi $(fastjar_TEXINFOS) 573 @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9] 574 cd $(srcdir) \ 575 && $(MAKEINFO) $(my_makei_flags) `echo $< | sed 's,.*/,,'` 576 577 $(srcdir)/jar.1: $(srcdir)/fastjar.texi 578 -$(TEXI2POD) -D jar < $(srcdir)/fastjar.texi > fastjar.pod 579 -($(POD2MAN) --section=1 fastjar.pod > jar.1.T$$$$ && \ 580 mv -f jar.1.T$$$$ $(srcdir)/jar.1) || \ 581 (rm -f jar.1.T$$$$ && exit 1) 582 -rm -f fastjar.pod 583 584 $(srcdir)/grepjar.1: $(srcdir)/fastjar.texi 585 -$(TEXI2POD) -D grepjar < $(srcdir)/fastjar.texi > grepjar.pod 586 -($(POD2MAN) --section=1 grepjar.pod > grepjar.1.T$$$$ && \ 587 mv -f grepjar.1.T$$$$ $(srcdir)/grepjar.1) || \ 588 (rm -f grepjar.1.T$$$$ && exit 1) 589 -rm -f grepjar.pod 422 590 423 591 # Tell versions [3.59,3.63) of GNU make to not export all variables. -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/README
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 This directory contains the FastJar package, which is not part of GCC but 2 shipped with GCC as convenience. 3 1 4 ======= 2 5 FastJar 0.90 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/aclocal.m4
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 10 10 dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A 11 11 dnl PARTICULAR PURPOSE. 12 13 14 dnl Host type sizes probe. 15 dnl By Kaveh R. Ghazi. One typo fixed since. 16 dnl 17 AC_DEFUN([gcc_AC_COMPILE_CHECK_SIZEOF], 18 [changequote(<<, >>)dnl 19 dnl The name to #define. 20 define(<<AC_TYPE_NAME>>, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl 21 dnl The cache variable name. 22 define(<<AC_CV_NAME>>, translit(ac_cv_sizeof_$1, [ *], [_p]))dnl 23 changequote([, ])dnl 24 AC_MSG_CHECKING(size of $1) 25 AC_CACHE_VAL(AC_CV_NAME, 26 [for ac_size in 4 8 1 2 16 $3 ; do # List sizes in rough order of prevalence. 27 AC_TRY_COMPILE([#include "confdefs.h" 28 #include <sys/types.h> 29 $2 30 ], [switch (0) case 0: case (sizeof ($1) == $ac_size):;], AC_CV_NAME=$ac_size) 31 if test x$AC_CV_NAME != x ; then break; fi 32 done 33 ]) 34 if test x$AC_CV_NAME = x ; then 35 AC_MSG_ERROR([cannot determine a size for $1]) 36 fi 37 AC_MSG_RESULT($AC_CV_NAME) 38 AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [The number of bytes in type $1]) 39 undefine([AC_TYPE_NAME])dnl 40 undefine([AC_CV_NAME])dnl 41 ]) 42 43 dnl Utility macro used by next two tests. 44 dnl AC_EXAMINE_OBJECT(C source code, 45 dnl commands examining object file, 46 dnl [commands to run if compile failed]): 47 dnl 48 dnl Compile the source code to an object file; then convert it into a 49 dnl printable representation. All unprintable characters and 50 dnl asterisks (*) are replaced by dots (.). All white space is 51 dnl deleted. Newlines (ASCII 0x10) in the input are preserved in the 52 dnl output, but runs of newlines are compressed to a single newline. 53 dnl Finally, line breaks are forcibly inserted so that no line is 54 dnl longer than 80 columns and the file ends with a newline. The 55 dnl result of all this processing is in the file conftest.dmp, which 56 dnl may be examined by the commands in the second argument. 57 dnl 58 AC_DEFUN([gcc_AC_EXAMINE_OBJECT], 59 [AC_LANG_SAVE 60 AC_LANG_C 61 dnl Next bit cribbed from AC_TRY_COMPILE. 62 cat > conftest.$ac_ext <<EOF 63 [#line __oline__ "configure" 64 #include "confdefs.h" 65 $1 66 ]EOF 67 if AC_TRY_EVAL(ac_compile); then 68 od -c conftest.o | 69 sed ['s/^[0-7]*[ ]*/ / 70 s/\*/./g 71 s/ \\n/*/g 72 s/ [0-9][0-9][0-9]/./g 73 s/ \\[^ ]/./g'] | 74 tr -d ' 75 ' | tr -s '*' ' 76 ' | fold | sed '$a\ 77 ' > conftest.dmp 78 $2 79 ifelse($3, , , else 80 $3 81 )dnl 82 fi 83 rm -rf conftest* 84 AC_LANG_RESTORE]) 85 86 dnl Host endianness probe. 87 dnl Differs from AC_C_BIGENDIAN in that it does not require 88 dnl running a program on the host. 89 dnl 90 AC_DEFUN([fastjar_AC_COMPILE_C_BIGENDIAN], 91 [AC_CACHE_CHECK(byte ordering, ac_cv_c_compile_endian, 92 [ac_cv_c_compile_endian=unknown 93 gcc_AC_EXAMINE_OBJECT([ 94 #ifdef HAVE_LIMITS_H 95 # include <limits.h> 96 #endif 97 /* This structure must have no internal padding. */ 98 struct { 99 char prefix[sizeof "\nendian:" - 1]; 100 short word; 101 char postfix[2]; 102 } tester = { 103 "\nendian:", 104 #if SIZEOF_SHORT == 4 105 ('A' << (CHAR_BIT * 3)) | ('B' << (CHAR_BIT * 2)) | 106 #endif 107 ('A' << CHAR_BIT) | 'B', 108 'X', '\n' 109 };], 110 [if grep 'endian:AB' conftest.dmp >/dev/null 2>&1; then 111 ac_cv_c_compile_endian=big-endian 112 elif grep 'endian:BA' conftest.dmp >/dev/null 2>&1; then 113 ac_cv_c_compile_endian=little-endian 114 fi]) 115 ]) 116 if test $ac_cv_c_compile_endian = unknown; then 117 AC_MSG_ERROR([*** unable to determine endianness]) 118 elif test $ac_cv_c_compile_endian = big-endian; then 119 AC_DEFINE(WORDS_BIG_ENDIAN, 1, 120 [Define if the host machine stores words of multi-word integers in 121 big-endian order.]) 122 fi 123 ]) 124 125 dnl Define MKDIR_TAKES_ONE_ARG if mkdir accepts only one argument instead 126 dnl of the usual 2. 127 AC_DEFUN(gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG, 128 [AC_CACHE_CHECK([if mkdir takes one argument], gcc_cv_mkdir_takes_one_arg, 129 [AC_TRY_COMPILE([ 130 #include <sys/types.h> 131 #ifdef HAVE_SYS_STAT_H 132 # include <sys/stat.h> 133 #endif 134 #ifdef HAVE_UNISTD_H 135 # include <unistd.h> 136 #endif 137 #ifdef HAVE_DIRECT_H 138 # include <direct.h> 139 #endif], [mkdir ("foo", 0);], 140 gcc_cv_mkdir_takes_one_arg=no, gcc_cv_mkdir_takes_one_arg=yes)]) 141 if test $gcc_cv_mkdir_takes_one_arg = yes ; then 142 AC_DEFINE(MKDIR_TAKES_ONE_ARG, 1, [Define if host mkdir takes a 143 single argument.]) 144 fi 145 ]) 12 146 13 147 # Do all the work for Automake. This macro actually does too much -- -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/config.h.in
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 9 9 /* Define if your <sys/time.h> declares struct tm. */ 10 10 #undef TM_IN_SYS_TIME 11 12 /* Define if your processor stores words with the most significant13 byte first (like Motorola and SPARC, unlike Intel and VAX). */14 #undef WORDS_BIGENDIAN15 16 /* The number of bytes in a char. */17 #undef SIZEOF_CHAR18 19 /* The number of bytes in a int. */20 #undef SIZEOF_INT21 22 /* The number of bytes in a long. */23 #undef SIZEOF_LONG24 25 /* The number of bytes in a long long. */26 #undef SIZEOF_LONG_LONG27 28 /* The number of bytes in a short. */29 #undef SIZEOF_SHORT30 11 31 12 /* Define if you have the <dirent.h> header file. */ … … 40 21 /* Define if you have the <stdlib.h> header file. */ 41 22 #undef HAVE_STDLIB_H 23 24 /* Define if you have the <limits.h> header file. */ 25 #undef HAVE_LIMITS_H 42 26 43 27 /* Define if you have the <sys/dir.h> header file. */ … … 59 43 #undef VERSION 60 44 45 /* Define if host mkdir takes a 46 single argument. */ 47 #undef MKDIR_TAKES_ONE_ARG 48 49 /* The number of bytes in type char */ 50 #undef SIZEOF_CHAR 51 52 /* The number of bytes in type short */ 53 #undef SIZEOF_SHORT 54 55 /* The number of bytes in type int */ 56 #undef SIZEOF_INT 57 58 /* The number of bytes in type long */ 59 #undef SIZEOF_LONG 60 61 /* The number of bytes in type long long */ 62 #undef SIZEOF_LONG_LONG 63 64 /* Define if the host machine stores words of multi-word integers in 65 big-endian order. */ 66 #undef WORDS_BIG_ENDIAN 67 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/configure
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1692 1692 fi 1693 1693 1694 for ac_hdr in fcntl.h unistd.h sys/param.h stdlib.h 1694 for ac_hdr in fcntl.h unistd.h sys/param.h stdlib.h limits.h 1695 1695 do 1696 1696 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` … … 1801 1801 1802 1802 1803 echo $ac_n "checking size of char""... $ac_c" 1>&6 1804 echo "configure:1805: checking size of char" >&5 1805 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 1806 echo $ac_n "(cached) $ac_c" 1>&6 1807 else 1808 if test "$cross_compiling" = yes; then 1809 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 1803 # mkdir takes a single argument on some systems. 1804 echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6 1805 echo "configure:1806: checking if mkdir takes one argument" >&5 1806 if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then 1807 echo $ac_n "(cached) $ac_c" 1>&6 1810 1808 else 1811 1809 cat > conftest.$ac_ext <<EOF 1812 #line 1813 "configure" 1813 #include "confdefs.h" 1814 #include <stdio.h> 1815 main() 1816 { 1817 FILE *f=fopen("conftestval", "w"); 1818 if (!f) exit(1); 1819 fprintf(f, "%d\n", sizeof(char)); 1820 exit(0); 1821 } 1822 EOF 1823 if { (eval echo configure:1824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1824 then 1825 ac_cv_sizeof_char=`cat conftestval` 1810 #line 1811 "configure" 1811 #include "confdefs.h" 1812 1813 #include <sys/types.h> 1814 #ifdef HAVE_SYS_STAT_H 1815 # include <sys/stat.h> 1816 #endif 1817 #ifdef HAVE_UNISTD_H 1818 # include <unistd.h> 1819 #endif 1820 #ifdef HAVE_DIRECT_H 1821 # include <direct.h> 1822 #endif 1823 int main() { 1824 mkdir ("foo", 0); 1825 ; return 0; } 1826 EOF 1827 if { (eval echo configure:1828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1828 rm -rf conftest* 1829 gcc_cv_mkdir_takes_one_arg=no 1826 1830 else 1827 1831 echo "configure: failed program was:" >&5 1828 1832 cat conftest.$ac_ext >&5 1829 rm -fr conftest* 1830 ac_cv_sizeof_char=0 1831 fi 1832 rm -fr conftest* 1833 fi 1834 1833 rm -rf conftest* 1834 gcc_cv_mkdir_takes_one_arg=yes 1835 fi 1836 rm -f conftest* 1837 fi 1838 1839 echo "$ac_t""$gcc_cv_mkdir_takes_one_arg" 1>&6 1840 if test $gcc_cv_mkdir_takes_one_arg = yes ; then 1841 cat >> confdefs.h <<\EOF 1842 #define MKDIR_TAKES_ONE_ARG 1 1843 EOF 1844 1845 fi 1846 1847 1848 echo $ac_n "checking size of char""... $ac_c" 1>&6 1849 echo "configure:1850: checking size of char" >&5 1850 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then 1851 echo $ac_n "(cached) $ac_c" 1>&6 1852 else 1853 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence. 1854 cat > conftest.$ac_ext <<EOF 1855 #line 1856 "configure" 1856 #include "confdefs.h" 1857 #include "confdefs.h" 1858 #include <sys/types.h> 1859 1860 1861 int main() { 1862 switch (0) case 0: case (sizeof (char) == $ac_size):; 1863 ; return 0; } 1864 EOF 1865 if { (eval echo configure:1866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1866 rm -rf conftest* 1867 ac_cv_sizeof_char=$ac_size 1868 else 1869 echo "configure: failed program was:" >&5 1870 cat conftest.$ac_ext >&5 1871 fi 1872 rm -f conftest* 1873 if test x$ac_cv_sizeof_char != x ; then break; fi 1874 done 1875 1876 fi 1877 1878 if test x$ac_cv_sizeof_char = x ; then 1879 { echo "configure: error: cannot determine a size for char" 1>&2; exit 1; } 1835 1880 fi 1836 1881 echo "$ac_t""$ac_cv_sizeof_char" 1>&6 … … 1841 1886 1842 1887 echo $ac_n "checking size of short""... $ac_c" 1>&6 1843 echo "configure:18 44: checking size of short" >&51888 echo "configure:1889: checking size of short" >&5 1844 1889 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then 1845 1890 echo $ac_n "(cached) $ac_c" 1>&6 1846 1891 else 1847 if test "$cross_compiling" = yes; then 1848 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 1849 else 1892 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence. 1850 1893 cat > conftest.$ac_ext <<EOF 1851 #line 1852 "configure" 1852 #include "confdefs.h" 1853 #include <stdio.h> 1854 main() 1855 { 1856 FILE *f=fopen("conftestval", "w"); 1857 if (!f) exit(1); 1858 fprintf(f, "%d\n", sizeof(short)); 1859 exit(0); 1860 } 1861 EOF 1862 if { (eval echo configure:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1863 then 1864 ac_cv_sizeof_short=`cat conftestval` 1894 #line 1895 "configure" 1895 #include "confdefs.h" 1896 #include "confdefs.h" 1897 #include <sys/types.h> 1898 1899 1900 int main() { 1901 switch (0) case 0: case (sizeof (short) == $ac_size):; 1902 ; return 0; } 1903 EOF 1904 if { (eval echo configure:1905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1905 rm -rf conftest* 1906 ac_cv_sizeof_short=$ac_size 1865 1907 else 1866 1908 echo "configure: failed program was:" >&5 1867 1909 cat conftest.$ac_ext >&5 1868 rm -fr conftest* 1869 ac_cv_sizeof_short=0 1870 fi 1871 rm -fr conftest* 1872 fi 1873 1910 fi 1911 rm -f conftest* 1912 if test x$ac_cv_sizeof_short != x ; then break; fi 1913 done 1914 1915 fi 1916 1917 if test x$ac_cv_sizeof_short = x ; then 1918 { echo "configure: error: cannot determine a size for short" 1>&2; exit 1; } 1874 1919 fi 1875 1920 echo "$ac_t""$ac_cv_sizeof_short" 1>&6 … … 1880 1925 1881 1926 echo $ac_n "checking size of int""... $ac_c" 1>&6 1882 echo "configure:1 883: checking size of int" >&51927 echo "configure:1928: checking size of int" >&5 1883 1928 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then 1884 1929 echo $ac_n "(cached) $ac_c" 1>&6 1885 1930 else 1886 if test "$cross_compiling" = yes; then 1887 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 1888 else 1931 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence. 1889 1932 cat > conftest.$ac_ext <<EOF 1890 #line 1891 "configure" 1891 #include "confdefs.h" 1892 #include <stdio.h> 1893 main() 1894 { 1895 FILE *f=fopen("conftestval", "w"); 1896 if (!f) exit(1); 1897 fprintf(f, "%d\n", sizeof(int)); 1898 exit(0); 1899 } 1900 EOF 1901 if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1902 then 1903 ac_cv_sizeof_int=`cat conftestval` 1933 #line 1934 "configure" 1934 #include "confdefs.h" 1935 #include "confdefs.h" 1936 #include <sys/types.h> 1937 1938 1939 int main() { 1940 switch (0) case 0: case (sizeof (int) == $ac_size):; 1941 ; return 0; } 1942 EOF 1943 if { (eval echo configure:1944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1944 rm -rf conftest* 1945 ac_cv_sizeof_int=$ac_size 1904 1946 else 1905 1947 echo "configure: failed program was:" >&5 1906 1948 cat conftest.$ac_ext >&5 1907 rm -fr conftest* 1908 ac_cv_sizeof_int=0 1909 fi 1910 rm -fr conftest* 1911 fi 1912 1949 fi 1950 rm -f conftest* 1951 if test x$ac_cv_sizeof_int != x ; then break; fi 1952 done 1953 1954 fi 1955 1956 if test x$ac_cv_sizeof_int = x ; then 1957 { echo "configure: error: cannot determine a size for int" 1>&2; exit 1; } 1913 1958 fi 1914 1959 echo "$ac_t""$ac_cv_sizeof_int" 1>&6 … … 1919 1964 1920 1965 echo $ac_n "checking size of long""... $ac_c" 1>&6 1921 echo "configure:19 22: checking size of long" >&51966 echo "configure:1967: checking size of long" >&5 1922 1967 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then 1923 1968 echo $ac_n "(cached) $ac_c" 1>&6 1924 1969 else 1925 if test "$cross_compiling" = yes; then 1926 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 1927 else 1970 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence. 1928 1971 cat > conftest.$ac_ext <<EOF 1929 #line 1930 "configure" 1930 #include "confdefs.h" 1931 #include <stdio.h> 1932 main() 1933 { 1934 FILE *f=fopen("conftestval", "w"); 1935 if (!f) exit(1); 1936 fprintf(f, "%d\n", sizeof(long)); 1937 exit(0); 1938 } 1939 EOF 1940 if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1941 then 1942 ac_cv_sizeof_long=`cat conftestval` 1972 #line 1973 "configure" 1973 #include "confdefs.h" 1974 #include "confdefs.h" 1975 #include <sys/types.h> 1976 1977 1978 int main() { 1979 switch (0) case 0: case (sizeof (long) == $ac_size):; 1980 ; return 0; } 1981 EOF 1982 if { (eval echo configure:1983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1983 rm -rf conftest* 1984 ac_cv_sizeof_long=$ac_size 1943 1985 else 1944 1986 echo "configure: failed program was:" >&5 1945 1987 cat conftest.$ac_ext >&5 1946 rm -fr conftest* 1947 ac_cv_sizeof_long=0 1948 fi 1949 rm -fr conftest* 1950 fi 1951 1988 fi 1989 rm -f conftest* 1990 if test x$ac_cv_sizeof_long != x ; then break; fi 1991 done 1992 1993 fi 1994 1995 if test x$ac_cv_sizeof_long = x ; then 1996 { echo "configure: error: cannot determine a size for long" 1>&2; exit 1; } 1952 1997 fi 1953 1998 echo "$ac_t""$ac_cv_sizeof_long" 1>&6 … … 1958 2003 1959 2004 echo $ac_n "checking size of long long""... $ac_c" 1>&6 1960 echo "configure: 1961: checking size of long long" >&52005 echo "configure:2006: checking size of long long" >&5 1961 2006 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then 1962 2007 echo $ac_n "(cached) $ac_c" 1>&6 1963 2008 else 1964 if test "$cross_compiling" = yes; then 1965 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 1966 else 2009 for ac_size in 4 8 1 2 16 ; do # List sizes in rough order of prevalence. 1967 2010 cat > conftest.$ac_ext <<EOF 1968 #line 1969 "configure" 1969 #include "confdefs.h" 1970 #include <stdio.h> 1971 main() 1972 { 1973 FILE *f=fopen("conftestval", "w"); 1974 if (!f) exit(1); 1975 fprintf(f, "%d\n", sizeof(long long)); 1976 exit(0); 1977 } 1978 EOF 1979 if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 1980 then 1981 ac_cv_sizeof_long_long=`cat conftestval` 2011 #line 2012 "configure" 2012 #include "confdefs.h" 2013 #include "confdefs.h" 2014 #include <sys/types.h> 2015 2016 2017 int main() { 2018 switch (0) case 0: case (sizeof (long long) == $ac_size):; 2019 ; return 0; } 2020 EOF 2021 if { (eval echo configure:2022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2022 rm -rf conftest* 2023 ac_cv_sizeof_long_long=$ac_size 1982 2024 else 1983 2025 echo "configure: failed program was:" >&5 1984 2026 cat conftest.$ac_ext >&5 1985 rm -fr conftest* 1986 ac_cv_sizeof_long_long=0 1987 fi 1988 rm -fr conftest* 1989 fi 1990 2027 fi 2028 rm -f conftest* 2029 if test x$ac_cv_sizeof_long_long != x ; then break; fi 2030 done 2031 2032 fi 2033 2034 if test x$ac_cv_sizeof_long_long = x ; then 2035 { echo "configure: error: cannot determine a size for long long" 1>&2; exit 1; } 1991 2036 fi 1992 2037 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6 … … 1997 2042 1998 2043 1999 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 2000 echo "configure:2001: checking whether byte ordering is bigendian" >&5 2001 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then 2002 echo $ac_n "(cached) $ac_c" 1>&6 2003 else 2004 ac_cv_c_bigendian=unknown 2005 # See if sys/param.h defines the BYTE_ORDER macro. 2044 echo $ac_n "checking byte ordering""... $ac_c" 1>&6 2045 echo "configure:2046: checking byte ordering" >&5 2046 if eval "test \"`echo '$''{'ac_cv_c_compile_endian'+set}'`\" = set"; then 2047 echo $ac_n "(cached) $ac_c" 1>&6 2048 else 2049 ac_cv_c_compile_endian=unknown 2050 2051 ac_ext=c 2052 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 2053 ac_cpp='$CPP $CPPFLAGS' 2054 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2055 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2056 cross_compiling=$ac_cv_prog_cc_cross 2057 2006 2058 cat > conftest.$ac_ext <<EOF 2007 #line 2008 "configure" 2008 #include "confdefs.h" 2009 #include <sys/types.h> 2010 #include <sys/param.h> 2011 int main() { 2012 2013 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN 2014 bogus endian macros 2059 #line 2060 "configure" 2060 #include "confdefs.h" 2061 2062 #ifdef HAVE_LIMITS_H 2063 # include <limits.h> 2015 2064 #endif 2016 ; return 0; } 2017 EOF 2018 if { (eval echo configure:2019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2019 rm -rf conftest* 2020 # It does; now see whether it defined to BIG_ENDIAN or not. 2021 cat > conftest.$ac_ext <<EOF 2022 #line 2023 "configure" 2023 #include "confdefs.h" 2024 #include <sys/types.h> 2025 #include <sys/param.h> 2026 int main() { 2027 2028 #if BYTE_ORDER != BIG_ENDIAN 2029 not big endian 2065 /* This structure must have no internal padding. */ 2066 struct { 2067 char prefix[sizeof "\nendian:" - 1]; 2068 short word; 2069 char postfix[2]; 2070 } tester = { 2071 "\nendian:", 2072 #if SIZEOF_SHORT == 4 2073 ('A' << (CHAR_BIT * 3)) | ('B' << (CHAR_BIT * 2)) | 2030 2074 #endif 2031 ; return 0; } 2032 EOF 2033 if { (eval echo configure:2034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2034 rm -rf conftest* 2035 ac_cv_c_bigendian=yes 2036 else 2037 echo "configure: failed program was:" >&5 2038 cat conftest.$ac_ext >&5 2039 rm -rf conftest* 2040 ac_cv_c_bigendian=no 2041 fi 2042 rm -f conftest* 2043 else 2044 echo "configure: failed program was:" >&5 2045 cat conftest.$ac_ext >&5 2046 fi 2047 rm -f conftest* 2048 if test $ac_cv_c_bigendian = unknown; then 2049 if test "$cross_compiling" = yes; then 2050 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } 2051 else 2052 cat > conftest.$ac_ext <<EOF 2053 #line 2054 "configure" 2054 #include "confdefs.h" 2055 main () { 2056 /* Are we little or big endian? From Harbison&Steele. */ 2057 union 2058 { 2059 long l; 2060 char c[sizeof (long)]; 2061 } u; 2062 u.l = 1; 2063 exit (u.c[sizeof (long) - 1] == 1); 2064 } 2065 EOF 2066 if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null 2067 then 2068 ac_cv_c_bigendian=no 2069 else 2070 echo "configure: failed program was:" >&5 2071 cat conftest.$ac_ext >&5 2072 rm -fr conftest* 2073 ac_cv_c_bigendian=yes 2074 fi 2075 rm -fr conftest* 2076 fi 2077 2078 fi 2079 fi 2080 2081 echo "$ac_t""$ac_cv_c_bigendian" 1>&6 2082 if test $ac_cv_c_bigendian = yes; then 2075 ('A' << CHAR_BIT) | 'B', 2076 'X', '\n' 2077 }; 2078 EOF 2079 if { (eval echo configure:2080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 2080 od -c conftest.o | 2081 sed 's/^[0-7]*[ ]*/ / 2082 s/\*/./g 2083 s/ \\n/*/g 2084 s/ [0-9][0-9][0-9]/./g 2085 s/ \\[^ ]/./g' | 2086 tr -d ' 2087 ' | tr -s '*' ' 2088 ' | fold | sed '$a\ 2089 ' > conftest.dmp 2090 if grep 'endian:AB' conftest.dmp >/dev/null 2>&1; then 2091 ac_cv_c_compile_endian=big-endian 2092 elif grep 'endian:BA' conftest.dmp >/dev/null 2>&1; then 2093 ac_cv_c_compile_endian=little-endian 2094 fi 2095 fi 2096 rm -rf conftest* 2097 ac_ext=c 2098 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 2099 ac_cpp='$CPP $CPPFLAGS' 2100 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 2101 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 2102 cross_compiling=$ac_cv_prog_cc_cross 2103 2104 2105 fi 2106 2107 echo "$ac_t""$ac_cv_c_compile_endian" 1>&6 2108 if test $ac_cv_c_compile_endian = unknown; then 2109 { echo "configure: error: *** unable to determine endianness" 1>&2; exit 1; } 2110 elif test $ac_cv_c_compile_endian = big-endian; then 2083 2111 cat >> confdefs.h <<\EOF 2084 #define WORDS_BIG ENDIAN 12112 #define WORDS_BIG_ENDIAN 1 2085 2113 EOF 2086 2114 … … 2101 2129 if test "$with_system_zlib" = yes; then 2102 2130 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6 2103 echo "configure:21 04: checking for deflate in -lz" >&52131 echo "configure:2132: checking for deflate in -lz" >&5 2104 2132 ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'` 2105 2133 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then … … 2109 2137 LIBS="-lz $LIBS" 2110 2138 cat > conftest.$ac_ext <<EOF 2111 #line 21 12"configure"2139 #line 2140 "configure" 2112 2140 #include "confdefs.h" 2113 2141 /* Override any gcc2 internal prototype to avoid an error. */ … … 2120 2148 ; return 0; } 2121 2149 EOF 2122 if { (eval echo configure:21 23: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then2150 if { (eval echo configure:2151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2123 2151 rm -rf conftest* 2124 2152 eval "ac_cv_lib_$ac_lib_var=yes" … … 2153 2181 2154 2182 2183 2184 2185 # Get the version trigger filename from the toplevel 2186 if test "${with_gcc_version_trigger+set}" = set; then 2187 gcc_version_trigger=$with_gcc_version_trigger 2188 else 2189 gcc_version_trigger=${srcdir}/version.c 2190 fi 2191 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'` 2192 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'` 2155 2193 2156 2194 … … 2313 2351 s%@ZDEPS@%$ZDEPS%g 2314 2352 s%@ZINCS@%$ZINCS%g 2353 s%@gcc_version@%$gcc_version%g 2315 2354 2316 2355 CEOF … … 2321 2360 # Split the substitutions into bite-sized pieces for seds with 2322 2361 # small command number limits, like on Digital OSF/1 and HP-UX. 2323 ac_max_sed_cmds= 90 # Maximum number of lines to put in a sed script.2362 ac_max_sed_cmds=60 # Maximum number of lines to put in a sed script. 2324 2363 ac_file=1 # Number of current file. 2325 2364 ac_beg=1 # First line for current file. -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/configure.in
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 25 25 AC_HEADER_STDC 26 26 AC_STRUCT_TM 27 AC_CHECK_HEADERS(fcntl.h unistd.h sys/param.h stdlib.h )27 AC_CHECK_HEADERS(fcntl.h unistd.h sys/param.h stdlib.h limits.h) 28 28 29 29 dnl Checks for typedefs, structures, and compiler characteristics. … … 31 31 AC_STRUCT_TM 32 32 33 # mkdir takes a single argument on some systems. 34 gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG 35 33 36 dnl Check for type-widths 34 AC_CHECK_SIZEOF(char)35 AC_CHECK_SIZEOF(short)36 AC_CHECK_SIZEOF(int)37 AC_CHECK_SIZEOF(long)38 AC_CHECK_SIZEOF(long long)37 gcc_AC_COMPILE_CHECK_SIZEOF(char) 38 gcc_AC_COMPILE_CHECK_SIZEOF(short) 39 gcc_AC_COMPILE_CHECK_SIZEOF(int) 40 gcc_AC_COMPILE_CHECK_SIZEOF(long) 41 gcc_AC_COMPILE_CHECK_SIZEOF(long long) 39 42 40 43 dnl Check byte order 41 AC_C_BIGENDIAN44 fastjar_AC_COMPILE_C_BIGENDIAN 42 45 43 46 AC_ARG_WITH(system-zlib, … … 64 67 AC_SUBST(ZINCS) 65 68 69 # Get the version trigger filename from the toplevel 70 if test "${with_gcc_version_trigger+set}" = set; then 71 gcc_version_trigger=$with_gcc_version_trigger 72 else 73 gcc_version_trigger=${srcdir}/version.c 74 fi 75 changequote(,)dnl 76 gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'` 77 gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'` 78 changequote([,])dnl 79 AC_SUBST(gcc_version) 80 66 81 AC_OUTPUT(Makefile install-defs.sh) -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/dostime.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 21 21 22 22 #include <time.h> 23 24 #include <stddef.h> 23 25 24 26 #include "dostime.h" -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/jargrep.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 1 1 /* 2 2 jargrep.c - main functions for jargrep utility 3 Copyright (C) 2002 Free Software Foundation3 Copyright (C) 2002, 2003 Free Software Foundation 4 4 Copyright (C) 1999, 2000 Bryan Burns 5 5 Copyright (C) 2000 Cory Hollingsworth … … 106 106 #include <stdio.h> 107 107 #include <unistd.h> 108 #include <regex.h>109 108 #include <errno.h> 110 109 #include <string.h> … … 116 115 #include <stdlib.h> 117 116 #endif 117 118 #include "xregex.h" 119 118 120 #include "jargrep.h" 119 121 #include "jartool.h" … … 127 129 void help(const char *name); 128 130 129 #define Usage "Usage: %s [-bcins w] <-e PATTERN | PATTERN> FILE ...\n"131 #define Usage "Usage: %s [-bcinsVw] [--version|--help] <-e PATTERN | PATTERN> FILE ...\n" 130 132 131 133 /* … … 770 772 -s suppress error messages\n\ 771 773 -w force PATTERN to match only whole words\n\ 772 -e PATTERN use PATTERN as regular exprssion\n\ 774 -e PATTERN use PATTERN as regular expression\n\ 775 -V|--version print version number and exit\n\ 776 --help print help\n\ 773 777 "); 774 778 -
Property cvs2svn:cvs-rev
changed from
-
branches/GNU/src/gcc/fastjar/jartool.c
-
Property cvs2svn:cvs-rev
changed from
1.1
to1.1.1.2
r1390 r1391 239 239 #include "pushback.h" 240 240 #include "compress.h" 241 242 /* Some systems have mkdir that takes a single argument. */ 243 #ifdef MKDIR_TAKES_ONE_ARG 244 # define mkdir(a,b) mkdir(a) 245 #endif 246 241 247 242 248 #ifdef WORDS_BIGENDIAN … … 434 440 if(action == ACTION_CREATE){ 435 441 if(jarfile){ 436 jarfd = open(jarfile, O_CREAT | O_BINARY | O_WRONLY | O_TRUNC, 437 S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); 442 jarfd = open(jarfile, O_CREAT | O_BINARY | O_WRONLY | O_TRUNC, 0666); 438 443 439 444 if(jarfd < 0){ … … 839 844 } 840 845 841 if( !strcmp(file, jarfile)){846 if(jarfile && !strcmp(file, jarfile)){ 842 847 if(verbose) 843 848 printf("skipping: %s\n", file); … … 920 925 if(de->d_name[0] == '.') 921 926 continue; 922 if(!strcmp(de->d_name, jarfile)){ /* we don't want to add ourselves. Believe me */ 927 if(jarfile && !strcmp(de->d_name, jarfile)){ 928 /* we don't want to add ourselves. Believe me */ 923 929 if(verbose) 924 930 printf("skipping: %s\n", de->d_name); … … 1450 1456 1451 1457 if(f_fd != -1 && handle){ 1452 f_fd = creat((const char *)filename, 00644); 1458 f_fd = open((const char *)filename, 1459 O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644); 1453 1460 1454 1461 if(f_fd < 0){ … … 1465 1472 1466 1473 if(method == 8 || flags & 0x0008){ 1467 if(seekable)1468 lseek(fd, eflen, SEEK_CUR);1469 else1470 1474 consume(&pbf, eflen); 1471 1475 … … 1502 1506 } 1503 1507 1504 if(seekable)1505 lseek(fd, eflen, SEEK_CUR);1506 else1507 1508 consume(&pbf, eflen); 1508 1509 } … … 1565 1566 time_t tdate; 1566 1567 struct tm *s_tm; 1567 char ascii_date[3 0];1568 char ascii_date[31]; 1568 1569 zipentry ze; 1569 1570 … … 1656 1657 s_tm = localtime(&tdate); 1657 1658 strftime(ascii_date, 30, "%a %b %d %H:%M:%S %Z %Y", s_tm); 1658 } 1659 1660 if(filename_len < fnlen){ 1659 ascii_date[30] = '\0'; 1660 } 1661 1662 if(filename_len < fnlen + 1){ 1661 1663 if(filename != NULL) 1662 1664 free(filename); … … 1775 1777 s_tm = localtime(&tdate); 1776 1778 strftime(ascii_date, 30, "%a %b %d %H:%M:%S %Z %Y", s_tm); 1777 } 1778 1779 if(filename_len < fnlen){ 1779 ascii_date[30] = '\0'; 1780 } 1781 1782 if(filename_len < fnlen + 1){ 1780 1783 if(filename != NULL) 1781 1784 free(filename); … … 1848 1851 #endif 1849 1852 1853 if (seekable){ 1854 if (amt <= (int)pbf->buff_amt) 1855 pb_read(pbf, buff, amt); 1856 else { 1857 lseek(pbf->fd, amt - pbf->buff_amt, SEEK_CUR); 1858 pb_read(pbf, buff, pbf->buff_amt); /* clear pbf */ 1859 } 1860 } else 1850 1861 while(tc < amt){ 1851 1862 rdamt = pb_read(pbf, buff, ((amt - tc) < RDSZ ? (amt - tc) : RDSZ)); … … 1857 1868 1858 1869 #ifdef DEBUG 1859 printf("%d bytes consumed\n", tc);1870 printf("%d bytes consumed\n", amt); 1860 1871 #endif 1861 1872 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.