configure.ac, defensive use of `AC_OPENMP'
This commit is contained in:
parent
2a9723e06d
commit
2d7d77e9a6
|
|
@ -991,7 +991,7 @@ AC_ARG_ENABLE([openmp],
|
||||||
|
|
||||||
# Add OpenMP to ngspice.
|
# Add OpenMP to ngspice.
|
||||||
: ${enable_openmp:=no}
|
: ${enable_openmp:=no}
|
||||||
AC_OPENMP
|
m4_ifdef([AC_OPENMP], [AC_OPENMP])
|
||||||
|
|
||||||
if test "x$enable_openmp" = xyes; then
|
if test "x$enable_openmp" = xyes; then
|
||||||
AC_DEFINE([USE_OMP], [1], [OpenMP parallel processing])
|
AC_DEFINE([USE_OMP], [1], [OpenMP parallel processing])
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue