diff options
author | rmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d> | 2011-01-22 19:07:34 +0000 |
---|---|---|
committer | rmanfredi <rmanfredi@2592e710-e01b-42a5-8df0-11608a6cc53d> | 2011-01-22 19:07:34 +0000 |
commit | 2965c6a7bb8ff0e6ef868ca1c83b67cf5958e16c (patch) | |
tree | fb71d5086c941a5d9daf85290548e4626feece24 | |
parent | 8a75d6d5e88e97c99d415f1e56f8a45c441a91f8 (diff) |
Added i_netroute.U to check for <net/route.h>.
git-svn-id: svn://svn.code.sf.net/p/dist/code/trunk/dist@81 2592e710-e01b-42a5-8df0-11608a6cc53d
-rw-r--r-- | MANIFEST | 1 | ||||
-rw-r--r-- | mcon/U/i_netroute.U | 30 |
2 files changed, 31 insertions, 0 deletions
@@ -477,6 +477,7 @@ mcon/U/i_ndbm.U Shall we include <ndbm.h>? mcon/U/i_netdb.U Shall we include <netdb.h>? mcon/U/i_neterrno.U Shall we include <net/errno.h>? mcon/U/i_netif.U Shall we include <net/if.h>? +mcon/U/i_netroute.U Can we include <net/route.h>? mcon/U/i_niin.U Shall we include <netinet/in.h>? mcon/U/i_niip.U Shall we include <netinet/ip.h>? mcon/U/i_poll.U Shall we include <poll.h>? diff --git a/mcon/U/i_netroute.U b/mcon/U/i_netroute.U new file mode 100644 index 0000000..54390e3 --- /dev/null +++ b/mcon/U/i_netroute.U @@ -0,0 +1,30 @@ +?RCS: $Id$ +?RCS: +?RCS: Copyright (c) 2011, Raphael Manfredi +?RCS: +?RCS: You may redistribute only under the terms of the Artistic Licence, +?RCS: as specified in the README file that comes with the distribution. +?RCS: You may reuse parts of this distribution only within the terms of +?RCS: that same Artistic Licence; a copy of which may be found at the root +?RCS: of the source tree for dist 4.0. +?RCS: +?X: +?X: This unit looks whether <net/route.h> is available or not +?X: +?MAKE:i_netroute: Inhdr +?MAKE: -pick add $@ %< +?S:i_netroute: +?S: This variable conditionally defines I_NET_ROUTE, which indicates +?S: to the C program that it can include <net/route.h>. +?S:. +?C:I_NET_ROUTE: +?C: This symbol, if defined, indicates to the C program that it can +?C: include <net/route.h>. +?C:. +?H:#$i_netroute I_NET_ROUTE /**/ +?H:. +?LINT:set i_netroute +: see if this is a net/route.h system +set net/route.h i_netroute +eval $inhdr + |