configure problem

Jeff Bailey jbailey@nisa.net
Tue Nov 26 05:45:00 GMT 2002


On Tue, 2002-11-26 at 05:20, Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Andrew Walrond wrote:
> > Yes indeed, more problems on install. Googling around it seems this
> > particular problem has been around for a while
> 
> configure found no usable perl.  Install one.

All the version tests in configure either issue warnings and cope or fail
during configure.  This patch does the same for Perl.

2002-11-26  Jeff Bailey  <jbailey@gnu.org>

        * configure.in (PERL): Fail if no usable perl.

diff -u -p -r1.376 configure.in
--- configure.in	8 Nov 2002 02:18:58 -0000	1.376
+++ configure.in	26 Nov 2002 13:29:08 -0000
@@ -810,6 +810,9 @@ if test "$PERL" != no &&
    (eval `$PERL -V:apiversion`; test `expr "$apiversion" \< 5` -ne 0); then
   PERL=no
 fi
+if test "x$PERL" = xno; then
+  AC_ERROR([You need at least PERL Version 5])
+fi
 AC_PATH_PROG(INSTALL_INFO, install-info, no,
 	     $PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin) if test "$INSTALL_INFO" != "no"; then



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20021126/84b1c300/attachment.sig>


More information about the Libc-alpha mailing list