major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug #4116)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-06-06 03:04:58 +00:00
parent 236c05fc59
commit 4f299de252
36 changed files with 78 additions and 132 deletions

View File

@@ -34,7 +34,6 @@
#include "asterisk/channel.h"
#include "asterisk/app.h"
#include "asterisk.h"
#include "astconf.h"
#define MAX_NESTED_COMMENTS 128
#define COMMENT_START ";--"
@@ -687,7 +686,7 @@ int config_text_file_save(const char *configfile, const struct ast_config *cfg,
int blanklines = 0;
if (configfile[0] == '/') {
strncpy(fn, configfile, sizeof(fn)-1);
ast_copy_string(fn, configfile, sizeof(fn));
} else {
snprintf(fn, sizeof(fn), "%s/%s", ast_config_AST_CONFIG_DIR, configfile);
}