On Wed, 2009-07-08 at 22:34 -0400, M. Ranganathan wrote: > I would like to fail configure with a note to install openfire if that > RPM does not exist (i.e. OPENFIRE_HOME directory does not exist ). Is > there an easy way to do that ?
The typical way is to add a section to config/general.m4. In that file, add an AC_DEFUN section that executes the search for OPENFIRE_HOME. If it is found, call AC_SUBST to define a shell variable that carries the correct directory location. If it is not found, call AC_ERROR to provide a suitable error message. Then in the configure.ac of the component that cares about Openfire, add a call of the function you defined in general.m4. Dale _______________________________________________ sipx-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipx-dev Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev sipXecs IP PBX -- http://www.sipfoundry.org/
