Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/rofl0r/proxychains-ng.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrofl0r <rofl0r@users.noreply.github.com>2022-06-11 14:00:31 +0300
committerrofl0r <rofl0r@users.noreply.github.com>2022-06-11 14:00:34 +0300
commit09142579c5711c57e7f80986f22b388185cb0585 (patch)
tree17598951648e16d98ef9021beeb6074ad4b1dac8
parent916d2d7da15f124446a7366b9d5a1ef8b6a4dcce (diff)
use -Wno-unknown-pragmas if available
this heavily reduces compiler warning spam in build logs.
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 57124d5..42c1561 100755
--- a/configure
+++ b/configure
@@ -177,6 +177,7 @@ ishaiku() {
}
check_compile 'whether C compiler works' '' 'int main() {return 0;}' || fail 'error: install a C compiler and library'
+check_compile 'whether C compiler understands -Wno-unknown-pragmas' '-Wno-unknown-pragmas' 'int main() {return 0;}'
if ! check_compile 'whether getnameinfo() servlen argument is POSIX compliant (socklen_t)' "-DGN_NODELEN_T=socklen_t -DGN_SERVLEN_T=socklen_t -DGN_FLAGS_T=int" \
'#define _GNU_SOURCE\n#include <netdb.h>\nint getnameinfo(const struct sockaddr *, socklen_t, char *, socklen_t, char *, socklen_t, int);int main() {\nreturn 0;}' ; then