Index: /trunk/configure.ac
===================================================================
--- /trunk/configure.ac	(revision 438)
+++ /trunk/configure.ac	(revision 439)
@@ -1079,4 +1079,6 @@
    fi
 fi
+AC_CHECK_FUNC(pmap_getmaps, 
+	AC_DEFINE([HAVE_PMAP_GETMAPS], [], [Define if pmap_getmaps available]), [],[])
 
 	
Index: /trunk/docs/Changelog
===================================================================
--- /trunk/docs/Changelog	(revision 438)
+++ /trunk/docs/Changelog	(revision 439)
@@ -1,2 +1,6 @@
+	* Fix IgnoreAdded to anchor regex at beginning of path (reported by R.Lindner)
+	* Add check to detect availability of pmap_getmaps() (missing in static library
+	  on recent Linux systems as reported by Ian Baldwin)
+
 3.0.13:
 	* Fix detection of nonfunctional /dev/kmem
Index: /trunk/src/sh_portcheck.c
===================================================================
--- /trunk/src/sh_portcheck.c	(revision 438)
+++ /trunk/src/sh_portcheck.c	(revision 439)
@@ -834,5 +834,5 @@
 			      unsigned long prot)
 {
-#ifdef  HAVE_RPC_RPC_H
+#if defined(HAVE_RPC_RPC_H) && defined(HAVE_PMAP_GETMAPS)
   struct pmaplist * head;
   char *r;
