From: Steve K. <st...@st...> - 2004-11-20 19:34:53
|
Here's my results on Mac OS X: First, I needed to install/update the appropriate tools. I did this =20 with fink. stevek@albook:~/src/hms/iaxclient-ac $ automake --version automake (GNU automake) 1.8.5 Written by Tom Tromey <tr...@re...>. Copyright 2004 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is =20= NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR =20 PURPOSE. stevek@albook:~/src/hms/iaxclient-ac $ autoconf --version autoconf (GNU Autoconf) 2.59 Written by David J. MacKenzie and Akim Demaille. Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is =20= NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR =20 PURPOSE. stevek@albook:~/src/hms/iaxclient-ac $ libtoolize --version libtoolize (GNU libtool) 1.5.8 Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is =20= NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR =20 PURPOSE. The results are not so good: stevek@albook:~/src/hms/iaxclient-ac $ sh autogen.sh /sw/share/aclocal/vorbis.m4:9: warning: underquoted definition of =20 XIPH_PATH_VORBIS run info '(automake)Extending aclocal' or see =20 http://sources.redhat.com/automake/automake.html#Extending%20aclocal /sw/share/aclocal/pkg.m4:5: warning: underquoted definition of =20 PKG_CHECK_MODULES /sw/share/aclocal/ogg.m4:8: warning: underquoted definition of =20 XIPH_PATH_OGG /sw/share/aclocal/imlib.m4:9: warning: underquoted definition of =20 AM_PATH_IMLIB /sw/share/aclocal/imlib.m4:167: warning: underquoted definition of =20 AM_PATH_GDK_IMLIB /sw/share/aclocal/gtk.m4:7: warning: underquoted definition of =20 AM_PATH_GTK /sw/share/aclocal/glib.m4:8: warning: underquoted definition of =20 AM_PATH_GLIB /sw/share/aclocal/aalib.m4:12: warning: underquoted definition of =20 AM_PATH_AALIB aclocal: configure.ac: 94: macro `AM_OPTIONS_WXCONFIG' not found in =20 library aclocal: configure.ac: 227: macro `AM_PATH_WXCONFIG' not found in =20 library autoheader: error: AC_CONFIG_HEADERS not found in configure.ac configure.ac:8: error: possibly undefined macro: AM_INIT_AUTOMAKE If this token and others are legitimate, please use =20 m4_pattern_allow. See the Autoconf documentation. configure.ac:9: error: possibly undefined macro: AM_MAINTAINER_MODE configure.ac:12: error: possibly undefined macro: AM_CONFIG_HEADER configure.ac:94: error: possibly undefined macro: AM_OPTIONS_WXCONFIG configure.ac:100: error: possibly undefined macro: AM_PROG_CC_C_O configure.ac:103: error: possibly undefined macro: AC_LIBTOOL_WIN32_DLL configure.ac:104: error: possibly undefined macro: AC_PROG_LIBTOOL configure.ac:107: error: possibly undefined macro: AC_LIBTOOL_RC configure.ac:159: error: possibly undefined macro: AM_PATH_GSM configure.ac:171: error: possibly undefined macro: AM_PATH_SPEEX configure.ac:184: error: possibly undefined macro: AM_PATH_GIAX configure.ac:197: error: possibly undefined macro: AM_PATH_IAX2 configure.ac:214: error: possibly undefined macro: AM_PATH_PORTAUDIO configure.ac:224: error: possibly undefined macro: AM_PATH_GTK configure.ac:227: error: possibly undefined macro: AM_PATH_WXCONFIG configure.ac:272: error: possibly undefined macro: AM_CONDITIONAL You should add the contents of `/sw/share/aclocal/libtool.m4' to =20 `aclocal.m4'. configure.ac: no proper invocation of AM_INIT_AUTOMAKE was found. configure.ac: You should verify that configure.ac invokes =20 AM_INIT_AUTOMAKE, configure.ac: that aclocal.m4 is present in the top-level directory, configure.ac: and that aclocal.m4 was recently regenerated (using =20 aclocal). configure.ac: installing `./install-sh' configure.ac: installing `./missing' Makefile.am: required file `./NEWS' not found Makefile.am: required file `./ChangeLog' not found lib/Makefile.am:28: WIN32 does not appear in AM_CONDITIONAL lib/Makefile.am:34: LINUX does not appear in AM_CONDITIONAL lib/Makefile.am:41: SOLARIS does not appear in AM_CONDITIONAL lib/Makefile.am:48: MACOSX does not appear in AM_CONDITIONAL lib/Makefile.am:53: USE_LOCAL_GSM does not appear in AM_CONDITIONAL lib/Makefile.am:57: USE_LOCAL_IAX1 does not appear in AM_CONDITIONAL lib/Makefile.am:61: USE_LOCAL_IAX2 does not appear in AM_CONDITIONAL lib/Makefile.am:66: USE_LOCAL_SPEEX does not appear in AM_CONDITIONAL lib/Makefile.am:74: USE_LOCAL_PORTAUDIO does not appear in =20 AM_CONDITIONAL lib/Makefile.am:78: USE_LOCAL_ILBC does not appear in AM_CONDITIONAL lib/Makefile.am:5: Libtool library used but `LIBTOOL' is undefined lib/Makefile.am:5: lib/Makefile.am:5: The usual way to define `LIBTOOL' is to add =20 `AC_PROG_LIBTOOL' lib/Makefile.am:5: to `configure.ac' and run `aclocal' and `autoconf' =20= again. lib/Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in =20 `configure.ac' lib/Makefile.am: installing `./compile' lib/Makefile.am: installing `./depcomp' /sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/iaxcomm/Makefile.am:23: WIN32 does not appear in =20 AM_CONDITIONAL simpleclient/iaxcomm/Makefile.am:30: MACOSX does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/iaxphone/Makefile.am:10: WIN32 does not appear in =20 AM_CONDITIONAL simpleclient/iaxphone/Makefile.am:14: WIN32 does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/testcall/Makefile.am:7: WIN32 does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/tkphone/Makefile.am:16: WIN32 does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/wx/Makefile.am:10: WIN32 does not appear in AM_CONDITIONAL simpleclient/wx/Makefile.am:14: WIN32 does not appear in AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL lib/Makefile.am:28: WIN32 does not appear in AM_CONDITIONAL lib/Makefile.am:34: LINUX does not appear in AM_CONDITIONAL lib/Makefile.am:41: SOLARIS does not appear in AM_CONDITIONAL lib/Makefile.am:48: MACOSX does not appear in AM_CONDITIONAL lib/Makefile.am:53: USE_LOCAL_GSM does not appear in AM_CONDITIONAL lib/Makefile.am:57: USE_LOCAL_IAX1 does not appear in AM_CONDITIONAL lib/Makefile.am:61: USE_LOCAL_IAX2 does not appear in AM_CONDITIONAL lib/Makefile.am:66: USE_LOCAL_SPEEX does not appear in AM_CONDITIONAL lib/Makefile.am:74: USE_LOCAL_PORTAUDIO does not appear in =20 AM_CONDITIONAL lib/Makefile.am:78: USE_LOCAL_ILBC does not appear in AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/iaxcomm/Makefile.am:23: WIN32 does not appear in =20 AM_CONDITIONAL simpleclient/iaxcomm/Makefile.am:30: MACOSX does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/iaxphone/Makefile.am:10: WIN32 does not appear in =20 AM_CONDITIONAL simpleclient/iaxphone/Makefile.am:14: WIN32 does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/testcall/Makefile.am:7: WIN32 does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/tkphone/Makefile.am:16: WIN32 does not appear in =20 AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCC does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL simpleclient/wx/Makefile.am:10: WIN32 does not appear in AM_CONDITIONAL simpleclient/wx/Makefile.am:14: WIN32 does not appear in AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: am__fastdepCXX does not appear in =20= AM_CONDITIONAL /sw/share/automake-1.8/am/depend2.am: AMDEP does not appear in =20 AM_CONDITIONAL -SteveK On Nov 18, 2004, at 7:21 PM, Mikael Magnusson wrote: > Hello, I think iaxclient needs an enhanced build system and I have > hacked an autoconf configure.ac script and automake Makefile.am files. > > Some features: > > * Detect gsm, speex, iax, PortAudio and iLBC libraries, and use the > built in support if the libraries aren't installed on the system. Iax =20= > support in lib/libiax2 is used by default, since it's patched. > * Detect wxrc and wish programs > * Detect host os > * Detect GTK, wxWindows and XRC libraries > * Activated simple clients depend on host operating system and =20 > supported > libraries and programs. > * Easier cross compilation > * Export only symbols beginning with iaxc_ in the shared library, if > supported on the platform. > > Run autogen.sh to generate configure etc. After that the common =20 > ./configure and make should work. > > Various fixes: > > * Removed call to iaxc_set_encode_format in iaxphone, wx and WinIAX. > * Rename file_set_files to iaxc_set_files, since all exported = functions > begins with iaxc_ > * Changed some #include filenames with wrong case. Unix/Linux have = case > sensitive file system, but Windows don't. The changes are needed in > order to cross compile Windows programs on Unix/Linux. > * iaxcli tries to create a root window which fails. Changed to > GDK_WINDOW_TOPLEVEL. > * Use configured WISH in tkiaxphone and removed shell line, which run > tkiaxphone in the background. > * tkphone is a wrapper script around tkiaxphone that sets = IAXPHONEHOME. > * WinIAX.cpp calls iaxc_call with two parameters and uses undefined =20= > symbols: IAXC_CALL_STATE_REJECTED and IAXC_CALL_STATE_AUTHREQ. > * Made some functions in audio_portaudio.c, iaxclient_lib.c static. > * unixfuncs.c: nanosleep is declared in time.h in Debian/GNU/Linux. > * ctype.h and unistd.h needed in testcall.c > > The patches compiles on Linux and Mingw cross compiler on Linux and =20= > they can be applied with patch as usual. I'm using autoconf 2.59, =20 > automake 1.8.5 and libtool 1.5.6. > > Regards, > Mikael Magnusson > > > #! /bin/sh /usr/share/dpatch/dpatch-run > ## 10_autoconf.dpatch by <mi...@us...> > ## > ## All lines beginning with `## DP:' are a description of the patch. > ## DP: autoconf/automake files. > ## DP: Generate 12_autoconf_gen.dpatch with dpatch-edit-patch and > ## DP: ./debian/rules autoreconf > > @DPATCH@ > diff -urNad iaxclient-20041112/AUTHORS =20 > /tmp/dpep.Az7DEh/iaxclient-20041112/AUTHORS > --- iaxclient-20041112/AUTHORS 1970-01-01 01:00:00.000000000 = +0100 > +++ /tmp/dpep.Az7DEh/iaxclient-20041112/AUTHORS 2004-11-18 =20 > 23:39:14.000000000 +0100 > @@ -0,0 +1,8 @@ > +Steve Kann <st...@st...> > +Shawn Lawrence <sha...@te...> > +Faizan "Tili" Naqvi <fa...@ti...> [Win32 VC++ build/client] > +Scott Lambert <la...@la...> [FreeBSD build changes] > +Michael Van Donselaar <mv...@va...> [Win32/MinGW build =20 > directions, UI changes, IAXComm phone ] > +Steven Sokol <ss...@so...> [ Debugging, Blind =20 > Transfer ] > +Stephan Kauss <St...@ka...> [ 32-bit alignment for IAX2 ] > +Stephen Uhler <su...@su...> [Solaris build, tkiaxphone] > diff -urNad iaxclient-20041112/autogen.sh =20 > /tmp/dpep.Az7DEh/iaxclient-20041112/autogen.sh > --- iaxclient-20041112/autogen.sh 1970-01-01 01:00:00.000000000 = +0100 > +++ /tmp/dpep.Az7DEh/iaxclient-20041112/autogen.sh 2004-11-18 =20 > 23:39:14.000000000 +0100 > @@ -0,0 +1,12 @@ > +#!/bin/sh -e > + > +aclocal -I macros > +autoheader > +autoconf > +libtoolize -c > +automake -a -c > + > +if test -x ./config.status; then > + ./config.status --recheck > + ./config.status > +fi > diff -urNad iaxclient-20041112/clean.sh =20 > /tmp/dpep.Az7DEh/iaxclient-20041112/clean.sh > --- iaxclient-20041112/clean.sh 1970-01-01 01:00:00.000000000 = +0100 > +++ /tmp/dpep.Az7DEh/iaxclient-20041112/clean.sh 2004-11-18 =20 > 23:39:14.000000000 +0100 > @@ -0,0 +1,6 @@ > +#!/bin/sh > + > +rm -f aclocal.m4 compile config.guess config.h.in config.sub =20 > configure depcomp install-sh ltmain.sh missing > + > +rm -f =20 > {.,lib,simpleclient,simpleclient/iaxcomm,simpleclient/=20 > iaxphone,simpleclient/testcall,simpleclient/tkphone,simpleclient/=20 > WinIAX,simpleclient/wx}/Makefile.in > +rm -rf autom4te.cache > diff -urNad iaxclient-20041112/configure.ac =20 > /tmp/dpep.Az7DEh/iaxclient-20041112/configure.ac > --- iaxclient-20041112/configure.ac 1970-01-01 01:00:00.000000000 = +0100 > +++ /tmp/dpep.Az7DEh/iaxclient-20041112/configure.ac 2004-11-18 =20 > 23:39:14.000000000 +0100 > @@ -0,0 +1,370 @@ > +dnl Copyright (C) 2004 Mikael Magnusson = <mi...@us...> > + > +AC_PREREQ(2.59) > +AC_INIT([iaxclient], 0.1.0-CVS) > +AC_CONFIG_SRCDIR([lib/iaxclient.h]) > +dnl AC_CONFIG_AUX_DIR([autoconf]) > +AC_CONFIG_MACRO_DIR([macros]) > +AM_INIT_AUTOMAKE > +AM_MAINTAINER_MODE > + > +dnl create a config.h file (Automake will add -DHAVE_CONFIG_H) > +AM_CONFIG_HEADER([config.h]) > + > +dnl CFLAGS=3D"-O2 -g -Wall" > + > +ISODATE=3D`date +%Y-%m-%d` > +AC_SUBST(ISODATE) > + > +# AC_ARG_ENABLE saves the option's argument in enable_FEATURE > +AC_ARG_ENABLE(local-gsm, > + [AS_HELP_STRING([--enable-local-gsm],[Use local gsm library =20 > [default=3Dauto]])],, > + [enable_local_gsm=3D"auto"]) > + > +AC_ARG_ENABLE(local-speex, > + [AS_HELP_STRING([--enable-local-speex],[Use local speex library =20= > [default=3Dauto]])],, > + [enable_local_speex=3D"auto"]) > + > +AC_ARG_ENABLE(local-iax, > + [AS_HELP_STRING([--disable-local-iax],[Don't use local iax =20 > library])],, > + [enable_local_iax=3D"yes"]) > + > +AC_ARG_ENABLE(local-portaudio, > + [AS_HELP_STRING([--enable-local-portaudio],[Use local portaudio =20= > library [default=3Dauto]])],, > + [enable_local_portaudio=3D"auto"]) > + > +AC_ARG_ENABLE(speex_preprocess, > + [AS_HELP_STRING([--disable-speex-preprocess],[Turn off speex =20 > preprocessing])],, > + [enable_speex_preprocess=3D"yes"]) > + > +AC_ARG_WITH(echo-can, > + [AS_HELP_STRING([--with-echo-can], > + [use echo can (span, speex or mec2) [default=3Dspeex]])], > + use_echo_can=3D$withval, use_echo_can=3D"speex") > + > +AC_ARG_WITH(iax, > + [AS_HELP_STRING([--with-iax], > + [Select IAX version (iax1 or iax2) [default=3Diax2]])],, > + with_iax=3D"iax2") > + > +AC_ARG_ENABLE(clients, > + [AS_HELP_STRING([--enable-clients], > + [Select clients (all iaxcomm iaxphone testcall tkphone = WinIAX wx) =20 > [default=3Dauto]])],, > + enable_clients=3D"auto") > + > +AC_ARG_WITH(ilbc, > + [AS_HELP_STRING([--with-ilbc], > + [Enable iLBC support (You need to place the iLBC = reference sources =20 > in lib/iLBC) [default=3Dauto]])],,with_ilbc=3D"auto") > + > +case "$with_ilbc" in > + yes) enable_local_ilbc=3Dyes ;; > + no) enable_local_ilbc=3Dno ;; > + auto) AC_MSG_CHECKING([for iLBC reference sources in lib/iLBC]) > + if test -r lib/iLBC/iLBC_encode.c; then > + enable_local_ilbc=3Dyes > + else > + enable_local_ilbc=3Dno > + fi > + AC_MSG_RESULT([$enable_local_ilbc]) ;; > + > + *) AC_MSG_ERROR([bad value ${with_ilbc} for --with-ilbc]) ;; > +esac > + > +AC_ARG_WITH(wxrc, > + [AS_HELP_STRING([--with-wxrc], > + [Path to command line compiler for wx xml resources])], > + WXRC=3D"${with_wxrc}",with_wxrc=3D"auto") > + > +AC_ARG_WITH(wish, > + [AS_HELP_STRING([--with-wish], > + [Path to Tcl command language interpreter])], > + WISH=3D"${with_wish}",with_wish=3D"auto") > + > +if test ! "x$enable_clients" =3D "xauto"; then > + for client in ${enable_clients} > + do > + case "$client" in > + iaxcomm | iaxphone | testcall | tkphone | WinIAX | wx) =20 > clients=3D"$clients $client" ;; > + all) clients=3D"$clients iaxcomm iaxphone testcall tkphone = WinIAX =20 > wx" ;; > + *) AC_MSG_ERROR(bad value ${client} for --enable-clients) ;; > + esac > + done > +fi > + > +AM_OPTIONS_WXCONFIG > + > +AC_CANONICAL_HOST > + > +dnl Checks for programs. > +AC_PROG_CC > +AM_PROG_CC_C_O > +AC_PROG_CXX > +AC_PROG_INSTALL > +AC_LIBTOOL_WIN32_DLL > +AC_PROG_LIBTOOL > +AC_PATH_PROG([WXRC],[wxrc]) > +AC_PATH_PROG([WISH],[wish]) > +AC_LIBTOOL_RC > +AC_PROG_MAKE_SET > + > +dnl Checks for libraries. > + > +dnl Checks for header files. > +AC_HEADER_STDC > +AC_CHECK_HEADERS([arpa/inet.h fcntl.h malloc.h memory.h netdb.h =20 > netinet/in.h stddef.h stdlib.h string.h strings.h sys/ioctl.h =20 > sys/socket.h sys/time.h unistd.h]) > + > +dnl Checks for typedefs, structures, and compiler characteristics. > +AC_HEADER_STDBOOL > +AC_C_CONST > +AC_C_INLINE > +AC_TYPE_PID_T > +AC_TYPE_SIZE_T > +AC_HEADER_TIME > +AC_C_VOLATILE > + > +case $host_os in > + *mingw32*|*cygwin* ) OSTYPE=3DWIN32 > + AC_DEFINE(WIN32,,[mingw or cygwin]);; > + > + *linux* ) OSTYPE=3DLINUX > + AC_DEFINE(LINUX,,[linux]);; > + > + *darwin* ) OSTYPE=3DMACOSX > + AC_DEFINE(MACOSX,,[darwin]);; > + > + *solaris* ) OSTYPE=3DSOLARIS > + AC_DEFINE(SOLARIS,,[solaris]);; > + > +dnl *freebsd* ) OSTYPE=3DFREEBSD;; > +dnl AC_DEFINE(FREEBSD,,[freebsd]);; > + * ) AC_MSG_WARN([OSTYPE cannot be detected, assuming Linux =20 > ($host_os)]) > + OSTYPE=3DLINUX > + AC_DEFINE(LINUX,,[linux]);; > +esac > + > +AC_SUBST(OSTYPE) > + > +dnl Checks for library functions. > +AC_PROG_GCC_TRADITIONAL > +dnl AC_FUNC_MALLOC > +dnl AC_FUNC_REALLOC > +dnl AC_FUNC_SELECT_ARGTYPES > +dnl AC_TYPE_SIGNAL > +dnl AC_FUNC_VPRINTF > +dnl AC_CHECK_FUNCS([atexit bzero floor gethostbyname gethostname =20 > gettimeofday inet_ntoa memmove memset pow select socket sqrt =20 > strcasecmp strchr strdup strerror strncasecmp strstr]) > + > +dnl Check gsm library > +has_gsm=3Dno > +if test ! x$enable_local_gsm =3D xyes; then > + AM_PATH_GSM(has_gsm=3Dyes,has_gsm=3Dno) > +fi > + > +if test x$has_gsm =3D xno && test ! x$enable_local_gsm =3D xno; then > + has_gsm=3Dyes > + enable_local_gsm=3Dyes > + GSM_CFLAGS=3D'-I$(top_srcdir)/lib/gsm/inc' > +fi > + > +dnl Check speex library > +has_speex=3Dno > +if test ! x$enable_local_speex =3D xyes; then > + AM_PATH_SPEEX(1.1.6,has_speex=3Dyes,has_speex=3Dno) > +fi > + > +if test x$has_speex =3D xno && test ! x$enable_local_speex =3D xno; = then > + has_speex=3Dyes > + enable_local_speex=3Dyes > + SPEEX_CFLAGS=3D'-I$(top_srcdir)/lib/libspeex/include' > +fi > + > +dnl Check iax library > +if test x$with_iax =3D xiax1; then > + has_iax1=3Dno > + if test ! x$enable_local_iax =3D xyes; then > + AM_PATH_GIAX(0.2.2,has_iax1=3Dyes,has_iax1=3Dno) > + fi > + > + if test x$has_iax1 =3D xno && test ! x$enable_local_iax =3D xno; = then > + has_iax1=3Dyes > + enable_local_iax1=3Dyes > + IAX_CFLAGS=3D'-I$(top_srcdir)/lib/libiax/src' > + IAX_LIBS=3D"" > + IAX_CONFIG=3D"" > + fi > +else > + has_iax2=3Dno > + if test ! x$enable_local_iax =3D xyes; then > + AM_PATH_IAX2(0.2.3,has_iax2=3Dyes,has_iax2=3Dno) > + fi > + > + if test x$has_iax2 =3D xno && test ! x$enable_local_iax =3D xno; = then > + has_iax2=3Dyes > + enable_local_iax2=3Dyes > + IAX2_CFLAGS=3D'-I$(top_srcdir)/lib/libiax2/src -DLIBIAX' > + IAX2_LIBS=3D"" > + IAX2_CONFIG=3D"" > + fi > + > + AC_DEFINE(IAXC_IAX2,,[Use IAX version 2]) > +fi > + > +dnl Check portaudio > +has_portaudio=3Dno > +if test ! x$enable_local_portaudio =3D xyes; then > + AM_PATH_PORTAUDIO(has_portaudio=3D"yes",has_portaudio=3D"no") > +fi > + > +if test x$has_portaudio =3D xno && test ! x$enable_local_portaudio =3D = =20 > xno; then > + has_portaudio=3Dyes > + enable_local_portaudio=3Dyes > + PORTAUDIO_CFLAGS=3D'-I$(top_srcdir)/lib/portaudio/pa_common' > +fi > + > +if ! test x$OSTYPE =3D xWIN32; then > + AM_PATH_GTK(,has_gtk=3Dyes) > +fi > + > +AM_PATH_WXCONFIG(,has_wx=3Dyes) > + > +dnl Begin wx xrc check > +save_CPPFLAGS=3D"$CPPFLAGS" > +save_CXXFLAGS=3D"$CXXFLAGS" > +save_LIBS=3D"$LIBS" > + > +CPPFLAGS=3D"$WX_CPPFLAGS" > +CXXFLAGS=3D"$WX_CXXFLAGS_ONLY" > + > +AC_LANG_PUSH(C++) > +if test x$has_wx =3D xyes; then > + AC_CHECK_HEADER(wx/xrc/xmlres.h,has_wx_xrc=3Dyes, > + [AC_MSG_WARN([Can't find wx/xrc/xml.h]) > + has_wx_xrc=3Dno]) > +fi > + > +if test x$has_wx_xrc =3D xyes; then > + has_wx_xrc=3Dxno > + AC_MSG_CHECKING([for wx xrc library]) > + for wx_xrc_lib in " " "-lwx_gtk_xrc-2.4" "-lwx_msw_xrc-2.4" =20 > "-lwxxrc"; do > + LIBS=3D"$wx_xrc_lib $WX_LIBS $save_LIBS" > + AC_LINK_IFELSE([ > +#include <wx/xrc/xmlres.h> > +int main() > +{ > + wxXmlResource *res; > + res->Get(); > + return 0; > +}],[has_wx_xrc=3Dyes > + WX_XRC_LIBS=3D"$wx_xrc_lib" > + break]) > + done > + > + AC_MSG_RESULT([$has_wx_xrc ($WX_XRC_LIBS)]) > +fi > +AC_SUBST(WX_XRC_LIBS) > + > +AC_LANG_POP(C++) > + > +LIBS=3D"$save_LIBS" > +CPPFLAGS=3D"$save_CPPFLAGS" > +CXXFLAGS=3D"$save_CXXFLAGS" > +dnl End wx xrc check > + > +dnl AM_CONDITIONAL(SPEEX_PREPROCESS, test x$speex_preprocess =3D = xtrue) > +if test x$enable_speex_preprocess =3D xyes; then > + AC_DEFINE(SPEEX_PREPROCESS, 1, [Speex preprocess]) > +fi > + > +AM_CONDITIONAL(SPAN_EC, test x$use_echo_can =3D xspan) > +if test x$use_echo_can =3D xspan; then > + AC_DEFINE(SPAN_EC, 1, [Span echo can]) > +fi > + > +dnl AM_CONDITIONAL(SPEEX_EC, test x$use_echo_can =3D xspeex) > +if test x$use_echo_can =3D xspeex; then > + AC_DEFINE(SPEEX_EC, 1, [Speex echo can]) > +fi > + > +dnl AM_CONDITIONAL(MEC2_EC, test x$use_echo_can =3D xmec2) > + > +if test x$use_echo_can =3D xmec2; then > + AC_DEFINE(MEC2_EC, 1, [Mec echo can]) > +fi > + > +if test x$enable_local_ilbc =3D xyes; then > + AC_DEFINE(CODEC_ILBC,,[Enable ILBC support]) > +fi > + > +AM_CONDITIONAL(USE_LOCAL_GSM, test x$enable_local_gsm =3D xyes) > +AM_CONDITIONAL(USE_LOCAL_SPEEX, test x$enable_local_speex =3D xyes) > +AM_CONDITIONAL(USE_LOCAL_IAX1, test x$enable_local_iax1 =3D xyes) > +AM_CONDITIONAL(USE_LOCAL_IAX2, test x$enable_local_iax2 =3D xyes) > +AM_CONDITIONAL(USE_LOCAL_PORTAUDIO, test x$enable_local_portaudio =3D = =20 > xyes) > +AM_CONDITIONAL(USE_LOCAL_ILBC, test x$enable_local_ilbc =3D xyes) > +AM_CONDITIONAL(LINUX, test x$OSTYPE =3D xLINUX) > +AM_CONDITIONAL(WIN32, test x$OSTYPE =3D xWIN32) > +AM_CONDITIONAL(SOLARIS, test x$OSTYPE =3D xSOLARIS) > +AM_CONDITIONAL(MACOSX, test x$OSTYPE =3D xMACOSX) > +dnl AM_CONDITIONAL(FREEBSD, test x$OSTYPE =3D xFREEBSD) > + > +# Autodetect clients > +if test "x$enable_clients" =3D "xauto"; then > + clients=3D"$clients testcall" > + > + if test x$has_wx =3D xyes; then > + clients=3D"$clients iaxphone wx" > + > + if test x$has_wx_xrc =3D xyes; then > + clients=3D"$clients iaxcomm" > + fi > + fi > + > + if test x$OSTYPE =3D xWIN32; then > + clients=3D"$clients WinIAX" > + fi > + > + if test ! x$WISH =3D x; then > + clients=3D"$clients tkphone" > + fi > +fi > + > +AC_CONFIG_FILES(Makefile lib/Makefile simpleclient/Makefile) > + > +for client in $clients > +do > + case "$client" in > + testcall) AC_CONFIG_FILES([simpleclient/testcall/Makefile]) > + CLIENTS=3D"$CLIENTS $client";; > + > + iaxcomm) AC_CONFIG_FILES([simpleclient/iaxcomm/Makefile]) > + CLIENTS=3D"$CLIENTS $client";; > + > + iaxphone) AC_CONFIG_FILES([simpleclient/iaxphone/Makefile]) > + CLIENTS=3D"$CLIENTS $client";; > + > + tkphone) AC_CONFIG_FILES([simpleclient/tkphone/Makefile]) > + CLIENTS=3D"$CLIENTS $client";; > + > + WinIAX) AC_CONFIG_FILES([simpleclient/WinIAX/Makefile]) > + CLIENTS=3D"$CLIENTS $client";; > + > + wx) AC_CONFIG_FILES([simpleclient/wx/Makefile]) > + CLIENTS=3D"$CLIENTS $client";; > + > + *) ;; > + esac > +done > + > +AC_SUBST(CLIENTS) > + > +dnl if test x$enable_local_iax1 =3D xyes; then > +dnl AC_CONFIG_SUBDIRS(lib/libiax) > +dnl fi > + > +dnl if test x$enable_local_iax2 =3D xyes; then > +dnl echo Local iax2 > +dnl AC_CONFIG_SUBDIRS(lib/libiax2) > +dnl fi > + > +AC_OUTPUT > + > +AC_MSG_NOTICE([Configured clients: $clients]) > diff -urNad iaxclient-20041112/COPYING =20 > /tmp/dpep.Az7DEh/iaxclient-20041112/COPYING > --- iaxclient-20041112/COPYING 1970-01-01 01:00:00.000000000 = +0100 > +++ /tmp/dpep.Az7DEh/iaxclient-20041112/COPYING 2004-11-18 =20 > 23:39:14.000000000 +0100 > @@ -0,0 +1,340 @@ > + GNU GENERAL PUBLIC LICENSE > + Version 2, June 1991 > + > + Copyright (C) 1989, 1991 Free Software Foundation, Inc. > + 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA > + Everyone is permitted to copy and distribute verbatim copies > + of this license document, but changing it is not allowed. > + > + Preamble > + > + The licenses for most software are designed to take away your > +freedom to share and change it. By contrast, the GNU General Public > +License is intended to guarantee your freedom to share and change = free > +software--to make sure the software is free for all its users. This > +General Public License applies to most of the Free Software > +Foundation's software and to any other program whose authors commit = to > +using it. (Some other Free Software Foundation software is covered = by > +the GNU Library General Public License instead.) You can apply it to > +your programs, too. > + > + When we speak of free software, we are referring to freedom, not > +price. Our General Public Licenses are designed to make sure that = you > +have the freedom to distribute copies of free software (and charge = for > +this service if you wish), that you receive source code or can get it > +if you want it, that you can change the software or use pieces of it > +in new free programs; and that you know you can do these things. > + > + To protect your rights, we need to make restrictions that forbid > +anyone to deny you these rights or to ask you to surrender the = rights. > +These restrictions translate to certain responsibilities for you if =20= > you > +distribute copies of the software, or if you modify it. > + > + For example, if you distribute copies of such a program, whether > +gratis or for a fee, you must give the recipients all the rights that > +you have. You must make sure that they, too, receive or can get the > +source code. And you must show them these terms so they know their > +rights. > + > + We protect your rights with two steps: (1) copyright the software, =20= > and > +(2) offer you this license which gives you legal permission to copy, > +distribute and/or modify the software. > + > + Also, for each author's protection and ours, we want to make = certain > +that everyone understands that there is no warranty for this free > +software. If the software is modified by someone else and passed on, = =20 > we > +want its recipients to know that what they have is not the original, =20= > so > +that any problems introduced by others will not reflect on the =20 > original > +authors' reputations. > + > + Finally, any free program is threatened constantly by software > +patents. We wish to avoid the danger that redistributors of a free > +program will individually obtain patent licenses, in effect making = the > +program proprietary. To prevent this, we have made it clear that any > +patent must be licensed for everyone's free use or not licensed at =20= > all. > + > + The precise terms and conditions for copying, distribution and > +modification follow. > +=0C > + GNU GENERAL PUBLIC LICENSE > + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION > + > + 0. This License applies to any program or other work which contains > +a notice placed by the copyright holder saying it may be distributed > +under the terms of this General Public License. The "Program", = below, > +refers to any such program or work, and a "work based on the Program" > +means either the Program or any derivative work under copyright law: > +that is to say, a work containing the Program or a portion of it, > +either verbatim or with modifications and/or translated into another > +language. (Hereinafter, translation is included without limitation = in > +the term "modification".) Each licensee is addressed as "you". > + > +Activities other than copying, distribution and modification are not > +covered by this License; they are outside its scope. The act of > +running the Program is not restricted, and the output from the = Program > +is covered only if its contents constitute a work based on the > +Program (independent of having been made by running the Program). > +Whether that is true depends on what the Program does. > + > + 1. You may copy and distribute verbatim copies of the Program's > +source code as you receive it, in any medium, provided that you > +conspicuously and appropriately publish on each copy an appropriate > +copyright notice and disclaimer of warranty; keep intact all the > +notices that refer to this License and to the absence of any = warranty; > +and give any other recipients of the Program a copy of this License > +along with the Program. > + > +You may charge a fee for the physical act of transferring a copy, and > +you may at your option offer warranty protection in exchange for a =20= > fee. > + > + 2. You may modify your copy or copies of the Program or any portion > +of it, thus forming a work based on the Program, and copy and > +distribute such modifications or work under the terms of Section 1 > +above, provided that you also meet all of these conditions: > + > + a) You must cause the modified files to carry prominent notices > + stating that you changed the files and the date of any change. > + > + b) You must cause any work that you distribute or publish, that = in > + whole or in part contains or is derived from the Program or any > + part thereof, to be licensed as a whole at no charge to all third > + parties under the terms of this License. > + > + c) If the modified program normally reads commands interactively > + when run, you must cause it, when started running for such > + interactive use in the most ordinary way, to print or display an > + announcement including an appropriate copyright notice and a > + notice that there is no warranty (or else, saying that you = provide > + a warranty) and that users may redistribute the program under > + these conditions, and telling the user how to view a copy of this > + License. (Exception: if the Program itself is interactive but > + does not normally print such an announcement, your work based on > + the Program is not required to print an announcement.) > +=0C > +These requirements apply to the modified work as a whole. If > +identifiable sections of that work are not derived from the Program, > +and can be reasonably considered independent and separate works in > +themselves, then this License, and its terms, do not apply to those > +sections when you distribute them as separate works. But when you > +distribute the same sections as part of a whole which is a work based > +on the Program, the distribution of the whole must be on the terms of > +this License, whose permissions for other licensees extend to the > +entire whole, and thus to each and every part regardless of who wrote = =20 > it. > + > +Thus, it is not the intent of this section to claim rights or contest > +your rights to work written entirely by you; rather, the intent is to > +exercise the right to control the distribution of derivative or > +collective works based on the Program. > + > +In addition, mere aggregation of another work not based on the = Program > +with the Program (or with a work based on the Program) on a volume of > +a storage or distribution medium does not bring the other work under > +the scope of this License. > + > + 3. You may copy and distribute the Program (or a work based on it, > +under Section 2) in object code or executable form under the terms of > +Sections 1 and 2 above provided that you also do one of the = following: > + > + a) Accompany it with the complete corresponding machine-readable > + source code, which must be distributed under the terms of = Sections > + 1 and 2 above on a medium customarily used for software =20 > interchange; or, > + > + b) Accompany it with a written offer, valid for at least three > + years, to give any third party, for a charge no more than your > + cost of physically performing source distribution, a complete > + machine-readable copy of the corresponding source code, to be > + distributed under the terms of Sections 1 and 2 above on a medium > + customarily used for software interchange; or, > + > + c) Accompany it with the information you received as to the offer > + to distribute corresponding source code. (This alternative is > + allowed only for noncommercial distribution and only if you > + received the program in object code or executable form with such > + an offer, in accord with Subsection b above.) > + > +The source code for a work means the preferred form of the work for > +making modifications to it. For an executable work, complete source > +code means all the source code for all modules it contains, plus any > +associated interface definition files, plus the scripts used to > +control compilation and installation of the executable. However, as = a > +special exception, the source code distributed need not include > +anything that is normally distributed (in either source or binary > +form) with the major components (compiler, kernel, and so on) of the > +operating system on which the executable runs, unless that component > +itself accompanies the executable. > + > +If distribution of executable or object code is made by offering > +access to copy from a designated place, then offering equivalent > +access to copy the source code from the same place counts as > +distribution of the source code, even though third parties are not > +compelled to copy the source along with the object code. > +=0C > + 4. You may not copy, modify, sublicense, or distribute the Program > +except as expressly provided under this License. Any attempt > +otherwise to copy, modify, sublicense or distribute the Program is > +void, and will automatically terminate your rights under this = License. > +However, parties who have received copies, or rights, from you under > +this License will not have their licenses terminated so long as such > +parties remain in full compliance. > + > + 5. You are not required to accept this License, since you have not > +signed it. However, nothing else grants you permission to modify or > +distribute the Program or its derivative works. These actions are > +prohibited by law if you do not accept this License. Therefore, by > +modifying or distributing the Program (or any work based on the > +Program), you indicate your acceptance of this License to do so, and > +all its terms and conditions for copying, distributing or modifying > +the Program or works based on it. > + > + 6. Each time you redistribute the Program (or any work based on the > +Program), the recipient automatically receives a license from the > +original licensor to copy, distribute or modify the Program subject = to > +these terms and conditions. You may not impose any further > +restrictions on the recipients' exercise of the rights granted = herein. > +You are not responsible for enforcing compliance by third parties to > +this License. > + > + 7. If, as a consequence of a court judgment or allegation of patent > +infringement or for any other reason (not limited to patent issues), > +conditions are imposed on you (whether by court order, agreement or > +otherwise) that contradict the conditions of this License, they do = not > +excuse you from the conditions of this License. If you cannot > +distribute so as to satisfy simultaneously your obligations under = this > +License and any other pertinent obligations, then as a consequence = you > +may not distribute the Program at all. For example, if a patent > +license would not permit royalty-free redistribution of the Program = by > +all those who receive copies directly or indirectly through you, then > +the only way you could satisfy both it and this License would be to > +refrain entirely from distribution of the Program. > + > +If any portion of this section is held invalid or unenforceable under > +any particular circumstance, the balance of the section is intended = to > +apply and the section as a whole is intended to apply in other > +circumstances. > + > +It is not the purpose of this section to induce you to infringe any > +patents or other property right claims or to contest validity of any > +such claims; this section has the sole purpose of protecting the > +integrity of the free software distribution system, which is > +implemented by public license practices. Many people have made > +generous contributions to the wide range of software distributed > +through that system in reliance on consistent application of that > +system; it is up to the author/donor to decide if he or she is = willing > +to distribute software through any other system and a licensee cannot > +impose that choice. > + > +This section is intended to make thoroughly clear what is believed to > +be a consequence of the rest of this License. > +=0C > + 8. If the distribution and/or use of the Program is restricted in > +certain countries either by patents or by copyrighted interfaces, the > +original copyright holder who places the Program under this License > +may add an explicit geographical distribution limitation excluding > +those countries, so that distribution is permitted only in or among > +countries not thus excluded. In such case, this License incorporates > +the limitation as if written in the body of this License. > + > + 9. The Free Software Foundation may publish revised and/or new =20 > versions > +of the General Public License from time to time. Such new versions =20= > will > +be similar in spirit to the present version, but may differ in detail = =20 > to > +address new problems or concerns. > + > +Each version is given a distinguishing version number. If the = Program > +specifies a version number of this License which applies to it and =20= > "any > +later version", you have the option of following the terms and =20 > conditions > +either of that version or of any later version published by the Free > +Software Foundation. If the Program does not specify a version =20 > number of > +this License, you may choose any version ever published by the Free =20= > Software > +Foundation. > + > + 10. If you wish to incorporate parts of the Program into other free > +programs whose distribution conditions are different, write to the =20= > author > +to ask for permission. For software which is copyrighted by the Free > +Software Foundation, write to the Free Software Foundation; we =20 > sometimes > +make exceptions for this. Our decision will be guided by the two =20 > goals > +of preserving the free status of all derivatives of our free software = =20 > and > +of promoting the sharing and reuse of software generally. > + > + NO WARRANTY > + > + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO =20 > WARRANTY > +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT =20= > WHEN > +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER = PARTIES > +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER =20 > EXPRESSED > +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF > +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE =20 > RISK AS > +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD = THE > +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY =20 > SERVICING, > +REPAIR OR CORRECTION. > + > + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN =20= > WRITING > +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR > +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR =20 > DAMAGES, > +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES =20= > ARISING > +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT =20 > LIMITED > +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED = =20 > BY > +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY =20= > OTHER > +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE > +POSSIBILITY OF SUCH DAMAGES. > + > + END OF TERMS AND CONDITIONS > +=0C > + How to Apply These Terms to Your New Programs > + > + If you develop a new program, and you want it to be of the greatest > +possible use to the public, the best way to achieve this is to make = it > +free software which everyone can redistribute and change under these =20= > terms. > + > + To do so, attach the following notices to the program. It is = safest > +to attach them to the start of each source file to most effectively > +convey the exclusion of warranty; and each file should have at least > +the "copyright" line and a pointer to where the full notice is found. > + > + <one line to give the program's name and a brief idea of what it =20= > does.> > + Copyright (C) <year> <name of author> > + > + This program is free software; you can redistribute it and/or =20 > modify > + it under the terms of the GNU General Public License as published = =20 > by > + the Free Software Foundation; either version 2 of the License, or > + (at your option) any later version. > + > + This program is distributed in the hope that it will be useful, > + but WITHOUT ANY WARRANTY; without even the implied warranty of > + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + GNU General Public License for more details. > + > + You should have received a copy of the GNU General Public License > + along with this program; if not, write to the Free Software > + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA =20 > 02111-1307 USA > + > + > +Also add information on how to contact you by electronic and paper =20= > mail. > + > +If the program is interactive, make it output a short notice like = this > +when it starts in an interactive mode: > + > + Gnomovision version 69, Copyright (C) year name of author > + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type =20= > `show w'. > + This is free software, and you are welcome to redistribute it > + under certain conditions; type `show c' for details. > + > +The hypothetical commands `show w' and `show c' should show the =20 > appropriate > +parts of the General Public License. Of course, the commands you use = =20 > may > +be called something other than `show w' and `show c'; they could even = =20 > be > +mouse-clicks or menu items--whatever suits your program. > + > +You should also get your employer (if you work as a programmer) or =20= > your > +school, if any, to sign a "copyright disclaimer" for the program, if > +necessary. Here is a sample; alter the names: > + > + Yoyodyne, Inc., hereby disclaims all copyright interest in the =20 > program > + `Gnomovision' (which makes passes at compilers) written by James =20= > Hacker. > + > + <signature of Ty Coon>, 1 April 1989 > + Ty Coon, President of Vice > + > +This General Public License does not permit incorporating your =20 > program into > +proprietary programs. If your program is a subroutine library, you =20= > may > +consider it more useful to permit linking proprietary applications =20= > with the > +library. If this is what you want to do, use the GNU Library General > +Public License instead of this License. > diff -urNad iaxclient-20041112/INSTALL =20 > /tmp/dpep.Az7DEh/iaxclient-20041112/INSTALL > --- iaxclient-20041112/INSTALL 1970-01-01 01:00:00.000000000 = +0100 > +++ /tmp/dpep.Az7DEh/iaxclient-20041112/INSTALL 2004-11-18 =20 > 23:39:14.000000000 +0100 > @@ -0,0 +1,229 @@ > +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software > +Foundation, Inc. > + > + This file is free documentation; the Free Software Foundation = gives > +unlimited permission to copy, distribute and modify it. > + > +Basic Installation > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + These are generic installation instructions. > + > + The `configure' shell script attempts to guess correct values for > +various system-dependent variables used during compilation. It uses > +those values to create a `Makefile' in each directory of the package. > +It may also create one or more `.h' files containing system-dependent > +definitions. Finally, it creates a shell script `config.status' that > +you can run in the future to recreate the current configuration, and = a > +file `config.log' containing compiler output (useful mainly for > +debugging `configure'). > + > + It can also use an optional file (typically called `config.cache' > +and enabled with `--cache-file=3Dconfig.cache' or simply `-C') that =20= > saves > +the results of its tests to speed up reconfiguring. (Caching is > +disabled by default to prevent problems with accidental use of stale > +cache files.) > + > + If you need to do unusual things to compile the package, please = try > +to figure out how `configure' could check whether to do them, and = mail > +diffs or instructions to the address given in the `README' so they = can > +be considered for the next release. If you are using the cache, and =20= > at > +some point `config.cache' contains results you don't want to keep, = you > +may remove or edit it. > + > + The file `configure.ac' (or `configure.in') is used to create > +`configure' by a program called `autoconf'. You only need > +`configure.ac' if you want to change it or regenerate `configure' =20 > using > +a newer version of `autoconf'. > + > +The simplest way to compile this package is: > + > + 1. `cd' to the directory containing the package's source code and =20= > type > + `./configure' to configure the package for your system. If =20 > you're > + using `csh' on an old version of System V, you might need to = type > + `sh ./configure' instead to prevent `csh' from trying to execute > + `configure' itself. > + > + Running `configure' takes awhile. While running, it prints some > + messages telling which features it is checking for. > + > + 2. Type `make' to compile the package. > + > + 3. Optionally, type `make check' to run any self-tests that come =20= > with > + the package. > + > + 4. Type `make install' to install the programs and any data files =20= > and > + documentation. > + > + 5. You can remove the program binaries and object files from the > + source code directory by typing `make clean'. To also remove = the > + files that `configure' created (so you can compile the package =20= > for > + a different kind of computer), type `make distclean'. There is > + also a `make maintainer-clean' target, but that is intended =20 > mainly > + for the package's developers. If you use it, you may have to = get > + all sorts of other programs in order to regenerate files that =20= > came > + with the distribution. > + > +Compilers and Options > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + Some systems require unusual options for compilation or linking =20= > that > +the `configure' script does not know about. Run `./configure --help' > +for details on some of the pertinent environment variables. > + > + You can give `configure' initial values for configuration =20 > parameters > +by setting variables in the command line or in the environment. Here > +is an example: > + > + ./configure CC=3Dc89 CFLAGS=3D-O2 LIBS=3D-lposix > + > + *Note Defining Variables::, for more details. > + > +Compiling For Multiple Architectures > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + You can compile the package for more than one kind of computer at =20= > the > +same time, by placing the object files for each architecture in their > +own directory. To do this, you must use a version of `make' that > +supports the `VPATH' variable, such as GNU `make'. `cd' to the > +directory where you want the object files and executables to go and =20= > run > +the `configure' script. `configure' automatically checks for the > +source code in the directory that `configure' is in and in `..'. > + > + If you have to use a `make' that does not support the `VPATH' > +variable, you have to compile the package for one architecture at a > +time in the source code directory. After you have installed the > +package for one architecture, use `make distclean' before =20 > reconfiguring > +for another architecture. > + > +Installation Names > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + By default, `make install' will install the package's files in > +`/usr/local/bin', `/usr/local/man', etc. You can specify an > +installation prefix other than `/usr/local' by giving `configure' the > +option `--prefix=3DPATH'. > + > + You can specify separate installation prefixes for > +architecture-specific files and architecture-independent files. If =20= > you > +give `configure' the option `--exec-prefix=3DPATH', the package will = use > +PATH as the prefix for installing programs and libraries. > +Documentation and other data files will still use the regular prefix. > + > + In addition, if you use an unusual directory layout you can give > +options like `--bindir=3DPATH' to specify different values for =20 > particular > +kinds of files. Run `configure --help' for a list of the directories > +you can set and what kinds of files go in them. > + > + If the package supports it, you can cause programs to be installed > +with an extra prefix or suffix on their names by giving `configure' =20= > the > +option `--program-prefix=3DPREFIX' or `--program-suffix=3DSUFFIX'. > + > +Optional Features > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + Some packages pay attention to `--enable-FEATURE' options to > +`configure', where FEATURE indicates an optional part of the package. > +They may also pay attention to `--with-PACKAGE' options, where = PACKAGE > +is something like `gnu-as' or `x' (for the X Window System). The > +`README' should mention any `--enable-' and `--with-' options that = the > +package recognizes. > + > + For packages that use the X Window System, `configure' can usually > +find the X include and library files automatically, but if it = doesn't, > +you can use the `configure' options `--x-includes=3DDIR' and > +`--x-libraries=3DDIR' to specify their locations. > + > +Specifying the System Type > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D > + > + There may be some features `configure' cannot figure out > +automatically, but needs to determine by the type of machine the =20 > package > +will run on. Usually, assuming the package is built to be run on the > +_same_ architectures, `configure' can figure that out, but if it =20 > prints > +a message saying it cannot guess the machine type, give it the > +`--build=3DTYPE' option. TYPE can either be a short name for the = system > +type, such as `sun4', or a canonical name which has the form: > + > + CPU-COMPANY-SYSTEM > + > +where SYSTEM can have one of these forms: > + > + OS KERNEL-OS > + > + See the file `config.sub' for the possible values of each field. =20= > If > +`config.sub' isn't included in this package, then this package = doesn't > +need to know the machine type. > + > + If you are _building_ compiler tools for cross-compiling, you =20 > should > +use the `--target=3DTYPE' option to select the type of system they = will > +produce code for. > + > + If you want to _use_ a cross compiler, that generates code for a > +platform different from the build platform, you should specify the > +"host" platform (i.e., that on which the generated programs will > +eventually be run) with `--host=3DTYPE'. > + > +Sharing Defaults > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + If you want to set default values for `configure' scripts to = share, > +you can create a site shell script called `config.site' that gives > +default values for variables like `CC', `cache_file', and `prefix'. > +`configure' looks for `PREFIX/share/config.site' if it exists, then > +`PREFIX/etc/config.site' if it exists. Or, you can set the > +`CONFIG_SITE' environment variable to the location of the site = script. > +A warning: not all `configure' scripts look for a site script. > + > +Defining Variables > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + Variables not defined in a site shell script can be set in the > +environment passed to `configure'. However, some packages may run > +configure again during the build, and the customized values of these > +variables may be lost. In order to avoid this problem, you should = set > +them in the `configure' command line, using `VAR=3Dvalue'. For = example: > + > + ./configure CC=3D/usr/local2/bin/gcc > + > +will cause the specified gcc to be used as the C compiler (unless it =20= > is > +overridden in the site shell script). > + > +`configure' Invocation > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > + `configure' recognizes the following options to control how it > +operates. > + > +`--help' > +`-h' > + Print a summary of the options to `configure', and exit. > + > +`--version' > +`-V' > + Print the version of Autoconf used to generate the `configure' > + script, and exit. > + > +`--cache-file=3DFILE' > + Enable the cache: use and save the results of the tests in FILE, > + traditionally `config.cache'. FILE defaults to `/dev/null' to > + disable caching. > + > +`--config-cache' > +`-C' > + Alias for `--cache-file=3Dconfig.cache'. > + > +`--quiet' > +`--silent' > +`-q' > + Do not print messages saying which checks are being made. To > + suppress all normal output, redirect it to `/dev/null' (any = error > + messages will still be shown). > + > +`--srcdir=3DDIR' > + Look for the package's source code in directory DIR. Usually > + `configure' can determine that directory automatically. > + > +`configure' also accepts some other, not widely useful, options. Run > +`configure --help' for more details. > + > diff -urNad iaxclient-20041112/lib/Makefile.am =20 > /tmp/dpep.Az7DEh/iaxclient-20041112/lib/Makefile.am > --- iaxclient-20041112/lib/Makefile.am 1970-01-01 = 01:00:00.000000000 =20 > +0100 > +++ /tmp/dpep.Az7DEh/iaxclient-20041112/lib/Makefile.am = 2004-11-18 =20 > 23:39:14.000000000 +0100 > @@ -0,0 +1,313 @@ > +# Autoconf etc. macros > +AUTOMAKE_OPTIONS =3D subdir-objects > + > +# Targets > +lib_LTLIBRARIES =3D libiaxclient.la > +libiaxclient_la_SOURCES =3D $(SRCS) > +nodist_libiaxclient_la_SOURCES =3D $(NODIST_SRCS) > + > +AM_CFLAGS =3D -I$(srcdir)/portaudio/pablio \ > + -I$(srcdir)/portmixer/px_common \ > + $(GSM_CFLAGS) $(SPEEX_CFLAGS) $(IAX_CFLAGS) $(IAX2_CFLAGS) \ > + $(PORTAUDIO_CFLAGS) > + > +AM_CFLAGS +=3D -Wpointer-arith -DPA_COMPAT18 > + > +libiaxclient_la_LIBADD =3D $(GSM_LIBS) $(SPEEX_LIBS) $(IAX_LIBS) = \ > + $(IAX2_LIBS) $(PORTAUDIO_LIBS) > + > +AM_LDFLAGS =3D -no-undefined \ > + -export-symbols-regex "iaxc_.*" > + > +include_HEADERS=3Diaxclient.h > + > +SRCS =3D > +SRCS_LIBPORTAUDIO =3D > +NODIST_SRCS =3D > + > +if WIN32 > +SRCS +=3D $(SRCS_WIN32) > +SRCS_LIBPORTAUDIO +=3D $(SRCS_PA_WIN32) > +libiaxclient_la_LIBADD +=3D -lwinmm -lwsock32 > +endif WIN32 > + > +if LINUX > +SRCS +=3D $(SRCS_LINUX) > +SRCS_LIBPORTAUDIO +=3D $(SRCS_PA_LINUX) > +libiaxclient_la_LIBADD +=3D -lpthread -lm > +AM_LDFLAGS +=3D -Wl,-z,defs > +endif LINUX > + > +if SOLARIS > +SRCS +=3D $(SRCS_SOLARIS) > +SRCS_LIBPORTAUDIO +=3D $(SRCS_PA_SOLARIS) > +libiaxclient_la_LIBADD +=3D -lsocket -lnsl -lpthread -lrt -lresolv = -lm > +AM_CFLAGS +=3D -DALIGN32 > +endif SOLARIS > + > +if MACOSX > +SRCS +=3D $(SRCS_MACOSX) > +SRCS_LIBPORTAUDIO +=3D $(SRCS_PA_MACOSX) > +endif MACOSX > + > +if USE_LOCAL_GSM > +SRCS +=3D $(SRCS_LIBGSM) > +endif > + > +if USE_LOCAL_IAX1 > +SRCS +=3D $(SRCS_IAX1) > +endif > + > +if USE_LOCAL_IAX2 > +SRCS +=3D $(SRCS_IAX2) > +# AM_CFLAGS +=3D -DDEBUG_SUPPORT > +endif USE_LOCAL_IAX2 > + > +if USE_LOCAL_SPEEX > +SRCS +=3D $(SRCS_LIBSPEEX) > +endif USE_LOCAL_SPEEX > + > +#if SPAN_EC > +#SRCS +=3D ec/echo.c > +#endif > + > +if USE_LOCAL_PORTAUDIO > +SRCS +=3D $(SRCS_LIBPORTAUDIO) > +endif USE_LOCAL_PORTAUDIO > + > +if USE_LOCAL_ILBC > +SRCS +=3D codec_ilbc.c > +NODIST_SRCS +=3D $(SRCS_ILBC) > +endif USE_LOCAL_ILBC > + > +SRCS_LIBGSM=3D \ > + gsm/src/add.c \ > + gsm/src/code.c \ > + gsm/src/debug.c \ > + gsm/src/decode.c \ > + gsm/src/gsm_create.c \ > + gsm/src/gsm_decode.c \ > + gsm/src/gsm_destroy.c \ > + gsm/src/gsm_encode.c \ > + gsm/src/gsm_explode.c \ > + gsm/src/gsm_implode.c \ > + gsm/src/gsm_option.c \ > + gsm/src/gsm_print.c \ > + gsm/src/long_term.c \ > + gsm/src/lpc.c \ > + gsm/src/preprocess.c \ > + gsm/src/rpe.c \ > + gsm/src/short_term.c \ > + gsm/src/table.c \ > + gsm/inc/private.h \ > + gsm/inc/gsm.h \ > + gsm/inc/unproto.h \ > + gsm/inc/config.h \ > + gsm/inc/proto.h > + > +SRCS_LIBPORTAUDIO +=3D \ > + portaudio/pa_common/pa_lib.c \ > + portaudio/pa_common/pa_host.h \ > + portaudio/pa_common/portaudio.h > + > +SRCS +=3D \ > + portaudio/pablio/pablio.c \ > + portaudio/pablio/ringbuffer.c \ > + audio_encode.c \ > + audio_portaudio.c \ > + audio_file.c \ > + codec_gsm.c \ > + codec_ulaw.c \ > + codec_speex.c \ > + iaxclient_lib.c \ > + audio_encode.h \ > + audio_portaudio.h \ > + audio_file.h \ > + audio_win32.h \ > + codec_gsm.h \ > + codec_ilbc.h \ > + codec_speex.h \ > + codec_ulaw.h \ > + iaxclient_lib.h \ > + portaudio/pablio/pablio.h \ > + portaudio/pablio/ringbuffer.h \ > + portmixer/px_common/portmixer.h > + > +SRCS_LIBSPEEX=3D \ > + libspeex/nb_celp.c \ > + libspeex/sb_celp.c \ > + libspeex/lpc.c \ > + libspeex/ltp.c \ > + libspeex/lsp.c \ > + libspeex/quant_lsp.c \ > + libspeex/lsp_tables_nb.c \ > + libspeex/gain_table.c \ > + libspeex/gain_table_lbr.c \ > + libspeex/cb_search.c \ > + libspeex/filters.c \ > + libspeex/bits.c \ > + libspeex/modes.c \ > + libspeex/speex.c \ > + libspeex/vq.c \ > + libspeex/high_lsp_tables.c \ > + libspeex/vbr.c \ > + libspeex/hexc_table.c \ > + libspeex/exc_5_256_table.c \ > + libspeex/exc_5_64_table.c \ > + libspeex/exc_8_128_table.c \ > + libspeex/exc_10_32_table.c \ > + libspeex/exc_10_16_table.c \ > + libspeex/exc_20_32_table.c \ > + libspeex/hexc_10_32_table.c \ > + libspeex/misc.c \ > + libspeex/speex_header.c \ > + libspeex/speex_callbacks.c \ > + libspeex/math_approx.c \ > + libspeex/stereo.c \ > + libspeex/pre... [truncated message content] |