Index: advancecomp-1.17/Makefile.am =================================================================== --- advancecomp-1.17/Makefile.am +++ advancecomp-1.17/Makefile.am 2013-07-17 23:19:36.365147375 +0200 @@ -216,7 +216,7 @@ advd2 man < $(srcdir)/$< > $@ %.txt : %.d - advd2 txt < $(srcdir)/$< | todos > $@ + advd2 txt < $(srcdir)/$< | $(TODOS) > $@ %.html : %.d advd2 html < $(srcdir)/$< > $@ @@ -227,19 +227,19 @@ # Archives README: doc/readme.txt - cat $< | fromdos > $@ + cat $< | $(FROMDOS) > $@ AUTHORS: doc/authors.txt - cat $< | fromdos > $@ + cat $< | $(FROMDOS) > $@ INSTALL: doc/install.txt - cat $< | fromdos > $@ + cat $< | $(FROMDOS) > $@ HISTORY: doc/history.txt - cat $< | fromdos > $@ + cat $< | $(FROMDOS) > $@ doc/copying.txt: COPYING - cat $< | todos > $@ + cat $< | $(TODOS) > $@ check-local: ./advzip$(EXEEXT) test/test.lst @cp $(srcdir)/test/archive.zip . @@ -302,7 +302,7 @@ $(TESTENV) ./advpng$(EXEEXT) -L basn2c08.png basn3p01.png basn3p02.png basn3p04.png basn3p08.png basn6a08.png basn6a04.png >> check.lst $(TESTENV) ./advdef$(EXEEXT) -f -z -4 basn2c08.png basn3p01.png basn3p02.png basn3p04.png basn3p08.png basn6a08.png basn6a04.png $(TESTENV) ./advpng$(EXEEXT) -L basn2c08.png basn3p01.png basn3p02.png basn3p04.png basn3p08.png basn6a08.png basn6a04.png >> check.lst - cat check.lst | fromdos | cmp $(srcdir)/test/test.lst + cat check.lst | $(FROMDOS) | cmp $(srcdir)/test/test.lst @echo Success! DISTDOS_ROOT = \ Index: advancecomp-1.17/configure.ac =================================================================== --- advancecomp-1.17/configure.ac +++ advancecomp-1.17/configure.ac 2013-07-17 23:19:31.613167709 +0200 @@ -18,6 +18,8 @@ AC_CHECK_PROGS(COL, col) AC_CHECK_PROG([VALGRIND],[valgrind],[valgrind --leak-check=full --track-fds=yes --error-exitcode=1],[]) AC_CHECK_PROG([WINE],[wine],[wine],[]) +AC_CHECK_PROGS(FROMDOS, fromdos dos2unix) +AC_CHECK_PROGS(TODOS, todos unix2dos) dnl Checks for libraries. AC_SYS_LARGEFILE