diff options
author | Simo Sorce <idra@samba.org> | 2013-06-22 16:16:00 -0400 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2013-07-13 16:33:13 -0400 |
commit | 677ab0a79147f7606c73b63ecad91f8b1e7b63c1 (patch) | |
tree | f5402897d71f668564aa1f105ff6309198a6c1dd /conf_macros.m4 | |
download | gss-ntlmssp-677ab0a79147f7606c73b63ecad91f8b1e7b63c1.tar.gz gss-ntlmssp-677ab0a79147f7606c73b63ecad91f8b1e7b63c1.tar.xz gss-ntlmssp-677ab0a79147f7606c73b63ecad91f8b1e7b63c1.zip |
Scheleton to start bulding the GSS-NTLMSSP project.
Diffstat (limited to 'conf_macros.m4')
-rw-r--r-- | conf_macros.m4 | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/conf_macros.m4 b/conf_macros.m4 new file mode 100644 index 0000000..a979f56 --- /dev/null +++ b/conf_macros.m4 @@ -0,0 +1,58 @@ +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_MANPAGES], + [ AC_ARG_WITH([manpages], + [AC_HELP_STRING([--with-manpages], + [Whether to regenerate man pages from DocBook sources [yes]] + ) + ], + [], + with_manpages=yes + ) + if test x"$with_manpages" = xyes; then + HAVE_MANPAGES=1 + AC_SUBST(HAVE_MANPAGES) + fi + ]) +AM_CONDITIONAL([BUILD_MANPAGES], [test x$with_manpages = xyes]) + +AC_DEFUN([WITH_XML_CATALOG], + [ AC_ARG_WITH([xml-catalog-path], + [AC_HELP_STRING([--with-xml-catalog-path=PATH], + [Where to look for XML catalog [/etc/xml/catalog]] + ) + ] + ) + SGML_CATALOG_FILES="/etc/xml/catalog" + if test x"$with_xml_catalog_path" != x; then + SGML_CATALOG_FILES="$with_xml_catalog_path" + fi + AC_SUBST([SGML_CATALOG_FILES]) + ]) + +AC_DEFUN([WITH_TEST_DIR], + [ AC_ARG_WITH([test-dir], + [AC_HELP_STRING([--with-test-dir=PATH], + [Directory used for make check temporary files [$builddir]] + ) + ] + ) + TEST_DIR=$with_test_dir + AC_SUBST(TEST_DIR) + AC_DEFINE_UNQUOTED(TEST_DIR, "$with_test_dir", [Directory used for 'make check' temporary files]) + ]) + +AC_ARG_ENABLE([all-experimental-features], + [AS_HELP_STRING([--enable-all-experimental-features], + [build all experimental features])], + [build_all_experimental_features=$enableval], + [build_all_experimental_features=no]) |