Bernd,
there are some problems with this patch.
> +PERL=@PERL@
> PERLPATH=@PERLPATH@
> +PERLVERSION=@PERLVERSION@
We don't need PERL *and* PERLPATH. You should rename everything to
use either the former or the latter.
> --- aclocal.m428 Dec 2012 11:59:30 - 1.58
> +++ acloca
> Von: "Werner LEMBERG"
>
> 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 i
>> Don't worry. If people use the default incantation
>>
>> cvs -z9 update -dP
>>
>> an empty `autom4te.cache' file gets deleted automatically.
>
> `autom4te.cache' isn't empty, but contains a `CVS' subdirectory with
> the usual files.
This counts as empty.
Werner
> Von: "Werner LEMBERG"
>
> > Maybe the deletion of `autom4te.cache' should be done by someone
> > with admin access.
>
> Don't worry. If people use the default incantation
>
> cvs -z9 update -dP
>
> an empty `autom4te.cache' file gets deleted automatically.
`autom4te.cache' isn't empty, b
> With the actual groff CVS version and with
> ftp://ftp.gnu.org/gnu/groff/groff-1.22.2.tar.gz, `autoreconf'
> produces errors with `configure', but `autoconf' is fine for
> `configure'.
[untested] I think you have to say
autoreconf -I m4
> Maybe the deletion of `autom4te.cache' should be don
> Von: "Werner LEMBERG"
> Try something like this:
>
> AC_PATH_PROG([PERLPATH],
>[perl],
>[no])
> if test "$PERLPATH" = "no"; then
> AC_MSG_ERROR([perl binary not found])
> fi
Fine. Sdditionally `AX_PROG_PERL_VERSION' could be used for the
version chec
>> AC_PATH_PROG([PERLPATH], [perl], [/usr/bin/perl])
>> if test -z "$PERLPATH"; then
>
> I think AC_PATH_PROG sets PERLPATH to /usr/bin/perl if it can't find it
> in PATH, so the test will never be true?
>
> Perhaps the Autoconf archive is of some use?
> http://www.gnu.org/software/auto
With the actual groff CVS version and with
ftp://ftp.gnu.org/gnu/groff/groff-1.22.2.tar.gz,
`autoreconf' produces errors with `configure', but `autoconf' is fine for
`configure'.
I do not know where that comes from.
I did not install anything about `autotools' in CVS.
Maybe the deletion of `au
>> Does that mean that in CVS all files generated by
>> autconf/autoreconf such as `configure' should vanish? So everyone
>> using CVS must first run autoconf/autoreconf?
>
> That's my understanding of what Werner and Keith have been saying,
> yes.
Indeed, but:
> I'd hope you don't find too ma
Hi Bernd,
> AC_PATH_PROG([PERLPATH], [perl], [/usr/bin/perl])
> if test -z "$PERLPATH"; then
I think AC_PATH_PROG sets PERLPATH to /usr/bin/perl if it can't find it
in PATH, so the test will never be true?
Perhaps the Autoconf archive is of some use?
http://www.gnu.org/software/autoc
I tried to get autoconf into breaking by wrong Perl version or no Perl at all.
## add to /m4/groff.m4:
# We need Perl 5.6.1 or newer.
AC_DEFUN([GROFF_PERL],
PERLVERSION=v5.6.1
AC_PATH_PROG([PERLPATH], [perl], [/usr/bin/perl])
if test -z "$PERLPATH"; then
Hi maouinin,
Tadziu wrote:
> With groff, instead of "--", you have to use "\[en]" to get an
> en-dash. For left and right quotes use "\[lq]" and "\[rq]".
Or the older style of \(en for the two-letter ones. There's also
preconv(1), normally invoked with groff's -k option. That way you can
feed
> When I give these tests, which often run into a number of
> pages I like to put the "page_number of total_pages".
> Something like "page 3 of 8". This at times helps me avoid
> some classroom/testing confusion. In TeX there is a package
> for this, "lastpage" if I remember correctly. How would I
> 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,
> Does that mean that in CVS all files generated by autconf/autoreconf
> such as `configure' should vanish? So everyone using CVS must first
> run autoconf/autoreconf?
That's my understanding of what Werner and Keith have been saying, yes.
I'd hope you don't find too many in there in a
Von: "Ralph Corderoy"
>
> Hi Keith,
>
> > however, [configure] is a *generated* file, and does *not* belong in a
> > CVS repository, IMO.
>
> Quite. Nothing generated belongs in CVS; that's for human-edited
> source only as otherwise its usefulness for investigation and
> understanding changes
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.
Hi Keith,
> however, [configure] is a *generated* file, and does *not* belong in a
> CVS repository, IMO.
Quite. Nothing generated belongs in CVS; that's for human-edited
source only as otherwise its usefulness for investigation and
understanding changes diminshes due to the noise. CVS users h
Thank you. He probably did. It works. So now everything works, including the
user.
When I give these tests, which often run into a number of pages I like to
put the "page_number of total_pages". Something like "page 3 of 8". This at
times helps me avoid some classroom/testing confusion. In TeX t
19 matches
Mail list logo