Skip to content

Commit

Permalink
use glibtoolize on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
tammoippen committed May 24, 2016
1 parent cf707fa commit 4c4b569
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions autogen.sh
Expand Up @@ -12,9 +12,16 @@ if test -z "$AUTOMAKE" ; then
done
fi

if [ `uname -s` = Darwin ] ; then
# libtoolize is glibtoolize on OSX
LIBTOOLIZE=glibtoolize
else
LIBTOOLIZE=libtoolize
fi

./aclocal.sh &&
echo libtoolize --copy --automake &&
libtoolize --copy --automake &&
echo $LIBTOOLIZE --copy --automake &&
$LIBTOOLIZE --copy --automake &&
echo autoheader &&
autoheader &&
echo autoconf &&
Expand Down

0 comments on commit 4c4b569

Please sign in to comment.