JBoss Native SVN: r3182 - trunk/build/unix.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2014-01-24 10:26:11 -0500 (Fri, 24 Jan 2014)
New Revision: 3182
Modified:
trunk/build/unix/buildbin.mod_cluster.sh
Log:
apxs location has changed to bin instead sbin.
Modified: trunk/build/unix/buildbin.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildbin.mod_cluster.sh 2014-01-24 13:57:01 UTC (rev 3181)
+++ trunk/build/unix/buildbin.mod_cluster.sh 2014-01-24 15:26:11 UTC (rev 3182)
@@ -346,15 +346,24 @@
ant installhttpd -DBUILDTEST=Y -Dbuild_version=${build_version} -Droot=${output_loc} -Dbase.apache="${BASELOC}"
)
+case ${httpd_version} in
+ 2.2*)
+ apxs=sbin/apxs
+ ;;
+ 2.4*)
+ apxs=bin/apxs
+ ;;
+esac
+
# Build the *.so for any httpd-2.2.x using the httpd install done before
if [ "${BUILD_SYS}" != "windows" ]; then
- echo "Building mod_cluster modules with apxs"
+ echo "Building mod_cluster modules with ${apxs}"
BASELOC=`(cd ../mod_cluster/test/java; ant base | grep echo | sed 's:\[echo\]::' | sed 's:^ *::' | sed 's: :/:g')`
for dir in `echo mod_manager advertise mod_slotmem mod_proxy_cluster`
do
(cd ../mod_cluster/native/$dir
sh buildconf
- ./configure --with-apxs=${BASELOC}/opt/jboss/httpd/sbin/apxs
+ ./configure --with-apxs=${BASELOC}/opt/jboss/httpd/${apxs}
make clean
make
if [ "$BUILD_SYS" = "hpux" ]; then