gnuastro-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnuastro-devel] [task #15278] Better autoconf checks for libraries


From: Mohammad Akhlaghi
Subject: [gnuastro-devel] [task #15278] Better autoconf checks for libraries
Date: Sat, 18 May 2019 18:22:11 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0

URL:
  <https://savannah.gnu.org/task/?15278>

                 Summary: Better autoconf checks for libraries
                 Project: GNU Astronomy Utilities
            Submitted by: makhlaghi
            Submitted on: Sat 18 May 2019 11:22:09 PM BST
         Should Start On: Sat 18 May 2019 12:00:00 AM BST
   Should be Finished on: Sat 18 May 2019 12:00:00 AM BST
                Category: Installation
                Priority: 5 - Normal
              Item Group: Enhancement
                  Status: Postponed
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                  Effort: 0.00

    _______________________________________________________

Details:

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
<http://lists.gnu.org/archive/html/bug-gnulib/2019-05/msg00088.html> that we
reported to Gnulib. The solution was just due to a run-time problem.

In the end, it was recommended
<http://lists.gnu.org/archive/html/bug-gnulib/2019-05/msg00094.html> to use
better library tests like "AC_RUN_IFELSE instead of AC_LINK_IFELSE" or
Gnulib's `AC_LIB_LINKFLAGS'.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/task/?15278>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]