about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-03 19:43:41 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-03 19:43:41 +0000
commitecb06196255694c2d81a5bc733bea07e24ab3361 (patch)
treee259dd10211304e3fd40455b65f93833a7b813aa
parent3fd759d10f61e4e03dac0d9f7c62aff4a7be89da (diff)
downloadglibc-ecb06196255694c2d81a5bc733bea07e24ab3361.tar.gz
glibc-ecb06196255694c2d81a5bc733bea07e24ab3361.tar.xz
glibc-ecb06196255694c2d81a5bc733bea07e24ab3361.zip
Update.
2000-02-29  Cristian Gafton  <gafton@redhat.com>

	* configure.in (CCVERSION): Require at least veersion 5 of perl API.
-rw-r--r--ChangeLog4
-rw-r--r--configure.in7
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 269bfc2e87..8dac858ed7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>
 
 	* sunrpc/rpc/svc.h (SVCXPRT): Add a "xp_pad" field at the end.
diff --git a/configure.in b/configure.in
index 0b704e55ea..0e7cca9e6b 100644
--- a/configure.in
+++ b/configure.in
@@ -630,6 +630,13 @@ AC_SUBST(libc_cv_have_ksh)
 
 AC_PROG_AWK
 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_PATH_PROG(INSTALL_INFO, install-info, no,
 	     $PATH:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin)