diff options
author | David M. Lee <dlee@digium.com> | 2014-09-18 15:00:50 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2014-09-18 15:00:50 +0000 |
commit | 27df9b73e2272d63efe411c744917e1510bad32a (patch) | |
tree | e4e3bf2a5124d794165c44e1270a7ee4aeb77e00 /makeopts.in | |
parent | 0a2e6a1c7e2e32c74ac526c0bfe184bc39a33a58 (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/
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@423281 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'makeopts.in')
-rw-r--r-- | makeopts.in | 1 |
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@ |