summaryrefslogtreecommitdiffstats
path: root/m4/nspr.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/nspr.m4')
-rw-r--r--m4/nspr.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/m4/nspr.m4 b/m4/nspr.m4
index d9d4d83a..81230f66 100644
--- a/m4/nspr.m4
+++ b/m4/nspr.m4
@@ -78,6 +78,10 @@ if test -z "$nspr_inc" -o -z "$nspr_lib"; then
nspr_inc=`$PKG_CONFIG --cflags-only-I nspr`
nspr_lib=`$PKG_CONFIG --libs-only-L nspr`
AC_MSG_RESULT([using system NSPR])
+ elif $PKG_CONFIG --exists dirsec-nspr; then
+ nspr_inc=`$PKG_CONFIG --cflags-only-I dirsec-nspr`
+ nspr_lib=`$PKG_CONFIG --libs-only-L dirsec-nspr`
+ AC_MSG_RESULT([using system dirsec NSPR])
else
AC_MSG_ERROR([NSPR not found, specify with --with-nspr.])
fi