[Snowball-discuss] Using libstemmer_c with an autotools package

Vegard Nossum vegard at peltkore.net
Mon Mar 26 13:35:12 BST 2007


On Mon, March 26, 2007 12:46 pm, Richard Boulton wrote:
> Is there any reason that the above solution doesn't work for some
> projects?  If there is, I'd be happy to incorporate your solution
> somehow, but I don't want to make things unnecessarily complicated.  I
> also like the neatness of only adding the public headers of libstemmer
> (ie, the header files in the include/ subdirectory) to the include paths
> of the other files in the project.

Hmm. Your solution is the better way.

My reason for flattening the directory structure was that I believed
`make' would not be able to find the source files unless new Makefile.am
files were made for each subdirectory. It seems that I was wrong.

I also wanted to make sure that the entire project would build and be
included in the `dist' target, but the simple Makefile.am also solves that
problem.

Thanks :-)


Vegard




More information about the Snowball-discuss mailing list