summaryrefslogtreecommitdiffstats
path: root/config/spl-build.m4
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2009-11-24 14:21:45 -0800
committerBrian Behlendorf <[email protected]>2009-11-24 14:21:45 -0800
commitc1541dfef13041f945aa21985249bd24ee5449e0 (patch)
tree68d65415d6c12288d626e1a6ad7b32224dec2619 /config/spl-build.m4
parentea385742dbe619f25d5a2b80aee9c9fd35ef2eed (diff)
Add 'srpm' --with-config option for creation of spec files.
Diffstat (limited to 'config/spl-build.m4')
-rw-r--r--config/spl-build.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/config/spl-build.m4 b/config/spl-build.m4
index f50e1757f..8e0eca6d2 100644
--- a/config/spl-build.m4
+++ b/config/spl-build.m4
@@ -191,7 +191,7 @@ AC_DEFUN([SPL_AC_CONFIG], [
SPL_CONFIG=all
AC_ARG_WITH([config],
AS_HELP_STRING([--with-config=CONFIG],
- [Config file 'kernel|user|all']),
+ [Config file 'kernel|user|all|srpm']),
[SPL_CONFIG="$withval"])
AC_MSG_CHECKING([spl config])
@@ -203,10 +203,11 @@ AC_DEFUN([SPL_AC_CONFIG], [
user) SPL_AC_CONFIG_USER ;;
all) SPL_AC_CONFIG_KERNEL
SPL_AC_CONFIG_USER ;;
+ srpm) ;;
*)
AC_MSG_RESULT([Error!])
AC_MSG_ERROR([Bad value "$SPL_CONFIG" for --with-config,
- user kernel|user|all]) ;;
+ user kernel|user|all|srpm]) ;;
esac
AM_CONDITIONAL([CONFIG_USER],