From: Todd C. Miller Date: Sat, 9 Jun 2007 11:17:34 +0000 (+0000) Subject: Fix closefrom() substitution in the Makefile X-Git-Tag: SUDO_1_7_0~568 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d04baaee8c54be173788f675f4f52969aeeecea;p=sudo Fix closefrom() substitution in the Makefile --- diff --git a/configure.in b/configure.in index 91d6bebcb..579cf83e6 100644 --- a/configure.in +++ b/configure.in @@ -1721,7 +1721,7 @@ if test "$ac_cv_func_fnmatch_works" = no; then fi SUDO_FUNC_ISBLANK AC_REPLACE_FUNCS(strerror strcasecmp sigaction strlcpy strlcat) -AC_CHECK_FUNCS(closefrom, [], [AC_LIBOBJ(closefrom.o) +AC_CHECK_FUNCS(closefrom, [], [AC_LIBOBJ(closefrom) AC_CHECK_DECL(F_CLOSEM, AC_DEFINE(HAVE_FCNTL_CLOSEM), [], [ #include #include ])