Skip to content

Commit

Permalink
Merge commit 'refs/top-bases/linux-kernel-module' into linux-kernel-m…
Browse files Browse the repository at this point in the history
…odule
  • Loading branch information
behlendorf committed Nov 24, 2009
2 parents b2db102 + c8bd25a commit a9696ab
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config/zfs-build.m4
Expand Up @@ -98,18 +98,20 @@ AC_DEFUN([ZFS_AC_CONFIG], [
CMDDIR=$TOPDIR/cmd
MODDIR=$TOPDIR/module
SCRIPTDIR=$TOPDIR/scripts
TARGET_ASM_DIR=asm-generic
AC_SUBST(TOPDIR)
AC_SUBST(BUILDDIR)
AC_SUBST(LIBDIR)
AC_SUBST(CMDDIR)
AC_SUBST(MODDIR)
AC_SUBST(SCRIPTDIR)
AC_SUBST(TARGET_ASM_DIR)
ZFS_CONFIG=all
AC_ARG_WITH([config],
AS_HELP_STRING([--with-config=CONFIG],
[Config file 'kernel|user|all']),
[Config file 'kernel|user|all|srpm']),
[ZFS_CONFIG="$withval"])
AC_MSG_CHECKING([zfs config])
Expand All @@ -121,10 +123,11 @@ AC_DEFUN([ZFS_AC_CONFIG], [
user) ZFS_AC_CONFIG_USER ;;
all) ZFS_AC_CONFIG_KERNEL
ZFS_AC_CONFIG_USER ;;
srpm) ;;
*)
AC_MSG_RESULT([Error!])
AC_MSG_ERROR([Bad value "$ZFS_CONFIG" for --with-config,
user kernel|user|all]) ;;
user kernel|user|all|srpm]) ;;
esac
AM_CONDITIONAL([CONFIG_USER],
Expand Down

0 comments on commit a9696ab

Please sign in to comment.