Mercurial > hg > release > icedtea7-2.0
changeset 2144:b2902a555f12
Use AC_LANG_PUSH/AC_LANG_POP rather than deprecated SAVE/RESTORE macros.
2010-01-18 Andrew John Hughes <ahughes@redhat.com>
* configure.ac:
Use AC_LANG_PUSH and AC_LANG_POP instead
of deprecated SAVE and RESTORE macros.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Mon, 18 Jan 2010 20:14:00 +0000 |
parents | 51f35c22d7b6 |
children | 3cd0c267604f |
files | ChangeLog configure.ac |
diffstat | 2 files changed, 8 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed May 12 10:31:37 2010 +0100 +++ b/ChangeLog Mon Jan 18 20:14:00 2010 +0000 @@ -1,3 +1,9 @@ +2010-01-18 Andrew John Hughes <ahughes@redhat.com> + + * configure.ac: + Use AC_LANG_PUSH and AC_LANG_POP instead + of deprecated SAVE and RESTORE macros. + 2010-01-16 Andrew John Hughes <ahughes@redhat.com> * acinclude.m4:
--- a/configure.ac Wed May 12 10:31:37 2010 +0100 +++ b/configure.ac Mon Jan 18 20:14:00 2010 +0000 @@ -310,8 +310,7 @@ AC_MSG_ERROR([systemtap support needs sys/sdt.h header])]) AC_MSG_CHECKING([working sys/sdt.h and g++ support]) - AC_LANG_SAVE - AC_LANG_CPLUSPLUS + AC_LANG_PUSH([C++]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <sys/sdt.h> class ProbeClass @@ -344,7 +343,7 @@ ProbeClass inst = ProbeClass(i, "call"); inst.method(24); ]])], [AC_MSG_RESULT([yes])], [AC_MSG_ERROR([systemtap sdt.h or g++ too old])]) - AC_LANG_RESTORE + AC_LANG_POP([C++]) AC_MSG_CHECKING([for absolute java home install dir]) AC_ARG_WITH([abs-install-dir],