Systemd/src/timesync
Zbigniew Jędrzejewski-Szmek 349cc4a507 build-sys: use #if Y instead of #ifdef Y everywhere
The advantage is that is the name is mispellt, cpp will warn us.

$ git grep -Ee "conf.set\('(HAVE|ENABLE)_" -l|xargs sed -r -i "s/conf.set\('(HAVE|ENABLE)_/conf.set10('\1_/"
$ git grep -Ee '#ifn?def (HAVE|ENABLE)' -l|xargs sed -r -i 's/#ifdef (HAVE|ENABLE)/#if \1/; s/#ifndef (HAVE|ENABLE)/#if ! \1/;'
$ git grep -Ee 'if.*defined\(HAVE' -l|xargs sed -i -r 's/defined\((HAVE_[A-Z0-9_]*)\)/\1/g'
$ git grep -Ee 'if.*defined\(ENABLE' -l|xargs sed -i -r 's/defined\((ENABLE_[A-Z0-9_]*)\)/\1/g'
+ manual changes to meson.build

squash! build-sys: use #if Y instead of #ifdef Y everywhere

v2:
- fix incorrect setting of HAVE_LIBIDN2
2017-10-04 12:09:29 +02:00
..
meson.build build-sys: use #if Y instead of #ifdef Y everywhere 2017-10-04 12:09:29 +02:00
test-timesync.c test-timesync: add first test for timesyncd conf parsing 2017-05-25 10:59:35 -04:00
timesyncd-conf.c timesyncd: don't use compiled-in list if FallbackNTP has been configured explicitly 2017-05-24 17:45:46 +02:00
timesyncd-conf.h timesyncd: don't use compiled-in list if FallbackNTP has been configured explicitly 2017-05-24 17:45:46 +02:00
timesyncd-gperf.gperf timesyncd: beef up NTP server selection logic, and acquire NTP servers from DHCP 2014-08-12 19:48:24 +02:00
timesyncd-manager.c timesync: move stamp file to /var/lib/systemd/timesync/clock 2017-08-30 15:59:57 +09:00
timesyncd-manager.h timesyncd: don't use compiled-in list if FallbackNTP has been configured explicitly 2017-05-24 17:45:46 +02:00
timesyncd-server.c tree-wide: use mfree more 2016-10-16 23:35:39 -04:00
timesyncd-server.h tree-wide: remove Emacs lines from all files 2016-02-10 13:41:57 +01:00
timesyncd.c timesync: move stamp file to /var/lib/systemd/timesync/clock 2017-08-30 15:59:57 +09:00
timesyncd.conf.in Do not advertise .d snippets over main config file 2015-03-03 19:10:21 -05:00