Skip to content

Commit

Permalink
Changed autogen script to make work for Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
gobbledygook88 committed May 31, 2013
1 parent cd2102f commit bc42233
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions autogen.sh
@@ -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

0 comments on commit bc42233

Please sign in to comment.