Mercurial > hg > release > visualvm-1.3
view configure.ac @ 5:eb52a28e265d
Support both VisualVM 1.2.2 and 1.3.
2010-09-08 Andrew John Hughes <ahughes@redhat.com>
Support both 1.2.2 and 1.3.
* Makefile.am:
Set URL, source zip and checksum based on
VisualVM version.
(nbplatform): Handle differences between
1.2.2 and 1.3 through conditional definition.
(visualvm): Likewise. Fix broken reference to
srcdir rather than builddir.
* acinclude.m4:
(VV_CHECK_WITH_VISUALVM_VERSION): Provide
--with-visualvm-version option to allow selection
of 1.2.2 (default) or 1.3.
* configure.ac: Enable above macro.
2010-08-06 Tomas Hurka <tomas.hurka@googlemail.com>
* Makefile.am: Upgrade to VisualVM 1.3 and
NetBeans platform 6.9.
author | Andrew John Hughes <ahughes@redhat.com> |
---|---|
date | Wed, 08 Sep 2010 15:09:55 +0100 |
parents | 1ecd7fe24740 |
children | 11eff73a8d6d |
line wrap: on
line source
AC_INIT([visualvm], [1.2.2], [distro-pkg-dev@openjdk.java.net]) AM_INIT_AUTOMAKE([1.9 tar-pax foreign]) AC_CONFIG_FILES([Makefile visualvm.desktop]) # Older automake doesn't generate these correctly abs_top_builddir=`pwd -P` AC_SUBST(abs_top_builddir) abs_top_srcdir=`dirname $0` cd $abs_top_srcdir abs_top_srcdir=`pwd` cd $abs_top_builddir AC_SUBST(abs_top_srcdir) AC_PROG_CC AC_MSG_CHECKING([for a NetBeans installation]) AC_ARG_WITH([netbeans-home], [AS_HELP_STRING([--with-netbeans-home], [NetBeans home directory (default is /usr/share/netbeans)])], [ if test "x${withval}" = x then SYSTEM_NETBEANS_DIR=/usr/share/netbeans else SYSTEM_NETBEANS_DIR=${withval} fi ], [ SYSTEM_NETBEANS_DIR=/usr/share/netbeans ]) AC_MSG_RESULT([${SYSTEM_NETBEANS_DIR}]) AC_SUBST(SYSTEM_NETBEANS_DIR) IT_CHECK_FOR_JDK IT_FIND_TOOL([ANT], [ant]) IT_FIND_TOOL([SHA256SUM], [sha256sum]) IT_FIND_TOOL([WGET], [wget]) IT_FIND_TOOL([TAR], [tar]) VV_SET_ARCH_SETTINGS VV_WITH_NETBEANS_PROFILER_ZIP VV_WITH_VISUALVM_ZIP VV_CHECK_WITH_VISUALVM_VERSION AC_OUTPUT