TOR: fix compilation
[tomato.git] / release / src / router / libnfsidmap / autogen.sh
blobc17f6bed69500bc66b7f9c93d421c26fb3e680f9
1 #!/bin/sh -e
3 echo -n cleaning up .
5 # Clean up the generated crud
7 for FILE in compile config.guess config.sub depcomp install-sh ltmain.sh missing mkinstalldirs; do
8 if test -f $FILE; then
9 rm -f $FILE
11 echo -n .
12 done
15 for FILE in aclocal.m4 configure config.h.in; do
16 if test -f $FILE; then
17 rm -f $FILE
19 echo -n .
20 done
22 for DIR in autom4te.cache; do
23 if test -d $DIR; then
24 rm -rf $DIR
26 echo -n .
27 done
29 find . -type f -name 'Makefile.in' -print0 | xargs -r0 rm -f --
30 find . -type f -name 'Makefile' -print0 | xargs -r0 rm -f --
32 echo ' done'
34 if test x"${1}" = x"clean"; then
35 exit
38 aclocal
39 libtoolize --force --copy
40 autoheader
41 automake --add-missing --copy --gnu
42 autoreconf -vi -Wall