diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 545bee88e..e9c593acb 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -1331,7 +1331,17 @@ AC_CHECK_FUNCS([fmt_scaled scan_scaled login logout openpty updwtmp logwtmp]) | |||
1331 | AC_SEARCH_LIBS([inet_ntop], [resolv nsl]) | 1331 | AC_SEARCH_LIBS([inet_ntop], [resolv nsl]) |
1332 | AC_SEARCH_LIBS([gethostbyname], [resolv nsl]) | 1332 | AC_SEARCH_LIBS([gethostbyname], [resolv nsl]) |
1333 | 1333 | ||
1334 | # "Particular Function Checks" | ||
1335 | # see https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Particular-Functions.html | ||
1334 | AC_FUNC_STRFTIME | 1336 | AC_FUNC_STRFTIME |
1337 | AC_FUNC_MALLOC | ||
1338 | AC_FUNC_REALLOC | ||
1339 | # autoconf doesn't have AC_FUNC_CALLOC so fake it if malloc returns NULL; | ||
1340 | if test "x$ac_cv_func_malloc_0_nonnull" != "xyes"; then | ||
1341 | AC_DEFINE(HAVE_CALLOC, 0, [calloc(x, 0) returns NULL]) | ||
1342 | AC_DEFINE(calloc, rpl_calloc, | ||
1343 | [Define to rpl_calloc if the replacement function should be used.]) | ||
1344 | fi | ||
1335 | 1345 | ||
1336 | # Check for ALTDIRFUNC glob() extension | 1346 | # Check for ALTDIRFUNC glob() extension |
1337 | AC_MSG_CHECKING([for GLOB_ALTDIRFUNC support]) | 1347 | AC_MSG_CHECKING([for GLOB_ALTDIRFUNC support]) |