From 694bf9218e1ce6b9a4ce8fe8b7936414c2c0fd90 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/program@345 a5681a0c-68f1-0310-ab6d-d61299d08faa --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 57d23e4..db85831 100644 --- a/configure.ac +++ b/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.11.0