[svn-commits] russell: branch 1.4 r44125 - /branches/1.4/Makefile
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Sun Oct 1 11:30:06 MST 2006
Author: russell
Date: Sun Oct 1 13:30:06 2006
New Revision: 44125
URL: http://svn.digium.com/view/asterisk?rev=44125&view=rev
Log:
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)
Modified:
branches/1.4/Makefile
Modified: branches/1.4/Makefile
URL: http://svn.digium.com/view/asterisk/branches/1.4/Makefile?rev=44125&r1=44124&r2=44125&view=diff
==============================================================================
--- branches/1.4/Makefile (original)
+++ branches/1.4/Makefile Sun Oct 1 13:30:06 2006
@@ -109,7 +109,9 @@
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
More information about the svn-commits
mailing list