[asterisk-dev] location of asterisk.h

Tzafrir Cohen tzafrir.cohen at xorcom.com
Fri May 25 10:16:22 MST 2007


Hi

While packaging asterisk-addons for Debian I noticed that Debian places
asterisk.h in /usr/include/asterisk/asterisk.hwith the rest of the
asterisk include files. This is unlike the default install by asterisk
which places it in the main /usr/include/asterisk.h .

Now, suppose you want to have two different installations of Asterisk on
your system, and then you want to build asterisk-addons vs. one of them,
how exactly will you define that? Doesn't it make more sense to place
asterisk.h in the same include directory which will allow a simpler 
definition of an include directory.


It will require replacing:

  #include <asterisk.h>

with:

  #include <asterisk/asterisk.h>

-- 
               Tzafrir Cohen       
icq#16849755                    jabber:tzafrir at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-dev mailing list