Revert last

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/tools/make/trunk@19475 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2004-06-07 02:18:37 +00:00
parent 28ce32e84c
commit edb71df3e6
3 changed files with 32 additions and 21 deletions

View file

@ -1,3 +1,7 @@
2004-06-06 Adam Fedor <fedor@gnu.org>
* ld_lib_path.[c]sh: Revert last.
2004-06-05 Adam Fedor <fedor@gnu.org>
* ld_lib_path.[c]sh: Allow seting of GNUstep framework location on

View file

@ -84,22 +84,25 @@ switch ( "${host_os}" )
endif
endif
unset additional
if ( ( "${LIBRARY_COMBO}" == "apple-apple-apple" ) \
|| ( "${LIBRARY_COMBO}" == "apple") ) then
unset additional
if ( $?DYLD_FRAMEWORK_PATH == 0 ) then
setenv DYLD_FRAMEWORK_PATH "${fw_paths}"
else if ( { (echo "${DYLD_FRAMEWORK_PATH}" | fgrep -v "${fw_paths}" >/dev/null) } ) then
setenv DYLD_FRAMEWORK_PATH "${fw_paths}:${DYLD_FRAMEWORK_PATH}"
endif
if ( $?additional_framework_paths == 1) then
foreach dir (${additional_framework_paths})
set additional="${additional}${dir}:"
end
endif
if ( $?DYLD_FRAMEWORK_PATH == 0 ) then
setenv DYLD_FRAMEWORK_PATH "${fw_paths}"
else if ( { (echo "${DYLD_FRAMEWORK_PATH}" | fgrep -v "${fw_paths}" >/dev/null) } ) then
setenv DYLD_FRAMEWORK_PATH "${fw_paths}:${DYLD_FRAMEWORK_PATH}"
endif
if ( $?additional_framework_paths == 1) then
foreach dir (${additional_framework_paths})
set additional="${additional}${dir}:"
end
endif
if ( "${?additional}" == "1" ) then
if ( { (echo "${DYLD_FRAMEWORK_PATH}" | fgrep -v "${additional}" >/dev/null) } ) then
setenv DYLD_FRAMEWORK_PATH="${additional}${DYLD_FRAMEWORK_PATH}"
if ( "${?additional}" == "1" ) then
if ( { (echo "${DYLD_FRAMEWORK_PATH}" | fgrep -v "${additional}" >/dev/null) } ) then
setenv DYLD_FRAMEWORK_PATH="${additional}${DYLD_FRAMEWORK_PATH}"
endif
endif
endif
breaksw

View file

@ -131,15 +131,19 @@ case "$host_os" in
fi
fi
export DYLD_LIBRARY_PATH
if [ -z "$DYLD_FRAMEWORK_PATH" ]; then
DYLD_FRAMEWORK_PATH="$fw_paths"
else
if ( echo ${DYLD_FRAMEWORK_PATH}|
fgrep -v "${fw_paths}" >/dev/null ); then
DYLD_FRAMEWORK_PATH="$fw_paths:$DYLD_FRAMEWORK_PATH"
if [ "$LIBRARY_COMBO" = "apple-apple-apple" -o \
"$LIBRARY_COMBO" = "apple" ]; then
if [ -z "$DYLD_FRAMEWORK_PATH" ]; then
DYLD_FRAMEWORK_PATH="$fw_paths"
else
if ( echo ${DYLD_FRAMEWORK_PATH}|
fgrep -v "${fw_paths}" >/dev/null ); then
DYLD_FRAMEWORK_PATH="$fw_paths:$DYLD_FRAMEWORK_PATH"
fi
fi
export DYLD_FRAMEWORK_PATH
fi
export DYLD_FRAMEWORK_PATH;;
;;
*hpux*)
if [ -z "$SHLIB_PATH" ]; then