Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | |||||
mvaradachari | b216c03 | 2008-01-18 01:00:18 +0000 | [diff] [blame^] | 3 | ## |
4 | |||||
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 5 | subdirs=" if" |
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 6 | |
Mark Slee | eb0d024 | 2007-01-25 07:58:55 +0000 | [diff] [blame] | 7 | ./cleanup.sh |
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 8 | |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 9 | autoscan || exit 1 |
10 | autoheader || exit 1 | ||||
11 | aclocal -I ./aclocal || exit 1 | ||||
12 | |||||
13 | if libtoolize --version 1 >/dev/null 2>/dev/null; then | ||||
14 | libtoolize --automake || exit 1 | ||||
15 | elif glibtoolize --version 1 >/dev/null 2>/dev/null; then | ||||
16 | glibtoolize --automake || exit 1 | ||||
17 | fi | ||||
18 | |||||
mvaradachari | fbc9114 | 2008-01-01 04:51:24 +0000 | [diff] [blame] | 19 | autoconf |
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 20 | automake -ac --add-missing --foreign || exit 1 |
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 21 | |
22 | for subdir in ${subdirs}; do | ||||
23 | if [ -x "${subdir}/bootstrap.sh" ]; then | ||||
David Reiss | 832b262 | 2007-12-28 18:25:33 +0000 | [diff] [blame] | 24 | cwd="`pwd`" |
25 | cd "${subdir}" | ||||
26 | ./bootstrap.sh | ||||
27 | cd "${cwd}" | ||||
Marc Slemko | b09f588 | 2006-08-23 22:03:34 +0000 | [diff] [blame] | 28 | fi |
29 | done | ||||
30 |