function validateGNUstepArgs() {
# GNUstep make
if test "x$ARG_GSMAKE" = "x"; then
- echo "error: did not specify a GNUstep make tree!"
- exit 1
+ if test -f $HOME/OGoRoot/Library/Makefiles/GNUstep.sh; then
+ ARG_GSMAKE="$HOME/OGoRoot/Library/Makefiles/"
+ elif test -f $HOME/GNUstep/Library/Makefiles/GNUstep.sh; then
+ ARG_GSMAKE="$HOME/GNUstep/Library/Makefiles/"
+ elif test -f /usr/GNUstep/System/Library/Makefiles/GNUstep.sh; then
+ ARG_GSMAKE="/usr/GNUstep/System/Library/Makefiles/"
+ else
+ echo "error: please specify a GNUstep make tree!"
+ exit 1
+ fi
+ DARG_GNUSTEP_SH="$ARG_GSMAKE/GNUstep.sh"
elif test -d $ARG_GSMAKE; then
if test -f $ARG_GSMAKE/GNUstep.sh; then
DARG_GNUSTEP_SH="$ARG_GSMAKE/GNUstep.sh"