]> err.no Git - sope/commitdiff
check for empty gstep-make tree var
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 21 Oct 2004 14:33:26 +0000 (14:33 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Thu, 21 Oct 2004 14:33:26 +0000 (14:33 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@291 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

configure

index 2fb919192e6630a8fc679bdd14a8972f2625ab9b..71ba74e1665d0bc671be08a7deffdfc0d1a5cc71 100755 (executable)
--- a/configure
+++ b/configure
@@ -95,7 +95,10 @@ _ACEOFWARN
 
 function validateGNUstepArgs() {
   # GNUstep make
-  if test -d $ARG_GSMAKE; then
+  if test "x$ARG_GSMAKE" = "x"; then
+    echo "error: did not specify a GNUstep make tree!"
+    exit 1
+  elif test -d $ARG_GSMAKE; then
     if test -f $ARG_GSMAKE/GNUstep.sh; then
       DARG_GNUSTEP_SH="$ARG_GSMAKE/GNUstep.sh"
     elif test -f $ARG_GSMAKE/Library/Makefiles/GNUstep.sh; then