Remove :use-regexp from *features* when not on clisp.

Pascal J. Bourguignon [2019-02-14 03:24]
Remove :use-regexp from *features* when not on clisp.
Filename
common-lisp/regexp/regexp.lisp
diff --git a/common-lisp/regexp/regexp.lisp b/common-lisp/regexp/regexp.lisp
index f95ee51..8c79d3e 100644
--- a/common-lisp/regexp/regexp.lisp
+++ b/common-lisp/regexp/regexp.lisp
@@ -87,9 +87,11 @@ License:
 "))
 (in-package "COM.INFORMATIMAGO.COMMON-LISP.REGEXP.REGEXP")

-#+clisp (eval-when (:compile-toplevel :load-toplevel :execute)
-          (when (find-package "REGEXP")
-            (pushnew :use-regexp *features*)))
+(eval-when (:compile-toplevel :load-toplevel :execute)
+  #+clisp (when (find-package "REGEXP")
+            (pushnew :use-regexp *features*))
+  #-clisp (setf *features* (delete :use-regexp *features*)))
+

 (defvar *engine* :ppcre
   "Current possible values are :ppcre or :regexp.  It is possible to
ViewGit