diff --git a/linphone/Makefile.am b/linphone/Makefile.am index a922a5460426e074ef0de1d5038149e23e0f5565..74d2b79e6548908b1720bf749931b8425269e59e 100644 --- a/linphone/Makefile.am +++ b/linphone/Makefile.am @@ -1,7 +1,7 @@ ## Process this file with automake to produce Makefile.in # let make re-run automake upon need -ACLOCAL_AMFLAGS = -I m4 +ACLOCAL_AMFLAGS = -I m4 -I/opt/local/share/aclocal if EXTERNAL_ORTP ORTP_DIR = diff --git a/linphone/README.macos b/linphone/README.macos new file mode 100644 index 0000000000000000000000000000000000000000..dcaecfde81fd0d576f2a2bbf07ee7fad48661f76 --- /dev/null +++ b/linphone/README.macos @@ -0,0 +1,29 @@ +Compiling linphone on macos X + +This procedure works for audio, video still not fully supported. +It was tested on macos X (leopard) on september 2009. + +Requirements: +* xcode (for gcc) +* the 'port' command to install various dependencies +* svn or git checkout'd linphone tree. + +Steps: +* install with the 'port install' command the following dependencies + - automake + - autoconf + - libtool + - intltool + - gtk2 + - speex-dev +* add /opt/local/bin to your PATH by editing (or creating) ~/.profile, logout and login again for changes to take effect + +* within linphone source directory, run ./autogen.sh +* run + ./configure --prefix=/opt/local --disable-video --with-readline=none && make + (note: we disable readline for linphonec because it appears to hang at this time) +* install to /opt/local + sudo make install + + + diff --git a/linphone/configure.in b/linphone/configure.in index 8a85cd2944ebe4ee6868b517e7d4665caf635c65..63489b50716c47d1ef755df4f38c8fa22aa08d29 100644 --- a/linphone/configure.in +++ b/linphone/configure.in @@ -74,6 +74,7 @@ AC_DEFINE_UNQUOTED(LINPHONE_ALL_LANGS, "$ALL_LINGUAS", [All supported languages] if test "$mingw_found" != "yes" ; then dnl gettext macro does not work properly under mingw. AM_GNU_GETTEXT([external]) +LIBS="$LIBS $LIBINTL" else AC_DEFINE(ENABLE_NLS,1,[Tells whether localisation is possible]) AC_DEFINE(HAVE_GETTEXT,1,[Tells wheter localisation is possible])