--- rpl/configure.ac 2017/08/21 09:11:23 1.202 +++ rpl/configure.ac 2017/08/21 12:17:20 1.203 @@ -720,6 +720,9 @@ if test "$MOTIF_SUPPORT" = "-DMOTIF_SUPP AC_CHECK_LIB(Xinerama, XineramaIsActive,, AC_MSG_ERROR([Can not find libXinerama !])) fi +AC_CHECK_LIB(gomp, omp_get_num_procs,, AC_MSG_ERROR([Can not find libgomp !])) +OPENMP=-gomp +AC_SUBST(OPENMP) dnl Check for union semun AC_CHECK_TYPE([union semun], SEMUN=-DUNION_SEMUN, SEMUN=-UUNION_SEMUN, [[