view configure.ac @ 8:37857184a6d9

PR546: Check for the NetBeans platform directory appropriate to the version being built. 2010-09-08 Andrew John Hughes <ahughes@redhat.com> PR546: * Makefile.am: (NB_PLATFORM): Removed; defined by configure. * acinclude.m4: (VV_WITH_NETBEANS_PROFILER_ZIP): Define once only. (VV_WITH_VISUALVM_ZIP): Likewise. (IT_CHECK_FOR_JDK): Likewise. (VV_SET_ARCH_SETTINGS): Likewise. (VV_CHECK_WITH_VISUALVM_VERSION): Likewise. (VV_CHECK_FOR_NETBEANS): Check that NetBeans home exists and contains the appropriate platform for the version being built. * configure.ac: Call VV_CHECK_FOR_NETBEANS rather than doing it inline.
author Andrew John Hughes <ahughes@redhat.com>
date Wed, 08 Sep 2010 20:08:55 +0100
parents 11eff73a8d6d
children 12011c66e520
line wrap: on
line source

AC_INIT([visualvm_harness], [1.0], [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

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_FOR_NETBEANS

AC_OUTPUT