On 16 September 2011 22:21, Reuben Thomas <r...@sc3d.org> wrote: > On 16 September 2011 21:03, Peter Simons <sim...@cryp.to> 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 <r...@sc3d.org> 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 <r...@sc3d.org> + + 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 <ebl...@redhat.com> 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. - -@item 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