This patch introduces new check_header defined in utils/cond.mk
to Makefile for eventfd test cases.
Signed-off-by: Masatake YAMATO <[EMAIL PROTECTED]>
--- ltp/testcases/kernel/syscalls/eventfd/Makefile 2008-08-20
20:28:51.000000000 +0900
+++ ltp-hacked/testcases/kernel/syscalls/eventfd/Makefile 2008-09-26
23:22:18.000000000 +0900
@@ -16,14 +16,12 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
+include ../utils/cond.mk
+
+
CFLAGS += -I../../../../include -Wall
LDLIBS += -L../../../../lib -lltp
-check_header = $(shell \
- if echo "\#include <$(1)>" | $(CC) -E - > /dev/null 2>&1 ; \
- then echo yes ; \
- else echo no ; fi)
-
check_aio_eventfd = $(shell \
if echo -e \
"\#include <libaio.h>\n\
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list