This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [RFA:] toplevel: Don't use makeinfo older than texinfo 4



>   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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]