1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
#! /bin/sh
##
## Copyright (C) by Argonne National Laboratory
## See COPYRIGHT in top-level directory
##
# Get usage. This runs configure --help and
# discards the top boilerplate and lists just the features added by these
# packages. Use
# find . -name configure -exec `pwd`/maint/getusage \{\} \;
# to generate a list for all configures in mpich
# Removes the most common options (enable-echo, cache, and strict)
dir=$1
if [ -z "$dir" ] ; then dir=. ; fi
dir=`dirname $dir`
echo " "
echo "Configure options for $dir:"
cd $dir && ./configure --help | sed -e '1,/options recognized/d' | \
sed -e '/enable-cache/d' -e '/enable-echo/d' -e '/enable-strict/d'
|