]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Formerly autoheader.sh.~29~
authorRoland McGrath <roland@gnu.org>
Mon, 30 Aug 1993 21:36:49 +0000 (21:36 +0000)
committerRoland McGrath <roland@gnu.org>
Mon, 30 Aug 1993 21:36:49 +0000 (21:36 +0000)
autoheader.in
autoheader.sh
bin/autoheader.in

index 04a94f4441f86a730c6b903f31a2d4a3a334c380..ff33ac3fb833ffd08942877f3cc7066be9ee1a27 100644 (file)
@@ -200,7 +200,11 @@ done
 
 if test $# -eq 0; then
   if test $status -eq 0; then
-    mv -f $tmpout ${config_h}.in
+    if cmp -s $tmpout ${config_h}.in; then
+      mv -f $tmpout ${config_h}.in
+    else
+      rm -f $tmpout
+    fi
   else
     rm -f $tmpout
   fi
index 04a94f4441f86a730c6b903f31a2d4a3a334c380..ff33ac3fb833ffd08942877f3cc7066be9ee1a27 100644 (file)
@@ -200,7 +200,11 @@ done
 
 if test $# -eq 0; then
   if test $status -eq 0; then
-    mv -f $tmpout ${config_h}.in
+    if cmp -s $tmpout ${config_h}.in; then
+      mv -f $tmpout ${config_h}.in
+    else
+      rm -f $tmpout
+    fi
   else
     rm -f $tmpout
   fi
index 04a94f4441f86a730c6b903f31a2d4a3a334c380..ff33ac3fb833ffd08942877f3cc7066be9ee1a27 100644 (file)
@@ -200,7 +200,11 @@ done
 
 if test $# -eq 0; then
   if test $status -eq 0; then
-    mv -f $tmpout ${config_h}.in
+    if cmp -s $tmpout ${config_h}.in; then
+      mv -f $tmpout ${config_h}.in
+    else
+      rm -f $tmpout
+    fi
   else
     rm -f $tmpout
   fi