#!/bin/sh # # $NetBSD: configure,v 1.2 1998/08/07 10:36:08 agc Exp $ chmod -R +w ${WRKSRC} echo -n "Removing disgusting malloc.h includes. Please wait.." for i in `find ${WRKSRC} -name '*.[ch]' | xargs fgrep -l malloc.h`; do sed -e 's/malloc.h/stdlib.h/' < $i > $i.bak && mv $i.bak $i done echo " Done."