# This script falls under the Apache License.
# See http://www.apache.org/docs/LICENSE
-
-CONFIGPARAM="--with-layout=BinaryDistribution --enable-module=most --enable-shared=max"
+OS=`src/helpers/GuessOS`
+case "x$OS" in
+ x*390) CONFIGPARAM="--with-layout=BinaryDistribution --enable-module=most --enable-module=log_agent --enable-module=log_referer --enable-module=example --enable-module=mmap_static";;
+ *) CONFIGPARAM="--with-layout=BinaryDistribution --enable-module=most --enable-shared=max";;
+esac
APDIR=`pwd`
APDIR=`basename $APDIR`
VER=`echo $APDIR |sed s/apache_//`
-OS=`src/helpers/GuessOS`
TAR="`src/helpers/PrintPath tar`"
GTAR="`src/helpers/PrintPath gtar`"
GZIP="`src/helpers/PrintPath gzip`"
else
if [ "x$TAR" != "x" ]
then
- $TAR -cf ../apache_$VER-$OS.tar -C .. apache_$VER
+ case "x$OS" in
+ x*390) $TAR -cfU ../apache_$VER-$OS.tar -C .. apache_$VER;;
+ *) $TAR -cf ../apache_$VER-$OS.tar -C .. apache_$VER;;
+ esac
if [ "x$GZIP" != "x" ]
then
$GZIP ../apache_$VER-$OS.tar