On Wed, 2009-04-29 at 15:01 -0400, Dale Worley wrote: > Currently, the code assumes that the Freeswitch executable is > at /usr/local/freeswitch/bin/freeswitch, and does no checking > whatsoever. Based on feedback I've gotten, I've implemented a new > strategy: > > ./configure checks where the Freeswitch executable is located. > Currently, it only checks /usr/local/freeswtich/bin/freeswitch, but > alternative locations can be given with the --with-freeswitch switch. > > If Freeswitch is found, FREESWITCH_PREFIX is set accordingly. If > Freeswitch is not found, a warning is given, and FREESWITCH_PREFIX is > set to /usr/local/freeswitch. > > At start-up time, "freeswitch.sh --configtest" tests whether > FREESWITCH_PREFIX/bin/freeswitch is present and executable. If not, it > prints an error and returns a non-zero status. > > The attached patch implements this strategy, along with a few minor > fixes. I'd like feedback.
Looks good to me. _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
