3 test -n "$srcdir" || srcdir=`dirname "$0"`
4 test -n "$srcdir" || srcdir=.
9 rm -f aclocal.m4 ltmain.sh
16 rm -f config.cache-env.tmp
17 echo "OLD_PARM=\"$@\"" >> config.cache-env.tmp
18 echo "OLD_CFLAGS=\"$CFLAGS\"" >> config.cache-env.tmp
19 echo "OLD_PATH=\"$PATH\"" >> config.cache-env.tmp
20 echo "OLD_PKG_CONFIG_PATH=\"$PKG_CONFIG_PATH\"" >> config.cache-env.tmp
21 echo "OLD_LDFLAGS=\"$LDFLAGS\"" >> config.cache-env.tmp
23 cmp config.cache-env.tmp config.cache-env >> /dev/null
29 echo "Cleaning configure cache...";
30 rm -f config.cache config.cache-env
31 mv config.cache-env.tmp config.cache-env
33 rm -f config.cache-env.tmp
37 if [ -z "$NOCONFIGURE" ]; then
38 exec $srcdir/configure -C "$@"