oils_pcrud_la_DEPENDENCIES = liboils_utils.la
oils_auth_la_SOURCES = oils_auth.c
-oils_auth_la_LDFLAGS = -module -loils_utils -version-info 2:0:0
+oils_auth_la_LDFLAGS = -module -loils_utils -lpcre -version-info 2:0:0
oils_auth_la_DEPENDENCIES = liboils_utils.la
AC_CHECK_LIB([xml2], [main], [], AC_MSG_ERROR(*** OpenILS requires libxml2))
AC_CHECK_LIB([xslt], [main], [], AC_MSG_ERROR(*** OpenILS requires libxslt))
AC_CHECK_LIB([pq], [main], [], AC_MSG_ERROR(*** OpenILS requires libpq))
+ PKG_CHECK_MODULES(pcre, libpcre >= 3.0.0)
+
#------------------------------------
# Checks for header files.