diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-07-07 17:12:17 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-07-07 17:12:17 +0000 |
commit | 14428d46e4b01ee279f0ea40b10949d427005924 (patch) | |
tree | 4abec0eea3834872d4cfe8ec4eed2465dda256e5 /configure.in | |
parent | 82c0ea4263db88b89ef61faede23a8d507f4351c (diff) | |
download | zsh-14428d46e4b01ee279f0ea40b10949d427005924.tar.gz zsh-14428d46e4b01ee279f0ea40b10949d427005924.tar.xz zsh-14428d46e4b01ee279f0ea40b10949d427005924.zip |
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).
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
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. |