Review Board 1.7.16


Only install dahdi_span_config_hook if DAHDI is enabled

Review Request #3972 - Created Sept. 3, 2014 and submitted

David Lee
/branches/13
Reviewers
asterisk-dev
Asterisk
I'm a bit weird, and I configure asterisk with --prefix=/opt/asterisk,
so that I can install it without running as root. The install script
for the DAHDI hook scripts were hard coded to install into /usr/share,
which foils my weirdness.

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.
Ran ./configure && make all install both with and without DAHDI,
confirming that it worked as expected.
Review request changed
Updated (Sept. 18, 2014, 10:37 a.m.)
  • changed from pending to submitted
Committed in revision 423343

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.