Browse Source

HAVE_DIRECTD

David Rose 23 years ago
parent
commit
d881b4fdeb
3 changed files with 8 additions and 2 deletions
  1. 1 1
      direct/src/directd/Sources.pp
  2. 1 1
      direct/src/directdServer/Sources.pp
  3. 6 0
      dtool/Config.pp

+ 1 - 1
direct/src/directd/Sources.pp

@@ -1,7 +1,7 @@
 
 // This package presently only builds on Windows.
 // We also require the network layer (queuedConnectionManager, etc.)
-#define BUILD_DIRECTORY $[and $[WINDOWS_PLATFORM],$[HAVE_NET]]
+#define BUILD_DIRECTORY $[and $[WINDOWS_PLATFORM],$[HAVE_NET],$[HAVE_DIRECTD]]
 
 #define LOCAL_LIBS \
     directbase

+ 1 - 1
direct/src/directdServer/Sources.pp

@@ -1,7 +1,7 @@
 
 // This package presently only builds on Windows.
 // We also require the network layer (queuedConnectionManager, etc.)
-#define BUILD_DIRECTORY $[and $[WINDOWS_PLATFORM],$[HAVE_NET]]
+#define BUILD_DIRECTORY $[and $[WINDOWS_PLATFORM],$[HAVE_NET],$[HAVE_DIRECTD]]
 
 //#define LOCAL_LIBS \
 //    directbase

+ 6 - 0
dtool/Config.pp

@@ -303,6 +303,12 @@
 // Do you want to build the Renderman interface?
 #define HAVE_RIB
 
+// Do you want to build the DirectD tools for starting Panda clients
+// remotely?  This only affects the direct tree.  Enabling this may
+// cause libdirect.dll to fail to load on Win98 clients.
+#define HAVE_DIRECTD
+
+
 // Is Mikmod installed?  How should we run the libmikmod-config program?
 #define MIKMOD_CONFIG libmikmod-config
 #defer HAVE_MIKMOD $[bintest $[MIKMOD_CONFIG]]