Index: /trunk/FACT++/src/smartfact.cc
===================================================================
--- /trunk/FACT++/src/smartfact.cc	(revision 13798)
+++ /trunk/FACT++/src/smartfact.cc	(revision 13799)
@@ -65,4 +65,5 @@
     Astro(double lon, double lat, const Time &t=Time()) :  time(t)
     {
+#ifdef HAVE_LIBNOVA
         ln_lnlat_posn observer;
         observer.lng = lon;
@@ -185,4 +186,5 @@
         case 7: case 8:  color = kHtmlGreen;   break;
         }
+#endif
     }
 };
@@ -209,4 +211,5 @@
     Moon(double lon, double lat, const Time &t=Time()) : time(t)
     {
+#ifdef HAVE_LIBNOVA
         const double JD = time.JD();
 
@@ -269,4 +272,5 @@
 
         description = out.str();
+#endif
     }
 
@@ -294,6 +298,4 @@
     }
 };
-
-#endif
 
 // ------------------------------------------------------------------------
