[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] error handling if Perl is not suitable
From: |
James K. Lowden |
Subject: |
Re: [Groff] error handling if Perl is not suitable |
Date: |
Sat, 13 Apr 2013 16:35:55 -0400 |
On Fri, 12 Apr 2013 21:48:49 +0200 (CEST)
"Bernd Warken" <address@hidden> wrote:
> It would make sense to install this Perl error handling at a single
> space somewhere in the configure place.
>
> Has anyone an idea how this could be made or where one can learn how
> to do this.
have_perl:
@command -v perl || ( echo "need perl" >&2; exit 1 )
Add that to the Makefile and make have_perl a prerequisite for some
early target.
Would that do what you want?
--jkl