[Top][All Lists]

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


From: Alexandre Duret-Lutz
Date: Mon, 18 Apr 2005 23:50:20 +0200
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Hi Gary,

>>> "Gary" == Gary V Vaughan <address@hidden> writes:

 Gary> Hallo again,
 Gary> It turns out that the automake patch is not enough :-(

Sorry, I think you are misunderstanding the purpose of
AC_CONFIG_LIBOBJ_DIR.  But you are breaking common uses of
@LIBOBJS@ while bending it the way you think it should work.  Or
maybe I am just misreading your patches.  At least I would like
to see a test case proving the converse.

Right now many people use @LIBOBJS@ in lib/, and
expect it to be a list of filenames without leading directories.
AFAICT this has always been like so.  Now people are also using
AC_CONFIG_LIBOBJ_DIR because some autoconf checks need to use
these source files to work (the Autoconf manual explains that).
This recently introduced macro is completely independent of how
@LIBOBJS@ is defined.

If the contents of @LIBOBJS@ substituted in lib/Makefile are
prefixed with lib/ then the build rules in lib/Makefile cannot

I do agree that the current @LIBOBJS@ interface lacks some
features.  For instance the ability to refer to objects in other
directories (this is more than what you were after: some people
want to use @LIBOBJS@ in src/ while the object files
are in lib/, so the object files in @LIBOBJS@ should look like
../lib/foobar.$(OBJEXT)).  Or the possibility to the several
@address@hidden variables and not only one (some examples in the
links below).  Maybe doing these require a new interface, and
maybe the actual @LIBOBJS@ can be a special case of that new
interface (I know I'm vague :))

Please see
and the end of

 Gary> --- lib/autoconf/general.m4.orig 2003-10-27 11:10:56.000000000 +0000
 Gary> +++ lib/autoconf/general.m4      2005-04-18 18:00:20.000000000 +0100
 Gary> @@ -1,6 +1,6 @@
 Gary> # This file is part of Autoconf.                       -*- Autoconf -*-
 Gary> # Parameterized macros.
 Gary> -# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
 Gary> +# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 
 Gary> # 2002, 2003, Free Software Foundation, Inc.

Oops.  (And where does this trailing comma come BTW?)
 Gary> # This program is free software; you can redistribute it and/or modify
 Gary> @@ -2436,14 +2436,19 @@
 Gary> # ---------------------
 Gary> # Clean up LIBOBJS abd LTLIBOBJS so that they work with 1. ac_objext,

abd -> and
Alexandre Duret-Lutz

reply via email to

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