]> git.ipfire.org Git - thirdparty/autoconf.git/commit
AC_FUNC_STRERROR_R: Include string.h in test program.
authorZack Weinberg <zackw@panix.com>
Thu, 5 Nov 2020 14:17:05 +0000 (09:17 -0500)
committerZack Weinberg <zackw@panix.com>
Thu, 5 Nov 2020 14:17:05 +0000 (09:17 -0500)
commitc8b3f6987a7bbfe15ce2c2f04f308a6abc263d04
tree1933f6a1080eb66833ca9ecb452307edcb10c6f9
parentaa27fc5707c6be8c921548d5a2c408f24a125a09
AC_FUNC_STRERROR_R: Include string.h in test program.

I misremembered how AC_LANG_PROGRAM works.  We don’t need to invoke
AC_INCLUDES_DEFAULT here but we *do* need to explicitly include
string.h.

Unfortunately we have no good way of testing for this regression with
the testsuite as it is today.

* lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Include string.h in
  test program.
lib/autoconf/functions.m4