57480fed00898a27858910f057eadb3a61151a7f
braney
  Sun Mar 12 20:27:24 2017 -0700
make pslSnakes (temporarily) only available if HAL is available

diff --git src/hg/lib/trackHub.c src/hg/lib/trackHub.c
index ed363c7..76927b2 100644
--- src/hg/lib/trackHub.c
+++ src/hg/lib/trackHub.c
@@ -760,32 +760,32 @@
 
     if (!(trackDbSetting(tdb, "compositeTrack") ||
           trackDbSetting(tdb, "container") || 
 	  isSuper))
         {
 	errAbort("Parent track %s is not compositeTrack, container, or superTrack in hub %s genome %s", 
 		tdb->track, hub->url, genome->name);
 	}
     }
 else
     {
     /* Check type field. */
     char *type = requiredSetting(hub, genome, tdb, "type");
     if (!(startsWithWord("bigWig", type) ||
           startsWithWord("bigBed", type) ||
-          startsWithWord("pslSnake", type) ||
 #ifdef USE_HAL
+          startsWithWord("pslSnake", type) ||
           startsWithWord("halSnake", type) ||
 #endif
           startsWithWord("vcfTabix", type) ||
           startsWithWord("bigPsl", type) ||
           startsWithWord("bigMaf", type) ||
           startsWithWord("longTabix", type) ||
           startsWithWord("bigGenePred", type) ||
           startsWithWord("bigChain", type) ||
           startsWithWord("bam", type)))
 	{
 	errAbort("Unsupported type '%s' in hub %s genome %s track %s", type,
 	    hub->url, genome->name, tdb->track);
 	}
 
     requiredSetting(hub, genome, tdb, "bigDataUrl");