bin_SCRIPTS =
LDADD =
+if HAVE_PCRE2
+ LDADD += $(PCRE2_LIBS)
+else
if HAVE_PCRE
LDADD += $(PCRE_LIBS)
endif
+endif
###--------------------------------------------------------------------------
### Making substitutions.
anag_SOURCES += anagram.c
anag_SOURCES += longest.c
anag_SOURCES += mono.c
-if HAVE_PCRE
+if HAVE_PCRE2
anag_SOURCES += pcre.c
+else
+if HAVE_PCRE
+ anag_SOURCES += pcre.c
+endif
endif
if HAVE_REGCOMP
anag_SOURCES += regexp.c