* Jan Vroonhof <vroonhof(a)math.ethz.ch> writes:
Feel free to suggest alternative wording. I am not fond of what I
wrote, it is just better than nothing (or a shell script[1])
The following is shamelessly stolen from the WindowMaker Install file. IMO,
it would be pretty neat to have such a file for XEmacs. Since that basic
user will probably not need too many options, adapting and re-using this
script would be rather simple (as in: so simple even I could do it if anyone
thinks it might be useful. If someone needs to set CFLAGS and the like,
they'll probably really want to use ./configure in the first place, anyway.
trap "echo Window Maker installation aborted. ; exit 1" 2 3
echo
echo "==================="
echo "XEmacs Installation"
echo "==================="
echo
echo "NOTE: If this script fails, read the INSTALL file and"
echo "install by hand."
echo
echo "Please read the README, README.packages INSTALL and FAQ"
echo "files before e-mailing questions. We will IGNORE any
echo "questions that are already answered in the documentation."
echo
perai
echo
echo "Did you install the packages as suggested in README.packages?"
echo "If not, please install them now."
echo
perai
echo "Did you read the README.packages file?"
echo -n "<y/n> "
read rtfm
if [ "$rtfm" != y ]; then
echo "Please read the README.packages file before installing"
exit
fi
echo "Are you sure?"
echo -n "<y/n> "
read rtfm
if [ "$rtfm" != n ]; then
echo "What a shame!"
echo "Please read the README.packages file before installing"
exit
fi
echo
echo "Ok, you have been warned."
echo
perai
echo
echo "Option Selection"
echo "================"
######################## KDE
echo
echo "Do you want sound support?"
echo -n "<y/n> [n] "
read kde
if [ "$kde" = y -o "sound" = Y ]; then
OPTIONS="$OPTIONS --enable-sound"
fi
[...]
--
Robin S. Socha
Closer to God - Nine Inch XEmacs <
http://socha.net/XEmacs/NIN/>