Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/dhcp remove WORDS_BIGENDIAN, nothing uses it.



details:   https://anonhg.NetBSD.org/src/rev/b6a3fbe7c83e
branches:  trunk
changeset: 330538:b6a3fbe7c83e
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 13 14:56:56 2014 +0000

description:
remove WORDS_BIGENDIAN, nothing uses it.
Pick up DHCPv6 from Makefile, so we only enable it for USE_INET6 like
before.

diffstat:

 external/bsd/dhcp/dist/includes/config.h.in |  12 ------------
 external/bsd/dhcp/include/config.h          |  15 +++------------
 2 files changed, 3 insertions(+), 24 deletions(-)

diffs (56 lines):

diff -r 949a9790f918 -r b6a3fbe7c83e external/bsd/dhcp/dist/includes/config.h.in
--- a/external/bsd/dhcp/dist/includes/config.h.in       Sun Jul 13 14:54:22 2014 +0000
+++ b/external/bsd/dhcp/dist/includes/config.h.in       Sun Jul 13 14:56:56 2014 +0000
@@ -179,18 +179,6 @@
 /* Version number of package */
 #undef VERSION
 
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
-   significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-#  define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-#  undef WORDS_BIGENDIAN
-# endif
-#endif
-
 /* Define to 1 if on MINIX. */
 #undef _MINIX
 
diff -r 949a9790f918 -r b6a3fbe7c83e external/bsd/dhcp/include/config.h
--- a/external/bsd/dhcp/include/config.h        Sun Jul 13 14:54:22 2014 +0000
+++ b/external/bsd/dhcp/include/config.h        Sun Jul 13 14:56:56 2014 +0000
@@ -15,8 +15,11 @@
 #include <sys/endian.h>
 #define DHCP_BYTE_ORDER _BYTE_ORDER
 
+#if 0
+/* From the Makefile */
 /* Define to 1 to include DHCPv6 support. */
 #define DHCPv6 1
+#endif
 
 /* Define to any value to chroot() prior to loading config. */
 /* #undef EARLY_CHROOT */
@@ -181,18 +184,6 @@
 /* Version number of package */
 #define VERSION "4.3.0"
 
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
-   significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-#  define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-/* #  undef WORDS_BIGENDIAN */
-# endif
-#endif
-
 /* Define to 1 if on MINIX. */
 /* #undef _MINIX */
 



Home | Main Index | Thread Index | Old Index