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