diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-01 18:30:42 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-10-01 18:30:42 +0000 |
commit | c8183a8a97f6d85771b822a1bb03180c1fc12e0c (patch) | |
tree | b793ada0ba5273d1be02699deb282d257c9976ec /Makefile | |
parent | 0d7787908b3ed4da1f762ec788a6a45612c12d9c (diff) |
Merged revisions 44125 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r44125 | russell | 2006-10-01 14:30:06 -0400 (Sun, 01 Oct 2006) | 6 lines
Fix a problem that cuased AST_DATA_DIR in defaults.h to be empty. The cause is
that since ASTDATADIR is explicitly exported using "export ASTDATADIR" at the
top of the Makefile, make no longer considers the variable "undefined", so the
Makefile can't use ?= to set ASTDATADIR if not yet set.
(issue #8063, reported by akohlsmith, fixed by me)
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44126 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -109,7 +109,9 @@ else ASTVARLIBDIR=$(localstatedir)/lib/asterisk endif endif -ASTDATADIR?=$(ASTVARLIBDIR) +ifeq ($(ASTDATADIR),) + ASTDATADIR:=$(ASTVARLIBDIR) +endif # Asterisk.conf is located in ASTETCDIR or by using the -C flag # when starting Asterisk |