Replace AC_LANG_SAVE, AC_LANG_CPLUSPLUS and AC_LANG_RESTORE
Autoconf 2.50 in 2001 made several macros obsolete. These include also
macros for temporary changing the language. Instead of these the
AC_LANG_PUSH and AC_LANG_POP macros should be used with later Autoconf
versions.
Since PHP 5.4 to 7.1 require to have Autoconf 2.59+ and PHP 7.2 and
later require Autoconf 2.64+ the upgrade is fairly safe and most
systems should already be supported.
Refs:
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/NEWS
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Language-Choice.html