|
Revision 550, 0.7 kB
(checked in by plindner, 3 years ago)
|
|
fix for freebsd 6.x (and perhaps others)
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | #!/bin/sh |
|---|
| 2 | # |
|---|
| 3 | # This is hacky, because there are so many damn versions |
|---|
| 4 | # of autoconf/automake. It works with Debian woody, at least. |
|---|
| 5 | # |
|---|
| 6 | # Debian sarge: |
|---|
| 7 | # apt-get install automake1.7 autoconf |
|---|
| 8 | # |
|---|
| 9 | |
|---|
| 10 | echo "aclocal..." |
|---|
| 11 | ACLOCAL=`which aclocal-1.9 || which aclocal19 || which aclocal-1.7 || which aclocal17 || which aclocal-1.5 || which aclocal15 || which aclocal || exit 1` |
|---|
| 12 | $ACLOCAL || exit 1 |
|---|
| 13 | |
|---|
| 14 | echo "autoheader..." |
|---|
| 15 | AUTOHEADER=${AUTOHEADER:-autoheader} |
|---|
| 16 | $AUTOHEADER || exit 1 |
|---|
| 17 | |
|---|
| 18 | echo "automake..." |
|---|
| 19 | AUTOMAKE=${AUTOMAKE:-automake-1.7} |
|---|
| 20 | $AUTOMAKE --foreign --add-missing || automake --gnu --add-missing || exit 1 |
|---|
| 21 | |
|---|
| 22 | echo "autoconf..." |
|---|
| 23 | AUTOCONF=${AUTOCONF:-autoconf} |
|---|
| 24 | $AUTOCONF || exit 1 |
|---|
| 25 | |
|---|