chiark / gitweb /
cope with libnetpbm
authorian <ian>
Fri, 11 Jan 2008 20:11:53 +0000 (20:11 +0000)
committerian <ian>
Fri, 11 Jan 2008 20:11:53 +0000 (20:11 +0000)
layout/Makefile

index 779dba582d67a75c285a1f3f63664dc09851cab3..81a65119dcac399453bb5ff89f0df8c65c1314ae 100644 (file)
@@ -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      \