|
|
|
@ -11,9 +11,6 @@ AM_CONFIG_HEADER(config.h) |
|
|
|
dnl Initialize automake stuff |
|
|
|
AM_INIT_AUTOMAKE(ng-spice-rework,15pre1) |
|
|
|
|
|
|
|
dnl --enable-ftedebug : enable frontend debug macros |
|
|
|
AC_ARG_ENABLE(ftedebug, |
|
|
|
[ --enable-ftedebug Enable ngspice frontend debug]) |
|
|
|
|
|
|
|
dnl --enable-ansi : try to force --ansi option to the compiler |
|
|
|
AC_ARG_ENABLE(ansi, |
|
|
|
@ -63,6 +60,14 @@ dnl --enable-sense2 : define WANT_SENSE2 for the code |
|
|
|
AC_ARG_ENABLE(sense2, |
|
|
|
[ --enable-sense2 Use spice2 sensitivity analysis]) |
|
|
|
|
|
|
|
dnl --enable-ftedebug : enable frontend debug macros |
|
|
|
AC_ARG_ENABLE(ftedebug, |
|
|
|
[ --enable-ftedebug Enable ngspice frontend debug]) |
|
|
|
|
|
|
|
dnl --enable-cpdebug : enable frontend debug macros |
|
|
|
AC_ARG_ENABLE(cpdebug, |
|
|
|
[ --enable-cpdebug Enable ngspice shell debug]) |
|
|
|
|
|
|
|
dnl --enable-sensdebug : define SENSDEBUG for the code |
|
|
|
AC_ARG_ENABLE(sensedebug, |
|
|
|
[ --enable-sensdebug Debug sensitivity code]) |
|
|
|
@ -103,10 +108,14 @@ dnl --enable-cider: define CIDER in the code. This is for CIDER support |
|
|
|
AC_ARG_ENABLE(cider, |
|
|
|
[ --enable-cider Enable CIDER enchancements, experimental *not in standard distribution*]) |
|
|
|
|
|
|
|
dnl --enable-cluster: define CLUSTER in the code. This is for tcl support |
|
|
|
dnl --enable-cluster: define CLUSTER in the code. This is for cluster support |
|
|
|
AC_ARG_ENABLE(cluster, |
|
|
|
[ --enable-cluster Enable cluster support, experimental *not in standard distribution*]) |
|
|
|
|
|
|
|
dnl --enable-numparams: define NUMPARAMS in the code. This is for .param support |
|
|
|
AC_ARG_ENABLE(numparam, |
|
|
|
[ --enable-numparam Enable numparams library support, experimental *not in standard distribution*]) |
|
|
|
|
|
|
|
dnl Enable maintainer commands only if requested |
|
|
|
AM_MAINTAINER_MODE |
|
|
|
|
|
|
|
@ -358,6 +367,10 @@ if test "$enable_experimental" = "yes"; then |
|
|
|
AC_MSG_RESULT(EXPERIMENTAL_CODE enabled) |
|
|
|
fi |
|
|
|
|
|
|
|
if test "$enable_cpdebug" = "yes"; then |
|
|
|
AC_DEFINE(CPDEBUG) |
|
|
|
AC_MSG_RESULT(WARNING: Shell debug is enabled) |
|
|
|
fi |
|
|
|
if test "$enable_ftedebug" = "yes"; then |
|
|
|
AC_DEFINE(FTEDEBUG) |
|
|
|
AC_MSG_RESULT(WARNING: Frontend debug is enabled) |
|
|
|
@ -469,6 +482,18 @@ if test "$enable_expdevices" = "yes"; then |
|
|
|
AC_MSG_RESULT(WARNING: Experimental devices enabled) |
|
|
|
fi |
|
|
|
|
|
|
|
if test "$enable_numparam" = "yes"; then |
|
|
|
AC_MSG_RESULT(Numparam library is enabled) |
|
|
|
AC_DEFINE(NUMPARAMS) |
|
|
|
NUMPARAMDIR="numparam" |
|
|
|
NUMPARAMLIB="frontend/numparam/libnumparam.a" |
|
|
|
else |
|
|
|
NUMPARAMDIR="" |
|
|
|
NUMPARAMLIB="" |
|
|
|
fi |
|
|
|
AC_SUBST(NUMPARAMDIR) |
|
|
|
AC_SUBST(NUMPARAMLIB) |
|
|
|
|
|
|
|
dnl --with-readline : the user wants to use readline library |
|
|
|
AC_ARG_WITH(readline, |
|
|
|
[ --with-readline Use the readline library. WARNING: breaks GPL license], |
|
|
|
@ -544,6 +569,7 @@ src/ciderlib/support/Makefile \ |
|
|
|
src/ciderlib/oned/Makefile \ |
|
|
|
src/ciderlib/twod/Makefile \ |
|
|
|
src/frontend/Makefile \ |
|
|
|
src/frontend/numparam/Makefile \ |
|
|
|
src/frontend/help/Makefile \ |
|
|
|
src/frontend/parser/Makefile \ |
|
|
|
src/frontend/plotting/Makefile \ |
|
|
|
|