From 2fbd5a59991e6f6ca202d0dc6ed28c7499f5b4bb Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 4 Apr 2005 20:56:49 +0000 Subject: [PATCH] fixed prefix detection code again git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2@345 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/program/configure.ac b/program/configure.ac index 57d23e4d..db858313 100644 --- a/program/configure.ac +++ b/program/configure.ac @@ -21,10 +21,10 @@ dnl determine the type of system we are running on AC_SUBST(VERSION) dnl where we install our stuff ... -if [ -d /opt ]; then - xxpreinst = /opt +if test -d /opt; then + xxpreinst=/opt else - xxpreinst = /usr/local + xxpreinst=/usr/local fi AC_PREFIX_DEFAULT( $xxpreinst/rrdtool-$PACKAGE_VERSION ) -- 2.30.2