]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/nonworking/libnet/files/configure.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / nonworking / libnet / files / configure.patch
1
2 #
3 # Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
4 #
5
6 --- libnet/acinclude.m4~configure
7 +++ libnet/acinclude.m4
8 @@ -184,7 +184,7 @@
9      AC_CACHE_VAL(ac_cv_lbl_unaligned_fail,
10          [case "$target_cpu" in
11  
12 -        alpha|hp*|mips|sparc)
13 +        alpha|hp*|mips|sparc|arm)
14                  ac_cv_lbl_unaligned_fail=yes
15                  ;;
16  
17 @@ -259,7 +259,8 @@
18  dnl
19  
20  AC_DEFUN(AC_LIBNET_ENDIAN_CHECK,
21 -    [AC_MSG_CHECKING(machine endianess)
22 +       [AC_CACHE_CHECK([machine_endianness],
23 +               ac_cv_libnet_endianess, [
24  
25      cat > conftest.c << EOF
26  #       include <stdio.h>
27 @@ -312,8 +313,7 @@
28              fi                                
29          fi
30          rm -f conftest* core core.conftest
31 -
32 -        AC_MSG_RESULT($ac_cv_libnet_endianess)
33 +       ])
34  
35          if test $ac_cv_libnet_endianess = big ; then
36              AC_DEFINE(LIBNET_BIG_ENDIAN)
37 @@ -324,7 +324,7 @@
38              ENDIANESS="LIBNET_LIL_ENDIAN"
39              LIBNET_CONFIG_DEFINES="$LIBNET_CONFIG_DEFINES -DLIBNET_LIL_ENDIAN"
40          fi
41 -    ])
42 +])
43  
44  dnl
45  dnl Improved version of AC_CHECK_LIB
46 --- libnet/./configure.in~configure
47 +++ libnet/./configure.in
48 @@ -7,10 +7,11 @@
49  dnl Process this file with autoconf to produce a configure script.
50  
51  
52 -AC_INIT(src/libnet_build_ip.c)
53 +AC_INIT
54 +AC_CONFIG_SRCDIR([src/libnet_build_ip.c])
55  LIBNET_VERSION=`cat VERSION`
56  AC_MSG_RESULT(beginning autoconfiguration process for libnet-$LIBNET_VERSION...)
57 -AC_CANONICAL_SYSTEM
58 +AC_CANONICAL_TARGET([])
59  
60  AM_INIT_AUTOMAKE(libnet, $LIBNET_VERSION)
61  AM_CONFIG_HEADER(include/config.h)