From: Tobias Oetiker Date: Mon, 4 Apr 2005 20:56:49 +0000 (+0000) Subject: fixed prefix detection code again X-Git-Tag: 1.2rc2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=125c513f285cd15dc455f351e5604fc69e5d7ca4;p=thirdparty%2Frrdtool-1.x.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 57d23e4d..db858313 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 )