changeset 246:166ac26a5dcd

Conditional build of configure file
author adb014
date Wed, 07 Mar 2007 20:20:50 +0000
parents 9a122f58a5f2
children b2382b6e6f2e
files src/autogen.sh
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/autogen.sh
+++ b/src/autogen.sh
@@ -17,4 +17,10 @@
 ])
 EOF
 
-autoconf && rm -f configure.in
+autoconf configure.in > configure.tmp
+if diff configure.tmp configure >& /dev/null; then
+  rm -f configure.tmp;
+else
+  mv -f configure.tmp configure
+fi
+rm -f configure.in