summaryrefslogtreecommitdiffstats
path: root/src/conf_macros.m4
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2011-08-29 14:30:54 +0200
committerStephen Gallagher <sgallagh@redhat.com>2011-12-08 12:02:32 -0500
commitd3da1c165cdb4c1ec126a8f4b6b544ca415b9d20 (patch)
treeb3c0f945ca75e958c1973782ddb6576a727b73aa /src/conf_macros.m4
parent81b69919e1755180280c215468b4368d13024ea5 (diff)
downloadsssd-d3da1c165cdb4c1ec126a8f4b6b544ca415b9d20.tar.gz
sssd-d3da1c165cdb4c1ec126a8f4b6b544ca415b9d20.tar.xz
sssd-d3da1c165cdb4c1ec126a8f4b6b544ca415b9d20.zip
Added sssd --version option
https://fedorahosted.org/sssd/ticket/953
Diffstat (limited to 'src/conf_macros.m4')
-rw-r--r--src/conf_macros.m411
1 files changed, 11 insertions, 0 deletions
diff --git a/src/conf_macros.m4 b/src/conf_macros.m4
index 45d54841d..fc5dec674 100644
--- a/src/conf_macros.m4
+++ b/src/conf_macros.m4
@@ -1,3 +1,14 @@
+AC_DEFUN([WITH_DISTRO_VERSION],
+ [ AC_ARG_WITH([distro-version],
+ [AC_HELP_STRING([--with-distro-version=VERSION],
+ [Distro version number []]
+ )
+ ]
+ )
+ AC_DEFINE_UNQUOTED(DISTRO_VERSION, "$with_distro_version",
+ [Distro version number])
+ ])
+
AC_DEFUN([WITH_DB_PATH],
[ AC_ARG_WITH([db-path],
[AC_HELP_STRING([--with-db-path=PATH],