Initial commit.
git-svn-id: file:///home/svnrepos/software/liblbfgs/trunk@2 ecf4c44f-38d1-4fa4-9757-a0b4dd0349fc
This commit is contained in:
38
autogen.sh
Executable file
38
autogen.sh
Executable file
@@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
# $Id$
|
||||
|
||||
if [ "$1" = "--force" ];
|
||||
then
|
||||
FORCE=--force
|
||||
NOFORCE=
|
||||
FORCE_MISSING=--force-missing
|
||||
else
|
||||
FORCE=
|
||||
NOFORCE=--no-force
|
||||
FORCE_MISSING=
|
||||
fi
|
||||
|
||||
libtoolize --copy $FORCE 2>&1 | sed '/^You should/d' || {
|
||||
echo "libtoolize failed!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
aclocal $FORCE || {
|
||||
echo "aclocal failed!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
autoheader $FORCE || {
|
||||
echo "autoheader failed!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
automake -a -c $NOFORCE || {
|
||||
echo "automake failed!"
|
||||
exit 1
|
||||
}
|
||||
|
||||
autoconf $FORCE || {
|
||||
echo "autoconf failed!"
|
||||
exit 1
|
||||
}
|
||||
Reference in New Issue
Block a user