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.59) |
3 | AC_PREREQ(2.69) |
4 | AC_INIT |
4 | AC_INIT |
5 | AC_CONFIG_SRCDIR([src/gvpe.C]) |
5 | AC_CONFIG_SRCDIR([src/gvpe.C]) |
6 | AC_CANONICAL_TARGET |
6 | AC_CANONICAL_TARGET |
7 | AM_INIT_AUTOMAKE(gvpe, 2.24) |
7 | AM_INIT_AUTOMAKE(gvpe, 2.24) |
8 | AC_CONFIG_HEADERS([config.h]) |
8 | AC_CONFIG_HEADERS([config.h]) |
… | |
… | |
45 | # define CLOCALE <clocale> |
45 | # define CLOCALE <clocale> |
46 | #else |
46 | #else |
47 | # define CLOCALE <locale.h> |
47 | # define CLOCALE <locale.h> |
48 | #endif |
48 | #endif |
49 | ]) |
49 | ]) |
50 | |
|
|
51 | dnl Include the macros from the m4/ directory |
|
|
52 | AM_ACLOCAL_INCLUDE(m4) |
|
|
53 | |
50 | |
54 | AM_GNU_GETTEXT([external]) |
51 | AM_GNU_GETTEXT([external]) |
55 | AM_GNU_GETTEXT_VERSION(0.11.5) |
52 | AM_GNU_GETTEXT_VERSION(0.11.5) |
56 | |
53 | |
57 | # Enable GNU extensions. |
54 | # Enable GNU extensions. |
… | |
… | |
351 | MTU=1500 |
348 | MTU=1500 |
352 | AC_ARG_ENABLE(max-mtu, |
349 | AC_ARG_ENABLE(max-mtu, |
353 | [AS_HELP_STRING(--enable-max-mtu=BYTES,enable mtu sizes upto BYTES bytes (default 1500). Use 9100 for jumbogram support.)], |
350 | [AS_HELP_STRING(--enable-max-mtu=BYTES,enable mtu sizes upto BYTES bytes (default 1500). Use 9100 for jumbogram support.)], |
354 | MTU=$enableval |
351 | MTU=$enableval |
355 | ) |
352 | ) |
356 | AC_DEFINE_UNQUOTED(MAX_MTU, $MTU + 14, [Maximum MTU supported.]) |
353 | AC_DEFINE_UNQUOTED(MAX_MTU, ($MTU + 14), [Maximum MTU supported.]) |
357 | |
354 | |
358 | COMPRESS=1 |
355 | COMPRESS=1 |
359 | AC_ARG_ENABLE(compression, |
356 | AC_ARG_ENABLE(compression, |
360 | [AS_HELP_STRING(--disable-compression,Disable compression support.)], |
357 | [AS_HELP_STRING(--disable-compression,Disable compression support.)], |
361 | if test "x$enableval" = xno; then |
358 | if test "x$enableval" = xno; then |