Browse CVS Repository
Contents of /satellite/satellite4/bootstrap.sh
Parent Directory
| Revision Log
| Revision Graph
Revision 1.7 -
( show annotations)
( download)
( as text)
Tue Dec 16 20:19:56 2008 UTC
(15 years, 2 months ago)
by orrisroot
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
File MIME type: text/x-sh
fixed to compilation on x86_64 arch.
| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
AUTOCONF=autoconf |
| 4 |
AUTOMAKE=automake-1.9 |
| 5 |
ACLOCAL=aclocal-1.9 |
| 6 |
AUTOHEADER=autoheader |
| 7 |
LIBTOOLIZE=libtoolize |
| 8 |
|
| 9 |
# host os check |
| 10 |
if [ ! -f /etc/redhat-release ]; then |
| 11 |
echo "running host is not Read Hat"; |
| 12 |
exit 1; |
| 13 |
fi |
| 14 |
if [ x"`cat /etc/redhat-release`" != x"CentOS release 5.2 (Final)" ]; then echo "running host is not CentOS 5.2"; |
| 15 |
exit 1; |
| 16 |
fi |
| 17 |
#UNAME=`uname -s` |
| 18 |
#if test X"$UNAME" != X"FreeBSD" ; then |
| 19 |
# echo "running host is not FreeBSD"; |
| 20 |
# exit 1; |
| 21 |
#fi |
| 22 |
|
| 23 |
set -x |
| 24 |
$ACLOCAL -I macros -I config |
| 25 |
$AUTOHEADER -I macros -I config |
| 26 |
$LIBTOOLIZE --automake --force --copy |
| 27 |
#$ACLOCAL -I macros -I config |
| 28 |
$AUTOMAKE --foreign --add-missing --copy |
| 29 |
$AUTOCONF |
| 30 |
|
| 31 |
if [ -f config.h.in ]; then |
| 32 |
touch config.h.in |
| 33 |
fi |
| 34 |
|
| 35 |
if [ -f stamp-h.in ]; then |
| 36 |
touch stamp-h.in |
| 37 |
fi |
| 38 |
|
| 39 |
tmp=`find . -name 'autom4te.cache'` |
| 40 |
if [ x"$tmp" != x"" ]; then |
| 41 |
rm -rf $tmp; |
| 42 |
fi |
| 43 |
tmp=`find . -name 'configure.lineno'` |
| 44 |
if [ x"$tmp" != x"" ]; then |
| 45 |
rm -f $tmp; |
| 46 |
fi |
| 47 |
tmp=`find . -name '*~'` |
| 48 |
if [ x"$tmp" != x"" ]; then |
| 49 |
rm -f $tmp; |
| 50 |
fi |
| 51 |
|
| 52 |
# (cd modules/gpm && sh ./bootstrap.sh) |
|