mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-10-10 00:25:06 -04:00
autogen.sh: Use $PATH_SEPARATOR as a path separator of ACLOCAL_PATH
A path separator of ACLOCAL_PATH on OS/2 is ';' not ':'. So use $PATH_SEPARATOR instead of hard-coded ':'. Signed-off-by: KO Myung-Hun <komh78@gmail.com>
This commit is contained in:
committed by
H. Peter Anvin
parent
95f866d47c
commit
bc2108b940
@@ -46,7 +46,14 @@ fi
|
||||
mv -f autoconf/aclocal.m4 autoconf/aclocal.m4.old
|
||||
mkdir -p autoconf/m4.old autoconf/m4
|
||||
mv -f autoconf/m4/*.m4 autoconf/m4.old/ 2>/dev/null || true
|
||||
ACLOCAL_PATH="${ACLOCAL_PATH}${ACLOCAL_PATH:+:}`pwd`/autoconf/m4.old"
|
||||
if ${PATH_SEPARATOR+false} :; then
|
||||
PATH_SEPARATOR=:
|
||||
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
||||
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
||||
PATH_SEPARATOR=';'
|
||||
}
|
||||
fi
|
||||
ACLOCAL_PATH="${ACLOCAL_PATH}${ACLOCAL_PATH:+${PATH_SEPARATOR}}`pwd`/autoconf/m4.old"
|
||||
export ACLOCAL_PATH
|
||||
"$ACLOCAL" --install --output=autoconf/aclocal.m4 -I autoconf/m4
|
||||
if test ! -f autoconf/aclocal.m4; then
|
||||
|
Reference in New Issue
Block a user