mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-24 03:08:51 +03:00
Add 'srpm' --with-config option for creation of spec files.
This commit is contained in:
+3
-2
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user