bug-autoconf
[Top][All Lists]
Advanced

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

autoscan: suppress warning about AC_PROG_RANLIB if AC_PROG_LIBTOOL is pr


From: Ben Pfaff
Subject: autoscan: suppress warning about AC_PROG_RANLIB if AC_PROG_LIBTOOL is present?
Date: Mon, 02 Aug 2010 13:38:45 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

[Please retain CC in followups.  Thank you.]

In April 2008, Jack Bates <address@hidden> reported that
autoscan recommends adding AC_PROG_RANLIB to configure.ac, but
that libtoolize subsequently complains about AC_PROG_RANLIB as
"obsolete".

The AC_PROG_RANLIB macro is not really obsolete from an Autoconf
point of view, as far as I know.  It is not, for example,
documented as obsolete.  It is just, as I understand it, that
libtool does not need it and performs an equivalent function, so
that it warns that it is not helpful to use AC_PROG_RANLIB
yourself.

One possible solution would be for autoscan to notice
AC_PROG_LIBTOOL and then suppress a warning about AC_PROG_RANLIB.
Is that a good solution?  If so, then I will see what it takes to
implement it.

Jack's original bug report is here:
        http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=478310
-- 
Ben Pfaff 
http://benpfaff.org



reply via email to

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