view configure.ac @ 2:c1c8a1548463

Use BW_SUBDIRS variable to avoid missing classpath directory for automake
author gnu_andrew@member.fsf.org
date Wed, 09 Jan 2008 09:08:16 +0000
parents ee9668fe7b4a
children 3442db5e9533
line wrap: on
line source

AC_PREREQ([2.61])
AC_INIT([brandweg], [0.1], [gnu_andrew@member.fsf.org])
AM_INIT_AUTOMAKE([tar-pax])
AC_CONFIG_FILES([Makefile])
AC_CANONICAL_HOST

AC_PREFIX_DEFAULT([/usr/local/brandweg])

BW_SUBDIRS="classpath"
AC_SUBST(BW_SUBDIRS)

WITH_OPENJDK_SRC_ZIP
WITH_CLASSPATH_SRC_ZIP

if test "$CLASSPATH_SRC_ZIP" = "not specified"; then
   FIND_TOOL([CVS], [cvs])
   GET_CLASSPATH   
else
   FIND_TOOL([UNZIP], [unzip])
   ${UNZIP} -q ${CLASSPATH_SRC_ZIP}
fi

if test "$OPENJDK_SRC_ZIP" = "not specified"; then
   FIND_TOOL([HG], [hg])
   GET_JAXWS
else
   FIND_TOOL([UNZIP], [unzip])
   ${UNZIP} -q ${OPENJDK_SRC_ZIP}
fi

INSTALL_JAXWS
FIND_TOOL([PATCH], [patch])
PATCH_CLASSPATH
AC_CONFIG_SUBDIRS([classpath])
AC_OUTPUT