Skip to content

Commit

Permalink
Allow to build on OSX
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcorser committed Jun 20, 2016
1 parent d90ea3c commit 3d1f8bd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
#
# Script to generate all required files from fresh git checkout.

command -v libtoolize >/dev/null 2>&1

case `uname` in Darwin*) LIBTOOLIZE=glibtoolize ;;
*) LIBTOOLIZE=libtoolize ;; esac

command -v $LIBTOOLIZE >/dev/null 2>&1
if [ $? -ne 0 ]; then
echo "autogen.sh: error: could not find libtool. libtool is required to run autogen.sh." 1>&2
exit 1
Expand Down

0 comments on commit 3d1f8bd

Please sign in to comment.