Commit Graph

62 Commits

Author SHA1 Message Date
Michael Jerris f0b58efbac fix bsd build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5227 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-28 17:20:57 +00:00
Anthony Minessale ab34a26079 make crash protection a runtime option instead of a compile-time option
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5123 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-10 16:56:29 +00:00
Michael Jerris 33d3c1c2d2 switch mod_sofia to use a Makefile.am instead of Makefile for better dependency tracking.. you may need to re-bootstrap after this update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5120 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-05-10 15:23:07 +00:00
Anthony Minessale c5c13c2668 add --enable-core-libedit-support configure flag in case you want nicer command line stuff in the debug console (I know I do when I am coding dunno about you)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5044 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-30 20:37:41 +00:00
Michael Jerris 5f053e183a proper -j support for the module builds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-09 14:40:03 +00:00
Michael Jerris 778a82cc92 a bit better on the mysql detection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4869 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 09:38:11 +00:00
Michael Jerris ec8e23dbea fix mysql configure check (reported by bblack via irc)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4866 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-06 08:23:54 +00:00
Anthony Minessale 4d62a1adb2 add core ODBC
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-04 03:08:17 +00:00
Michael Jerris 3de6a7e97e strip a few extra checks out of configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-01 20:52:29 +00:00
Michael Jerris c7753b06d4 some cleanup in the Makefiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 20:22:38 +00:00
Michael Jerris 92d726b995 use int64_t internally for storage of time_t values in the scheduler because at least then we know what format string to use to print them, and they are often that type anyways.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-30 01:40:50 +00:00
Anthony Minessale 3a54126261 spring cleaning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 22:31:56 +00:00
Michael Jerris 429ed0b811 even when the same size, we should use ld over d, because..... well who really knows?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4791 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 12:53:12 +00:00
Michael Jerris bc8a4855a6 use autoconf determined time_t printf format specifier
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-29 04:08:18 +00:00
Michael Jerris 24b1a46ceb we should never include off the installed includes, only the source tree ones.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 21:48:06 +00:00
Michael Jerris 4341b8e6e4 add --disable-resample configure option to build without resampler support
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-28 18:46:07 +00:00
Michael Jerris bf0c023107 start building teletone as part of the core
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-23 20:41:16 +00:00
Michael Jerris 7df787b72d add proper autoconf checks for mysql client and convert mod_cdr to automake makefile so that we can use AM_CONDITIONALS for the mysqlcdr build selection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-23 06:08:17 +00:00
Michael Jerris 180d2bc755 remove debug line from my previous commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4692 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 20:47:21 +00:00
Brian West 31d1e20fd1 use AC_CANONICAL_HOST to make sure is set.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4691 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-20 20:44:09 +00:00
Michael Jerris 44ef865065 add back -Werror for gcc builds
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4647 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-18 17:38:48 +00:00
Michael Jerris 4ffd0bc0bd Fix bootstrap with automake 1.7
fix generation of modules.conf from modules.conf.in on first build
some more steps towards removing gmake specific stuff from our makefiles.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-16 19:20:24 +00:00
Michael Jerris f85be6ffa1 add detection of system libcurl, and if it is available use that instead of in tree curl build. Implemented just in mod_shout so far
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-14 18:59:25 +00:00
Michael Jerris c99d8c9b08 add uninstall_mod target to the main makefile
implement uninstall in modmake.rules
add LIBADD_LOCAL var for use in the module makefiles, it both links to the module, and is a dependency like LOCAL_OBJS
fix bug in src/mod/Makefile(.am) that was causing make install to fail on first run for those modules that used the default mod makefile
implement the getlib.sh script in mod_shout Makefile (works.. but still wip)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-14 14:35:11 +00:00
Michael Jerris bc34fb766c add new generated shell script for portable download/untar
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4588 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-14 03:02:46 +00:00
Michael Jerris 6e81dda174 Fix re-generation of switch_version.h
remove some un-used and un-necessary shell scripts



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4578 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 06:17:58 +00:00
Michael Jerris 1481d37fef move module make to it's own makefile
remove need for modmake.sh (its use is now fully adressed within src/mod/Makefile.am)
remove need for generic_mod.mk (it uses the generated build/modmake.rules now instead)
add support for building out of tree modules as part of the freeswitch build simply by adding the full path to the module dir to your modules.conf
remove the need for special tragets to build.
make will now do a make through the core AND all the modules.
make install will now install the core and all the modules.
most or all of the old targets are still there, plus the new target "core" that will do more or less what make used to do.
make should now be able to be done without write permissions to the prefix directory (make install of course will still need them) whith the exception of modules that use buildlib.sh to download and install thier dependencies.  This will be fixed in a future revision.
checkversion.sh no longer will clean the modules on a change.  The need for this should be gone with the correct include paths to have the src directory included first.
Some steps in this commit to move us closer to being able to build with non gnu make (gmake).  Still some more work to do in this regard as well.
buildlib.sh no longer exports CFLAGS, just passes them to the confiure.
Move a little closer to supporting install directories in the "automake way" where all the dirs will be acutally determined in configure, and follow the standard install targets in Makefile.am
no longer build the modules twice on make install

