diff options
author | Harald Welte <laforge@osmocom.org> | 2019-11-11 17:00:12 +0100 |
---|---|---|
committer | laforge <laforge@osmocom.org> | 2019-12-01 20:03:39 +0000 |
commit | d4be696bbc20522a0284b6d0aefa872585f6926f (patch) | |
tree | e5255e97d9897a2d797c2485ae48aca99e327a2a /src/input | |
parent | b43ce424115ec3e9395263a646a35e433e07cebe (diff) |
Enable DAHDI support by default; require --disable-dahdi otherwise
libosmo-abis was built with DAHDI support, if the related header files
were present at built time, and without if not. This kind of automagic
enabling/disabling of features is wrong. Let's require DAHDI support by
default, and force the user to take a conscious decision by using an
explicit --disable-dahdi if he doesn't want it.
At the same time, update debian/control to list dahdi-source as build
dependency.
Change-Id: Id9f7f063e7ca9e3ab4aa96fc93f243caf50fb66a
Closes: OS#4248
Diffstat (limited to 'src/input')
-rw-r--r-- | src/input/dahdi.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/input/dahdi.c b/src/input/dahdi.c index 6594eea..5da0a2d 100644 --- a/src/input/dahdi.c +++ b/src/input/dahdi.c @@ -26,8 +26,6 @@ #include "config.h" -#ifdef HAVE_DAHDI_USER_H - #include <stdio.h> #include <unistd.h> #include <stdlib.h> @@ -756,5 +754,3 @@ int e1inp_dahdi_init(void) /* register the driver with the core */ return e1inp_driver_register(&dahdi_driver); } - -#endif /* HAVE_DAHDI_USER_H */ |