| 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(security-modules, |
| 8 |
[ --with-security-modules="s1 s2 ..." Compile in the given SNMP security |
| 9 |
modules (space or comma separated list).]) |
| 10 |
AC_ARG_WITH(output-header, |
| 11 |
[ --with-output-header="file" Where to store the header file]) |
| 12 |
AC_ARG_WITH(output-init, |
| 13 |
[ --with-output-init="file" Where to store the init file]) |
| 14 |
|
| 15 |
m4_include(dist/generation-scripts/gen-variables) |
| 16 |
|
| 17 |
AC_DEFINE_UNQUOTED(NETSNMP_SYSTEM_INCLUDE_FILE, "$NETSNMP_SYSTEM_INCLUDE_FILE") |
| 18 |
|
| 19 |
if test "x$with_output_header" != "x" ; then |
| 20 |
security_incl_file="$with_output_header" |
| 21 |
fi |
| 22 |
|
| 23 |
if test "x$with_output_init" != "x" ; then |
| 24 |
security_init_file="$with_output_init" |
| 25 |
fi |
| 26 |
|
| 27 |
m4_include(configure.d/config_modules_security_modules) |
| 28 |
|
| 29 |
|