MacOS X build compatibility.
This commit is contained in:
parent
bb09a88a67
commit
87d412da79
10
bootstrap
10
bootstrap
|
@ -5,7 +5,15 @@ echo "Initial preparation...this can take awhile, so sit tight..."
|
||||||
rm -f Makefile.am
|
rm -f Makefile.am
|
||||||
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"); }'
|
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"); }'
|
||||||
aclocal
|
aclocal
|
||||||
libtoolize --automake --copy --force
|
|
||||||
|
# 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
|
||||||
|
|
||||||
autoheader
|
autoheader
|
||||||
automake --foreign --add-missing --copy
|
automake --foreign --add-missing --copy
|
||||||
autoconf
|
autoconf
|
||||||
|
|
Loading…
Reference in New Issue