]> err.no Git - sope/blobdiff - configure
fixed Xcode build, bumped dyld versions
[sope] / configure
index c91e7bc55c7f776fe475f55a126296fe852f3710..abe881a265134335fda12ee9eb7ed4bd63287fab 100755 (executable)
--- a/configure
+++ b/configure
@@ -22,6 +22,8 @@ ARG_WITH_DEBUG=0
 DARG_GNUSTEP_SH="$ARG_GSMAKE/GNUstep.sh"
 DARG_IS_FHS=1
 
+NGSTREAMS_DIR="./sope-core/NGStreams"
+
 # ******************** usage ********************
 
 function usage() {
@@ -209,7 +211,7 @@ function genConfigMake() {
   cfgwrite ""
   
   cfgwrite "# print on the cmdline that this file is being used"
-  cfgwrite "before-all :: "
+  cfgwrite "all :: "
   cfgwrite "   @echo Local GNUstep config.make is active"
   cfgwrite ""
   
@@ -240,6 +242,10 @@ function genConfigMake() {
     cfgwrite "${MAKE_ASSI}";
   done
   cfgwrite "LIBRARY_COMBO=$LIBRARY_COMBO"
+  cfgwrite ""
+  
+  cfgwrite "# avoid a gstep-make warning"
+  cfgwrite "PATH:=\$(GNUSTEP_SYSTEM_ROOT)/Tools:\$(PATH)"
 }
 
 function runIt() {
@@ -253,6 +259,17 @@ function runIt() {
     fi
   else
     genConfigMake;
+    
+    if test -x $NGSTREAMS_DIR/configure; then
+      if test $ARG_BEQUIET != 1; then
+        echo -n "configuring NGStreams library .."
+        old="$PWD"
+        cd $NGSTREAMS_DIR
+        ./configure >$old/config-NGStreams.log
+        cd $old
+        echo ".. done (log in config-NGStreams.log)."
+      fi
+    fi
   fi
 }