From 27df9b73e2272d63efe411c744917e1510bad32a Mon Sep 17 00:00:00 2001 From: "David M. Lee" Date: Thu, 18 Sep 2014 15:00:50 +0000 Subject: 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 --- makeopts.in | 1 + 1 file changed, 1 insertion(+) (limited to 'makeopts.in') 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@ -- cgit v1.2.3