[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: configure warnings
From: |
Paul Eggert |
Subject: |
Re: configure warnings |
Date: |
Wed, 19 Oct 2005 15:49:54 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
techno <address@hidden> writes:
> [techno][7:35][~/coreutils-5.91]% ./configure
> ./configure:42: command not found: chmod
Jim's advice about BSD/OS 3.1 is good, but I'd like to get to the
bottom of the problem, and to do this I need to figure out exactly
in what way the BSD/OS 3.1 shell is buggy.
What do the following shell script output on your BSD/OS 3.1 host?
echo "#! /bin/sh" >conf$$.sh
echo "exit 0" >>conf$$.sh
chmod +x conf$$.sh
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
PATH_SEPARATOR=';'
else
PATH_SEPARATOR=:
fi
echo PATH_SEPARATOR="$PATH_SEPARATOR (method 1)"
if (PATH="/nonexistent;."; export PATH; (conf$$.sh)) >/dev/null 2>&1; then
PATH_SEPARATOR=';'
else
PATH_SEPARATOR=:
fi
echo PATH_SEPARATOR="$PATH_SEPARATOR (method 2)"
rm -f conf$$.sh