Browse CVS Repository
Diff of /satellite/satellite4/bootstrap.sh
Parent Directory
| Revision Log
| Revision Graph
| Patch
| 1 |
#!/bin/sh |
#!/bin/sh |
| 2 |
|
|
| 3 |
AUTOCONF=autoconf |
AUTOCONF=autoconf |
| 4 |
AUTOMAKE=automake |
AUTOMAKE=automake-1.9 |
| 5 |
ACLOCAL=aclocal |
ACLOCAL=aclocal-1.9 |
| 6 |
AUTOHEADER=autoheader |
AUTOHEADER=autoheader |
| 7 |
LIBTOOLIZE=libtoolize |
LIBTOOLIZE=libtoolize |
| 8 |
|
|
| 9 |
# host os check |
# host os check |
| 10 |
if [ ! -f /etc/fedora-release ]; then |
if [ ! -f /etc/redhat-release ]; then |
| 11 |
echo "running host is not Fedora Core"; |
echo "running host is not Read Hat"; |
| 12 |
exit 1; |
exit 1; |
| 13 |
fi |
fi |
| 14 |
if [ x"`cat /etc/fedora-release`" != x"Fedora Core release 1 (Yarrow)" ]; then |
if [ x"`cat /etc/redhat-release`" != x"CentOS release 5.2 (Final)" ]; then echo "running host is not CentOS 5.2"; |
|
echo "running host is not Frdora Core release 1"; |
|
| 15 |
exit 1; |
exit 1; |
| 16 |
fi |
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 |
set -x |
| 24 |
$ACLOCAL -I macros -I config |
$ACLOCAL -I macros -I config |
| 25 |
$AUTOHEADER |
$AUTOHEADER -I macros -I config |
| 26 |
$LIBTOOLIZE --automake --force --copy |
$LIBTOOLIZE --automake --force --copy |
| 27 |
#$ACLOCAL -I macros -I config |
#$ACLOCAL -I macros -I config |
| 28 |
$AUTOMAKE --foreign --add-missing --copy |
$AUTOMAKE --foreign --add-missing --copy |
| 49 |
rm -f $tmp; |
rm -f $tmp; |
| 50 |
fi |
fi |
| 51 |
|
|
| 52 |
(cd modules/gpm-gtk && sh ./bootstrap.sh) |
# (cd modules/gpm && sh ./bootstrap.sh) |
|
|
Legend:
| Removed from v.1.1.1.1 |
|
| changed lines |
| |
Added in v.1.7 |
|
|
|