diff options
author | fanquake <fanquake@gmail.com> | 2021-11-10 12:13:32 +0800 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2021-11-12 14:32:00 +0800 |
commit | 34094aff1348bd038ea2c5572c614631c7db3d6f (patch) | |
tree | b8c3f3868954846b6ae5812701ba828acfda257d | |
parent | efd4fe156a09e5812c02fc3d59bac601ed2c6cbf (diff) | |
download | bitcoin-34094aff1348bd038ea2c5572c614631c7db3d6f.tar.xz |
build: consistently quote AC_CHECK_LIB() arguments
-rw-r--r-- | configure.ac | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/configure.ac b/configure.ac index d71ce0063f..6d721ad0a6 100644 --- a/configure.ac +++ b/configure.ac @@ -628,20 +628,20 @@ AC_ARG_WITH([daemon], case $host in *mingw*) TARGET_OS=windows - AC_CHECK_LIB([kernel32], [GetModuleFileNameA],, AC_MSG_ERROR([libkernel32 missing])) - AC_CHECK_LIB([user32], [main],, AC_MSG_ERROR([libuser32 missing])) - AC_CHECK_LIB([gdi32], [main],, AC_MSG_ERROR([libgdi32 missing])) - AC_CHECK_LIB([comdlg32], [main],, AC_MSG_ERROR([libcomdlg32 missing])) - AC_CHECK_LIB([winmm], [main],, AC_MSG_ERROR([libwinmm missing])) - AC_CHECK_LIB([shell32], [SHGetSpecialFolderPathW],, AC_MSG_ERROR([libshell32 missing])) - AC_CHECK_LIB([comctl32], [main],, AC_MSG_ERROR([libcomctl32 missing])) - AC_CHECK_LIB([ole32], [CoCreateInstance],, AC_MSG_ERROR([libole32 missing])) - AC_CHECK_LIB([oleaut32], [main],, AC_MSG_ERROR([liboleaut32 missing])) - AC_CHECK_LIB([uuid], [main],, AC_MSG_ERROR([libuuid missing])) - AC_CHECK_LIB([advapi32], [CryptAcquireContextW],, AC_MSG_ERROR([libadvapi32 missing])) - AC_CHECK_LIB([ws2_32], [WSAStartup],, AC_MSG_ERROR([libws2_32 missing])) - AC_CHECK_LIB([shlwapi], [PathRemoveFileSpecW],, AC_MSG_ERROR([libshlwapi missing])) - AC_CHECK_LIB([iphlpapi], [GetAdaptersAddresses],, AC_MSG_ERROR([libiphlpapi missing])) + AC_CHECK_LIB([kernel32], [GetModuleFileNameA], [], [AC_MSG_ERROR([libkernel32 missing])]) + AC_CHECK_LIB([user32], [main], [], [AC_MSG_ERROR([libuser32 missing])]) + AC_CHECK_LIB([gdi32], [main], [], [AC_MSG_ERROR([libgdi32 missing])]) + AC_CHECK_LIB([comdlg32], [main], [], [AC_MSG_ERROR([libcomdlg32 missing])]) + AC_CHECK_LIB([winmm], [main], [], [AC_MSG_ERROR([libwinmm missing])]) + AC_CHECK_LIB([shell32], [SHGetSpecialFolderPathW], [], [AC_MSG_ERROR([libshell32 missing])]) + AC_CHECK_LIB([comctl32], [main], [], [AC_MSG_ERROR([libcomctl32 missing])]) + AC_CHECK_LIB([ole32], [CoCreateInstance], [], [AC_MSG_ERROR([libole32 missing])]) + AC_CHECK_LIB([oleaut32], [main], [], [AC_MSG_ERROR([liboleaut32 missing])]) + AC_CHECK_LIB([uuid], [main], [], [AC_MSG_ERROR([libuuid missing])]) + AC_CHECK_LIB([advapi32], [CryptAcquireContextW], [], [AC_MSG_ERROR([libadvapi32 missing])]) + AC_CHECK_LIB([ws2_32], [WSAStartup], [], [AC_MSG_ERROR([libws2_32 missing])]) + AC_CHECK_LIB([shlwapi], [PathRemoveFileSpecW], [], [AC_MSG_ERROR([libshlwapi missing])]) + AC_CHECK_LIB([iphlpapi], [GetAdaptersAddresses], [], [AC_MSG_ERROR([libiphlpapi missing])]) dnl -static is interpreted by libtool, where it has a different meaning. dnl In libtool-speak, it's -all-static. @@ -927,7 +927,7 @@ if test x$use_hardening != xno; then case $host in *mingw*) - AC_CHECK_LIB([ssp], [main],, AC_MSG_ERROR([libssp missing])) + AC_CHECK_LIB([ssp], [main], [], [AC_MSG_ERROR([libssp missing])]) ;; esac fi |