X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.ac;h=0919132cc5a43de9621a237c6bf589ef12c01dff;hb=1818209f5c4879522d69a09bedb0553543d6889e;hp=818dbd9a724c387b4edd7005202b6f57a1c04093;hpb=dc0ab95dbae38577efebe2283fc9b76e92ef4233;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])