On Fri, Sep 08, 2006 at 12:58:09PM +0200, Jean-Marc Lasgouttes wrote:
> >>>>> "Enrico" == Enrico Forestieri <[EMAIL PROTECTED]> writes:
> 
> >>  Is you problem fixed now?
> 
> Enrico> No, I have to use the attached patch.
> 
> This is very strange, since the whole Makefile targets read:
> 
> libgnuintl.h: $(srcdir)/libgnuintl.h.in
>       sed -e 's,@''HAVE_POSIX_PRINTF''@,@HAVE_POSIX_PRINTF@,g' \
>           -e 's,@''HAVE_ASPRINTF''@,@HAVE_ASPRINTF@,g' \
>           -e 's,@''HAVE_SNPRINTF''@,@HAVE_SNPRINTF@,g' \
>           -e 's,@''HAVE_WPRINTF''@,@HAVE_WPRINTF@,g' \
>         < $(srcdir)/libgnuintl.h.in > libgnuintl.h
> 
> libintl.h: libgnuintl.h
>       cp libgnuintl.h libintl.h
> 
> Are you sure that the fact that you have a $(srcdir)/libgnuintl.h
> (which you should not have) does not prevent the creation of the
> correct libgnuintl.h?

I am not sure what you mean. I am not changing any target, simply
the rule to generate libintl.h:

 libintl.h: libgnuintl.h
-       cp libgnuintl.h libintl.h
+       cp $(srcdir)/libgnuintl.h libintl.h

I don't see how this can fail...
It seems that when libgnuintl.h is generated the current dir is
$(srcdir), whereas when libintl.h is to be generated it is the
build directory.

-- 
Enrico

Reply via email to