Branch oldpackages for 14.07
[14.07/packages.git] / libs / libnet-1.1.x / patches / 160-endian_cache.patch
1 --- a/acinclude.m4
2 +++ b/acinclude.m4
3 @@ -281,6 +281,7 @@ dnl
4  AC_DEFUN(AC_LIBNET_ENDIAN_CHECK,
5      [AC_MSG_CHECKING(machine endianess)
6  
7 +    if \! test x${ac_cv_libnet_endianess+set} = xset ; then
8      cat > conftest.c << EOF
9  #       include <stdio.h>
10  #       include <stdlib.h>
11 @@ -332,6 +333,7 @@ dnl failed to compile for some reason
12              fi                                
13          fi
14          rm -f conftest* core core.conftest
15 +       fi
16  
17          AC_MSG_RESULT($ac_cv_libnet_endianess)
18