]> err.no Git - sope/commitdiff
added gstep-make detection
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 21 Oct 2004 14:39:09 +0000 (14:39 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 21 Oct 2004 14:39:09 +0000 (14:39 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@292 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

configure

index 71ba74e1665d0bc671be08a7deffdfc0d1a5cc71..c91e7bc55c7f776fe475f55a126296fe852f3710 100755 (executable)
--- 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"