From 7b215be344d3bbbbea018a7b7edb313a0bdbf547 Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 11 Jan 2008 20:11:53 +0000 Subject: [PATCH] cope with libnetpbm --- layout/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/layout/Makefile b/layout/Makefile index 779dba5..81a6511 100644 --- a/layout/Makefile +++ b/layout/Makefile @@ -38,9 +38,13 @@ include ours.dgram.m include segencolayers.m #NETPBM = -lnetpbm -#ifeq (,$(shell test -f /usr/lib/libppm.so || echo no)) +ifeq (,$(shell test -f /usr/lib/libppm.so || echo no)) NETPBM += -lppm -#endif +else +ifeq (,$(shell test -f /usr/lib/libnetpbm.so || echo no)) +NETPBM += -lnetpbm +endif +endif REDACT= consistency movfeatsplitedges \ consistency movfeatrmstubs \ -- 2.30.2