public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: ltp@lists.linux.it
Subject: [LTP] [RFC] Remove {config.h,config.mk,features.mk,}.default ?
Date: Mon, 4 Nov 2019 07:23:40 +0100	[thread overview]
Message-ID: <20191104062340.GA9263@dell5510> (raw)
In-Reply-To: <332232ad-3b46-332d-c917-3175ff56868d@cn.fujitsu.com>

Hi Xu,

> Yes. Reading LTP/INSTALL[1], these files are used when we don't use autoconf.
> as below:
> Using autoconf (preferred):
> 	$ make autotools # This must be run from "$TOP_SRCDIR"!
> 	$ test -d "$TOP_BUILDDIR" || mkdir -p "$TOP_BUILDDIR"
> 	$ cd "$TOP_BUILDDIR" && "$TOP_SRCDIR/configure" \
> 	  # [configure args go here, e.g. CC=$CC, LDFLAGS=$LDFLAGS, etc]

> Not using autoconf:

> 	$ test -d "$TOP_BUILDDIR" || mkdir -p "$TOP_BUILDDIR"
> 	$ cp "$TOP_SRCDIR/include/config.h.default" \
> 	     "$TOP_BUILDDIR/include/config.h"
> 	$ cp "$TOP_SRCDIR/include/mk/config.mk.default" \
> 	     "$TOP_BUILDDIR/include/mk/config.mk"
> 	$ cp "$TOP_SRCDIR/include/mk/features.mk.default" \
> 	     "$TOP_BUILDDIR/include/mk/features.mk"

> [1]https://github.com/linux-test-project/ltp/blob/master/INSTAL

> ps:IMO, I don't use these files. Now most distributions have auotconf and we can remove these files.
Thanks for review, I'll send a patch to ML.

> Thanks
> Yang Xu

Kind regards,
Petr

  reply	other threads:[~2019-11-04  6:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-01  7:35 [LTP] [RFC] Remove {config.h,config.mk,features.mk,}.default ? Petr Vorel
2019-11-04  5:40 ` Yang Xu
2019-11-04  6:23   ` Petr Vorel [this message]
2019-11-04  6:52     ` Enji Cooper

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191104062340.GA9263@dell5510 \
    --to=pvorel@suse.cz \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox