From: Todd C. Miller Date: Sun, 23 Aug 2009 23:52:23 +0000 (+0000) Subject: Add check for regcomp X-Git-Tag: SUDO_1_7_3~326 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6ae9dae82ae8144b723732711d2903fe55126ede;p=sudo Add check for regcomp --- diff --git a/config.h.in b/config.h.in index e01864abe..2a9002119 100644 --- a/config.h.in +++ b/config.h.in @@ -351,6 +351,9 @@ /* Define to 1 if you have the `random' function. */ #undef HAVE_RANDOM +/* Define to 1 if you have the `regcomp' function. */ +#undef HAVE_REGCOMP + /* Define to 1 if you have the `revoke' function. */ #undef HAVE_REVOKE diff --git a/configure.in b/configure.in index 23a5f9f3a..64f0514cf 100644 --- a/configure.in +++ b/configure.in @@ -1836,7 +1836,7 @@ dnl AC_FUNC_GETGROUPS AC_CHECK_FUNCS(strchr strrchr memchr memcpy memset sysconf tzset \ strftime setrlimit initgroups getgroups fstat gettimeofday \ - setlocale getaddrinfo setsid setenv vhangup nanosleep) + regcomp setlocale getaddrinfo setsid setenv vhangup nanosleep) AC_CHECK_FUNCS(openpty, [AC_CHECK_HEADERS(util.h pty.h, [break])], [ AC_CHECK_LIB(util, openpty, [ AC_CHECK_HEADERS(util.h pty.h, [break])