--- rpl/configure.ac 2017/08/21 09:06:02 1.201 +++ rpl/configure.ac 2017/08/21 16:46:40 1.204 @@ -443,6 +443,12 @@ if test "$UUENCODE" = no; then AC_MSG_ERROR([Can not find uuencode !]) fi +dnl Checks for patch +AC_CHECK_PROG(PATCH, patch, yes, no) +if test "$PATCH" = no; then + AC_MSG_ERROR([Can not find patch !]) +fi + if test ! -d tools; then mkdir tools fi @@ -714,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=-lgomp +AC_SUBST(OPENMP) dnl Check for union semun AC_CHECK_TYPE([union semun], SEMUN=-DUNION_SEMUN, SEMUN=-UUNION_SEMUN, [[