Index: auctex/preview/aclocal.m4
diff -u auctex/preview/aclocal.m4:1.54 auctex/preview/aclocal.m4:1.55
--- auctex/preview/aclocal.m4:1.54      Mon Apr 11 09:01:32 2005
+++ auctex/preview/aclocal.m4   Wed Apr 27 16:16:38 2005
@@ -80,6 +80,24 @@
   AC_MSG_RESULT([["${emacsprefix}"]])
 ])
 
+AC_DEFUN(AC_DATE_VERSION_FROM_CHANGELOG, [
+AC_MSG_CHECKING([for date in ChangeLog])
+$1=[`sed -n '1s/^\([-0-9]+\).*/\1/p'`]
+if test "X${$1}" = X
+then
+  AC_MSG_ERROR([[not found]])
+fi
+AC_MSG_RESULT($1)
+AC_MSG_CHECKING([for release in ChangeLog])
+$2=[`sed -n '2,/^[0-9]/s/.*Version .* released\..*/\1/p'`]
+if test "X${$2}" = X
+then
+  $2=${$1}
+  AC_MSG_RESULT([not found, using ${$2} instead])
+else
+  AC_MSG_RESULT([${$2}])
+fi
+
 AC_DEFUN(EMACS_CHECK_VERSION, [
 AC_MSG_CHECKING([if ${EMACS_NAME} is recent enough])
 EMACS_LISP(result,[(cond ((< emacs-major-version $1) \"no\")


_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to