This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA:] toplevel: Don't use makeinfo older than texinfo 4
- To: hp at bitrange dot com
- Subject: Re: [RFA:] toplevel: Don't use makeinfo older than texinfo 4
- From: DJ Delorie <dj at delorie dot com>
- Date: Mon, 5 Nov 2001 10:16:57 -0500
- CC: gcc-patches at gcc dot gnu dot org, binutils at sources dot redhat dot com, gdb-patches at sources dot redhat dot com
- References: <Pine.BSF.4.30.0111050359420.77306-100000@dair.pair.com>
> MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
> then echo $$r/texinfo/makeinfo/makeinfo ; \
> ! else if (makeinfo --version 2>/dev/null \
> ! | egrep 'texinfo[^0-9]*([1-3][0-9]|[4-9][^0-9])' >/dev/null 2>&1); \
> ! then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
Would it make more sense to put the 2>/dev/null's outside the parens,
to catch shell errors too?