GNU Astronomy Utilities - Tasks: task #15278, Better autoconf checks for...
You are not allowed to post comments on this tracker with your current authentication level.
task #15278: Better autoconf checks for libraries
Submitter: | Mohammad Akhlaghi <makhlaghi> | ||
Submitted: | Sat 18 May 2019 10:22:09 PM UTC | ||
Should Start On: | Fri 17 May 2019 11:00:00 PM UTC | Should be Finished on: | Fri 17 May 2019 11:00:00 PM UTC |
Category: | Installation | Priority: | 5 - Normal |
Item Group: | Enhancement | Status: | Postponed |
Privacy: | Public | Assigned to: | None |
Percent Complete: | 0% | Open/Closed: | Open |
Effort: | 0.00 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
No changes have been made to this item
Powered by Savane 3.13-d3ae.
Corresponding source code
Currently when checking libraries, Gnuastro just uses Autoconf's `AC_SEARCH_LIBS'. But this doesn't check with linking issues (for example if the library will succeed to link at runtime).
This can cause strange situations, like this building failure that we reported to Gnulib. The solution was just due to a run-time problem.
In the end, it was recommended to use better library tests like "AC_RUN_IFELSE instead of AC_LINK_IFELSE" or Gnulib's `AC_LIB_LINKFLAGS'.