[Xorp-cvs] SF.net SVN: xorp:[11576] trunk/xorp/site_scons/config/allconfig.py

bms_fbsd at users.sourceforge.net bms_fbsd at users.sourceforge.net
Wed Nov 18 06:08:12 PST 2009


Revision: 11576
          http://xorp.svn.sourceforge.net/xorp/?rev=11576&view=rev
Author:   bms_fbsd
Date:     2009-11-18 14:08:12 +0000 (Wed, 18 Nov 2009)

Log Message:
-----------
Catch up with change in host_os naming convention from
config.guess change.

Submitted by:	Ben Greear

Modified Paths:
--------------
    trunk/xorp/site_scons/config/allconfig.py

Modified: trunk/xorp/site_scons/config/allconfig.py
===================================================================
--- trunk/xorp/site_scons/config/allconfig.py	2009-11-10 13:05:45 UTC (rev 11575)
+++ trunk/xorp/site_scons/config/allconfig.py	2009-11-18 14:08:12 UTC (rev 11576)
@@ -191,7 +191,7 @@
         conf.Define('HAVE_TCPUDP_UNIX_SOCKETS')
     if has_af_inet and has_sock_raw:
         conf.Define('HAVE_IP_RAW_SOCKETS')
-	if host_os == 'linux' or host_os == 'openbsd':
+	if host_os == 'linux-gnu' or host_os == 'openbsd':
             conf.Define('IPV4_RAW_OUTPUT_IS_RAW')
             conf.Define('IPV4_RAW_INPUT_IS_RAW')
     
@@ -259,7 +259,7 @@
     
     if has_linux_netlink_h:
         conf.Define('HAVE_NETLINK_SOCKETS')
-    elif has_net_route_h and host_os != 'linux':
+    elif has_net_route_h and host_os != 'linux-gnu':
         conf.Define('HAVE_ROUTING_SOCKETS')
 
     if has_linux_netlink_h:
@@ -418,7 +418,7 @@
     rfc3542_includes = []
     for s in prereq_rfc3542:
 	# XXX: __USE_GNU must be defined for RFC3542 defines under Linux.
-	if host_os == 'linux' and s == 'netinet/in.h':
+	if host_os == 'linux-gnu' and s == 'netinet/in.h':
 	    rfc3542_includes.append("#define __USE_GNU\n")
         rfc3542_includes.append("#include <%s>\n" % s)
     rfc3542_includes = string.join(rfc3542_includes, '')


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Xorp-cvs mailing list