From: Todd C. Miller Date: Tue, 7 Jun 1994 18:54:38 +0000 (+0000) Subject: added check & replace X-Git-Tag: SUDO_1_3_1~164 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e2ffd14320c1c685a5017e3e3162b3598127402a;p=sudo added check & replace --- diff --git a/configure.in b/configure.in index 723008e20..493392d53 100644 --- a/configure.in +++ b/configure.in @@ -137,11 +137,14 @@ esac dnl dnl Function checks dnl -AC_HAVE_FUNCS(getwd strchr strrchr sysconf sigaction strdup realpath getcwd bzero) +AC_HAVE_FUNCS(getwd strchr strrchr sysconf sigaction bzero fchdir) +AC_FUNC_CHECK(strdup, AC_DEFINE(HAVE_STRDUP), LIBOBJS="$LIBOBJS strdup.o") +AC_FUNC_CHECK(realpath, AC_DEFINE(HAVE_REALPATH), LIBOBJS="$LIBOBJS realpath.o") +AC_FUNC_CHECK(getcwd, AC_DEFINE(HAVE_GETCWD), LIBOBJS="$LIBOBJS getcwd.o") dnl -dnl Function checks w/ replacements +dnl Function checks w/ replacements - XXX dnl -AC_REPLACE_FUNCS(strdup realpath getcwd) +dnl AC_REPLACE_FUNCS(strdup realpath getcwd) dnl dnl library checks dnl