mirror of
https://git.code.sf.net/p/ngspice/ngspice
synced 2026-08-28 16:54:20 +02:00
configure.ac, defensive use of `AC_OPENMP'
This commit is contained in:
+1
-1
@@ -991,7 +991,7 @@ AC_ARG_ENABLE([openmp],
|
||||
|
||||
# Add OpenMP to ngspice.
|
||||
: ${enable_openmp:=no}
|
||||
AC_OPENMP
|
||||
m4_ifdef([AC_OPENMP], [AC_OPENMP])
|
||||
|
||||
if test "x$enable_openmp" = xyes; then
|
||||
AC_DEFINE([USE_OMP], [1], [OpenMP parallel processing])
|
||||
|
||||
Reference in New Issue
Block a user