  This is a patch for the DJGPP port of GNU Marst 2.3.
  If you need to patch the original GNU distribution,
  apply it from the top srcdir (marst-2.3) running the
  command:
    patch -p1 < diffs


diff -acprNC5 marst-2.3.orig/Makefile.in marst-2.3.djgpp/Makefile.in
*** marst-2.3.orig/Makefile.in	Mon Nov 19 09:00:00 2001
--- marst-2.3.djgpp/Makefile.in	Sat Dec  8 16:02:40 2001
*************** include_HEADERS = algol.h
*** 94,104 ****
  
  lib_LIBRARIES = libalgol.a
  
  SUFFIXES = .alg
  
! libalgol_a_SOURCES = alglib.c print.c 	abs.c arctan.c cos.c entier.c epsilon.c exp.c fault.c iabs.c 	inchar.c inint.c inreal.c length.c ln.c maxint.c maxreal.c 	minreal.c outchar.c outint.c outreal.c outstr.c outterm.c 	sign.c sin.c sqrt.c stop.c
  
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  CONFIG_CLEAN_FILES =
  LIBRARIES =  $(lib_LIBRARIES)
--- 94,104 ----
  
  lib_LIBRARIES = libalgol.a
  
  SUFFIXES = .alg
  
! libalgol_a_SOURCES = alglib.c print.c 	abs.alg arctan.alg cos.alg entier.alg epsilon.alg exp.alg fault.alg iabs.alg 	inchar.alg inint.alg inreal.alg length.alg ln.alg maxint.alg maxreal.alg 	minreal.alg outchar.alg outint.alg outreal.alg outstr.alg outterm.alg 	sign.alg sin.alg sqrt.alg stop.alg
  
  ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
  mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
  CONFIG_CLEAN_FILES =
  LIBRARIES =  $(lib_LIBRARIES)
*************** uninstall-includeHEADERS:
*** 266,275 ****
--- 266,299 ----
  	@$(NORMAL_UNINSTALL)
  	list='$(include_HEADERS)'; for p in $$list; do \
  	  rm -f $(DESTDIR)$(includedir)/$$p; \
  	done
  
