Setup GUILE_LOAD_PATH

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@11992 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2002-01-05 05:37:45 +00:00
parent 14a02c7bae
commit e8152c494a
3 changed files with 24 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2002-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* ld_lib_path.sh: Setup GUILE_LOAD_PATH
* ld_lib_path.csh: ditto
2002-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* documentation.make: revert to old autogsdoc rules as standard,

View file

@ -116,4 +116,9 @@ switch ( "${host_os}" )
endsw
if ( $?GUILE_LOAD_PATH == 0 ) then
setenv GUILE_LOAD_PATH "${GNUSTEP_USER_ROOT}/Libraries/Guile:${GNUSTEP_LOCAL_ROOT}/Libraries/Guile:${GNUSTEP_SYSTEM_ROOT}/Libraries/Guile"
else
setenv GUILE_LOAD_PATH "${GNUSTEP_USER_ROOT}/Libraries/Guile:${GNUSTEP_LOCAL_ROOT}/Libraries/Guile:${GNUSTEP_SYSTEM_ROOT}/Libraries/Guile:${GUILE_LOAD_PATH}"
endif

View file

@ -97,4 +97,18 @@ case "$host_os" in
esac
#
# Setup path for loading guile modules too.
#
guile_paths="$GNUSTEP_USER_ROOT/Libraries/Guile:$GNUSTEP_LOCAL_ROOT/Libraries/Guile:$GNUSTEP_SYSTEM_ROOT/Libraries/Guile"
if [ -z "$GUILE_LOAD_PATH" ]; then
GUILE_LOAD_PATH="$guile_paths"
else
if ( echo ${GUILE_LOAD_PATH}| grep -v "${guile_paths}" >/dev/null ); then
GUILE_LOAD_PATH="$guile_paths:$GUILE_LOAD_PATH"
fi
fi
export GUILE_LOAD_PATH
IFS="$old_IFS"