commit | 4cf15c8cf0ccf0b5f7f556b3191ee26ab8641250 | [log] [tgz] |
---|---|---|
author | Martin Szulecki <opensuse@sukimashita.com> | Sat Mar 19 16:47:09 2011 +0100 |
committer | Martin Szulecki <opensuse@sukimashita.com> | Sat Mar 19 16:47:09 2011 +0100 |
tree | 10bdfeb7f519bc5bd075102beb1f5a3aaba57ad7 | |
parent | ba6d098b6fe12ecdb0cde2c283ff77d2a8a22a06 [diff] |
Add support for glibtoolize of Mac OS X
diff --git a/autogen.sh b/autogen.sh index cb3887a..3292973 100755 --- a/autogen.sh +++ b/autogen.sh
@@ -1,6 +1,11 @@ #!/bin/sh +gprefix=`which glibtoolize 2>&1 >/dev/null` +if [ $? -eq 0 ]; then + glibtoolize --force +else + libtoolize --force +fi aclocal -I m4 -libtoolize autoheader automake --add-missing autoconf