|
|
|
@ -5,9 +5,12 @@ dnl Create a configuration header |
|
|
|
AM_CONFIG_HEADER(config.h) |
|
|
|
|
|
|
|
dnl Initialize automake stuff |
|
|
|
AM_INIT_AUTOMAKE(ng-spice-rework,14) |
|
|
|
|
|
|
|
AM_INIT_AUTOMAKE(ng-spice-rework,14pre4) |
|
|
|
|
|
|
|
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, |
|
|
|
[ --enable-ansi Force --ansi option for compilation]) |
|
|
|
@ -174,7 +177,7 @@ dnl Check for the garbage collector: |
|
|
|
AC_CHECK_LIB(gc,GC_malloc,AC_DEFINE(HAVE_LIBGC) LIBS="$LIBS -lgc") |
|
|
|
|
|
|
|
dnl Check for the asprintf function: |
|
|
|
AC_CHECK_FUNC(asprintf) |
|
|
|
AC_CHECK_FUNCS(asprintf) |
|
|
|
|
|
|
|
|
|
|
|
AC_CHECK_FUNC(getopt_long, getopt_long=true) |
|
|
|
@ -215,6 +218,11 @@ if test "$enable_experimental" = "yes"; then |
|
|
|
AC_MSG_RESULT(EXPERIMENTAL_CODE enabled) |
|
|
|
fi |
|
|
|
|
|
|
|
if test "$enable_ftedebug" = "yes"; then |
|
|
|
AC_DEFINE(FTEDEBUG) |
|
|
|
AC_MSG_RESULT(WARNING: Frontend debug is enabled) |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if test "$enable_ekv" = "yes"; then |
|
|
|
AC_MSG_RESULT(Model EKV included) |
|
|
|
|