GNOME Bugzilla – Bug 678918
Project manager lacks support for libraries which don't come with a .pc file
Last modified: 2020-11-07 12:12:27 UTC
Hi, Anjuta project manager plugin can add a library to the project if this library comes with a .pc file. For this task it uses the autoconf macro brought by pkg-config, PKG_CHECK_MODULES. But it lacks support for the libraries that don't ship a .pc file. For that we could add a new macro in aclocal that would call AC_CHECK_LIB like that: AC_CHECK_LIB(crypt, main, :, AC_MSG_ERROR(Library crypt not found)) and set the crypt_CFLAGS and crypt_LIBS variables. We could even try to do a macro that can check for the presence of several libraries like PKG-CHECK_MODULES does.
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old feature requests in Bugzilla which have not seen updates for many years. If you are still requesting this feature in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/anjuta/-/issues/ Thank you for reporting this issue and we are sorry it could not be implemented.