bug-autoconf
[Top][All Lists]
Advanced

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

[sr #108503] Running autoscan in a directory with ltmain.sh produces con


From: Eric Gallager
Subject: [sr #108503] Running autoscan in a directory with ltmain.sh produces conflicting warnings with libtoolize about AC_PROG_RANLIB
Date: Thu, 13 Feb 2014 00:58:03 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.59.10 (KHTML, like Gecko) Version/5.1.9 Safari/534.59.10

URL:
  <http://savannah.gnu.org/support/?108503>

                 Summary: Running autoscan in a directory with ltmain.sh
produces conflicting warnings with libtoolize about AC_PROG_RANLIB       
                 Project: Autoconf
            Submitted by: egallager
            Submitted on: Thu 13 Feb 2014 12:58:01 AM GMT
                Category: None
                Priority: 5 - Normal
                Severity: 2 - Minor
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
        Operating System: Mac OS

    _______________________________________________________

Details:

Let's say that, in an empty directory, I have a configure.ac file that looks
like this:

AC_INIT([testcase])
LT_INIT
AC_OUTPUT

Then I autoreconf, which puts ltmain.sh into the current directory. Now when I
run autoscan, it produces the following warnings:

Local-Admins-MacBook-Pro:autoconf_bug_reports_dir localadmin$ autoscan
configure.ac: warning: missing AC_PROG_CXX wanted by: ltmain.sh:960
configure.ac: warning: missing AC_PROG_INSTALL wanted by: ltmain.sh:1028
configure.ac: warning: missing AC_PROG_MAKE_SET wanted by: ltmain.sh:2163
configure.ac: warning: missing AC_PROG_RANLIB wanted by: ltmain.sh:2455

So I add these macros to my configure.ac, and now, when I autoreconf again, it
includes this warning:

glibtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT'

If I then go and remove AC_PROG_RANLIB, autoscan will then warn about it being
missing again the next time I run it, leading to an endless cycle of
conflicting warnings. Perhaps autoscan could be modified to just ignore
ltmain.sh when scanning?






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?108503>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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