Re: AC_LIBOBJ with file in subdirectory does not work

2010-05-26 Thread Ralf Wildenhues
Good morning Bruno, * Bruno Haible wrote on Thu, May 27, 2010 at 12:29:44AM CEST: > > > +# Ensure objects in ../src are renamed so they don't conflict with > > +# the objects generated from ../src/Makefile. > > +libgettextpo_la_CPPFLAGS = $(AM_CPPFLAGS) > > Wow. What a hack! Even with the commen

Re: AC_LIBOBJ with file in subdirectory does not work

2010-05-26 Thread Bruno Haible
Hi Ralf, > Can you please tell me how to reproduce that hell in libgettextpo? You reproduced it already pretty well. > +# Ensure objects in ../src are renamed so they don't conflict with > +# the objects generated from ../src/Makefile. > +libgettextpo_la_CPPFLAGS = $(AM_CPPFLAGS) Wow. What a ha

Re: AC_LIBOBJ with file in subdirectory does not work

2010-05-26 Thread Bruno Haible
Hi Ralf, > Can you please tell me how to reproduce that hell in libgettextpo? You already reproduced it pretty well. > I tried the patch below, and so far it seems to work reasonably well. > You lose the ability to do 'make clean' in either of > gettext-tools/libgettextpo and gettext-tools/src w

Re: AC_LIBOBJ with file in subdirectory does not work

2010-05-26 Thread Ralf Wildenhues
* Bruno Haible wrote on Wed, May 26, 2010 at 12:11:45AM CEST: > > I see a few possible alternative ways out: > > - Automake requires subdir-objects if you put slashes into $LIBOBJS, > > There are cases where the developer does not want 'subdir-objects'. > I'm having the problem with AC_LIBOBJ in t