HomeClusterLabs Projects

Build: configure: Use AC_SEARCH_LIBS for basic libraries.

Description

Build: configure: Use AC_SEARCH_LIBS for basic libraries.

  • Get rid of the check for getopt_long, which is no longer used anywhere.
  • Use AC_SEARCH_LIBS for finding libdl, but because that macro always adds the result of the test to $LIBS, we have to use a trick: save $LIBS, search for libdl, set $DL_LIBS to the result, and then restore $LIBS.
  • Change LIBADD_DL to DL_LIBS for future consistency.
  • Get rid of the "Where is dlopen?" block. I think AC_SEARCH_LIBS makes this unnecessary.
  • libcrmcommon links against socket and is used by everything, so we can just simply call AC_SEARCH_LIBS for it.

Related T876

Details

Provenance
clumensAuthored on Mon, Oct 14, 5:19 PM
Parents
rPe843252c6748: Merge pull request #3606 from aleksei-burlakov/fix-crmadmin-dclookup-hanging
Branches
Unknown
Tags
Unknown