Index: branches/pap/psconfig/pschecklibs
===================================================================
--- branches/pap/psconfig/pschecklibs	(revision 23948)
+++ branches/pap/psconfig/pschecklibs	(revision 25027)
@@ -25,5 +25,12 @@
     if ($ARGV[0] eq "-force") {
         if (@ARGV < 2) { die "-force must be coupled to a library name\n"; }
-        $force{lc($ARGV[1])} = 1;
+        if (lc($ARGV[1]) eq 'build') {
+            $force{'autoconf'} = 1;
+            $force{'automake'} = 1;
+            $force{'libtool'} = 1;
+            $force{'pkg-config'} = 1;
+        } else {
+            $force{lc($ARGV[1])} = 1;
+        }
         shift; shift; next;
     }
@@ -93,4 +100,11 @@
 # search for, and drop, existing libdir entry in libpath?
 unshift @libpath, $libdir;
+
+# XXX a temporary hack for libreadline (this failed... needed to modify libreadline/support/shobj-conf
+# $shlib_libs = $ENV{'SHLIB_LIBS'};
+# unless ($shlib_libs =~ m|-lncurses|) {
+#     $shlib_libs .= " -lncurses";
+# }
+# $ENV{'SHLIB_LIBS'} = $shlib_libs;
 
 # add the path defined by PATH