+ install-info-am: info
+ 	@$(NORMAL_INSTALL)
+ 	$(mkinstalldirs) $(DESTDIR)$(infodir)
+ 	@list='$(srcdir)/marst.info'; \
+ 	for file in $$list; do \
+ 	  d=$(srcdir); \
+ 	  for ifile in echo $$d/$$file $$d/$$file-[0-9] $$d/$$file-[0-9][0-9] $$file[0-9] $$file[0-9][0-9]; do \
+ 	    if test -f $$ifile; then \
+ 	      relfile=`expr "$$ifile" : "$$d/\(.*\)"`; \
+ 	      echo " $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile"; \
+ 	      $(INSTALL_DATA) $$ifile $(DESTDIR)$(infodir)/$$relfile; \
+ 	    else : ; fi; \
+ 	  done; \
+ 	done
+ 	@$(POST_INSTALL)
+ 	@if (install-info --version && \
+ 	     install-info --version | fgrep -i -v debian) >/dev/null 2>&1; then \
+ 	  list='$(INFO_DEPS)'; \
+ 	  for file in $$list; do \
+ 	    echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+ 	    install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+ 	  done; \
+ 	else : ; fi
+ 
  tags: TAGS
  
  ID: $(HEADERS) $(SOURCES) $(LISP)
  	list='$(SOURCES) $(HEADERS)'; \
  	unique=`for i in $$list; do echo $$i; done | \
*************** install-exec: install-exec-am
*** 395,405 ****
  
  install-data-am: install-includeHEADERS
  install-data: install-data-am
  
  install-am: all-am
! 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
  install: install-am
  uninstall-am: uninstall-libLIBRARIES uninstall-binPROGRAMS \
  		uninstall-includeHEADERS
  uninstall: uninstall-am
  all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS)
--- 419,429 ----
  
  install-data-am: install-includeHEADERS
  install-data: install-data-am
  
  install-am: all-am
! 	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am install-info-am
  install: install-am
  uninstall-am: uninstall-libLIBRARIES uninstall-binPROGRAMS \
  		uninstall-includeHEADERS
  uninstall: uninstall-am
  all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(HEADERS)
*************** maintainer-clean-tags distdir mostlyclea
*** 459,469 ****
  clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
  check-am installcheck-am installcheck install-exec-am install-exec \
  install-data-am install-data install-am install uninstall-am uninstall \
  all-redirect all-am all installdirs mostlyclean-generic \
  distclean-generic clean-generic maintainer-clean-generic clean \
! mostlyclean distclean maintainer-clean
  
  
  .alg.c:
  	./marst -t -w $< -o $@
  
--- 483,493 ----
  clean-depend maintainer-clean-depend info-am info dvi-am dvi check \
  check-am installcheck-am installcheck install-exec-am install-exec \
  install-data-am install-data install-am install uninstall-am uninstall \
  all-redirect all-am all installdirs mostlyclean-generic \
  distclean-generic clean-generic maintainer-clean-generic clean \
! mostlyclean distclean maintainer-clean install-info install-info-am
  
  
  .alg.c:
  	./marst -t -w $< -o $@
  
*************** check: marst macvt libalgol.a
*** 477,499 ****
  		-o examples/gps $(LDFLAGS) libalgol.a -lm
  	./examples/gps
  	@echo "If the matrix C = A * B is unity, then check is OK."
  
  info:
! 	makeinfo marst.texinfo
  
  dvi:
! 	texi2dvi --clean marst.texinfo
  
  ps: dvi
! 	dvi2ps marst.dvi > marst.ps
  
  pdf:
! 	texi2dvi --clean --pdf marst.texinfo
  
  html:
! 	texi2html -expandinfo -number -monolithic marst.texinfo
  
  doc: info dvi ps pdf html
  
  # /* eof */
  
--- 501,523 ----
  		-o examples/gps $(LDFLAGS) libalgol.a -lm
  	./examples/gps
  	@echo "If the matrix C = A * B is unity, then check is OK."
  
  info:
! 	makeinfo --no-split $(srcdir)/marst.texinfo -o $(srcdir)/marst.info
  
  dvi:
! 	texi2dvi --clean $(srcdir)/marst.texinfo
  
  ps: dvi
! 	dvips $(srcdir)/marst.dvi -o marst.ps
  
  pdf:
! 	texi2dvi --clean --pdf $(srcdir)/marst.texinfo
  
  html:
! 	perl $(srcdir)/djgpp/texi2html -expandinfo -number -monolithic $(srcdir)/marst.texinfo
  
  doc: info dvi ps pdf html
  
  # /* eof */
  
diff -acprNC5 marst-2.3.orig/marst.texinfo marst-2.3.djgpp/marst.texinfo
*** marst-2.3.orig/marst.texinfo	Mon Nov 19 09:00:00 2001
--- marst-2.3.djgpp/marst.texinfo	Sat Dec  8 14:55:26 2001
***************
*** 4,16 ****
  @settitle GNU MARST 2.3 User's Guide
  @c %**end of header
  
  @ifinfo
  @format
! START-INFO-DIR-ENTRY
  * marst: (marst).       GNU Algol-to-C Translator
! END-INFO-DIR-ENTRY
  @end format
  @end ifinfo
  
  @ifinfo
  This file documents the GNU MARST package intended for translating from
--- 4,17 ----
  @settitle GNU MARST 2.3 User's Guide
  @c %**end of header
  
  @ifinfo
  @format
! @dircategory Programming
! @direntry
  * marst: (marst).       GNU Algol-to-C Translator
! @end direntry
  @end format
  @end ifinfo
  
  @ifinfo
  This file documents the GNU MARST package intended for translating from
