[package] add poco C++ library
[openwrt/svn-archive/archive.git] / libs / poco / patches / 100-sharedmemory.patch
1 --- a/configure
2 +++ b/configure
3 @@ -50,6 +50,11 @@
4 Useful if your C++ compiler has incomplete floating-point support
5 (such as uClibc-based systems).
6
7 + --no-sharedmemory
8 + Compile with -DPOCO_NO_SHAREDMEMORY
9 + Useful if your C++ compiler has incomplete shared memory support
10 + (such as uClibc-based systems).
11 +
12 --omit=<component>{,<component>}
13 Do not build the specified component(s).
14 Example: --omit=Data/MySQL,Data/ODBC,Zip
15 @@ -140,6 +145,10 @@
16 flags="$flags -DPOCO_NO_FPENVIRONMENT"
17 fi
18
19 + if [ "$1" = "--no-sharedmemory" ] ; then
20 + flags="$flags -DPOCO_NO_SHAREDMEMORY"
21 + fi
22 +
23 if [ "$1" = "--poquito" ] ; then
24 flags="$flags -DPOCO_NO_FILECHANNEL -DPOCO_NO_SPLITTERCHANNEL -DPOCO_NO_SYSLOGCHANNEL -DPOCO_UTIL_NO_INIFILECONFIGURATION -DPOCO_UTIL_NO_XMLCONFIGURATION"
25 fi
26