Add lint check for bitcoin-config.h include IWYU pragma

Also, remove the no longer needed, remaining definitions and checks of
HAVE_CONFIG_H.
This commit is contained in:
MarcoFalke
2024-02-26 14:25:51 +01:00
parent dddd40ba82
commit fa09451f8e
4 changed files with 14 additions and 6 deletions

View File

@@ -227,7 +227,7 @@ AC_DEFUN([BITCOIN_QT_CONFIGURE],[
BITCOIN_QT_PATH_PROGS([LUPDATE], [lupdate-qt5 lupdate5 lupdate],$qt_bin_path, yes)
BITCOIN_QT_PATH_PROGS([LCONVERT], [lconvert-qt5 lconvert5 lconvert], $qt_bin_path, yes)
MOC_DEFS='-DHAVE_CONFIG_H -I$(srcdir)'
MOC_DEFS='-I$(srcdir)'
case $host in
*darwin*)
BITCOIN_QT_CHECK([