[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] autoconf for GROFF_PERL
From: |
Bernd Warken |
Subject: |
Re: [Groff] autoconf for GROFF_PERL |
Date: |
Mon, 15 Apr 2013 01:56:33 +0200 (CEST) |
> Von: "Werner LEMBERG" <address@hidden>
>
> Try something like this:
>
> AC_PATH_PROG([PERLPATH],
> [perl],
> [no])
> if test "$PERLPATH" = "no"; then
> AC_MSG_ERROR([perl binary not found])
> fi
I added an m4 macro `GROFF_PERL' at `m4/groff.m4'. It tests whether
there is a `perl' program with version >+ `v5.6.1'. When there isn't
a suitable `Perl', the `configure' script will break, but
`autoconf/autoreconf' will not report an error because there is no m4 error.
I hope that the configuration parts are still ok so far.
Bernd Warken