Guillaume Cottenceau wrote:
> 
> "Eric MC.D" <[EMAIL PROTECTED]> writes:
> 
> > Guillaume Cottenceau wrote:
> > >
> > > "Eric MC.D" <[EMAIL PROTECTED]> writes:
> > >
> > > > So please add on acconfig.h:
> > > >
> > > > /* Define VERSION and PACKLAGE */
> > > > #undef PACKAGE
> > > > #undef VERSION
> > >
> > > Let me precise my thinking, relatively to the last post:
> > >
> > > I mean, if you want to have it in your programs, the proper way is to put
> > > "#undef PACKAGE" (and so on) in your config.h.in
> >
> > It is ! But without the same in acconfig.h it wouldn't
> > compile.
> > Compiled package: tse3-0.0.7
> 
> Can you send the SRPM for investigation? I do not see any tse* packages in
> our distribution.
> 
> [gc@kenobi ~] ls /RPMS/tse*
> ls: /RPMS/tse*: No such file or directory
> [gc@kenobi ~] ls /contrib/RPMS/tse*
> ls: /contrib/RPMS/tse*: No such file or directory

The tse3 is a package needed by noteedit ! it's in .tar
format
not from mandrake.
The config.h.in in this package mentio. a PACKAGE and
VERSION
but it also need this from autoconfig (acconfig.h).
So when I added it to acconfig.h all builds as a charm, 
without it nothing to do.
So apparantly some packages needs PACKAGE and VERSION in
acconfig.h to compile.
Eric MC

> 
> What puzzles me is that I have even wrote myself some programs with
> configure support, and I always use the VERSION and PACKAGE preprocessor
> variables in my code for the `--help' output, and it actually works.
> 
> --
> Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
> http://www.mandrakesoft.com/~gc/

Reply via email to