1 2 3 4 5 6 7 8
#!/bin/sh -e :> testfile less -F -T testfile testfile 2>/dev/null && echo CFLAGS += -DHAVE_LESS_T >> config.mk rm testfile make LDFLAGS='' make PREFIX=/usr DESTDIR="$1" install