configure: broken check for dlopen
On our system (OpenSuse 11.X) the dlopen check is never successful, it only work if one add '-ldl' to LIBS.
Actually there is a libtool macro, AC_LIBTOOL_DLOPEN, for trying a lot of combinations to make dlopen work. The main problem is that gromacs's libtool version is very old and I have not found any documentation so far.
So the question is, should we
-remove dlopen option from autotools
-fix it somehow
#1 Updated by Roland Schulz almost 10 years ago
I think we probably don't want to update autoconf, since it could add new bugs and we want to move to cmake.
I suggest to print a message like the following if the dlopen check fails:
dlopen support not detected. This prevent the GROMACS analysis tools to read non-GROMACS trajectory formats. If you want this feature please either use cmake (recommended) or add the required library flags for your platform (e.g. -ldl).