diff options
author | Ondrej Zajicek <santiago@crfreenet.org> | 2011-08-12 21:03:43 +0200 |
---|---|---|
committer | Ondrej Zajicek <santiago@crfreenet.org> | 2011-08-14 13:55:02 +0200 |
commit | 42a0c05408c4151442e6a0ec1c6889acbcfe9c17 (patch) | |
tree | 5a4992c5fa66256987e335ffe94ee960ed1ff9db /aclocal.m4 | |
parent | bde872bba745e5596bdb066df6ef323b7cabcfdd (diff) | |
download | bird-42a0c05408c4151442e6a0ec1c6889acbcfe9c17.tar bird-42a0c05408c4151442e6a0ec1c6889acbcfe9c17.zip |
BGP Extended communities.
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -6,7 +6,8 @@ AC_DEFUN(BIRD_CHECK_INTEGERS, AC_CHECK_SIZEOF(short int, 0) AC_CHECK_SIZEOF(int, 0) AC_CHECK_SIZEOF(long int, 0) -for size in 1 2 4 ; do +AC_CHECK_SIZEOF(long long int, 0) +for size in 1 2 4 8; do bits=`expr $size "*" 8` AC_MSG_CHECKING([for $bits-bit type]) if test $ac_cv_sizeof_int = $size ; then @@ -17,6 +18,8 @@ for size in 1 2 4 ; do res="short int" elif test $ac_cv_sizeof_long_int = $size ; then res="long int" + elif test $ac_cv_sizeof_long_long_int = $size ; then + res="long long int" else AC_MSG_RESULT([not found]) AC_MSG_ERROR([Cannot find $bits-bit integer type.]) |