ASPLes / nopoll

OpenSource WebSocket toolkit
http://www.aspl.es/nopoll
GNU Lesser General Public License v2.1
124 stars 74 forks source link

Hi,body, How can I modify the includedir? #13

Closed Shaco-Ma closed 7 years ago

Shaco-Ma commented 7 years ago

Hi , man: I use the nopoll package in ubuntu,and autogen.sh ,make, sudo make install, but it will creat a dir who name is nopoll in /usr/include, so when I use it ,I #include ,it can't complie ok, so, can you tell how to do I can change the '.h' files dir?like this /usr/include/nopoll.h and so on, not to creat dir in /usr/include.

Shaco-Ma commented 7 years ago

I do like this --includedir=/usr/include,but it will make dir in /usr/include......

francisbrosnan commented 7 years ago

See the following link for more information (how to get compilation flags): http://www.aspl.es/nopoll/html/nopoll_core_library_manual.html#using_nopoll

francisbrosnan commented 7 years ago

noPoll compilation files are not prepared to drop all files directly into /usr/include (it is not recommended). Even though it is not supported by us, try to modify configure.ac and all Makefile.am to make it so...but, as I say, we really not recommend it (bit is best to stick to this scheme), Best Regards,

Shaco-Ma commented 7 years ago

Hello: I am so sorry so late to back this email. Now I had modify some files in nopoll, and now I can use it in openwrt, and very thanks U give me some idea.

在 2016-12-19 22:34:25,"Francis Brosnan Blázquez" notifications@github.com 写道:

noPoll compilation files are not prepared to drop all files directly into /usr/include (it is not recommended). Even though it is not supported by us, try to modify configure.ac and all Makefile.am to make it so...but, as I say, we really not recommend it (bit is best to stick to this scheme), Best Regards,

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.