mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-09 13:30:26 +02:00
modify to handle move of readline.scm to
ice-9 subdir of guile-readline.
This commit is contained in:
parent
5ae51dad0b
commit
4cacadc1d3
2 changed files with 18 additions and 9 deletions
|
@ -45,15 +45,19 @@ top_builddir="@top_builddir_absolute@"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
# handle GUILE_LOAD_PATH (no clobber)
|
if [ x"$GUILE_LOAD_PATH" = x ]
|
||||||
if [ x"$GUILE_LOAD_PATH" = x ] ; then
|
then
|
||||||
GUILE_LOAD_PATH="${top_srcdir}"
|
GUILE_LOAD_PATH="${top_srcdir}/guile-readline:${top_srcdir}"
|
||||||
else
|
else
|
||||||
|
for d in "${top_srcdir}" "${top_srcdir}/guile-readline"
|
||||||
|
do
|
||||||
# This hair prevents double inclusion.
|
# This hair prevents double inclusion.
|
||||||
# The ":" prevents prefix aliasing.
|
# The ":" prevents prefix aliasing.
|
||||||
case x"$GUILE_LOAD_PATH" in x*${top_srcdir}:*) ;;
|
case x"$GUILE_LOAD_PATH" in
|
||||||
*) GUILE_LOAD_PATH="${top_srcdir}:$GUILE_LOAD_PATH" ;;
|
x*${d}:*) ;;
|
||||||
|
*) GUILE_LOAD_PATH="${d}:$GUILE_LOAD_PATH" ;;
|
||||||
esac
|
esac
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
export GUILE_LOAD_PATH
|
export GUILE_LOAD_PATH
|
||||||
|
|
||||||
|
|
|
@ -58,14 +58,19 @@ top_builddir="@top_builddir_absolute@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# handle GUILE_LOAD_PATH (no clobber)
|
# handle GUILE_LOAD_PATH (no clobber)
|
||||||
if [ x"$GUILE_LOAD_PATH" = x ] ; then
|
if [ x"$GUILE_LOAD_PATH" = x ]
|
||||||
GUILE_LOAD_PATH="${top_srcdir}"
|
then
|
||||||
|
GUILE_LOAD_PATH="${top_srcdir}/guile-readline:${top_srcdir}"
|
||||||
else
|
else
|
||||||
|
for d in "${top_srcdir}" "${top_srcdir}/guile-readline"
|
||||||
|
do
|
||||||
# This hair prevents double inclusion.
|
# This hair prevents double inclusion.
|
||||||
# The ":" prevents prefix aliasing.
|
# The ":" prevents prefix aliasing.
|
||||||
case x"$GUILE_LOAD_PATH" in x*${top_srcdir}:*) ;;
|
case x"$GUILE_LOAD_PATH" in
|
||||||
*) GUILE_LOAD_PATH="${top_srcdir}:$GUILE_LOAD_PATH" ;;
|
x*${d}:*) ;;
|
||||||
|
*) GUILE_LOAD_PATH="${d}:$GUILE_LOAD_PATH" ;;
|
||||||
esac
|
esac
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
export GUILE_LOAD_PATH
|
export GUILE_LOAD_PATH
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue