| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
# we should be able to do this without creating a full configure-like |
| 4 |
# script, but we need to figure out how to call m4 directly. |
| 5 |
AC_INIT([Net-SNMP], [5.6.pre2], [[email protected]]) |
| 6 |
|
| 7 |
AC_ARG_WITH(transports, |
| 8 |
[ --with-transports="t1 t2 ..." Compile in the given SNMP transport |
| 9 |
modules (space or comma separated list).]) |
| 10 |
AC_ARG_WITH(out_transports, |
| 11 |
[ --with-out-transports="t1 ..." Exclude listed SNMP transports |
| 12 |
(space or comma separated list).]) |
| 13 |
|
| 14 |
AC_ARG_WITH(output, |
| 15 |
[ --with-output="file" Where to store the header file]) |
| 16 |
|
| 17 |
m4_include(dist/generation-scripts/gen-variables) |
| 18 |
|
| 19 |
AC_DEFINE_UNQUOTED(NETSNMP_SYSTEM_INCLUDE_FILE, "$NETSNMP_SYSTEM_INCLUDE_FILE") |
| 20 |
|
| 21 |
if test "x$with_output" != "x" ; then |
| 22 |
ctor_header=$with_output |
| 23 |
fi |
| 24 |
|
| 25 |
m4_include(configure.d/config_modules_transports) |
| 26 |
|
| 27 |
|