summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 07a09d2)
raw | patch | inline | side by side (parent: 07a09d2)
author | Radu Brumariu <radu@groupon.com> | |
Sat, 30 Apr 2016 15:16:28 +0000 (11:16 -0400) | ||
committer | Radu Brumariu <radu@groupon.com> | |
Wed, 3 Aug 2016 16:35:20 +0000 (12:35 -0400) |
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 45f5fafac12dd80cb7573c55d181f6c6e36c8721..eaf98ec9c79c4d3202a50237499412a4de4a2017 100644 (file)
--- a/configure.ac
+++ b/configure.ac
@@ -1352,6 +1352,20 @@ AC_ARG_WITH(useragent, [AS_HELP_STRING([--with-useragent@<:@=AGENT@:>@], [User a
# }}}
+# --with-data-max-name-len {{{
+AC_ARG_WITH(data-max-name-len, [AS_HELP_STRING([--with-data-max-name-len@<:@=VALUE@:>@], [Maximum length of data buffers])],
+[
+ if test "x$withval" != "x" && test $withval -gt 0
+ then
+ AC_DEFINE_UNQUOTED(DATA_MAX_NAME_LEN, [$withval], [Maximum length of data buffers])
+ else
+ AC_MSG_ERROR([DATA_MAX_NAME_LEN must be a positive integer -- $withval given])
+ fi
+],
+[ AC_DEFINE(DATA_MAX_NAME_LEN, 128, [Maximum length of data buffers])]
+)
+# }}}
+
have_getfsstat="no"
AC_CHECK_FUNCS(getfsstat, [have_getfsstat="yes"])
have_getvfsstat="no"