OpenELEC/OpenELEC.tv — pull request #2945 by Heltjara (2014-02-17 19:54:39+00:00)
Title: Samba build fix.

If SAMBA_SERVER are set to no, build process will fail because specified service files do not exists in INSTALL directory. "enable_service" function calls exit in case of failure which in turn aborts whole build process.
Do not add/enable samba services if samba server is disabled in project
options.