Skip to content

Latest commit

 

History

History
executable file
·
22 lines (17 loc) · 743 Bytes

bootstrap

File metadata and controls

executable file
·
22 lines (17 loc) · 743 Bytes
 
1
2
3
4
#!/bin/sh
set -e
echo "Initial preparation...this can take awhile, so sit tight..."
6
perl -w -e 'use File::Copy; exit 0 if (-f "Makefile.am"); my $x = `automake --version |head -n 1`; chomp($x); $x = 0.0 if ($x !~ s/\A.*?(\d+\.\d+).*\Z/$1/); if ($x < 1.5) { copy("./Makefile.am.oldautomake", "./Makefile.am"); } else { copy("./Makefile.am.newautomake", "./Makefile.am"); }'
7
aclocal
8
9
10
11
12
13
14
15
16
# MacOS X renames GNU libtool to "glibtool", since they have something
# else called "libtool" already...
if [ -x /usr/bin/glibtoolize ]; then
glibtoolize --automake --copy --force
else
libtoolize --automake --copy --force
fi
17
18
19
20
21
autoheader
automake --foreign --add-missing --copy
autoconf
echo "You are now ready to run ./configure ..."