libtool-patches
[Top][All Lists]
Advanced

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

Re: RFC: 77-gary-diagnose-version-mismatch.patch


From: Alexandre Duret-Lutz
Subject: Re: RFC: 77-gary-diagnose-version-mismatch.patch
Date: Sat, 31 Jan 2004 16:46:03 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

>>> "Peter" == Peter O'Gorman <address@hidden> writes:

[...]

 Peter> +AU_DEFUN([AC_LIBTOOL_DLOPEN],      [_LT_SET_OPTION([dlopen])])

Note that when you run autoupdate on this, it will replace
AC_LIBTOOL_DLOPEN by _LT_SET_OPTION([dlopen]) in configure.ac.

Perhaps that could be changed to

AU_DEFUN([AC_LIBTOOL_DLOPEN],     
[_LT_SET_OPTION([dlopen])
AC_DIAGNOSE([obsolete],
[$0: Remove this warning when you adjust your code to use
      `LT_LIBTOOL_INIT([dlopen])'.])
])

Or something similar.  That way the AC_DIAGNOSE call in
configure.ac will remind the reader that something must be done.

(FWIW Autoconf has used this kind of AC_DIAGNOSE in several
macros, and CVS Autoconf recently switched to using the third
argument of AU_DEFUN -- my understanding is that this third
argument didn't work in previous version.)
-- 
Alexandre Duret-Lutz





reply via email to

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