PATCH: kannel on AIX - override ar
"Bostock James" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <84E219D8B81E5F4688C4A8992426CD83012A44E9@fr-par-mail01.comverse.com> |
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"