configure: Require @clicksequence to be present.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 12 Jan 2021 04:38:21 +0000 (20:38 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 12 Jan 2021 04:38:21 +0000 (20:38 -0800)
Occasionally someone tries to build with a really old Texinfo.  It doesn't
work now, although it once did, but before this commit it would
successfully configure.  By preventing configure from finishing, I think
that this will produce a clearer error message earlier in the build
process, ultimately making life easier for users.

Bug #59818.

acinclude.m4
doc/pspp.texi

index c657b46e1f8fb8c5a3842de36b3df1313536aa0d..5e393144f4f08cc18dc2d966772b4fae6b2083a8 100644 (file)
@@ -276,8 +276,9 @@ EOF
       fi
       rm -f conftest.texi conftest.info])
    if test $pspp_cv_have_clicksequence = no; then
-       AM_MAKEINFOFLAGS="$AM_MAKEINFOFLAGS -DMISSING_CLICKSEQUENCE"
-       AC_SUBST([AM_MAKEINFOFLAGS])
+       AC_MSG_ERROR([$MAKEINFO does not support @clicksequence.
+Please install a newer or working version, or point the MAKEINFO variable
+to one that is already installed.])
    fi])
 
 dnl Texinfo 4.13 generates broken DocBook XML.  Probably other old
index d096a6eab4d78f8a1f4556e3425c7c593e5d4e89..e107be4aa12ae8fc79fa3e05a65698391e2ba5a6 100644 (file)
@@ -115,14 +115,6 @@ graphic user interface
 @sc{pspp}
 @end macro
 
-
-@ifset MISSING_CLICKSEQUENCE
-@alias clicksequence = asis
-@macro click {}
-->
-@end macro
-@end ifset
-
 @iftex
 @finalout
 @end iftex