diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-08-17 14:17:42 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2010-08-17 14:17:42 +0000 |
commit | a127d39b6540353734d8557ca39f401a2683aca8 (patch) | |
tree | d983f7d9c444a441f5b22af675c653f0a74123d5 /autogen.sh | |
parent | 70d8fd2e96d8a19149653052049c6f28ac1ac789 (diff) |
use autoconf
svn path=/trunk/externals/hardware/wiimote/; revision=13823
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..27b75c6 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +PATH=/sw/bin:$PATH + +PWD=${0%/*} + + +## git cannot really handle empty directories +## so let's create the missing ones +mkdir -p ${PWD}/m4/generated + +case `uname -s` in + MINGW*) +# autoreconf doesn't always work on MinGW + libtoolize --install --force \ + && aclocal \ + && automake --add-missing --force-missing \ + && autoconf + ;; + *) + autoreconf --install --force --verbose + ;; +esac |