summaryrefslogtreecommitdiffstats
path: root/config/zfs-build.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2008-11-26 12:53:24 -0800
committerBrian Behlendorf <[email protected]>2008-11-26 12:53:24 -0800
commitc9a913795679c3f5895de8258f31269530c5eaed (patch)
tree637e809dc929fc79fd589f556a61f9c7ea37adbb /config/zfs-build.m4
parent536640fe2908070f22d340ec23cfa9224df97aa3 (diff)
First step of META build system cleanup
Diffstat (limited to 'config/zfs-build.m4')
-rw-r--r--config/zfs-build.m47
1 files changed, 6 insertions, 1 deletions
diff --git a/config/zfs-build.m4 b/config/zfs-build.m4
index a268e5986..aba0be6a7 100644
--- a/config/zfs-build.m4
+++ b/config/zfs-build.m4
@@ -17,14 +17,19 @@ AC_DEFUN([ZFS_AC_CONFIG], [
. ./config/$zfsconfig
TOPDIR=`/bin/pwd`
- ZFSDIR=${TOPDIR}/$BUILDDIR
+ BUILDDIR=$META_NAME #+$zfsconfig
+ ZFSDIR=$TOPDIR/$BUILDDIR
LIBDIR=$ZFSDIR/lib
CMDDIR=$ZFSDIR/zcmd
+ UNAME=`uname -r | cut -d- -f1`
+ AC_SUBST(UNAME)
AC_SUBST(TOPDIR)
+ AC_SUBST(BUILDDIR)
AC_SUBST(ZFSDIR)
AC_SUBST(LIBDIR)
AC_SUBST(CMDDIR)
+ AC_SUBST(UNAME)
])
AC_DEFUN([ZFS_AC_KERNEL], [