Hi,

To build kannel in 64 bit mode, you need to use "ar -X64" instead of
"ar" to build archive libraries. The following patch to configure.in
allows the ar program to be specified by the AR environment variable.

Regards,

James


--- gateway-1.4.1.orig/configure.in     2006-06-06 16:02:58.000000000
+0200
+++ gateway-1.4.1/configure.in  2008-07-02 10:53:41.000000000 +0200
@@ -109,6 +109,7 @@
 AC_PROG_RANLIB
 AC_PROG_YACC
 AC_PROG_LEX
+AC_CHECK_TOOL(AR, ar)
 AC_PATH_PROG(CONVERT, convert)
 AC_PATH_PROG(PERL, perl)

@@ -116,7 +117,7 @@
 dnl Executable extension for systems that need one, i.e. Cygwin
 dnl Set the LIBTOOL to be used to create libs
 EXE_EXT=""
-LIBTOOL="ar rc"
+LIBTOOL="$AR rc"
 case "$host" in
   *-sun-solaris*)
     CFLAGS="$CFLAGS -DSunOS=1"



Reply via email to