JBoss Native SVN: r2812 - trunk/build/unix.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2011-07-15 11:28:35 -0400 (Fri, 15 Jul 2011)
New Revision: 2812
Modified:
trunk/build/unix/buildbin.jboss-native.sh
Log:
HPUX also needs CFLAGS there...
Modified: trunk/build/unix/buildbin.jboss-native.sh
===================================================================
--- trunk/build/unix/buildbin.jboss-native.sh 2011-07-15 14:48:39 UTC (rev 2811)
+++ trunk/build/unix/buildbin.jboss-native.sh 2011-07-15 15:28:35 UTC (rev 2812)
@@ -77,31 +77,20 @@
# Build native part.
(cd $native_sources
echo "Configuring tomcat-native: ./configure ${add_conf} --with-apr=${common_loc} --prefix=${prefix_loc} -enable-layout=generic"
- case ${BUILD_SYS}-${BUILD_CP} in
- macosx-x86)
- if [ "x${CFLAGS}" != "x" ]; then
- echo "Adding CFLAGS=${CFLAGS}"
- CFLAGS=${CFLAGS} ./configure ${add_conf} --with-apr=${common_loc} --prefix=${prefix_loc} -enable-layout=generic
- if [ $? -ne 0 ]; then
- echo "Configure tomcat-native failed"
- exit 1
- fi
- else
- CFLAGS=${CFLAGS} ./configure ${add_conf} --with-apr=${common_loc} --prefix=${prefix_loc} -enable-layout=generic
- if [ $? -ne 0 ]; then
- echo "Configure tomcat-native failed"
- exit 1
- fi
- fi
- ;;
- *)
- ./configure ${add_conf} --with-apr=${common_loc} --prefix=${prefix_loc} -enable-layout=generic
- if [ $? -ne 0 ]; then
- echo "Configure tomcat-native failed"
- exit 1
- fi
- ;;
- esac
+ if [ "x${CFLAGS}" != "x" ]; then
+ echo "Adding CFLAGS=${CFLAGS}"
+ CFLAGS=${CFLAGS} ./configure ${add_conf} --with-apr=${common_loc} --prefix=${prefix_loc} -enable-layout=generic
+ if [ $? -ne 0 ]; then
+ echo "Configure tomcat-native failed"
+ exit 1
+ fi
+ else
+ ./configure ${add_conf} --with-apr=${common_loc} --prefix=${prefix_loc} -enable-layout=generic
+ if [ $? -ne 0 ]; then
+ echo "Configure tomcat-native failed"
+ exit 1
+ fi
+ fi
echo "Building tomcat-native"
make