xiaoyin0208 / lz4

Automatically exported from code.google.com/p/lz4
0 stars 0 forks source link

Support Autotools #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Autotools is nearly as simple as Makefile, provides a pkgconfig file
and does not require all the users to install large dependencies to
build since the packaged sources do not depend to autotools at all.

On top of this cross compiling for a target just requires to pass the
CHOST string to configure as in

`./configure --host=armv7a-hardfloat-linux-gnueabi`

https://github.com/lu-zero/lz4/commit/eeddc041c80b589a73b382ea35e0227d70d15eae

Original issue reported on code.google.com by luca.bar...@gmail.com on 16 Oct 2013 at 2:31

GoogleCodeExporter commented 8 years ago
Hi Luca

And thanks for suggestion.

This is a fairly complex patch you propose.
I may add it in a future LZ4 release, 
but since I have about zero knowledge of autotool, 
it will take some time before I can properly integrate and test it.

Original comment by yann.col...@gmail.com on 18 Oct 2013 at 11:34

GoogleCodeExporter commented 8 years ago
If I can help just tell me and I'll be glad to support you.

One of the nicest reference about autotools is
https://www.flameeyes.eu/autotools-mythbuster/

Original comment by luca.bar...@gmail.com on 18 Oct 2013 at 12:45

GoogleCodeExporter commented 8 years ago

Original comment by yann.col...@gmail.com on 13 Nov 2013 at 7:27

GoogleCodeExporter commented 8 years ago
I am looking at lz4 package and was surprised that Makefile does not install 
headers/static&shared libraries. Debian package for example has updated 
Makefile and made more complete 'install' operation.

But better if upstream project (i.e. you) made the build script follow Unix 
conventions. One way is to add autotools script that generates all the Unix 
boilerplate code.

So add me to the camp who want to see patches from Luca submitted.

Original comment by anatol.p...@gmail.com on 1 Dec 2013 at 9:58

GoogleCodeExporter commented 8 years ago
Why bother with autotools when you have cmake?

Original comment by dnewg...@hotmail.com on 4 Dec 2013 at 7:26

GoogleCodeExporter commented 8 years ago
I don't believe to have enough time nor real-world usage to learn autotool yet.

I'll close this request since there is no defined timeline to answer it.

Original comment by yann.col...@gmail.com on 11 Jun 2014 at 9:14

GoogleCodeExporter commented 8 years ago

Original comment by yann.col...@gmail.com on 11 Jun 2014 at 9:14