- sourced from http://marc.info/?l=quagga-dev&m=122470857431036&w=2
- update-autotools.sh - Use GNU libtool, libtoolize on Darwin.
|
|
rm -rf autom4te.cache |
11 | 11 | echo "This $0 script is deprecated, and will be removed at some stage." |
12 | 12 | echo "Please use the 'autoreconf' command included with autoconf." |
13 | 13 | |
| 14 | OS=`uname -s` |
| 15 | if [ "$OS" = "Darwin" ]; then |
| 16 | LIBTOOLIZE='glibtoolize' |
| 17 | LIBTOOL='glibtool' |
| 18 | else |
| 19 | LIBTOOLIZE='libtoolize' |
| 20 | LIBTOOL='libtool' |
| 21 | fi |
| 22 | |
14 | 23 | echo "TOOLS VERIONS:" |
15 | | for tool in autoheader autoconf libtool libtoolize aclocal automake; do |
| 24 | for tool in autoheader autoconf $LIBTOOL $LIBTOOLIZE aclocal automake; do |
16 | 25 | $tool --version | head -1 |
17 | 26 | done |
18 | 27 | |
… |
… |
autoheader |
23 | 32 | echo "AUTOCONF:" |
24 | 33 | autoconf |
25 | 34 | echo "LIBTOOLIZE:" |
26 | | libtoolize -c |
| 35 | $LIBTOOLIZE -c |
27 | 36 | echo "AUTOMAKE" |
28 | 37 | automake --gnu --add-missing --copy |