|
|
|
@ -45,6 +45,10 @@ AC_ARG_ENABLE(experimental, |
|
|
|
[ --enable-experimental Enables some experimental code]) |
|
|
|
|
|
|
|
|
|
|
|
dnl --have-ekv: define HAVE_EKV in the code. This is for EKV model support |
|
|
|
AC_ARG_ENABLE(ekv, |
|
|
|
[ --enable-ekv Enable ekv model *not in standard distribution*]) |
|
|
|
|
|
|
|
dnl Enable maintainer commands only if requested |
|
|
|
AM_MAINTAINER_MODE |
|
|
|
|
|
|
|
@ -178,6 +182,10 @@ dnl Check for getopt function and if not found uses a local copy: |
|
|
|
AC_CHECK_FUNC(getopt, GETOPTSRC="", GETOPTSRC= "getopt.h getopt.c getopt1.c") |
|
|
|
AC_SUBST(GETOPTSRC) |
|
|
|
|
|
|
|
AC_MSG_RESULT(Checking for readline library:) |
|
|
|
dnl Check for the readline library |
|
|
|
AC_CHECK_LIB(readline, AC_DEFINE(HAVE_GNUREADLINE) LIBS="$LIBS -lreadline") |
|
|
|
|
|
|
|
# Expand the prefix variable (this is really annoying!) |
|
|
|
if eval "test x$prefix = xNONE"; then |
|
|
|
dprefix=$ac_default_prefix |
|
|
|
@ -212,6 +220,11 @@ if test "$enable_experimental" = "yes"; then |
|
|
|
AC_DEFINE(EXPERIMENTAL_CODE) |
|
|
|
AC_MSG_RESULT(EXPERIMENTAL_CODE enabled) |
|
|
|
fi |
|
|
|
if test "$enable_ekv" = "yes"; then |
|
|
|
AC_DEFINE(HAVE_EKV) |
|
|
|
AC_MSG_RESULT(Model EKV included) |
|
|
|
EKVDIR=ekv |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
AC_OUTPUT( \ |
|
|
|
@ -240,6 +253,7 @@ src/spicelib/devices/cccs/Makefile \ |
|
|
|
src/spicelib/devices/ccvs/Makefile \ |
|
|
|
src/spicelib/devices/csw/Makefile \ |
|
|
|
src/spicelib/devices/dio/Makefile \ |
|
|
|
src/spicelib/devices/dio/Makefile \ |
|
|
|
src/spicelib/devices/ind/Makefile \ |
|
|
|
src/spicelib/devices/isrc/Makefile \ |
|
|
|
src/spicelib/devices/hfet1/Makefile \ |
|
|
|
|