configure.ac: use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE

The latter is diagnosed as obsolete in Autoconf 2.70.  Use the former
to enables _GNU_SOURCE instead.  The AC_USE_SYSTEM_EXTENSIONS macro
was introduced in Autoconf 2.60 and allows to enable features of Posix
as well as platform extensions not defined by Posix.

Signed-off-by: Ryusuke Konishi <konishi.ryusuke@gmail.com>
This commit is contained in:
Ryusuke Konishi 2022-06-18 08:08:09 +09:00
parent 44cc05f993
commit ba15536547

View File

@ -19,7 +19,7 @@ AC_PROG_CPP
AC_PROG_INSTALL
AC_PROG_LN_S
AC_PROG_MAKE_SET
AC_GNU_SOURCE
AC_USE_SYSTEM_EXTENSIONS
AC_PROG_LIBTOOL
AC_PATH_PROG([LDCONFIG], [ldconfig],
[AC_MSG_ERROR([ldconfig not found])],