From 024f7a7f54fc40638ee0277b8985b6246b6e5701 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Fri, 4 May 2007 08:55:29 +0000
Subject: [PATCH] Only tweak the default prefix when run with
 --enable-maintainer-mode.

---
 configure.ac | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index 18bdb0b..0c8310b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -82,7 +82,9 @@ AM_CONFIG_HEADER([config.h])
 #
 # cH: hey, boys and girls, why do we do that?
 #
-AC_PREFIX_DEFAULT([`pwd`])
+if test "${USE_MAINTAINER_MODE}" = "yes"; then
+  AC_PREFIX_DEFAULT([`pwd`])
+fi
 
 AC_ARG_ENABLE([dim-of-world],
 [AC_HELP_STRING([--enable-dim-of-world="DIM1 ... DIMk"],
-- 
GitLab