[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help? AC_LIBOBJ. upgrade from 2.13
From: |
Stepan Kasal |
Subject: |
Re: Help? AC_LIBOBJ. upgrade from 2.13 |
Date: |
Fri, 10 Dec 2004 13:41:31 +0100 |
User-agent: |
Mutt/1.4.1i |
Hello,
On Thu, Dec 09, 2004 at 02:59:39PM -0500, Donald G Porter wrote:
> "Macro: AC_LIBOBJ (function)
...
> Technically, it adds `function.$ac_objext' to the output variable
> LIBOBJS ..."
>
> Trouble is that it doesn't seem to do that. In the substituted files,
> I see @LIBOBJS@ replaced by `function$U.$ac_objext' and not
> `function.$ac_objext' as the documentation promised.
Well, the documentation is not exact, but the difference is small.
But if you arrange that $U is empty, all works.
Annyway...
I looked at the sources. AC_LIBOBJ really does what the documentation
says, but then _AC_LIBOBJS_NORMALIZE is called from AC_OUTPUT and it
reformats the contents of the variable.
So one way to fix it is to kill this macro:
define([_AC_LIBOBJS_NORMALIZE],[])
AC_OUTPUT
or to revert it's work somehow:
save_LIBOBJS=$LIB@&address@hidden
AC_CONFIG_COMMANDS_PRE([[LIB@&address@hidden)
AC_OUTPUT
Have a nice day,
Stepan Kasal