Index: branches/pap/psconfig/pscheckperl
===================================================================
--- branches/pap/psconfig/pscheckperl	(revision 23948)
+++ branches/pap/psconfig/pscheckperl	(revision 25027)
@@ -57,4 +57,7 @@
 $homedir = `pwd`; chomp $homedir;
 
+# Astro::FITS::CFITSIO requires this to be set correctly...
+$ENV{'CFITSIO'} = $prefix;
+
 print "psconfig version: $version\n";
 print "prefix: $prefix\n";
@@ -78,10 +81,14 @@
     if ($modver eq "") { $modver = 0; } 
     system ("pscheckmods $module $modver");
-    if ($? == 0) { 
+    if (($? == 0) and not defined $force{$module} and not defined $force{'all'}) { 
 	# print "$module: found\n";
 	next; 
     }
 
-    print "$module: missing\n";
+    if (defined $force{$module}) {
+	print "$module: force\n";
+    } else {
+	print "$module: missing\n";
+    }
     unless ($build or defined $force{$module} or defined $force{'all'}) { 
 	$Nmissing ++;
