conditional compilation CLUSTER
This commit is contained in:
parent
6f2038bbb4
commit
1a5da55280
|
|
@ -935,6 +935,7 @@ if test "x$enable_cluster" = xyes; then
|
|||
AC_DEFINE([CLUSTER], [], [Spice cluster support])
|
||||
LIBS="$LIBS -lpthread"
|
||||
fi
|
||||
AM_CONDITIONAL([HAVE_CLUSTER_WANTED], [test "x$enable_cluster" = xyes])
|
||||
|
||||
if test "x$enable_expdevices" = xyes; then
|
||||
AC_DEFINE([EXP_DEV], [], [Define if we want to enable experimental devices])
|
||||
|
|
|
|||
|
|
@ -94,8 +94,12 @@ libckt_la_SOURCES = \
|
|||
tfsetp.c \
|
||||
tranaskq.c \
|
||||
traninit.c \
|
||||
transetp.c \
|
||||
cluster.c
|
||||
transetp.c
|
||||
|
||||
|
||||
if HAVE_CLUSTER_WANTED
|
||||
libckt_la_SOURCES += cluster.c
|
||||
endif
|
||||
|
||||
|
||||
if PSS_WANTED
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
/* Spice hooks */
|
||||
#include "ngspice/ngspice.h"
|
||||
#ifdef CLUSTER
|
||||
#include "ngspice/inpdefs.h"
|
||||
#include "ngspice/cluster.h"
|
||||
#include "ngspice/cktdefs.h"
|
||||
|
|
@ -423,4 +422,3 @@ int CLUsync(double time,double *delta, int error){
|
|||
return 1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue