Commit d054890e9e91a64f5801af2d63b0cf2c6ca32e49

Authored by Perry Werneck
1 parent aff00e90
Exists in develop

Should use glibtoolize on mac.

Showing 1 changed file with 15 additions and 5 deletions   Show diff stats
@@ -10,11 +10,21 @@ cd ${srcdir} @@ -10,11 +10,21 @@ cd ${srcdir}
10 mkdir -p ./scripts 10 mkdir -p ./scripts
11 mkdir -p m4 11 mkdir -p m4
12 12
13 -libtoolize --force  
14 -if test $? != 0 ; then  
15 - echo "libtoolize failed."  
16 - exit -1  
17 -fi 13 +case `uname` in
  14 +Darwin*)
  15 + glibtoolize --force
  16 + if test $? != 0 ; then
  17 + echo "glibtoolize failed."
  18 + exit -1
  19 + fi
  20 + ;;
  21 +*)
  22 + libtoolize --force
  23 + if test $? != 0 ; then
  24 + echo "libtoolize failed."
  25 + exit -1
  26 + fi
  27 +esac
18 28
19 aclocal 29 aclocal
20 if test $? != 0 ; then 30 if test $? != 0 ; then