diff --git a/direct/src/directd/Sources.pp b/direct/src/directd/Sources.pp index 9fd79b66d8..40afa34b02 100644 --- a/direct/src/directd/Sources.pp +++ b/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 diff --git a/direct/src/directdServer/Sources.pp b/direct/src/directdServer/Sources.pp index 388cc1e51d..03247777a1 100644 --- a/direct/src/directdServer/Sources.pp +++ b/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 diff --git a/dtool/Config.pp b/dtool/Config.pp index 1f17db8522..7cd9bbd526 100644 --- a/dtool/Config.pp +++ b/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]]