summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bfbc168)
raw | patch | inline | side by side (parent: bfbc168)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 4 Apr 2005 20:48:58 +0000 (20:48 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Mon, 4 Apr 2005 20:48:58 +0000 (20:48 +0000) |
git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@342 a5681a0c-68f1-0310-ab6d-d61299d08faa
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 370dd5c1264a04b2bcb6fd78085d8bfcbe7454b7..34c8cde2543dd8382d95d1368c134cd96980449d 100644 (file)
--- a/configure.ac
+++ b/configure.ac
dnl where we install our stuff ...
if [ -d /opt ]; then
- AC_PREFIX_DEFAULT( /opt/rrdtool-$PACKAGE_VERSION )
-else
- AC_PREFIX_DEFAULT( /usr/local/rrdtool-$PACKAGE_VERSION )
+ xxpreinst = /opt
+else
+ xxpreinst = /usr/local
fi
+AC_PREFIX_DEFAULT( $xxpreinst/local/rrdtool-$PACKAGE_VERSION )
+
dnl Minimum Autoconf version required.
AC_PREREQ(2.59)