Skip to content

Commit eacb484

Browse files
committed
configure: Run autoreconf
Fixes: 7779e40 ("snmpd: Unbreak the build")
1 parent 1755a85 commit eacb484

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

configure

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32185,6 +32185,12 @@ if test "x$ac_cv_func_getlogin" = xyes
3218532185
then :
3218632186
printf "%s\n" "#define HAVE_GETLOGIN 1" >>confdefs.h
3218732187

32188+
fi
32189+
ac_fn_c_check_func "$LINENO" "getnetgrent" "ac_cv_func_getnetgrent"
32190+
if test "x$ac_cv_func_getnetgrent" = xyes
32191+
then :
32192+
printf "%s\n" "#define HAVE_GETNETGRENT 1" >>confdefs.h
32193+
3218832194
fi
3218932195
ac_fn_c_check_func "$LINENO" "if_nametoindex" "ac_cv_func_if_nametoindex"
3219032196
if test "x$ac_cv_func_if_nametoindex" = xyes

include/net-snmp/net-snmp-config.h.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@
279279
/* Define to 1 if you have the `getmntinfo' function. */
280280
#undef HAVE_GETMNTINFO
281281

282+
/* Define to 1 if you have the `getnetgrent' function. */
283+
#undef HAVE_GETNETGRENT
284+
282285
/* Define to 1 if you have the `getopt' function. */
283286
#undef HAVE_GETOPT
284287

0 commit comments

Comments
 (0)