From: Subrata <sub...@us...> - 2009-01-28 06:43:14
|
Update of /cvsroot/ltp/ltp/testcases/kernel/ipc/pipeio In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv12357/ltp/testcases/kernel/ipc/pipeio Modified Files: Makefile Log Message: Make ltp compilable without libaio: This is a patch inspired by numerous whining recently seen on ltp-list concerning compile failures when libaio is not present. This includes changes: - add stubs to the aio tests, - remove -laio from doio and pipeio makefile, as it was superfluous, Changed the signatures of main() function (requested by Garrett Cooper). Signed-Off-By: Jiri Palecek <jpa...@we...>. Index: Makefile =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/ipc/pipeio/Makefile,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** Makefile 11 Dec 2008 13:17:49 -0000 1.7 --- Makefile 28 Jan 2009 06:43:09 -0000 1.8 *************** *** 23,27 **** CFLAGS += -Wall CPPFLAGS += -I../../../../include ! LDLIBS += -L../../../../lib -lltp -lrt -laio SRCS=$(wildcard *.c) --- 23,27 ---- CFLAGS += -Wall CPPFLAGS += -I../../../../include ! LDLIBS += -L../../../../lib -lltp -lrt SRCS=$(wildcard *.c) |