2000-02-29  Cristian Gafton  <gafton@redhat.com>

	* configure.in (CCVERSION): Require at least veersion 5 of perl API.
This commit is contained in:
Ulrich Drepper 2000-03-03 19:43:41 +00:00
parent 3fd759d10f
commit ecb0619625
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2000-02-29 Cristian Gafton <gafton@redhat.com>
* configure.in (CCVERSION): Require at least veersion 5 of perl API.
2000-02-17 H.J. Lu <hjl@gnu.org> 2000-02-17 H.J. Lu <hjl@gnu.org>
* sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end. * sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.

View File

@ -630,6 +630,13 @@ AC_SUBST(libc_cv_have_ksh)
AC_PROG_AWK AC_PROG_AWK
AC_PATH_PROG(PERL, perl, no) AC_PATH_PROG(PERL, perl, no)
if [ -n "$PERL" ] ; then
eval $($PERL -V:apiversion)
if expr $apiversion \< "5" ; then
PERL=no
fi
unset apiversion
fi
AC_SUBST(PERL) AC_SUBST(PERL)
AC_PATH_PROG(INSTALL_INFO, install-info, no, AC_PATH_PROG(INSTALL_INFO, install-info, no,
$PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin) $PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin)