bug-autoconf
[Top][All Lists]
Advanced

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

Re: Make AX_DEFINE_DIR obsolete?


From: Reuben Thomas
Subject: Re: Make AX_DEFINE_DIR obsolete?
Date: Fri, 16 Sep 2011 22:25:33 +0100

On 16 September 2011 22:21, Reuben Thomas <address@hidden> wrote:
> On 16 September 2011 21:03, Peter Simons <address@hidden> wrote:
>> Hi Reuben,
>>
>>  > Would anyone object if I obsoleted this macro in autoconf-archive?
>>
>> personally, I believe that marking our (inferior) solutions obsolete is
>> the way to go.
>
> Done in autoconf-archive; I'll submit a patch to autoconf separately..

Following, a patch to autoconf git head to remove the mention of
AC_DEFINE_DIR from the manual:

>From cf8962fe0654d39dc628ee3df8753d15275534cb Mon Sep 17 00:00:00 2001
From: Reuben Thomas <address@hidden>
Date: Fri, 16 Sep 2011 22:24:12 +0100
Subject: [PATCH] docs: remove mention of non-GCS-compliant AC_DEFINE_DIR.

        * doc/autoconf.texi (Defining Directories): Update.  The macro was
        in any case renamed AX_DEFINE_DIR, and is now obsolete in
        autoconf-archive.
---
 ChangeLog         |    7 +++++++
 doc/autoconf.texi |    9 ---------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 76b283c..753d066 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-09-16  Reuben Thomas  <address@hidden>
+
+       docs: remove mention of non-GCS-compliant AC_DEFINE_DIR.
+       * doc/autoconf.texi (Defining Directories): Update.  The macro was
+       in any case renamed AX_DEFINE_DIR, and is now obsolete in
+       autoconf-archive.
+
 2011-09-16  Eric Blake  <address@hidden>

        docs: fix typo in shell example
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index f202c10..fb2cd11 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -25528,15 +25528,6 @@ standard directory variables defined,
@pxref{configmake,,, gnulib, GNU
 Gnulib}.

 @item
-Use @code{AC_DEFINE} but have @command{configure} compute the literal
-value of @code{datadir} and others.  Many people have wrapped macros to
-automate this task; for an example, see the macro @code{AC_DEFINE_DIR} from
-the @uref{http://@/www.gnu.org/@/software/@/autoconf-archive/, Autoconf Macro
-Archive}.
-
-This solution does not conform to the GNU Coding Standards.
-
address@hidden
 Note that all the previous solutions hard wire the absolute name of
 these directories in the executables, which is not a good property.  You
 may try to compute the names relative to @code{prefix}, and try to
-- 
1.7.4.1



reply via email to

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