1 | dnl Process this file with autoconf to produce a configure script. |
1 | dnl Process this file with autoconf to produce a configure script. |
2 | |
2 | |
3 | AC_PREREQ(2.57) |
3 | AC_PREREQ(2.57) |
4 | AC_INIT(src/vped.C) |
4 | AC_INIT(src/vped.C) |
5 | AC_CANONICAL_TARGET |
5 | AC_CANONICAL_TARGET |
6 | AM_INIT_AUTOMAKE(vpe, 0.1) |
6 | AM_INIT_AUTOMAKE(vpe, 0.9) |
7 | AM_CONFIG_HEADER(config.h) |
7 | AM_CONFIG_HEADER(config.h) |
8 | AM_MAINTAINER_MODE |
8 | AM_MAINTAINER_MODE |
9 | |
9 | |
10 | AH_TOP([ |
10 | AH_TOP([ |
11 | #ifndef CONFIG_H__ |
11 | #ifndef CONFIG_H__ |
… | |
… | |
180 | |
180 | |
181 | dnl These are defined in files in m4/ |
181 | dnl These are defined in files in m4/ |
182 | tinc_TUNTAP |
182 | tinc_TUNTAP |
183 | tinc_OPENSSL |
183 | tinc_OPENSSL |
184 | dnl tinc_ZLIB |
184 | dnl tinc_ZLIB |
|
|
185 | |
|
|
186 | AC_ARG_ENABLE(rohc, |
|
|
187 | [AC_HELP_STRING(--enable-rohc, [enable robust header compression (rfc3095).])], |
|
|
188 | [ |
|
|
189 | echo |
|
|
190 | echo "**********************************************************************" |
|
|
191 | echo "**********************************************************************" |
|
|
192 | echo "**** --enable-rohc not yet implemented *******************************" |
|
|
193 | echo "**********************************************************************" |
|
|
194 | echo "**** uuh sorry, I am such an ass, but I didn't find any rfc3095 (ROHC)" |
|
|
195 | echo "**** implementation to be used in GPL code on the web." |
|
|
196 | echo "**** so this option is just a fake. Please implement one and send it" |
|
|
197 | echo "**** to me ;)" |
|
|
198 | echo "**********************************************************************" |
|
|
199 | echo "**********************************************************************" |
|
|
200 | echo "**********************************************************************" |
|
|
201 | echo "**********************************************************************" |
|
|
202 | echo |
|
|
203 | ] |
|
|
204 | ) |
|
|
205 | |
|
|
206 | AC_ARG_ENABLE(icmp, |
|
|
207 | [AC_HELP_STRING(--enable-icmp, [enable icmp protocol support.])], |
|
|
208 | AC_DEFINE_UNQUOTED(ENABLE_ICMP, 1, [ICMP protocol support.]) |
|
|
209 | ) |
|
|
210 | |
|
|
211 | AC_ARG_ENABLE(tcp, |
|
|
212 | [AC_HELP_STRING(--enable-tcp, [enable tcp protocol support.])], |
|
|
213 | AC_DEFINE_UNQUOTED(ENABLE_TCP, 1, [TCP protocol support.]) |
|
|
214 | ) |
|
|
215 | |
|
|
216 | AC_ARG_ENABLE(http-proxy, |
|
|
217 | [AC_HELP_STRING(--enable-http-proxy, [enable http proxy connect support.])], |
|
|
218 | AC_DEFINE_UNQUOTED(ENABLE_HTTP_PROXY, 1, [http proxy connect support.]) |
|
|
219 | ) |
185 | |
220 | |
186 | HMAC=16 dnl see also the AC_HELP_STRING |
221 | HMAC=16 dnl see also the AC_HELP_STRING |
187 | AC_ARG_ENABLE(hmac-length, |
222 | AC_ARG_ENABLE(hmac-length, |
188 | [AC_HELP_STRING(--enable-hmac-length=BYTES, [use a hmac of length BYTES bytes (default 16). Allowed values are 4, 8, 12, 16.])], |
223 | [AC_HELP_STRING(--enable-hmac-length=BYTES, [use a hmac of length BYTES bytes (default 16). Allowed values are 4, 8, 12, 16.])], |
189 | HMAC=$enableval |
224 | HMAC=$enableval |