Commit 5059c9afb3f8c10aca44b7b04c0020985160ce24
1 parent
77355de6
Perform OpenMP checks for C++ language
Showing
1 changed file
with
3 additions
and
0 deletions
configure.ac
| @@ -695,6 +695,9 @@ fi | @@ -695,6 +695,9 @@ fi | ||
| 695 | 695 | ||
| 696 | openmp_ok=no | 696 | openmp_ok=no |
| 697 | 697 | ||
| 698 | +# Check for C++ | ||
| 699 | +AC_LANG(C++) | ||
| 700 | + | ||
| 698 | # Detect if GammaLib has been compiled with OpenMP | 701 | # Detect if GammaLib has been compiled with OpenMP |
| 699 | AC_MSG_CHECKING(if GammaLib has been compiled with OpenMP) | 702 | AC_MSG_CHECKING(if GammaLib has been compiled with OpenMP) |
| 700 | AC_LINK_IFELSE(AC_LANG_PROGRAM([[#include <GObservations.hpp>]],,), | 703 | AC_LINK_IFELSE(AC_LANG_PROGRAM([[#include <GObservations.hpp>]],,), |