[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoscan repair
From: |
Peter Eisentraut |
Subject: |
Re: autoscan repair |
Date: |
Wed, 20 Sep 2000 19:36:15 +0200 (CEST) |
Akim Demaille writes:
> Peter> Actually, the real problem is help2man, which fails if it can't
> Peter> execute the program, making the whole build fail.
>
> Only in the case of CVS Autoconf or someone who changes something in
> the source of Autoconf, since the man pages are shipped.
Oh, you're right.
But perhaps it would still be cleaner to have this handled a priori:
# configure.in
AC_LANG(Perl)
AC_CHECK_FUNCS([Getopt::Long::Configure])
# autoscan.pl
do 'config.pl'
if ($have_Getopt__Long__Configure) {
eval 'Getopt::Long::Configure(...);';
} else {
eval 'Getopt::Long::config(...);';
}
Didn't someone say Perl was portable?
:-)
--
Peter Eisentraut address@hidden http://yi.org/peter-e/