Ticket #9167: 160-endian_cache.patch

File 160-endian_cache.patch, 990 bytes (added by yahoo@…, 6 years ago)

Updated version of the existing patch

  • acinclude.m4

    a b  
    281281AC_DEFUN(AC_LIBNET_ENDIAN_CHECK, 
    282282    [AC_MSG_CHECKING(machine endianess) 
    283283 
     284    if \! test x${ac_cv_libnet_endianess+set} = xset ; then 
    284285    cat > conftest.c << EOF 
    285286#       include <stdio.h> 
    286287#       include <stdlib.h> 
     
    332333            fi                                 
    333334        fi 
    334335        rm -f conftest* core core.conftest 
     336        fi 
    335337 
    336338        AC_MSG_RESULT($ac_cv_libnet_endianess) 
    337339 
  • configure

    a b  
    35563556echo "$as_me:$LINENO: checking machine endianess" >&5 
    35573557echo $ECHO_N "checking machine endianess... $ECHO_C" >&6 
    35583558 
     3559    if \! test x${ac_cv_libnet_endianess+set} = xset ; then 
    35593560    cat > conftest.c << EOF 
    35603561#       include <stdio.h> 
    35613562#       include <stdlib.h> 
     
    36063607            fi 
    36073608        fi 
    36083609        rm -f conftest* core core.conftest 
     3610        fi 
    36093611 
    36103612        echo "$as_me:$LINENO: result: $ac_cv_libnet_endianess" >&5 
    36113613echo "${ECHO_T}$ac_cv_libnet_endianess" >&6