prepared for 1.2rc1 release
[rrdtool.git] / configure.ac
index 34c8cde..db85831 100644 (file)
@@ -21,13 +21,13 @@ 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/local/rrdtool-$PACKAGE_VERSION )
+AC_PREFIX_DEFAULT( $xxpreinst/rrdtool-$PACKAGE_VERSION )
 
 dnl Minimum Autoconf version required.
 AC_PREREQ(2.59)