<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=GBK">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">
      <pre>on 2019/11/01 15:35, Petr Vorel wrote:</pre>
    </div>
    <blockquote type="cite" cite="mid:20191101073528.GA22452@dell5510">
      <pre class="moz-quote-pre" wrap="">Hi,

I wonder if anybody uses include/config.h.default, include/mk/config.mk.default,
include/mk/features.mk.default. Is it their purpose for people who, for some
reason can't run ./configure? (I wonder who'd need it) Can we just drop them?</pre>
    </blockquote>
    <pre>Hi Petr</pre>
    <pre>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"

</pre>
    <pre>[1]<a class="moz-txt-link-freetext" href="https://github.com/linux-test-project/ltp/blob/master/INSTAL">https://github.com/linux-test-project/ltp/blob/master/INSTAL</a>

ps:IMO, I don't use these files. Now most distributions have auotconf and we can remove these files.

Thanks
Yang Xu
</pre>
    <blockquote type="cite" cite="mid:20191101073528.GA22452@dell5510">
      <pre class="moz-quote-pre" wrap="">

include/config.h.default is out of sync with include/config.h.in;
include/mk/config.mk.default and include/mk/features.mk.default are synced.

Kind regards,
Petr

</pre>
    </blockquote>
  </body>
</html>