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