Additional fixes still on the way for proper dependency tracking for the module builds, so they don't build every time.

any input on how to reach some of the goals stated above of supporting non gnu make, and more properly handling the install directories is appretiated.  Drop me an e-mail if you are intersted in helping.

Mike




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4577 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-13 02:26:00 +00:00
Anthony Minessale 6ae16d1523 better Mac detection
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4569 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 17:46:24 +00:00
Michael Jerris 2067549f74 remove unneeded -L from our LDFLAGS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4568 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 17:05:56 +00:00
Michael Jerris 514bde18c7 an attempt to simplify the module make files. More changes to come on the modules building soon
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4562 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-12 04:21:54 +00:00
Michael Jerris ee3fc89f69 move all the in tree libs to use subst of the core configure, move all module builds to link with libtool to the .la, static when possible
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 14:03:58 +00:00
Michael Jerris 46f6981dc4 core deps will now be configured along with the core configure, and will be static non-installed and linked only to the core.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4525 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 07:36:49 +00:00
Michael Jerris 94206d80c7 push correct prefix dir to flags if no --prefix is specified to configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 05:15:34 +00:00
Michael Jerris 55b3e6cb62 simplify our configure and Makefile.am. Set our CFLAGS and LDFLAGS primarily from configure.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4512 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-11 04:02:10 +00:00
Michael Jerris 42e78242a3 add wrapper code to fully encapsulate apr, apr-utils, pcre, and sqlite. fully use switch_ namespace in modules, create our own format and type defines. follow up commit for unix autotools coming soon after this. PLEASE NOTE: you will NEED to do a make megaclean and run configure again after this update (and the following commit) or it will not build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4494 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-03-09 20:44:13 +00:00
Anthony Minessale 775d63211b automistake
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3709 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 00:47:37 +00:00
Anthony Minessale 81452c2679 autodroolz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3707 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-19 00:41:20 +00:00
Anthony Minessale d7400bf319 build changed
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3690 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-18 00:48:34 +00:00
Anthony Minessale 44cc7d5cfe build progress break everything
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3682 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-12-17 01:01:09 +00:00
Michael Jerris 6bc48b7070 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3681 d0543943-73ff-0310-b7d9-9358b9ac24b2 2006-12-16 23:22:45 +00:00
Anthony Minessale 1386d84694 use usleep when possible, ./configure && make sure when you update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2722 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-09-17 18:44:53 +00:00
Anthony Minessale 7a5bc3b711 autoconf crap
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2043 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-22 01:02:36 +00:00
Anthony Minessale 2a3650f4cf try to make freeswitch build with a little older autoconf
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@2030 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-07-20 19:29:16 +00:00
Anthony Minessale d607494ac0 add mlockall
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1584 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-06-09 15:39:12 +00:00
Anthony Minessale 3058335e80 add xml
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 21:05:11 +00:00
Anthony Minessale 28173df273 make crash protection a configure option --enable-crash-protection and make mini-rtp have 4 byte headers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1368 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-05-05 13:35:33 +00:00
Anthony Minessale 828e03715f try out new builtin RTP using srtp lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@1012 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-04-03 21:00:13 +00:00
Anthony Minessale e8b9a4f781 autotools cleanup
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@977 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 14:43:39 +00:00
Michael Jerris bac1e3fd1d add checks for solaris and sun studio and other solaris fixes, thanks cypromis
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@970 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-03-30 02:12:50 +00:00
Anthony Minessale 172b62785c 1 of many PRI/SIP gateway related updates
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@654 d0543943-73ff-0310-b7d9-9358b9ac24b2
2006-02-22 21:14:22 +00:00