25 lines
471 B
Bash
Executable File
25 lines
471 B
Bash
Executable File
#! /bin/sh
|
|
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
THEDIR="`pwd`"
|
|
cd "$srcdir"
|
|
DIE=0
|
|
|
|
set -x
|
|
autoheader
|
|
libtoolize --ltdl --force --copy
|
|
aclocal
|
|
automake --foreign --add-missing
|
|
autoconf
|
|
|
|
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"
|
|
|
|
$srcdir/configure "$@" && echo && echo "Now type 'make' to compile imlib."
|