angler-fishThe Vulnerability History Project

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
    
commit 349cc4a507c4d84fcadf61f42159ea6412717896
+1 -1
+1 -1
+1 -1
+1 -1
+135 -168
+1 -1
+1 -1
+1 -1
+2 -2
+2 -2
+1 -1
+20 -20
+2 -2
+11 -11
+2 -2
+1 -1
+11 -11
+1 -1
+2 -2
+4 -4
+17 -17
+1 -1
+1 -1
+1 -1
+1 -1
+2 -2
+1 -1
+1 -1
+7 -7
+2 -2
+24 -24
+1 -1
+4 -4
+8 -8
+7 -7
+3 -3
+6 -6
+1 -1
+3 -3
+1 -1
+3 -3
+2 -2
+1 -1
+4 -4
+1 -1
+1 -1
+2 -2
+2 -2
+3 -3
+1 -1
+1 -1
+1 -1
+2 -2
+2 -2
+2 -2
+1 -1
+13 -13
+2 -2
+4 -4
+18 -18
+3 -3
+3 -3
+7 -7
+2 -2
+1 -1
+4 -4
+1 -1
+1 -1
+1 -1
+3 -3
+2 -2
+2 -2
+4 -4
+8 -8
+1 -1
+1 -1
+1 -1
+3 -3
+4 -4
+1 -1
+3 -3
+2 -2
+2 -2
+1 -1
+2 -2
+1 -1
+1 -1
+1 -1
+2 -2
+2 -2
+3 -3
+5 -5
+2 -2
+1 -1
+1 -1
+2 -2
+1 -1
+5 -5
+1 -1
+2 -2
+1 -1
+1 -1
+6 -6
+11 -11
+5 -5
+1 -1
+1 -1
+1 -1
+1 -1
+1 -1
+3 -3
+2 -2
+2 -2
+4 -4
+1 -1
+1 -1
+1 -1
+9 -9
+2 -2
+2 -2
+5 -5
+3 -3
+3 -3
+2 -2
+1 -1
+1 -1
+5 -5
+3 -3
+1 -1
+1 -1
+1 -1
+3 -3
+5 -5
+8 -8
+1 -1
+1 -1
+2 -2
+1 -1
+3 -3
+7 -7
expand_less