75a669c0b0dac73af3849f61d2968dd2f20336bb
[openwrt/svn-archive/archive.git] / net / click / patches / 100-compile_fix.patch
1 diff -urN click.old/configure click.dev/configure
2 --- click.old/configure 2006-03-02 17:51:04.000000000 +0100
3 +++ click.dev/configure 2006-08-04 20:40:20.518827296 +0200
4 @@ -6689,23 +6689,8 @@
5 echo "$as_me:$LINENO: result: $ac_cv_uint64_t" >&5
6 echo "${ECHO_T}$ac_cv_uint64_t" >&6
7
8 - have_int64_types=
9 if test $ac_cv_int64_t = no -o $ac_cv_uint64_t = no; then
10 - { { echo "$as_me:$LINENO: error:
11 -=========================================
12 -
13 -int64_t types not defined by $inttypes_hdr!
14 -Compile with '--disable-int64'.
15 -
16 -=========================================" >&5
17 -echo "$as_me: error:
18 -=========================================
19 -
20 -int64_t types not defined by $inttypes_hdr!
21 -Compile with '--disable-int64'.
22 -
23 -=========================================" >&2;}
24 - { (exit 1); exit 1; }; }
25 + have_int64_types=
26 else
27
28 cat >>confdefs.h <<\_ACEOF
29 diff -urN click.old/m4/click.m4 click.dev/m4/click.m4
30 --- click.old/m4/click.m4 2006-03-02 17:51:06.000000000 +0100
31 +++ click.dev/m4/click.m4 2006-08-04 20:40:49.953352568 +0200
32 @@ -536,13 +536,7 @@
33
34 have_int64_types=
35 if test $ac_cv_int64_t = no -o $ac_cv_uint64_t = no; then
36 - AC_MSG_ERROR([
37 -=========================================
38 -
39 -int64_t types not defined by $inttypes_hdr!
40 -Compile with '--disable-int64'.
41 -
42 -=========================================])
43 + have_int64_types=no
44 else
45 AC_DEFINE([HAVE_INT64_TYPES], [1], [Define if 64-bit integer types are enabled.])
46 have_int64_types=yes