[Rivet-svn] r3343 - trunk

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Sun Sep 11 11:48:03 BST 2011


Author: buckley
Date: Sun Sep 11 11:48:03 2011
New Revision: 3343

Log:
configure.ac: Adding a check to make sure that no-one tries to install into --prefix=$PWD.

Modified:
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	Sun Sep 11 11:44:11 2011	(r3342)
+++ trunk/configure.ac	Sun Sep 11 11:48:03 2011	(r3343)
@@ -2,6 +2,9 @@
 
 AC_PREREQ(2.59)
 AC_INIT([Rivet],[1.6.1alpha0],[rivet at projects.hepforge.org],[Rivet])
+if test "$prefix" = "$PWD"; then
+  AC_MSG_ERROR([Installation into the build directory is not supported: use a different --prefix argument])
+fi
 AC_CONFIG_SRCDIR([src/Core/Analysis.cc])
 AC_CONFIG_HEADERS([include/Rivet/Config/DummyConfig.hh include/Rivet/Config/RivetConfig.hh include/Rivet/Config/BuildOptions.hh])
 AM_INIT_AUTOMAKE(dist-bzip2)


More information about the Rivet-svn mailing list