File build/list-chkfiles.sh artifact 5b504920a7 part of check-in 6a0a10a0ab
#! /bin/sh for file in *.[ch]; do if [ "${file}" = "compat.h" ]; then continue; fi if [ "${file}" = "config.h" ]; then continue; fi if [ "${file}" = "win32.h" ]; then continue; fi filelist="${filelist} ${file}" done grep ' HAVE_.*_H$' ${filelist} | sed 's@.*HAVE_\(.*_H\)@\1@;s@_H$@.h@;s@_@/@g' | dd conv=lcase 2>/dev/null | grep -v '^config.h$' | sort -u