]> code.delx.au - gnu-emacs/commitdiff
* make-dist: Rebuild configure if configure.in is newer.
authorJim Blandy <jimb@redhat.com>
Sat, 29 May 1993 19:38:45 +0000 (19:38 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 29 May 1993 19:38:45 +0000 (19:38 +0000)
make-dist

index e671cc0964c7972c2a2442c55b3e755f41fbe1b4..7742f6afcc1d3bba247a7179d77c6ba4d48fe916 100755 (executable)
--- a/make-dist
+++ b/make-dist
@@ -97,6 +97,13 @@ if [ "${bogosities}" != "" ]; then
 fi
 rm -f /tmp/el /tmp/elc
 
+### Make sure configure is newer than configure.in.
+if [ "x`ls -t configure configure.in | head -1`" != "xconfigure" ]; then
+  echo "`./configure.in' seems to be newer than `./configure.'" >&2
+  echo "Attempting to run autoconf." >&2
+  autoconf
+fi
+
 echo "Creating staging directory: \`${tempparent}'"
 mkdir ${tempparent}
 emacsname="emacs-${version}${new_extension}"