taskGNU 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

Submitted by:  Mohammad Akhlaghi <makhlaghi>
Submitted on:  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 Percent Complete:  0%
Assigned to:  None Open/Closed:  Open
Effort:  0.00

Sat 18 May 2019 10:22:09 PM UTC, original submission:  

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'.

Mohammad Akhlaghi <makhlaghi>
Project Administrator


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by makhlaghi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    No changes have been made to this item

    Back to the top

    Powered by Savane 3.5