Blame doc/installguide/getusage

Packit Service c5cf8c
#! /bin/sh
Packit Service c5cf8c
#
Packit Service c5cf8c
# Get usage.  This runs configure --help and 
Packit Service c5cf8c
# discards the top boilerplate and lists just the features added by these
Packit Service c5cf8c
# packages.  Use
Packit Service c5cf8c
#    find . -name configure -exec `pwd`/maint/getusage \{\} \;
Packit Service c5cf8c
# to generate a list for all configures in mpich
Packit Service c5cf8c
# Removes the most common options (enable-echo, cache, and strict)
Packit Service c5cf8c
dir=$1
Packit Service c5cf8c
if [ -z "$dir" ] ; then dir=. ; fi
Packit Service c5cf8c
dir=`dirname $dir`
Packit Service c5cf8c
echo " "
Packit Service c5cf8c
echo "Configure options for $dir:"
Packit Service c5cf8c
cd $dir && ./configure --help | sed -e '1,/options recognized/d' | \
Packit Service c5cf8c
    sed -e '/enable-cache/d' -e '/enable-echo/d' -e '/enable-strict/d'