better autogen.sh comments to help you build imlib2

SVN revision: 278
This commit is contained in:
Carsten Haitzler 1999-09-15 01:22:59 +00:00
parent 75455af03c
commit 3df4985fd5
1 changed files with 28 additions and 1 deletions

View File

@ -1,5 +1,10 @@
#! /bin/sh
if [ "$USER" = "root" ]; then
echo "You cannot do this as "$USER" please use a normal user account"
exit
fi
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
@ -21,4 +26,26 @@ fi
cd "$THEDIR"
$srcdir/configure "$@" && echo && echo "Now type 'make' to compile imlib."
$srcdir/configure "$@"
set +x
echo "making loader dir "$HOME"/.loaders/image"
mkdir $HOME"/.loaders"
mkdir $HOME"/.loaders/image"
echo "Now type:"
echo
echo "make"
echo "make install"
echo
echo "to compile and install the loaders for imlib2 demo."
echo "please ensure after you type make install there is a png.so and "
echo "jpeg.so in "$HOME"/.loaders/image"
echo "ignore the errors make install emits when make install exits - they are"
echo "ok to have."
echo "also make sure you run imlib2 from THIS directory - ie:"
echo
echo "./imlib2"
echo
echo "have fun."