1999-08-05 14:51:50 -07:00
|
|
|
#! /bin/sh
|
|
|
|
|
1999-09-14 18:22:59 -07:00
|
|
|
if [ "$USER" = "root" ]; then
|
|
|
|
echo "You cannot do this as "$USER" please use a normal user account"
|
|
|
|
exit
|
|
|
|
fi
|
|
|
|
|
1999-09-14 18:24:27 -07:00
|
|
|
echo
|
|
|
|
echo
|
|
|
|
echo "NOTE:"
|
|
|
|
echo "you will need libtool 1.3 or higher for this to work"
|
|
|
|
echo
|
|
|
|
echo
|
|
|
|
|
1999-09-14 17:16:44 -07:00
|
|
|
srcdir=`dirname $0`
|
|
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
|
|
|
|
THEDIR="`pwd`"
|
|
|
|
cd "$srcdir"
|
|
|
|
DIE=0
|
|
|
|
|
1999-08-05 14:51:50 -07:00
|
|
|
set -x
|
|
|
|
autoheader
|
|
|
|
libtoolize --ltdl --force --copy
|
|
|
|
aclocal
|
1999-09-14 17:16:44 -07:00
|
|
|
automake --foreign --add-missing
|
1999-08-05 14:51:50 -07:00
|
|
|
autoconf
|
|
|
|
|
1999-09-14 17:16:44 -07:00
|
|
|
if test -z "$*"; then
|
|
|
|
echo "I am going to run ./configure with no arguments - if you wish "
|
|
|
|
echo "to pass any to it, please specify them on the $0 command line."
|
|
|
|
fi
|
|
|
|
|
|
|
|
cd "$THEDIR"
|
|
|
|
|
1999-09-14 18:22:59 -07:00
|
|
|
$srcdir/configure "$@"
|
|
|
|
|
|
|
|
set +x
|
|
|
|
|
|
|
|
echo "Now type:"
|
|
|
|
echo
|
|
|
|
echo "make"
|
|
|
|
echo "make install"
|
|
|
|
echo
|
|
|
|
echo "to compile and install the loaders for imlib2 demo."
|
|
|
|
echo "also make sure you run imlib2 from THIS directory - ie:"
|
|
|
|
echo
|
|
|
|
echo "./imlib2"
|
|
|
|
echo
|
|
|
|
echo "have fun."
|
|
|
|
|