From: ian Date: Fri, 11 Jan 2008 20:11:53 +0000 (+0000) Subject: cope with libnetpbm X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=7b215be344d3bbbbea018a7b7edb313a0bdbf547;p=trains.git cope with libnetpbm --- 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 \