Remove config.{status,cache} before running configure
[oweals/tinc.git] / autogen.sh
index 21a0f4c1283cb6b560f0341dbbadfd58d09a0dda..09e5a70431092dd7cd78e764884a352b2977c883 100644 (file)
@@ -150,6 +150,7 @@ conf_flags="--enable-maintainer-mode --enable-compile-warnings" #--enable-iso-c
 
 if test x$NOCONFIGURE = x; then
   echo Running $srcdir/configure $conf_flags "$@" ...
+  rm -f config.status config.cache
   $srcdir/configure $conf_flags "$@" \
   && echo Now type \`make\' to compile $PKG_NAME || exit 1
 else