summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-07-11 19:16:40 +0200
committerLennart Poettering <lennart@poettering.net>2015-07-11 19:24:29 +0200
commit2ed3de9cc4f80670cd911536c3e40239fb0e2aa6 (patch)
tree13e52c42ed399df184cf22613c1a4ff1bc60a3de /configure.ac
parentMerge pull request #531 from dvdhrm/boot-buildid (diff)
downloadsystemd-2ed3de9cc4f80670cd911536c3e40239fb0e2aa6.tar.xz
systemd-2ed3de9cc4f80670cd911536c3e40239fb0e2aa6.zip
build-sys: warn if people don't change the default NTP servers when building systemd
Also, explain the situation in the docs. Relates to #437
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 6804e03d07..999f9f84d3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1009,7 +1009,8 @@ AC_ARG_WITH(ntp-servers,
AS_HELP_STRING([--with-ntp-servers=NTPSERVERS],
[Space-separated list of default NTP servers]),
[NTP_SERVERS="$withval"],
- [NTP_SERVERS="time1.google.com time2.google.com time3.google.com time4.google.com"])
+ [NTP_SERVERS="time1.google.com time2.google.com time3.google.com time4.google.com"
+ AC_MSG_WARN([*** Using Google NTP servers. Please do not ship OSes or devices with these default settings. See DISTRO_PORTING for details!])])
AC_DEFINE_UNQUOTED(NTP_SERVERS, ["$NTP_SERVERS"], [Default NTP Servers])
AC_SUBST(NTP_SERVERS)