Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

[PATCH] Low: md5: avoid a swap NOOP on little endian systems

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


P at draigBrady

Sep 16, 2011, 9:01 AM

Post #1 of 1 (199 views)
Permalink
[PATCH] Low: md5: avoid a swap NOOP on little endian systems

# HG changeset patch
# User Pádraig Brady <P [at] draigBrady>
# Date 1316188791 -3600
# Node ID 424074028614b5862843269e0e54774a123d13d7
# Parent 177de02442d54d435eaf1d4a6ac9e1248845c05e
Low: md5: avoid a swap NOOP on little endian systems

diff -r 177de02442d5 -r 424074028614 configure.ac
--- a/configure.ac Wed Aug 17 18:00:09 2011 +0200
+++ b/configure.ac Fri Sep 16 16:59:51 2011 +0100
@@ -467,11 +467,7 @@
LIBS=$ac_save_LIBS

dnl check byte order
-AC_MSG_CHECKING(for byteorder)
-AC_TRY_RUN(`cat $srcdir/config/byteorder_test.c`,
-[AC_MSG_RESULT(little-endian); AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little-endian])],
-[AC_MSG_RESULT(big-endian); AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big-endian])],)
-
+AC_C_BIGENDIAN([AC_DEFINE(CONFIG_BIG_ENDIAN, 1, [big])], [AC_DEFINE(CONFIG_LITTLE_ENDIAN, 1, [little])])

dnl ===============================================
dnl Program Paths
_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.