Commit in SimDist/build on MAIN
packages.m4+7-31.27 -> 1.28
JM: Fix broken GDML2 download URL.

SimDist/build
packages.m4 1.27 -> 1.28
diff -u -r1.27 -r1.28
--- packages.m4	27 Jun 2007 17:27:59 -0000	1.27
+++ packages.m4	14 Aug 2007 22:38:54 -0000	1.28
@@ -1,4 +1,4 @@
- ..dnl
+dnl
 dnl Macro to do common configuration for each package.
 dnl
 AC_DEFUN(AC_CONFIG_PACKAGE_BASE, [
@@ -11,7 +11,7 @@
 dnl name of package is first arg
 package_name="$1"
 
-AC_MSG_CHECKING(for $package_name version)
+AC_MSG_CHECKING(for $package_name package version)
 
 dnl root package area with no version tag
 package_root_dir=${sim_packages_dir}/${package_name}
@@ -127,7 +127,11 @@
 dnl
 AC_DEFUN(AC_GDML_PACKAGE, [
 
-gdml_url="http://simu.cvs.cern.ch/cgi-bin/simu.cgi/simu/GDML2/GDML2.tar.gz?tarball=1&only_with_tag="${package_version}
+gdml_url="http://simu.cvs.cern.ch/cgi-bin/simu.cgi/simu/GDML2.tar.gz?view=tar"
+
+if test "${package_version}" != "HEAD"; then
+  gdml_url="${gdml_url}&pathrev=${package_version}"
+fi
 
 GDML_BASEDIR=${package_base_dir}
 GDML_BUILDDIR=${package_base_dir}/CPPGDML
CVSspam 0.2.8