version 1.4, 2014/07/31 11:56:15
|
version 1.5, 2014/11/10 15:20:59
|
|
|
dis_wsman=0 | dis_wsman=0 |
config=mak/config.mak | config=mak/config.mak |
| |
|
echo =================== |
|
echo WARNING: This script is experimental and has known problems. Please |
|
echo use it at your own risk and review the results carefully in the \ |
|
echo options.mak file that it creates. Until this script is completed |
|
echo the traditional OpenPegasus build configuration through environment |
|
echo variables will remain in place and is the prefered setup tool |
|
echo =================== |
|
|
if [ ! -f "$config" ]; then | if [ ! -f "$config" ]; then |
echo "$0: Error: ./configure must be run from root of Pegasus distribution." | echo "$0: Error: ./configure must be run from root of Pegasus distribution." |
echo | echo |
|
|
| |
Configures OpenPegasus build options. | Configures OpenPegasus build options. |
| |
|
WARNING: This script is experimental and has known problems. Please |
|
use it at your own risk and review the results carefully in the |
|
options.mak file that it creates.Until this script is completed |
|
the traditional OpenPegasus build configuration through environment |
|
variables will remain in place and is the prefered setup tool |
|
|
Configure examples. | Configure examples. |
$ ./configure | $ ./configure |
$ make | $ make |
|
|
--test | --test |
Build with test options included. | Build with test options included. |
--tiny | --tiny |
Build tiny version of pegasus with support to SSL,SLP,ICU and PAM all disabled. |
Build tiny version of pegasus with support to SSL,SLP,ICU and |
|
PAM all disabled. |
--flavor | --flavor |
Building pegasus with the given flavor tag. | Building pegasus with the given flavor tag. |
END | END |
|
|
System=`(Uname -s) 2>/dev/null`||System=unknown | System=`(Uname -s) 2>/dev/null`||System=unknown |
Token="$Machine:$System" | Token="$Machine:$System" |
| |
|
|
case "$Token" in | case "$Token" in |
| |
alpha:VMS) | alpha:VMS) |
|
|
rm -f $options | rm -f $options |
echo "# This file was generated by configure." >> $options | echo "# This file was generated by configure." >> $options |
echo "# ./configure $*" >> $options | echo "# ./configure $*" >> $options |
|
echo " " >> $options |
|
echo "## WARNING: The configure script is experimental and has known problems." >> $options |
|
echo "## Use it at your own risk and review the results carefully in this" >> $options |
|
echo "## options.mak file that it created." >> $options |
PEGASUS_HOME=$prefix | PEGASUS_HOME=$prefix |
PEGASUS_ROOT=$prefix | PEGASUS_ROOT=$prefix |
PEGASUS_PLATFORM=$platform | PEGASUS_PLATFORM=$platform |
|
|
distclean: | distclean: |
rm -f GNUmakefile | rm -f GNUmakefile |
rm -f options.mak | rm -f options.mak |
|
rm -f options.mak.bak |
END | END |
| |
echo "created GNUmakefile" | echo "created GNUmakefile" |
|
|
##============================================================================== | ##============================================================================== |
| |
echo "configured for $platform" | echo "configured for $platform" |
|
echo =================== |
|
echo WARNING: This script is experimental and has known problems. Please |
|
echo use it at your own risk and review the results carefully in the \ |
|
echo options.mak file that it creates. Until this script is completed |
|
echo the traditional OpenPegasus build configuration through environment |
|
echo variables will remain in place and is the prefered setup tool |
|
echo =================== |
echo | echo |
fi | fi |
#set +x | #set +x |