Parent Directory
|
Revision Log
Update autogen.sh to try several names for libtoolize.
| 1 | #!/bin/sh |
| 2 | |
| 3 | set -ex |
| 4 | rm -rf autom4te.cache |
| 5 | aclocal --force |
| 6 | |
| 7 | # GNU libtool is named differently on some systems. This code tries several |
| 8 | # variants like glibtoolize (MacOSX) and libtoolize1x (FreeBSD) |
| 9 | |
| 10 | set +ex |
| 11 | echo "Looking for a version of libtoolize (which can have different names)..." |
| 12 | libtoolize="" |
| 13 | for l in glibtoolize libtoolize15 libtoolize14 libtoolize ; do |
| 14 | $l --version > /dev/null 2>&1 |
| 15 | if [ $? = 0 ]; then |
| 16 | libtoolize=$l |
| 17 | echo "Found $l" |
| 18 | break |
| 19 | fi |
| 20 | echo "Did not find $l" |
| 21 | done |
| 22 | |
| 23 | if [ "x$libtoolize" == "x" ]; then |
| 24 | echo "Can't find libtoolize on your system" |
| 25 | exit 1 |
| 26 | fi |
| 27 | |
| 28 | set -ex |
| 29 | $libtoolize -c -f |
| 30 | autoconf -f -W all,no-obsolete |
| 31 | autoheader -f -W all |
| 32 | automake -a -c -f -W all |
| 33 | |
| 34 | rm -rf autom4te.cache |
| 35 | exit 0 |
| 36 | |
| 37 | # end autogen.sh |
| Name | Value |
|---|---|
| svn:executable | * |
| webmaster@exim.org | ViewVC Help |
| Powered by ViewVC 1.1.12 |