]> err.no Git - sope/commitdiff
enabled PCH on OSX
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 28 Sep 2005 15:02:53 +0000 (15:02 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Wed, 28 Sep 2005 15:02:53 +0000 (15:02 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1136 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

configure

index c05801b1144e74df81b0340e5557406b5a5da8f0..9e51aff3d25c77f4f0345903072684208b8cd8d2 100755 (executable)
--- a/configure
+++ b/configure
@@ -125,18 +125,21 @@ function setupInternalGSMake() {
       ARG_PREFIX="/usr/local/"
     fi
   elif test -d gnustep-make; then
+    ENABLE_PCH_OPT=""
     SETUP_COMBO="gnu-fd-nil"
     SETUP_LOGNAME="config-gstepmake.log"
     if test -d /Developer/Applications/Xcode.app; then
       # rather weird OSX test, right? ;->
       SETUP_COMBO="apple-apple-nil"
+      ENABLE_PCH_OPT="--enable-pch"
     fi
     pregsmdir="$PWD"
     
     echo -n "configuring builtin gnustep-make environment (${SETUP_LOGNAME}) .."
-
+    
     cd "$GSTEPMAKE_SRCDIR"
     ./configure >${pregsmdir}/${SETUP_LOGNAME} \
+      ${ENABLE_PCH_OPT} \
       --prefix="${INTERNAL_MAKEDIR}" \
       --without-system-root \
       --with-network-root="${INTERNAL_MAKEDIR}" \