X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/misc/blobdiff_plain/daf60f1ecec290b496d40687c1a0858937b7d9e7..2e169b7e72c46a708ce20b10fb6f01a39eb726d2:/configure.ac diff --git a/configure.ac b/configure.ac index 3642a8a..2ee58af 100644 --- a/configure.ac +++ b/configure.ac @@ -60,6 +60,10 @@ PKG_CHECK_MODULES([catacomb], [catacomb >= 2.1.1], [have_catacomb=yes], [have_catacomb=no]) AM_CONDITIONAL([HAVE_CATACOMB], [test $have_catacomb = yes]) +## Functions. +AC_CHECK_FUNC([prlimit], [have_prlimit=yes], [have_prlimit=no]) +AM_CONDITIONAL([HAVE_PRLIMIT], [test $have_prlimit = yes]) + ## Processor type. case "$host_cpu" in i?86) x86=yes;; *) x86=no;; esac AM_CONDITIONAL([X86], [test $x86 = yes -a $GCC = yes])