From: oetiker Date: Mon, 4 Apr 2005 20:56:49 +0000 (+0000) Subject: fixed prefix detection code again X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=694bf9218e1ce6b9a4ce8fe8b7936414c2c0fd90;p=rrdtool.git fixed prefix detection code again git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@345 a5681a0c-68f1-0310-ab6d-d61299d08faa --- 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 )