Dynamically check for the existence of utilities. (sam th)
[scons.git] / src / engine / SCons / Tool / dvips.py
index 098cba73419010a55507bb35226773b24921b585..7da853dd380b0299e7e9c425569d490523bcd1d0 100644 (file)
@@ -49,3 +49,6 @@ def generate(env, platform):
     env['DVIPS']      = 'dvips'
     env['DVIPSFLAGS'] = ''
     env['PSCOM']      = '$DVIPS $DVIPSFLAGS -o $TARGET $SOURCES'
+
+def exists():
+    return SCons.Util.WhereIs('dvips')