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@&[EMAIL PROTECTED]
AC_CONFIG_COMMANDS_PRE([[LIB@&[EMAIL PROTECTED])
AC_OUTPUT

Have a nice day,
        Stepan Kasal


_______________________________________________
Autoconf mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to