view configure.ac @ 5:8a91abc2e5ff default tip

Add support for Classpath zip file.
author gnu_andrew@member.fsf.org
date Sun, 10 Feb 2008 20:02:35 +0000
parents 3442db5e9533
children
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_CANONICAL_HOST

AC_PREFIX_DEFAULT([/usr/local/brandweg])

WITH_OPENJDK_SRC_ZIP
WITH_CLASSPATH_SRC_ZIP
WITH_CLASSPATH_GLIBJ_ZIP

if test "$CLASSPATH_GLIBJ_ZIP" = "not specified"; then
   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
fi

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

if test "$CLASSPATH_GLIBJ_ZIP" = "not specified"; then
   INSTALL_JAXWS
   INSTALL_JDK
   FIND_TOOL([PATCH], [patch])
   PATCH_CLASSPATH
   BW_SUBDIRS="classpath"
   AC_SUBST(BW_SUBDIRS)
   AC_CONFIG_SUBDIRS([classpath])
fi

AC_CONFIG_FILES([Makefile])
AC_OUTPUT