Mail Archives: djgpp/1997/01/27/17:56:34
On Wed, 22 Jan 1997, Robin Crampton wrote:
> >Please post the Makefile, or at least the part thereof which includes
> the
> >above command.
>
> Okay (fragment):
>
> $(CONFIG_HEADER): stamp-h
> stamp-h: $(CONFIG_HEADER_IN) $(top_builddir)/config.status
> cd $(top_builddir) \
> && CONFIG_FILES= CONFIG_HEADERS=$(CONFIG_HEADER) \
> $(SHELL) ./config.status
> @echo timestamp > stamp-h
> $(srcdir)/$(CONFIG_HEADER_IN): stamp-h.in
> $(srcdir)/stamp-h.in: $(top_srcdir)/configure.in $(ACLOCAL) acconfig.h
> cd $(top_srcdir) && autoheader
> echo timestamp > $(srcdir)/stamp-h.in
>
> After further investigation, the bug appears to be with make/bash,
>
> all:
> echo hello && echo there
>
> fails in the same way. Output is
>
> $ make
> echo hello && echo there
> make.exe: *** [all] Error -1
>
> So make/bash doesn't like &&. Hmmm. Well I _could_ live with that...
But why live WITHOUT it when you can live WITH it! Use 4DOS, it has
support for && and || just like bash. Works in Makefiles too!
Mike A. Harris - Computer Consultant http://www3.sympatico.ca/mharris
My dynamic address: http://www3.sympatico.ca/mharris/ip-address.html
mailto:mharris AT sympatico DOT ca mailto:mharris AT blackwidow DOT saultc DOT on DOT ca
Want the DR-DOS source code? Visit Caldera's website: www.caldera.com
- Raw text -