forked from teonet-co/teonet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
autogen.sh
executable file
·26 lines (23 loc) · 938 Bytes
/
autogen.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/bin/sh
# Run this to generate configure, Makefile.in's, etc
(autoreconf --version) < /dev/null > /dev/null 2>&1 || {
(autoconf --version) < /dev/null > /dev/null 2>&1 || {
echo
echo "**Error**: You must have the GNU Build System (autoconf, automake, "
echo "libtool, etc) to update the build system. Download the appropriate"
echo "packages for your distribution, or get the source tar balls from"
echo "ftp://ftp.gnu.org/pub/gnu/."
exit 1
}
echo
echo "**Error**: Your version of autoconf is too old (you need at least 2.57)"
echo "to update the build system. Download the appropriate updated package"
echo "for your distribution, or get the source tar ball from"
echo "ftp://ftp.gnu.org/pub/gnu/."
exit 1
}
echo "\n" Running autoreconf --verbose --install --force "\n"
autoreconf --verbose --install --force
intltoolize --force
echo "\n" Removing autom4te.cache "\n"
rm -rf autom4te.cache