Index: trunk/pstamp/src/ppstampParseCamera.c
===================================================================
--- trunk/pstamp/src/ppstampParseCamera.c	(revision 16593)
+++ trunk/pstamp/src/ppstampParseCamera.c	(revision 17270)
@@ -34,4 +34,16 @@
     }
 
+    // XXX: create a filerule for PPSTAMP.ASTROM
+    pmFPAfile *astrom = pmFPAfileDefineFromArgs(&status, config, "PSWARP.ASTROM", "ASTROM");
+    if (!status) {
+        psError(PS_ERR_UNKNOWN, false, "failed to find astrom definitiion");
+        return NULL;
+    }
+    if (astrom) {
+        psLogMsg ("ppstamp", 3, "using supplied astrometry\n");
+    } else {
+        psLogMsg ("ppstamp", 3, "using header astrometry\n");
+    }
+
 #ifdef notyet
     // add recipe options supplied on command line
@@ -55,5 +67,5 @@
     }
 
-    // TODO: only do the workaround if the file level is chip, skycells should be fine
+    // XXX: TODO: only do the workaround if the file level is chip, skycells should be fine
     if (!strcmp(config->cameraName, "MEGACAM")) {
         // workaround bug 986 and related
