Index: /sources/configure.ac
===================================================================
--- /sources/configure.ac	(revision 49)
+++ /sources/configure.ac	(revision 50)
@@ -91,4 +91,6 @@
 # OpenMP
 AC_OPENMP([C])
+AC_CHECK_LIB(dl, dlopen, , )
+AC_CHECK_LIB(gomp, omp_get_thread_num, , )
 
 AM_CONDITIONAL(BUILD_DOCS,
