if uClibc_config.h doesnt exist yet, make sure grep doesnt complain about it
authorMike Frysinger <vapier@gentoo.org>
Wed, 15 Feb 2006 00:26:07 +0000 (00:26 -0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 15 Feb 2006 00:26:07 +0000 (00:26 -0000)
package/ipsec-tools/ipsec-tools.mk

index 220d05c580ea9ccd3359d674ffec177d5821f17b..4d535565f0f2f232ef648ecef770cc898d83680e 100644 (file)
@@ -42,7 +42,7 @@ IPSEC_TOOLS_CONFIG_FLAGS+=    --disable-stats
 endif
 
 # At first check, if uClibc supports IPv6
-ifeq ($(shell grep -q '__UCLIBC_HAS_IPV6__ 1' \
+ifeq ($(shell grep -qs '__UCLIBC_HAS_IPV6__ 1' \
        $(STAGING_DIR)/include/bits/uClibc_config.h && echo IPV6), IPV6)
 
 ifeq ($(strip $(BR2_PACKAGE_IPSEC_TOOLS_IPV6)), y)