From: helge Date: Thu, 21 Oct 2004 14:39:09 +0000 (+0000) Subject: added gstep-make detection X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30ff8ec6a90808a6322e238f7f5963240cb0fcd0;p=sope added gstep-make detection git-svn-id: http://svn.opengroupware.org/SOPE/trunk@292 e4a50df8-12e2-0310-a44c-efbce7f8a7e3 --- diff --git a/configure b/configure index 71ba74e1..c91e7bc5 100755 --- a/configure +++ b/configure @@ -96,8 +96,17 @@ _ACEOFWARN 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"