[CRIU] [PATCH 0/6] use autoconf istead of Makefile.conf, v2

Ruslan Kuprieiev kupruser at gmail.com
Fri Mar 21 01:36:09 PDT 2014


On 21.03.2014 11:27, Ruslan Kuprieiev wrote:
> Although many people don't like autoconf, I believe, it is more suitable
> here then tests in Makefile.conf. For example, configure script allows us
> to easily detect optional libraries and add them to LIBS.
>
> So, after this set, the build process whould look like this:
> 	autoconf
> 	./configure
> 	make
> ---
> Our README file suggests us to read wiki page, so will fix wiki installation page right after this patch is applied.
>
> Ruslan Kuprieiev (6):
>    configure: add configure.in
>    configure: move Makefile to Makefile.in, add @LIBS@ and don't use
>      Makefile.conf
>    configure: add config.h.in
>    string: include bsd/string.h if libbsd is available
>    make: remove config tests
>    git: ignore trash files generated by autoconf
>
>   .gitignore                |   3 +
>   Makefile                  | 301 ----------------------------------------------
>   Makefile.config           |  32 -----
>   Makefile.in               | 300 +++++++++++++++++++++++++++++++++++++++++++++
>   configure.in              |  66 ++++++++++
>   include/config.h.in       |  13 ++
>   include/string.h          |   4 +
>   scripts/feature-tests.mak |  70 -----------
>   scripts/utilities.mak     |  15 ---
>   9 files changed, 386 insertions(+), 418 deletions(-)
>   delete mode 100644 Makefile
>   delete mode 100644 Makefile.config
>   create mode 100644 Makefile.in
>   create mode 100644 configure.in
>   create mode 100644 include/config.h.in
>   delete mode 100644 scripts/feature-tests.mak
>   delete mode 100644 scripts/utilities.mak
>

Drop it, please.
Instead, please, consider "[PATCH 0/6] make: config -- Add ability to 
use libbsd"
by Cyrill Gorcunov gorcunov at openvz.org.


More information about the CRIU mailing list