diff options
author | dan miller | 2007-10-19 04:28:53 +0000 |
---|---|---|
committer | dan miller | 2007-10-19 04:28:53 +0000 |
commit | 0fc46fc9590912bf6925c899edd02d7a2cdf5f79 (patch) | |
tree | 51bcae7a1b8381a6bf6fd8025a7de1e30fe0045d /libraries/ode-0.9\/autogen.sh | |
parent | small bit of refactoring (diff) | |
download | opensim-SC_OLD-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.zip opensim-SC_OLD-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.gz opensim-SC_OLD-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.bz2 opensim-SC_OLD-0fc46fc9590912bf6925c899edd02d7a2cdf5f79.tar.xz |
adding ode source to /libraries
Diffstat (limited to 'libraries/ode-0.9\/autogen.sh')
-rwxr-xr-x | libraries/ode-0.9\/autogen.sh | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/libraries/ode-0.9\/autogen.sh b/libraries/ode-0.9\/autogen.sh new file mode 100755 index 0000000..68a9759 --- /dev/null +++ b/libraries/ode-0.9\/autogen.sh | |||
@@ -0,0 +1,42 @@ | |||
1 | #!/bin/sh | ||
2 | |||
3 | # The version nr detection is not working. | ||
4 | # It fails if there is a '-' char in the version nr e.g. | ||
5 | # We should not use it until fixed. - Bram | ||
6 | |||
7 | ## The reason this uses sed instead of "grep --only-matches" | ||
8 | ## is because MinGW's grep is an old version and does not contain that flag. | ||
9 | #automake_version=`automake --version | grep --regexp='[+0-9].[+0-9].[+0-9]' | sed -n 's/[* ()A-Za-z]//g;p'` | ||
10 | #automake_mayor=${automake_version%.*.*} | ||
11 | #automake_minor=${automake_version%.*} | ||
12 | #automake_minor=${automake_minor##*.} | ||
13 | #automake_revision=${automake_version##*.} | ||
14 | #echo "AutoMake Version: $automake_mayor.$automake_minor.$automake_revision" | ||
15 | # | ||
16 | #if [ $automake_mayor -eq 1 ]; then | ||
17 | # if [ $automake_minor -lt 8 ]; then | ||
18 | # echo "Automake must be 1.8.2 or higher, please upgrade" | ||
19 | # exit | ||
20 | # else | ||
21 | # if [ $automake_minor -eq 8 ] && [ $automake_revision -lt 2 ]; then | ||
22 | # echo "Automake must be 1.8.2 or higher, please upgrade" | ||
23 | # exit | ||
24 | # fi | ||
25 | # fi | ||
26 | #fi | ||
27 | |||
28 | echo "Please make sure that you use automake 1.8.2 or later" | ||
29 | echo "Warnings about underquoted definitions are harmless" | ||
30 | |||
31 | echo "Running aclocal" | ||
32 | aclocal -I . || exit 1 | ||
33 | echo "Running autoheader" | ||
34 | autoheader || exit 1 | ||
35 | echo "Running automake" | ||
36 | automake --foreign --include-deps --add-missing --copy || exit 1 | ||
37 | echo "Running autoconf" | ||
38 | autoconf || exit 1 | ||
39 | |||
40 | #./configure $* | ||
41 | |||
42 | echo "Now you are ready to run ./configure" | ||