autoconf: Replace the configs/current symlink from config.status
Minor tweak so that running config.status will entirely recreate the
configure settings by replacing the configs/current symlink.
diff --git a/configure.ac b/configure.ac
index b0f17f9..cccf7bd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -901,13 +901,16 @@
dnl Substitute the config
AC_CONFIG_FILES([configs/autoconf])
-AC_OUTPUT
dnl Replace the configs/current symlink
+AC_CONFIG_COMMANDS([configs],[
if test -f configs/current || test -L configs/current; then
rm -f configs/current
fi
ln -s autoconf configs/current
+])
+
+AC_OUTPUT
dnl
dnl Output some configuration info for the user