I am trying to compile a fortran code with gnu-autotools. The openmp
specific lines in configure.ac is:

AC_OPENMP
AC_PROG_FC([gfortran])
FCFLAGS="$OPENMP_FFLAGS -fcheck=all"

If I compile with this, I am not getting omp related compiler options,
as described in the AC_OPENMP macro in autoconf manual.

If I explicitly place -fopenmp in place of $OPENMP_FFLAGS, only then
its working.

Any help please?

_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
https://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to