The $(or) conditional function does not seem to exist in Ubuntu Dapper's
version of make. So expand it into two separate ifdef checks.

Signed-off-by: Nishanth Aravamudan <[EMAIL PROTECTED]>
---
 tests/Makefile |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile
index 06f2ddc..2a057d2 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -23,9 +23,14 @@ LDFLAGS64 = -L../obj64
 INSTALL = install
 
 TESTS = $(LIB_TESTS) $(NOLIB_TESTS) $(STRESS_TESTS)
-ifneq ($(or $(ELF32),$(ELF64)),)
+ifdef ELF32
 TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \
        $(HUGELINK_TESTS:%=xBDT.%)
+else
+ifdef ELF64
+TESTS += $(LDSCRIPT_TESTS) $(HUGELINK_TESTS) $(HUGELINK_TESTS:%=xB.%) \
+       $(HUGELINK_TESTS:%=xBDT.%)
+endif
 endif
 
 ifneq ($(ARCH),ia64)

-- 
Nishanth Aravamudan <[EMAIL PROTECTED]>
IBM Linux Technology Center

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to