~vcs-imports-ii/gnubg/trunk

3631 by c_anthon
updated the autobuild system
1
#! /bin/sh
2
3
set -x
5081 by plm
Fix problems when switching between different libtool versions
4
5
rm -f aclocal.m4
3631 by c_anthon
updated the autobuild system
6
aclocal -I m4
5081 by plm
Fix problems when switching between different libtool versions
7
4882 by mdpetch
Support Apple renaming libtoolize to glibtoolize on OS/X builds
8
if [ `uname -s` = Darwin ]
9
then
10
    LIBTOOLIZE=glibtoolize
11
else
12
    LIBTOOLIZE=libtoolize
13
fi
5081 by plm
Fix problems when switching between different libtool versions
14
15
# If we use libtool-2, libtoolize below will recreate them, but if we use
16
# libtool-1 we don't want them, which could happen if we use a shared
17
# source directory or work from a "make dist" made on a libtool-2 system.
18
#
19
rm -f m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4
4882 by mdpetch
Support Apple renaming libtoolize to glibtoolize on OS/X builds
20
$LIBTOOLIZE --force --copy
5081 by plm
Fix problems when switching between different libtool versions
21
22
# In case we got a "You should update your `aclocal.m4' by running aclocal."
23
# from libtoolize.
24
#
25
aclocal -I m4
26
3631 by c_anthon
updated the autobuild system
27
autoheader
3995 by c_anthon
silence a warning
28
automake --add-missing --copy -Wno-portability
3631 by c_anthon
updated the autobuild system
29
autoconf