Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

[patch] acinclude.m4 error

From: Dan Kegel <dkegel(at)ixiacom.com>
Date: Wed Mar 05 2003 - 16:57:44 EST


Tsk, acinclude.m4 had two problems:
1. target_os check for 'linux' is usually wrong. Quick fix

    was to allow any prefix or suffix on linux     The long-term fix is two switch to using an autoconf     check for the PF_SOCKET symbol, probably.

2. There were spaces in a variable assignment, which doesn't work.

    This problem was masked by the previous problem.

  • Libnet-latest/acinclude.m4 Mon Aug 5 15:26:03 2002 +++ new/acinclude.m4 Wed Mar 5 13:51:22 2003 @@ -19,13 +19,14 @@

  AC_DEFUN(AC_LIBNET_CHECK_PF_PACKET,
  [
- AC_MSG_CHECKING(for packet socet (PF_SOCKET))
+ AC_MSG_CHECKING(for packet socket (PF_SOCKET))

      AC_CACHE_VAL(ac_libnet_have_packet_socket,

+

	dnl fixme - instead of sensing target_os, check for symbol PF_PACKET
          [case "$target_os" in

-        linux)
-                ac_libnet_have_packet_socket = no

+ *linux*)
+ ac_libnet_have_packet_socket=no
;; *) ---------------------------------------------------------------------
To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.com Received on Wed Mar 5 17:11:19 2003

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:23 EDT

Do you need help?X

Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library