> Von: "Ralph Corderoy"
>
> Werner wrote:
> > The current configure test for perl should be extended to abort if
> > perl isn't found.
>
> It's been a long time since I autoconf'd, but AC_MSG_ERROR([perl not
> found]) to bail out of configure may be useful.
Thanx, that's very helpful.
Bernd Wa
Hi Bernd,
Werner wrote:
> The current configure test for perl should be extended to abort if
> perl isn't found.
It's been a long time since I autoconf'd, but AC_MSG_ERROR([perl not
found]) to bail out of configure may be useful.
Cheers, Ralph.
> 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.
The current configure test for perl should be extended to abort if
perl isn't found.
Werner
> 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.
Nice, but...
> Would that do what you want?
no. The test for perl should be at configure time, not runtime.
Werner
> Von: "James K. Lowden"
>
> On Fri, 12 Apr 2013 21:48:49 +0200 (CEST)
> "Bernd Warken" 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
> > t
On Fri, 12 Apr 2013 21:48:49 +0200 (CEST)
"Bernd Warken" 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 p
> Von: "Werner LEMBERG"
>
> > [...] nowhere is an error handling for the case that Perl is not
> > installed or if the installed Perl does not have a suitable version.
>
> Indeed! This surprises me, actually :-)
>
> > Is it necessary to add such an error handling somewhere in the
> > configu
> [...] nowhere is an error handling for the case that Perl is not
> installed or if the installed Perl does not have a suitable version.
Indeed! This surprises me, actually :-)
> Is it necessary to add such an error handling somewhere in the
> configuration or in the Makefiles?
It would be a
Meanwhile groff has quite a lot of Perl files:
./src/utils/afmtodit/afmtodit.pl
./src/devices/gropdf/gropdf.pl
./src/devices/gropdf/pdfmom.pl
./src/roff/grog/perl_test.pl
./src/roff/grog/grog.pl
./font/devpdf/util/BuildFoundries.pl
./tmac/hyphenex.pl
./contrib/glilypond/perl_test.pl
./contrib/glil