Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed autogen script to make work for Mac
- Loading branch information
1 parent
cd2102f
commit bc42233
Showing
1 changed file
with
15 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,17 @@ | ||
#! /bin/sh | ||
|
||
aclocal \ | ||
&& libtoolize \ | ||
&& automake --add-missing \ | ||
&& autoconf | ||
aclocal | ||
|
||
# Support for Linux and Mac OS X | ||
# libtoolize is given the name glibtoolize | ||
# when installing GNU libtool via | ||
# Homebrew or MacPorts on Mac | ||
if hash libtoolize 2>&- | ||
then | ||
libtoolize --automake | ||
else | ||
glibtoolize --automake | ||
fi | ||
|
||
automake --add-missing | ||
autoconf |