]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Portability fix: check if ip_user_check can be build
authorserassio <>
Sun, 3 Sep 2006 01:03:06 +0000 (01:03 +0000)
committerserassio <>
Sun, 3 Sep 2006 01:03:06 +0000 (01:03 +0000)
helpers/external_acl/ip_user/config.test

index 039e4d0069c5c26909f86c505b9de66182e6d1f3..edc51046434f97ce2cc8c716803b5020e131f785 100755 (executable)
@@ -1,2 +1,5 @@
 #!/bin/sh
-exit 0
+if [ -f /usr/include/sys/socket.h ]; then
+    exit 0
+fi
+exit 1