diff --git a/configure.ac b/configure.ac index 6de2ccb..f071f6e 100644 --- a/configure.ac +++ b/configure.ac @@ -10,11 +10,6 @@ AM_INIT_AUTOMAKE([1.11.1 no-dist-gzip dist-xz color-tests parallel-tests]) AM_SILENT_RULES([yes]) # make --enable-silent-rules the default. AC_CONFIG_MACRO_DIRS([m4]) -SED_FEATURE_VERSION=4.2.2 -AC_DEFINE_UNQUOTED([SED_FEATURE_VERSION], "$SED_FEATURE_VERSION", - [Define to the version of GNU sed whose features are supported by this sed.]) -AC_SUBST(SED_FEATURE_VERSION) - AC_PROG_CC_STDC AM_PROG_CC_C_O gl_EARLY diff --git a/sed/compile.c b/sed/compile.c index 49c4fb2..bf46ace 100644 --- a/sed/compile.c +++ b/sed/compile.c @@ -1070,7 +1070,7 @@ compile_program(struct vector *vector) char *version = read_label (); char const *compared_version; compared_version = (*version == '\0') ? "4.0" : version; - if (strverscmp (compared_version, SED_FEATURE_VERSION) > 0) + if (strverscmp (compared_version, PACKAGE_VERSION) > 0) bad_prog(_(ANCIENT_VERSION)); free (version);