On Sun, 22 Feb 2009, aaragon wrote:
After installation of the library, I get: aaragon@aaragon-laptop:~/Lib/lib$ ls libcpputils.la libcpputils.so libcpputils.so.0 libcpputils.so.0.0.0 Now I go to the other project (that uses this library), and again I try to use the macros AC_SEARCH_LIBS([flip], [cpputils],,[AC_MSG_ERROR(library cpputils not found)]) and AC_CHECK_LIB([cpputils], [flip],,[AC_MSG_ERROR(library cpputils not found)],,) They both failed again and I have no clue why this time, since these macros are supposed to work for shared libraries.
The macros should work with both static and shared libraries. However, they do depend on your compiler and linker working with the arguments which are provided to them. Apparently they are not. The clue to the cause of the failure should be in the config.log file.
Bob -- Bob Friesenhahn bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf