[LTP] [RFC] Remove {config.h,config.mk,features.mk,}.default ?
Petr Vorel
pvorel@suse.cz
Mon Nov 4 07:23:40 CET 2019
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
More information about the ltp
mailing list