From 9fc8e252dfe63950c3eaab23ff1407558453f6e7 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 4 Apr 2005 20:48:58 +0000 Subject: [PATCH] fixed config script for prefixing git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@342 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/configure.ac | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/program/configure.ac b/program/configure.ac index 370dd5c1..34c8cde2 100644 --- a/program/configure.ac +++ b/program/configure.ac @@ -22,11 +22,13 @@ AC_SUBST(VERSION) dnl where we install our stuff ... if [ -d /opt ]; then - AC_PREFIX_DEFAULT( /opt/rrdtool-$PACKAGE_VERSION ) -else - AC_PREFIX_DEFAULT( /usr/local/rrdtool-$PACKAGE_VERSION ) + xxpreinst = /opt +else + xxpreinst = /usr/local fi +AC_PREFIX_DEFAULT( $xxpreinst/local/rrdtool-$PACKAGE_VERSION ) + dnl Minimum Autoconf version required. AC_PREREQ(2.59) -- 2.30.2