|
|
@ -52,6 +52,10 @@ dnl --enable-predictor : define PREDICTOR for the code |
|
|
AC_ARG_ENABLE(predictor, |
|
|
AC_ARG_ENABLE(predictor, |
|
|
[ --enable-predictor Enable a predictor method for convergence]) |
|
|
[ --enable-predictor Enable a predictor method for convergence]) |
|
|
|
|
|
|
|
|
|
|
|
dnl --enable-newpred : define PREDICTOR for the code |
|
|
|
|
|
AC_ARG_ENABLE(newpred, |
|
|
|
|
|
[ --enable-newpred Enable NEWPRED whatever it is(?)]) |
|
|
|
|
|
|
|
|
dnl --enable-newtrunc : define NEWTRUNC for the code |
|
|
dnl --enable-newtrunc : define NEWTRUNC for the code |
|
|
AC_ARG_ENABLE(newtrunc, |
|
|
AC_ARG_ENABLE(newtrunc, |
|
|
[ --enable-newtrunc Enable the newtrunc option]) |
|
|
[ --enable-newtrunc Enable the newtrunc option]) |
|
|
@ -69,9 +73,13 @@ AC_ARG_ENABLE(cpdebug, |
|
|
[ --enable-cpdebug Enable ngspice shell debug]) |
|
|
[ --enable-cpdebug Enable ngspice shell debug]) |
|
|
|
|
|
|
|
|
dnl --enable-sensdebug : define SENSDEBUG for the code |
|
|
dnl --enable-sensdebug : define SENSDEBUG for the code |
|
|
AC_ARG_ENABLE(sensedebug, |
|
|
|
|
|
[ --enable-sensdebug Debug sensitivity code]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AC_ARG_ENABLE(sensdebug, |
|
|
|
|
|
[ --enable-sensdebug Debug sensitivity code *SENSDEBUG*]) |
|
|
|
|
|
|
|
|
|
|
|
dnl --enable-asdebug : define ASDEBUG for the code |
|
|
|
|
|
AC_ARG_ENABLE(asdebug, |
|
|
|
|
|
[ --enable-asdebug Debug sensitivity code *ASDEBUG*]) |
|
|
|
|
|
|
|
|
dnl --enable-stepdebug : define STEPDEBUG for the code |
|
|
dnl --enable-stepdebug : define STEPDEBUG for the code |
|
|
AC_ARG_ENABLE(stepdebug, |
|
|
AC_ARG_ENABLE(stepdebug, |
|
|
[ --enable-stepdebug Unknown debug option]) |
|
|
[ --enable-stepdebug Unknown debug option]) |
|
|
@ -80,6 +88,14 @@ dnl --enable-pzdebug : define PZDEBUG for the code |
|
|
AC_ARG_ENABLE(pzdebug, |
|
|
AC_ARG_ENABLE(pzdebug, |
|
|
[ --enable-pzdebug Debug pole/zero code]) |
|
|
[ --enable-pzdebug Debug pole/zero code]) |
|
|
|
|
|
|
|
|
|
|
|
dnl --enable-blktmsdebug : define D_DBG_BLOCKTIMES for the code |
|
|
|
|
|
AC_ARG_ENABLE(blktmsdebug, |
|
|
|
|
|
[ --enable-blktmsdebug Debug distortion code *BLOCKTIMES*]) |
|
|
|
|
|
|
|
|
|
|
|
dnl --enable-smltmsdebug : define D_DBG_SMALLTIMES for the code |
|
|
|
|
|
AC_ARG_ENABLE(smltmsdebug, |
|
|
|
|
|
[ --enable-smltmsdebug Debug distortion code *SMALLTIMES*]) |
|
|
|
|
|
|
|
|
dnl --enable-intnoise : define INT_NOISE for the code |
|
|
dnl --enable-intnoise : define INT_NOISE for the code |
|
|
AC_ARG_ENABLE(intnoise, |
|
|
AC_ARG_ENABLE(intnoise, |
|
|
[ --enable-intnoise Enable noise integration in noise analysis]) |
|
|
[ --enable-intnoise Enable noise integration in noise analysis]) |
|
|
@ -94,7 +110,7 @@ AC_ARG_ENABLE(experimental, |
|
|
|
|
|
|
|
|
dnl --enable-expdevices : Enable the compilation of experimental deviced |
|
|
dnl --enable-expdevices : Enable the compilation of experimental deviced |
|
|
AC_ARG_ENABLE(expdevices, |
|
|
AC_ARG_ENABLE(expdevices, |
|
|
[ --enable-expdevices Enable experimental devices (they do not compile)]) |
|
|
|
|
|
|
|
|
[ --enable-expdevices Enable experimental devices (they do not compile)]) |
|
|
|
|
|
|
|
|
dnl --enable-ekv: define HAVE_EKV in the code. This is for EKV model support |
|
|
dnl --enable-ekv: define HAVE_EKV in the code. This is for EKV model support |
|
|
AC_ARG_ENABLE(ekv, |
|
|
AC_ARG_ENABLE(ekv, |
|
|
@ -119,13 +135,13 @@ AC_ARG_ENABLE(numparam, |
|
|
dnl --enable-xgraph: Compile the xgraph plotting program. Default is "no". |
|
|
dnl --enable-xgraph: Compile the xgraph plotting program. Default is "no". |
|
|
dnl Xgraph is a plotitng package for X11 once very popular. |
|
|
dnl Xgraph is a plotitng package for X11 once very popular. |
|
|
AC_ARG_ENABLE(xgraph, |
|
|
AC_ARG_ENABLE(xgraph, |
|
|
[ --enable-xgraph Enable xgraph compilation.]) |
|
|
|
|
|
|
|
|
[ --enable-xgraph Enable xgraph compilation.]) |
|
|
|
|
|
|
|
|
dnl --with-readline: Includes GNU readline support into CLI. Default is "no". |
|
|
dnl --with-readline: Includes GNU readline support into CLI. Default is "no". |
|
|
dnl Including readline into ngspice is a violation of GPL license. It's use |
|
|
dnl Including readline into ngspice is a violation of GPL license. It's use |
|
|
dnl is discouraged. |
|
|
dnl is discouraged. |
|
|
AC_ARG_WITH(readline, |
|
|
AC_ARG_WITH(readline, |
|
|
[ --with-readline[=yes/no] Enable GNU readline support for CLI. Default=no.]) |
|
|
|
|
|
|
|
|
[ --with-readline[=yes/no] Enable GNU readline support for CLI. Default=no.]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -368,6 +384,10 @@ if test "$enable_predictor" = "yes"; then |
|
|
AC_DEFINE(PREDICTOR) |
|
|
AC_DEFINE(PREDICTOR) |
|
|
AC_MSG_RESULT(PREDICTOR algorithm enabled) |
|
|
AC_MSG_RESULT(PREDICTOR algorithm enabled) |
|
|
fi |
|
|
fi |
|
|
|
|
|
if test "$enable_newpred" = "yes"; then |
|
|
|
|
|
AC_DEFINE(NEWPRED) |
|
|
|
|
|
AC_MSG_RESULT(NEWPRED enabled) |
|
|
|
|
|
fi |
|
|
if test "$enable_newtrunc" = "yes"; then |
|
|
if test "$enable_newtrunc" = "yes"; then |
|
|
AC_DEFINE(NEWTRUNC) |
|
|
AC_DEFINE(NEWTRUNC) |
|
|
AC_MSG_RESULT(New truncation error calculation enabled) |
|
|
AC_MSG_RESULT(New truncation error calculation enabled) |
|
|
@ -391,7 +411,11 @@ if test "$enable_ftedebug" = "yes"; then |
|
|
fi |
|
|
fi |
|
|
if test "$enable_sensdebug" = "yes"; then |
|
|
if test "$enable_sensdebug" = "yes"; then |
|
|
AC_DEFINE(SENSDEBUG) |
|
|
AC_DEFINE(SENSDEBUG) |
|
|
AC_MSG_RESULT(WARNING: Sensitivity code debug is enabled) |
|
|
|
|
|
|
|
|
AC_MSG_RESULT(WARNING: Sensitivity code debug *SENSDEBUG* is enabled) |
|
|
|
|
|
fi |
|
|
|
|
|
if test "$enable_asdebug" = "yes"; then |
|
|
|
|
|
AC_DEFINE(ASDEBUG) |
|
|
|
|
|
AC_MSG_RESULT(WARNING: Sensitivity code debug *ASDEBUG* is enabled) |
|
|
fi |
|
|
fi |
|
|
if test "$enable_stepdebug" = "yes"; then |
|
|
if test "$enable_stepdebug" = "yes"; then |
|
|
AC_DEFINE(STEPDEBUG) |
|
|
AC_DEFINE(STEPDEBUG) |
|
|
@ -401,7 +425,14 @@ if test "$enable_pzdebug" = "yes"; then |
|
|
AC_DEFINE(PZDEBUG) |
|
|
AC_DEFINE(PZDEBUG) |
|
|
AC_MSG_RESULT(WARNING: Pole/Zero analysis debug is enabled) |
|
|
AC_MSG_RESULT(WARNING: Pole/Zero analysis debug is enabled) |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if test "$enable_blktmsdebug" = "yes"; then |
|
|
|
|
|
AC_DEFINE(D_DBG_BLOCKTIMES) |
|
|
|
|
|
AC_MSG_RESULT(WARNING: Distortion analysis debug *D_DBG_BLOCKTIMES* is enabled) |
|
|
|
|
|
fi |
|
|
|
|
|
if test "$enable_smltmsdebug" = "yes"; then |
|
|
|
|
|
AC_DEFINE(D_DBG_SMALLTIMES) |
|
|
|
|
|
AC_MSG_RESULT(WARNING: Distortion analysis debug *D_DBG_SMALLTIMES* is enabled) |
|
|
|
|
|
fi |
|
|
if test "$enable_xgraph" = "yes"; then |
|
|
if test "$enable_xgraph" = "yes"; then |
|
|
AC_MSG_RESULT(Xgraph compilation enabled.) |
|
|
AC_MSG_RESULT(Xgraph compilation enabled.) |
|
|
AC_CONFIG_SUBDIRS(xgraph) |
|
|
AC_CONFIG_SUBDIRS(xgraph) |
|
|
|