Re: configuring for Mac

Stipe Tolj <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Organization tolj.org system architecture
Message-ID <[email protected]>
Aarno Syvänen wrote:

> Hi List,
> 
> Current configure does *not* work with Mac at all. So i use following  
> instead:
> 
> Index: configure.in
> ===================================================================
> RCS file: /home/cvs/gateway/configure.in,v
> retrieving revision 1.155
> diff -r1.155 configure.in
> 157,158d156
> <     AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r";  pthread="yes"])
> <     AC_CHECK_LIB(kse, pthread_exit, [LIBS="$LIBS -lkse";  pthread="yes"])
> 203a202,203
>  > AC_SEARCH_LIBS([pthread_exit], [c_r], [pthread="yes"])
>  > AC_SEARCH_LIBS([pthread_exit], [kse], [pthread="yes"])
> 214c214,229
> < AC_CHECK_HEADERS(sys/socket.h sys/sockio.h net/if.h netinet/in.h)
> ---
>  > AC_CHECK_HEADERS([sys/socket.h])
>  > AC_CHECK_HEADERS([net/if.h], [], [],
>  >                  [#include <stdio.h>
>  >                   #if STDC_HEADERS
>  >                   # include <stdlib.h>
>  >                   # include <stddef.h>
>  >                   #else
>  >                   # if HAVE_STDLIB_H
>  >                   #  include <stdlib.h>
>  >                   # endif
>  >                   #endif
>  >                   #if HAVE_SYS_SOCKET_H
>  >                   # include <sys/socket.h>
>  >                   #endif
>  >                   ])
>  > AC_CHECK_HEADERS(sys/sockio.h netinet/in.h)
> 
> Does anybody object me committing this change. It is, does break some  
> other os.

speaking from the "formality" level first... 'diff -u' format is the one we 
appritiate in the list ;))

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.