|
|
|
@ -182,7 +182,7 @@ AC_ARG_WITH(editline, |
|
|
|
|
|
|
|
dnl --with-tcl: define TCL_MODULE in the code. This is for tcl support |
|
|
|
AC_ARG_WITH(tcl, |
|
|
|
[ --with-tcl[=tcldir] Compiles the tcl module instead, experimental, see README.Tcl]) |
|
|
|
[ --with-tcl[=tcldir] Compiles the tcl module instead, experimental, see README.Tcl]) |
|
|
|
|
|
|
|
dnl --enable-openmp: Use OpenMP on multi-core processors |
|
|
|
AC_ARG_ENABLE(openmp, |
|
|
|
@ -244,7 +244,7 @@ if test "$enable_gprof" = "yes"; then |
|
|
|
CFLAGS="$CFLAGS -pg" |
|
|
|
LDFLAGS="$LDFLAGS -pg" |
|
|
|
else |
|
|
|
AC_MSG_ERROR(We only support --enable-gprof with GCC right now.) |
|
|
|
AC_MSG_ERROR(We only support --enable-gprof with GCC right now.) |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
@ -940,9 +940,9 @@ if test "$enable_adms" = "yes"; then |
|
|
|
AC_CHECK_PROGS(ADMSXML, admsXml admsXml.exe,no) |
|
|
|
|
|
|
|
if test "$ADMSXML" = "no"; then |
|
|
|
AC_MSG_ERROR(If you want adms models you should install admsXml) |
|
|
|
AC_MSG_ERROR(If you want Verilog-A models you should install admsXml) |
|
|
|
fi |
|
|
|
AC_DEFINE(ADMS,[1],[Support for Verilog-A(MS) models]) |
|
|
|
AC_DEFINE(ADMS,[1],[Support for Verilog-A models]) |
|
|
|
|
|
|
|
VLADEVDIR=" adms/ekv \ |
|
|
|
adms/hicum0 \ |
|
|
|
@ -1056,8 +1056,12 @@ dnl test for header |
|
|
|
AC_CHECK_HEADERS([omp.h], |
|
|
|
[AC_DEFINE(USE_OMP,[1],[OpenMP parallel processing])], |
|
|
|
[AC_MSG_ERROR(Couldn't find OpenMP headers.)]) |
|
|
|
CFLAGS="$CFLAGS -fopenmp" |
|
|
|
dnl test if function is o.k. |
|
|
|
if test "x$GCC" = "xyes"; then |
|
|
|
CFLAGS="$CFLAGS -fopenmp" |
|
|
|
else |
|
|
|
CFLAGS="$CFLAGS -xopenmp" |
|
|
|
fi |
|
|
|
dnl test if timing function is o.k. |
|
|
|
AC_CHECK_FUNC(omp_get_wtime, [AC_MSG_RESULT(OpenMP features enabled)], |
|
|
|
[AC_MSG_ERROR(OpenMP not working correctly.)]) |
|
|
|
fi |
|
|
|
@ -1067,7 +1071,7 @@ dnl ------------ |
|
|
|
|
|
|
|
AC_CONFIG_FILES([Makefile |
|
|
|
man/Makefile |
|
|
|
man/man1/Makefile |
|
|
|
man/man1/Makefile |
|
|
|
src/Makefile |
|
|
|
src/spinit |
|
|
|
src/tclspinit |
|
|
|
|