Mercurial > hg > release > icedtea6-1.8
changeset 1830:8972093fe4f7
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 | 83256d3211dd |
children | 10d4e6ddaac9 |
files | ChangeLog configure.ac |
diffstat | 2 files changed, 9 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Sun Jan 17 00:37:57 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-17 Matthias Klose <doko@ubuntu.com> * patches/icedtea-sparc-trapsfix.patch: Merged sparc headers
--- a/configure.ac Sun Jan 17 00:37:57 2010 +0100 +++ b/configure.ac Mon Jan 18 20:14:00 2010 +0000 @@ -1,4 +1,4 @@ -AC_INIT([icedtea6], [1.8pre], [distro-pkg-dev@openjdk.java.net]) +AC_INIT([icedtea6],[1.8pre],[distro-pkg-dev@openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile]) @@ -320,8 +320,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 @@ -354,7 +353,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],