ipc -> threads

This commit is contained in:
David Rose 2002-08-12 17:31:02 +00:00
parent 4b3278ad69
commit 581af369ef
4 changed files with 13 additions and 20 deletions

View File

@ -307,14 +307,16 @@
#define MIKMOD_CONFIG libmikmod-config
#defer HAVE_MIKMOD $[bintest $[MIKMOD_CONFIG]]
// Do you want to build in support for threading (inter-process
// control)? What additional libraries are required? Currently, this
// requires NSPR to compile correctly.
#define IPC_IPATH
#define IPC_LPATH
#define IPC_LIBS
//#defer HAVE_IPC $[HAVE_NSPR]
#define HAVE_IPC
// Do you want to build in support for threading (multiprocessing)?
// Building in support for threading will enable Panda to take
// advantage of multiple CPU's if you have them (and if the OS
// supports kernel threads running on different CPU's), but it will
// slightly slow down Panda for the single CPU case, so this is not
// enabled by default.
// Currently, threading support requires NSPR, so you should not
// define this true unless you have NSPR installed.
#define HAVE_THREADS
// Do you want to build the network interface? What additional libraries
// are required? Currently, this requires NSPR.

View File

@ -85,8 +85,8 @@ $[cdefine HAVE_SOXST]
/* Define if we want to use mikmod for audio. */
$[cdefine HAVE_MIKMOD]
/* Define if we want to compile the ipc code. */
$[cdefine HAVE_IPC]
/* Define if we want to compile the threading code. */
$[cdefine HAVE_THREADS]
/* Define if we want to compile the net code. */
$[cdefine HAVE_NET]

View File

@ -165,10 +165,7 @@
#set MIKMOD_CONFIG $[MIKMOD_CONFIG]
#set HAVE_MIKMOD $[HAVE_MIKMOD]
#set IPC_IPATH $[unixfilename $[IPC_IPATH]]
#set IPC_LPATH $[unixfilename $[IPC_LPATH]]
#set IPC_LIBS $[IPC_LIBS]
#set HAVE_IPC $[HAVE_IPC]
#set HAVE_THREADS $[HAVE_THREADS]
#set NET_IPATH $[unixfilename $[NET_IPATH]]
#set NET_LPATH $[unixfilename $[NET_LPATH]]

View File

@ -217,12 +217,6 @@
#define maya_libs $[MAYA_LIBS]
#endif
#if $[HAVE_IPC]
#define ipc_ipath $[wildcard $[IPC_IPATH]]
#define ipc_lpath $[wildcard $[IPC_LPATH]]
#define ipc_libs $[IPC_LIBS]
#endif
#if $[HAVE_NET]
#define net_ipath $[wildcard $[NET_IPATH]]
#define net_lpath $[wildcard $[NET_LPATH]]