|
From: <jbo...@li...> - 2006-06-08 20:58:55
|
Author: jfr...@jb...
Date: 2006-06-08 16:58:53 -0400 (Thu, 08 Jun 2006)
New Revision: 4682
Modified:
labs/jbossweb/trunk/src/share/native/build/buildphp.sh
Log:
Remove crypto... means removing a little more.
Modified: labs/jbossweb/trunk/src/share/native/build/buildphp.sh
===================================================================
--- labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-06-08 20:36:13 UTC (rev 4681)
+++ labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-06-08 20:58:53 UTC (rev 4682)
@@ -72,6 +72,8 @@
ADDCONF=""
LGDCONF=""
+ALLOWCRYPTO=false
+
#
# Fonctions
# Extract
@@ -212,7 +214,7 @@
BUILDMSQL=true
;;
CRYPT)
- ALLOWCRYPTO=true
+ ALLOWCRYPTO=true
;;
*)
echo "$i: not (yet) supported"
@@ -351,7 +353,7 @@
esac
#
-# build iconv if required.
+# build freetype2 if required.
if ${BUILDFTT2}
then
Extract freetype ${FTT2URL} ${FTT2VER}
@@ -495,7 +497,7 @@
)
ADDCONF="$ADDCONF --with-openssl=$TOOLS/SSL --with-openssl-dir=$TOOLS/SSL"
else
- if ${ALLOWCRYTP}
+ if ${ALLOWCRYPTO}
then
ADDCONF="$ADDCONF --with-openssl"
else
@@ -577,6 +579,10 @@
fi
# configure php
+if ! ${ALLOWCRYPTO}
+then
+ ADDCONF="$ADDCONF --without-iconv --without-kerberos --without-ldap-sasl --without-curl --without-bz2"
+fi
if [ ${CC} = "cc" ]
then
# Sun Studio
|