X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/b906441c9568615be3ddce717a6e365b2e368af3..fece5986bf9fdcec3e91e289b8660afa7e12ef69:/m4/prereq.m4 diff --git a/m4/prereq.m4 b/m4/prereq.m4 index 8b6ef3da..6c90a4e9 100644 --- a/m4/prereq.m4 +++ b/m4/prereq.m4 @@ -1,10 +1,10 @@ -#serial 27 +#serial 28 -*- Autoconf -*- dnl We use jm_ for non Autoconf macros. m4_pattern_forbid([^jm_[ABCDEFGHIJKLMNOPQRSTUVXYZ]])dnl # These are the prerequisite macros for files in the lib/ -# directories of the coreutils package. +# directories of the fileutils, sh-utils, and textutils packages. AC_DEFUN([jm_PREREQ], [ @@ -32,6 +32,20 @@ AC_DEFUN([jm_PREREQ], jm_PREREQ_XREADLINK ]) +AC_DEFUN([jm_PREREQ_ARGMATCH], +[ + AC_REQUIRE([jm_PREREQ_QUOTEARG]) + AC_REPLACE_FUNCS(strcasecmp strncasecmp) +]) + +# Ask for argmatch.[ch], and set it up. +AC_DEFUN([jm_FUNC_ARGMATCH], +[ + AC_REQUIRE([jm_PREREQ_ARGMATCH]) + AC_LIBOBJ([argmatch]) + AC_LIBSOURCES([argmatch.c, argmatch.h]) +]) + AC_DEFUN([jm_PREREQ_ADDEXT], [ dnl For addext.c.