diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:01 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:55:01 +0000 |
commit | 67a51bcc96e3e09528ce0b5841f93f511ed1e44f (patch) | |
tree | 8fd58f689749f7f6d26a60324e38b12d9d13b94e /configure.in | |
parent | 021988eaf4dd67c73dbbb26302e8466836fc7566 (diff) |
Patched md5 a bit more
Author: jgg
Date: 1999-10-25 04:10:02 GMT
Patched md5 a bit more
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/configure.in b/configure.in index 66b98337d..1525e961b 100644 --- a/configure.in +++ b/configure.in @@ -83,28 +83,29 @@ AC_CACHE_CHECK([for C9x integer types],c9x_ints,[ [uint8_t Foo1;uint16_t Foo2;uint32_t Foo3;uint64_t Foo], c9x_ints=yes,c9x_ints=no)]) -dnl Check the sizes etc. of the architecture -changequote(,) -if archline="`sed -ne 's/^'$archset':[ ]\+\(.*\)/\1/gp' $srcdir/buildlib/sizetable`"; then - changequote([,]) - set $archline - if test "$1" = "little"; then - ac_cv_c_bigendian=no - else - ac_cv_c_bigendian=yes +dnl We do not need this if we have inttypes.. + if test x"$c9x_ints" = x"no"; then + dnl Check the sizes etc. of the architecture + changequote(,) + if archline="`sed -ne 's/^'$archset':[ ]\+\(.*\)/\1/gp' $srcdir/buildlib/sizetable`"; then + changequote([,]) + set $archline + if test "$1" = "little"; then + ac_cv_c_bigendian=no + else + ac_cv_c_bigendian=yes + fi + size_char=$2 + size_int=$3 + size_short=$4 + size_long=$5 fi - size_char=$2 - size_int=$3 - size_short=$4 - size_long=$5 -fi -if test "$cross_compiling" = "yes" -a "$archline" = ""; then - AC_MSG_ERROR(When cross compiling, architecture must be present in sizetable) -fi -AC_C_BIGENDIAN + if test "$cross_compiling" = "yes" -a "$archline" = ""; then + AC_MSG_ERROR(When cross compiling, architecture must be present in sizetable) + fi + AC_C_BIGENDIAN -if test x"$c9x_ints" = x"no"; then AC_CHECK_SIZEOF(char,$size_char) AC_CHECK_SIZEOF(int,$size_int) AC_CHECK_SIZEOF(short,$size_short) |