[ovs-dev] [PATCH 9/9] Remove Perl dependency.

Ben Pfaff blp at ovn.org
Wed Nov 15 18:53:18 UTC 2017


Nothing in the OVS tree uses Perl any longer, so remove the dependency.

Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 Documentation/intro/install/general.rst | 8 --------
 Makefile.am                             | 2 --
 configure.ac                            | 6 ------
 tests/atlocal.in                        | 1 -
 tests/ovs-macros.at                     | 1 -
 5 files changed, 18 deletions(-)

diff --git a/Documentation/intro/install/general.rst b/Documentation/intro/install/general.rst
index e5ec155b94af..1485bdc19980 100644
--- a/Documentation/intro/install/general.rst
+++ b/Documentation/intro/install/general.rst
@@ -138,11 +138,6 @@ schema, you will also need the following software:
 
 - libtool version 2.4 or later. (Older versions might work too.)
 
-To run the unit tests, you also need:
-
-- Perl. Version 5.10.1 is known to work. Earlier versions should also
-  work.
-
 The datapath tests for userspace and Linux datapaths also rely upon:
 
 - pyftpdlib. Version 1.2.0 is known to work. Earlier versions should
@@ -162,9 +157,6 @@ other than plain text, only if you have the following:
 
 - dot from graphviz (http://www.graphviz.org/).
 
-- Perl. Version 5.10.1 is known to work. Earlier versions should also
-  work.
-
 If you are going to extensively modify Open vSwitch, consider installing the
 following to obtain better warnings:
 
diff --git a/Makefile.am b/Makefile.am
index 5bcd2919c1b4..ba62e781ffdb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -150,7 +150,6 @@ SUFFIXES += .in
 	    -e 's,[@]PKIDIR[@],$(PKIDIR),g' \
 	    -e 's,[@]LOGDIR[@],$(LOGDIR),g' \
 	    -e 's,[@]DBDIR[@],$(DBDIR),g' \
-	    -e 's,[@]PERL[@],$(PERL),g' \
 	    -e 's,[@]PYTHON[@],$(PYTHON),g' \
 	    -e 's,[@]RUNDIR[@],$(RUNDIR),g' \
 	    -e 's,[@]VERSION[@],$(VERSION),g' \
@@ -175,7 +174,6 @@ SUFFIXES += .xml
 	  PKIDIR='$(PKIDIR)' \
 	  LOGDIR='$(LOGDIR)' \
 	  DBDIR='$(DBDIR)' \
-	  PERL='$(PERL)' \
 	  PYTHON='$(PYTHON)' \
 	  RUNDIR='$(RUNDIR)' \
 	  VERSION='$(VERSION)' \
diff --git a/configure.ac b/configure.ac
index 9e00818327a9..6a8113a5c58c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -30,12 +30,6 @@ AC_PROG_FGREP
 AC_PROG_EGREP
 PKG_PROG_PKG_CONFIG
 
-AC_ARG_VAR([PERL], [path to Perl interpreter])
-AC_PATH_PROG([PERL], perl, no)
-if test "$PERL" = no; then
-   AC_MSG_ERROR([Perl interpreter not found in $PATH or $PERL.])
-fi
-
 AM_MISSING_PROG([AUTOM4TE], [autom4te])
 
 AC_USE_SYSTEM_EXTENSIONS
diff --git a/tests/atlocal.in b/tests/atlocal.in
index 1ecabf03a261..55f9333eee08 100644
--- a/tests/atlocal.in
+++ b/tests/atlocal.in
@@ -3,7 +3,6 @@ HAVE_OPENSSL='@HAVE_OPENSSL@'
 HAVE_PYTHON='@HAVE_PYTHON@'
 HAVE_PYTHON3='@HAVE_PYTHON3@'
 EGREP='@EGREP@'
-PERL='@PERL@'
 
 if test x"$PYTHON" = x; then
     PYTHON='@PYTHON@'
diff --git a/tests/ovs-macros.at b/tests/ovs-macros.at
index 08d3d5a020f5..56d0a3bca86d 100644
--- a/tests/ovs-macros.at
+++ b/tests/ovs-macros.at
@@ -1,6 +1,5 @@
 AT_TESTED([ovs-vswitchd])
 AT_TESTED([ovs-vsctl])
-AT_TESTED([perl])
 
 m4_include([m4/compat.m4])
 
-- 
2.10.2



More information about the dev mailing list