config.h and related files were recently moved from src to the base
directory. Have ./configure remove the obsolete versions in src if they
still exist.

Signed-off-by: Brad Jorsch <[email protected]>
---
 configure.ac |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 409ebac..8fba22e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -19,6 +19,13 @@ AM_INIT_AUTOMAKE([1.11 silent-rules])
 
 AH_BOTTOM([#include "config-paths.h"])
 
+AS_IF([test -e "src/config.h" -o -e "src/config.h.in" -o -e 
"src/config.h.in~"],
+  [AC_MSG_NOTICE([removing obsolete files: src/config.h*])
+   rm src/config.h*
+  ]
+)
+
+
 dnl libtool library versioning
 dnl =======================
 dnl
-- 
1.7.1


-- 
To unsubscribe, send mail to [email protected].

Reply via email to