Browse CVS Repository
Annotation of /xoonips/AL/bootstrap.sh
Parent Directory
| Revision Log
| Revision Graph
Revision 1.2.2.1 -
( hide annotations)
( download)
( as text)
Thu Aug 24 09:59:20 2006 UTC
(17 years, 7 months ago)
by aga4096
Branch: XOONIPS_STABLE_2
CVS Tags: tag20061115, RELENG_2_0_0a_RELEASE
Changes since 1.2: +16 -8 lines
File MIME type: text/x-sh
・[ #8723 ] STABLE2 のALでDB接続文字コード指定 のパッチをあてた.
| 1 |
orrisroot |
1.1 |
#!/bin/sh |
| 2 |
orrisroot |
1.2 |
|
| 3 |
aga4096 |
1.2.2.1 |
AUTOCONF=autoconf |
| 4 |
|
|
AUTOMAKE=automake-1.9 |
| 5 |
|
|
ACLOCAL=aclocal-1.9 |
| 6 |
|
|
AUTOHEADER=autoheader |
| 7 |
|
|
LIBTOOLIZE=libtoolize |
| 8 |
orrisroot |
1.1 |
|
| 9 |
|
|
# host os check |
| 10 |
aga4096 |
1.2.2.1 |
if [ ! -f /etc/fedora-release ]; then |
| 11 |
|
|
echo "running host is not Fedora Core"; |
| 12 |
orrisroot |
1.1 |
exit 1; |
| 13 |
|
|
fi |
| 14 |
aga4096 |
1.2.2.1 |
if [ x"`cat /etc/fedora-release`" != x"Fedora Core release 5 (Bordeaux)" ]; then |
| 15 |
|
|
echo "running host is not Frdora Core release 5"; |
| 16 |
|
|
exit 1; |
| 17 |
|
|
fi |
| 18 |
|
|
#UNAME=`uname -s` |
| 19 |
|
|
#if test X"$UNAME" != X"FreeBSD" ; then |
| 20 |
|
|
# echo "running host is not FreeBSD"; |
| 21 |
|
|
# exit 1; |
| 22 |
|
|
#fi |
| 23 |
orrisroot |
1.1 |
|
| 24 |
|
|
set -x |
| 25 |
|
|
$ACLOCAL -I macros -I config |
| 26 |
|
|
$AUTOHEADER -I macros -I config |
| 27 |
|
|
$LIBTOOLIZE --automake --force --copy |
| 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 |
|