Commit Graph

80 Commits

Author SHA1 Message Date
Anthony Minessale
28213aad14 detect ncurses or curses instead of hardcoding ncurses, fixing libedit build on some platforms
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6373 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-22 06:24:24 +00:00
Michael Jerris
564cd36849 fix for FSBUILD-26
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-20 03:58:32 +00:00
Michael Jerris
f9072fd29b not in tree anymore.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-19 19:08:14 +00:00
Michael Jerris
60fc10a888 cleanup of unused stuff
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-19 18:47:56 +00:00
Michael Jerris
5b2d20bf85 core builds with --enable-64 on suncc now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 21:28:26 +00:00
Michael Jerris
ac729c3020 start adding solaris suncc 64 bit support native in the build system
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-15 20:07:34 +00:00
Michael Jerris
0f6a6c31a3 don't make 64 bit build default
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6240 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 20:03:56 +00:00
Anthony Minessale
eb9f9fb263 some time changes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6238 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-11-13 18:47:08 +00:00
Brian West
5b3f19fb30 these are required for automake 1.10 on OS X 10.5, Please test to ensure It doesn't break anywhere else. It shouldn't
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6047 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-24 15:11:46 +00:00
Michael Jerris
b382c0a41f add -u and -g command line args to set user and group.
properly handle portability for mlockall and setrlimit
Tested on linux, Freebsd, solaris, mac.
FSCORE-47

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6033 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-23 15:56:23 +00:00
Michael Jerris
e69fe7e336 initial import of mod_java from Damjan Jovanovic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-25 13:21:17 +00:00
Michael Jerris
e02f28a8df fix fresh build. We need to configure later becasue apr must be built before libopenmrcp configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 21:20:32 +00:00
Michael Jerris
8fa810c2a3 cleaner mod_openmrcp build in tree
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5615 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 20:22:00 +00:00
Michael Jerris
8ef2aa54c0 modify how we build switch_version.h so we can better handle releases
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-19 05:01:08 +00:00
Michael Jerris
7e81dbe5b0 use .so not .dylib for modules on OS-X, fix for MODENDP-16
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5573 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-08-06 18:10:30 +00:00
Michael Jerris
6d45f5f5cc add some helpers to build 64 bit on solaris amd 64
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5536 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-07-16 15:08:38 +00:00
Michael Jerris
c33dc3eb42 add stuff for mod_radius_cdr
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-18 15:40:34 +00:00
Michael Jerris
f32f6f24d7 sun studio/solaris build fixes
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-06-08 14:52:50 +00:00
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