From 14428d46e4b01ee279f0ea40b10949d427005924 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Fri, 7 Jul 2000 17:12:17 +0000 Subject: 12193: Rather than replace @RLIMITS_INC_H@ with /dev/null on platforms where getrlimit() is not found, replace it with nothing and append /dev/null to the awk command in rlimits.mdd, so that we don't end up with a dependency of rlimits.h on /dev/null (which can cause rlimits.h to be needlessly remade). --- configure.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 31903ea4d..339baeb03 100644 --- a/configure.in +++ b/configure.in @@ -963,6 +963,9 @@ if test $RESOURCE_H = "/dev/null" -a $ac_cv_func_getrlimit = yes; then AC_MSG_WARN(RLIMIT MACROS NOT FOUND: please report to developers) fi]) RLIMITS_INC_H=$zsh_cv_path_rlimit_h +if test "$RLIMITS_INC_H" = "/dev/null"; then + RLIMITS_INC_H='' +fi dnl rlimits.h only appears in dependencies if we are actually using it. dnl We are using it any time we have getrlimit, though if the macros were dnl not found we simply awk through /dev/null and fail to find them. -- cgit 1.4.1