Merged revisions 44125 via svnmerge from
[asterisk/asterisk.git] / Makefile
index e72fbf4..fc130f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -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