X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.ac;h=0919132cc5a43de9621a237c6bf589ef12c01dff;hb=a45313e80d3dfd7d9e8dbea3a609fb326e5b091b;hp=818dbd9a724c387b4edd7005202b6f57a1c04093;hpb=a2016c1de6e4884f6c8ed5cc498f3bf821c25ca4;p=debian%2Fgzip diff --git a/configure.ac b/configure.ac index 818dbd9..0919132 100644 --- a/configure.ac +++ b/configure.ac @@ -129,6 +129,12 @@ if test "$gl_gcc_warnings" = yes; then AC_SUBST([GNULIB_WARN_CFLAGS]) fi +gl_FUNC_GETDTABLESIZE +if test $HAVE_GETDTABLESIZE = 0; then + AC_LIBOBJ([getdtablesize]) +fi +gl_UNISTD_MODULE_INDICATOR([getdtablesize]) + # cc -E produces incorrect asm files on SVR4, so postprocess it. ASCPPPOST="sed '/^ *#/d; s,//.*,,; s/% /%/g; s/\\. /./g'" AC_SUBST([ASCPPPOST])