summaryrefslogtreecommitdiff
path: root/makeopts.in
diff options
context:
space:
mode:
authorDavid M. Lee <dlee@digium.com>2014-09-18 15:07:12 +0000
committerDavid M. Lee <dlee@digium.com>2014-09-18 15:07:12 +0000
commitb89491e39c130811d21e3c1229112f732837647d (patch)
treeaf8560d8337a8221c47681e03d63a2d4f393e49e /makeopts.in
parentd120e403092d058dfdb7655ba8e1b8113d3b8a33 (diff)
Only install dahdi_span_config_hook if DAHDI is enabled
This patch changes the install to only install the hook script if DAHDI is enabled. It also adds the script to the uninstall task, and moves the DAHDI_UDEV_HOOK_DIR variable so that it's not between the _MAKEOPTS variables and their comment. This allows installs which specify a --prefix to work normally, as long as they don't enable DAHDI. Review: https://reviewboard.asterisk.org/r/3972/ ........ Merged revisions 423281 from http://svn.asterisk.org/svn/asterisk/branches/13 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@423283 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'makeopts.in')
-rw-r--r--makeopts.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/makeopts.in b/makeopts.in
index 3b3d2d92f..5c3b605bd 100644
--- a/makeopts.in
+++ b/makeopts.in
@@ -305,6 +305,7 @@ VORBIS_LIB=@VORBIS_LIB@
VPB_INCLUDE=@VPB_INCLUDE@
VPB_LIB=@VPB_LIB@
+HAVE_DAHDI=@PBX_DAHDI@
DAHDI_INCLUDE=@DAHDI_INCLUDE@
ZLIB_INCLUDE=@ZLIB_INCLUDE@