* Strace requires both if_packet.h and netlink.h
authorNigel Kukard <nkukard@lbsd.net>
Mon, 24 Mar 2008 19:29:34 +0000 (19:29 -0000)
committerNigel Kukard <nkukard@lbsd.net>
Mon, 24 Mar 2008 19:29:34 +0000 (19:29 -0000)
- Force detection of these in configure by supplying environment
  variables

For them to be detected by configure may require a much more
invasive approach by patching configure.ac and regenerating
apon build.

package/strace/strace.mk

index 5218490173b5dcecdc571a58e59a8220d272702b..010ab2ad5f654c140de54de9ed10796de7697720 100644 (file)
@@ -31,7 +31,8 @@ $(STRACE_DIR)/.configured: $(STRACE_DIR)/.unpacked
                $(TARGET_CONFIGURE_OPTS) \
                $(TARGET_CONFIGURE_ARGS) \
                CFLAGS="$(TARGET_CFLAGS) $(BR2_STRACE_CFLAGS)" \
-               aaa_ac_cv_header_linux_if_packet_h=yes \
+               ac_cv_header_linux_if_packet_h=yes \
+               ac_cv_header_linux_netlink_h=yes \
                ./configure \
                --target=$(REAL_GNU_TARGET_NAME) \
                --host=$(REAL_GNU_TARGET_NAME) \