File: bootstrap

package info (click to toggle)
libfvm 0.15.0-4
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 4,472 kB
  • ctags: 1,722
  • sloc: ansic: 38,357; sh: 10,533; makefile: 202
file content (48 lines) | stat: -rwxr-xr-x 978 bytes parent folder | download | duplicates (2)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#!/bin/sh

if [ ! -d sbin ]; then
  echo "$0 must be called from top directory (../$0)"
  exit 1
fi

# To add gettext support, use :
# gettextize -f -c --no-changelog --intl
# rm -rf config/m4_gettext ; mv m4 config/m4_gettext

# To use an external gettext version, do not use --intl
# To use a link instead of copy, do not use -c

# if [ ! -d config/m4_gettext ]; then
#   echo "running gettextize"
#   \rm -rf configure.ac~ Makefile.am~
#   gettextize -c --no-changelog
#   mv m4 config/m4_gettext
#   if [ -f configure.ac~ ]; then
#     mv configure.ac~ configure.ac
#   fi
#   if [ -f Makefile.am~ ]; then
#     mv Makefile.am~ Makefile.am
#   fi
#   rm -rf po/*~
# fi

echo "running aclocal"
aclocal -I config

echo "running autoconf"
autoconf

if [ ! -f config/ltmain.sh ]; then
  echo "running libtoolize"
  libtoolize --force --copy
fi

echo "running autoheader"
autoheader

echo "running automake"
automake -a -c

echo "removing autom4te.cache"
\rm -rf autom4te.cache