projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9153bfd
)
configure.in: Move the useragent config to a more appropriate block.
author
Florian Forster
<octo@collectd.org>
Thu, 26 Sep 2013 17:28:19 +0000
(19:28 +0200)
committer
Florian Forster
<octo@collectd.org>
Thu, 26 Sep 2013 17:28:19 +0000
(19:28 +0200)
configure.in
patch
|
blob
|
history
diff --git
a/configure.in
b/configure.in
index
e137dab
..
153bac4
100644
(file)
--- a/
configure.in
+++ b/
configure.in
@@
-1121,6
+1121,17
@@
else
AC_MSG_ERROR([Didn't find out how doubles are stored in memory. Sorry.])
fi; fi; fi
AC_MSG_ERROR([Didn't find out how doubles are stored in memory. Sorry.])
fi; fi; fi
+# --with-useragent {{{
+AC_ARG_WITH(useragent, [AS_HELP_STRING([--with-useragent@<:@=AGENT@:>@], [User agent to use on http requests])],
+[
+ if test "x$withval" != "xno" && test "x$withval" != "xyes"
+ then
+ AC_DEFINE_UNQUOTED(COLLECTD_USERAGENT, ["$withval"], [User agent for http requests])
+ fi
+])
+
+# }}}
+
have_getfsstat="no"
AC_CHECK_FUNCS(getfsstat, [have_getfsstat="yes"])
have_getvfsstat="no"
have_getfsstat="no"
AC_CHECK_FUNCS(getfsstat, [have_getfsstat="yes"])
have_getvfsstat="no"
@@
-1665,17
+1676,6
@@
fi
AM_CONDITIONAL(BUILD_WITH_LIBCURL, test "x$with_libcurl" = "xyes")
# }}}
AM_CONDITIONAL(BUILD_WITH_LIBCURL, test "x$with_libcurl" = "xyes")
# }}}
-# --with-useragent {{{
-AC_ARG_WITH(useragent, [AS_HELP_STRING([--with-useragent@<:@=OPTIONS@:>@], [User agent to use on http requests])],
-[
- if test "x$withval" != "xno" && test "x$withval" != "xyes"
- then
- AC_DEFINE_UNQUOTED(COLLECTD_USERAGENT, ["$withval"], [User agent for http requests])
- fi
-])
-
-# }}}
-
# --with-libdbi {{{
with_libdbi_cppflags=""
with_libdbi_ldflags=""
# --with-libdbi {{{
with_libdbi_cppflags=""
with_libdbi_ldflags=""