Re: Kannel on AIX

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Bostock James schrieb:

> I also tried building using the native AIX compiler which, in addition to the above changes, requires that all the C++-style comments be converted to C-style comments (there's probably a compiler switch that allows C++-style comments but by default they are rejected).
> 
> The build system assumes gcc (for the generation of include dependencies via the -MM option) which is unfortunate.

did the AIX native C compiler work with changes on configure.in?

We can add support for AIX directly to configure.in I guess, since we handle 
some fractions of platform specific parts already inside:

case "$host" in
   *-sun-solaris*)
     CFLAGS="$CFLAGS -DSunOS=1"
     ;;
   *-cygwin*)
     EXE_EXT=".exe"
     ;;
   *apple-darwin*)
     # MacOS X
     [...]
     ;;
   *-linux-*)
     CFLAGS="$CFLAGS -D_XOPEN_SOURCE=600 -D_BSD_SOURCE"
     LDFLAGS="$LDFLAGS -rdynamic"
     ;;
   *-*-openbsd* | *-*-freebsd*)
     CFLAGS="$CFLAGS -pthread"
     AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r"; pthread="yes"])
     AC_CHECK_LIB(kse, pthread_exit, [LIBS="$LIBS -lkse"; pthread="yes"])
     ;;
esac

If you can provide a normal ssh account for me to board a corresponding box, I'd 
be willing to work it out on the machine, so we have it supported out-of-the-box.

Stipe

-------------------------------------------------------------------
Kölner Landstrasse 419
40589 Düsseldorf, NRW, Germany

tolj.org system architecture      Kannel Software Foundation (KSF)
http://www.tolj.org/              http://www.kannel.org/

mailto:st_{at}_tolj.org           mailto:stolj_{at}_kannel.org
-------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.