Mercurial > forge
changeset 1715:c94f47e7db2c octave-forge
Fix HAVE_SWAP_BYTES test so that it succeeds in 2.1.58 but not 2.1.57.
author | pkienzle |
---|---|
date | Thu, 09 Sep 2004 03:36:05 +0000 |
parents | 54f8ca52f861 |
children | 25d96121c2da |
files | configure.base |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.base Thu Sep 09 00:26:01 2004 +0000 +++ b/configure.base Thu Sep 09 03:36:05 2004 +0000 @@ -364,12 +364,12 @@ [HAVE_OCTAVE_CONCAT="-DHAVE_OCTAVE_CONCAT"],) AC_SUBST(HAVE_OCTAVE_CONCAT) -TRY_MKOCTFILE([for swap_bytes], +TRY_MKOCTFILE([for swap_8_bytes], [#include <sys/types.h> #include <octave/config.h> #include <octave/byte-swap.h> -int main(void) {long long a = 1; swap_bytes <8> (&a);}], -[HAVE_SWAP_BYTES="-DHAVE_SWAP_BYTES"],) +int main(void) {long long a = 1; swap_8_bytes (&a,1);}],, +[HAVE_SWAP_BYTES="-DHAVE_SWAP_BYTES"]) AC_SUBST(HAVE_SWAP_BYTES) dnl Test for the makeinfo program