Commit [3d8666]  Maximize  Restore  History

I've clean my signalfd test case up with autoconf. After applying the patch, do at ltp/

autoconf
autoheader
./configure
make (or cd testcases/kernel/syscalls/signalfd; make)
Benefits are:
- signalfd01.c doesn't depends on kernel version (it used KERNEL_VERSION macro.)
- Makefile becomes simple.
- #ifdef/#endif of signalfd01.c becomes readable.
- signalfd.m4 can use other program than ltp.
I revisied my patch.
- signalfd.m4 is renamed to ltp-signalfd.m4.
- configure is run by make if config.h is older than config.h.in.
- autoconf is run by make if configure is older than configure.ac.
- autoheader is run by make if config.h.in is older than configure.ac.
- dist-clean, a new make target, removes autom4te.cache, config.log and config.status.
- maintainer-clean, a new make target, removes configure and config.h.in.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>.

subrata_modak subrata_modak 2008-11-11

changed Makefile
added configure.ac
changed include/Makefile
added m4/Makefile
added m4/ltp-signalfd.m4
changed testcases/kernel/syscalls/signalfd/Makefile
changed testcases/kernel/syscalls/signalfd/signalfd01.c
Makefile Diff Switch to side-by-side view
Loading...
configure.ac Diff Switch to side-by-side view
Loading...
include/Makefile Diff Switch to side-by-side view
Loading...
m4/Makefile Diff Switch to side-by-side view
Loading...
m4/ltp-signalfd.m4 Diff Switch to side-by-side view
Loading...
testcases/kernel/syscalls/signalfd/Makefile Diff Switch to side-by-side view
Loading...
testcases/kernel/syscalls/signalfd/signalfd01.c Diff Switch to side-by-side view
Loading...

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks