X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=configure.ac;fp=configure.ac;h=50cb427731c12a9305d67226f31732a85b90a9c1;hb=4ee107046a0ffd91f6c60c787326a5e27b799f6d;hp=4705ce4b386a68bfc2d730fc3ab0c77791a39905;hpb=dc84183747ce1703eb99685b5dbde1f65a143c06;p=debian%2Fgzip diff --git a/configure.ac b/configure.ac index 4705ce4..50cb427 100644 --- a/configure.ac +++ b/configure.ac @@ -130,6 +130,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])