aboutsummaryrefslogtreecommitdiffstats
path: root/lib/snmp/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib/snmp/configure.in')
-rw-r--r--lib/snmp/configure.in33
1 files changed, 33 insertions, 0 deletions
diff --git a/lib/snmp/configure.in b/lib/snmp/configure.in
new file mode 100644
index 0000000000..f9ca8f9ac4
--- /dev/null
+++ b/lib/snmp/configure.in
@@ -0,0 +1,33 @@
+
+define([AC_CACHE_LOAD], )dnl
+define([AC_CACHE_SAVE], )dnl
+
+AC_INIT(vsn.mk)
+
+if test -z "$ERL_TOP" || test ! -d $ERL_TOP ; then
+ AC_CONFIG_AUX_DIRS(autoconf)
+else
+ erl_top=${ERL_TOP}
+ AC_CONFIG_AUX_DIRS($erl_top/erts/autoconf)
+fi
+
+if test "X$host" != "Xfree_source" -a "X$host" != "Xwin32"; then
+ AC_CANONICAL_HOST
+else
+ host_os=win32
+fi
+
+
+dnl ----------------------------------------------------------------------
+dnl Checks for programs.
+dnl ----------------------------------------------------------------------
+
+
+AC_CHECK_PROG(PERL, perl, perl, no_perl)
+if test "$PERL" = no_perl; then
+ AC_MSG_ERROR([Perl is required to generate v2 to v1 mib converter script])
+fi
+
+
+AC_OUTPUT(mibs/Makefile:mibs/Makefile.in)
+