configuring for Mac
Aarno Syvänen <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
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. Aarno