Return to Configure CVS log | Up to [Pegasus] / pegasus |
File: [Pegasus] / pegasus / Attic / Configure
(download)
Revision: 1.3, Wed Apr 11 19:41:45 2007 UTC (17 years, 2 months ago) by kumpf Branch: MAIN CVS Tags: TASK-PEP362_RestfulService-merged_out_from_trunk, TASK-PEP348_SCMO-merged_out_from_trunk, TASK-PEP317_pullop-merged_out_from_trunk, TASK-PEP317_pullop-merged_in_to_trunk, TASK-PEP311_WSMan-root, TASK-PEP311_WSMan-branch, HPUX_TEST, HEAD Changes since 1.2: +0 -0 lines FILE REMOVED BUG#: 6328 TITLE: PEGASUS_LSB flag is no longer needed DESCRIPTION: Remove the PEGASUS_LSB environment variable, PEGASUS_S_LSB macro, and the LSB RPM files. |
#! /bin/sh source_dir=`pwd` if [ -f "config.status" ]; then . config.status fi if [ "$#" -gt 0 ]; then echo "Usage: ./Configure" exit 1 fi echo -n "Where OpenPegasus sources are located [ $source_dir ] " read input if [ -z "$input" ]; then input=$source_dir fi source_dir=$input build_dir=$source_dir/BUILD echo -n "Where OpenPegasus should be built [ $build_dir ] " read input if [ -z "$input" ]; then input=$build_dir fi build_dir=$input install_dir="$build_dir/install" binaries_dir="$build_dir/binaries" mkdir -p $install_dir mkdir -p $binaries_dir system=`uname -s` machine=`uname -m | sed -e 's/\/[0-9,a-z,A-Z]*//'` case "$system:$machine" in SunOS:*) #Check for GNU compiler if [ -e "`which gcc`" ]; then platform="SOLARIS_SPARC_GNU"; else platform="SOLARIS_SPARC_CC"; fi ;; AIX:*) platform="AIX_RS_IBMCXX" ;; HP-UX:ia64) platform="HPUX_IA64_ACC" ;; HP-UX:9000) platform="HPUX_PARISC_ACC" ;; HP-UX:*) platform="HPUX_ACC" ;; Linux:i686) platform="LINUX_IX86_GNU" ;; Linux:i486) platform="LINUX_IX86_GNU" ;; Linux:ppc64) platform="LINUX_IX86_GNU" ;; Linux:ppc) platform="LINUX_PPC_GNU" ;; Linux:*) platform="LINUX_PPC_GNU" ;; *) platform="Unknown" ;; esac echo -n "Determined that your platform is " echo $platform echo "Enter a new platform if incorrect, otherwise press Enter [ $platform ] " read input if [ -z "$input" ]; then input=$platform fi platform=$input echo "source_dir=$source_dir" > config.status echo "install_dir=$install_dir" >> config.status echo "binaries_dir=$binaries_dir" >> config.status echo "platform=$platform" >> config.status sed -e "s%@SOURCEDIR@%$source_dir%g" \ -e "s%@BINARIESDIR@%$binaries_dir%g" \ -e "s%@INSTALLDIR@%$install_dir%g" \ -e "s%@PLATFORM@%$platform%g" \ rpm/lsb-pegasus.xml.in > rpm/lsb-pegasus.xml sed -e "s%@INSTALLDIR@%$install_dir%g" \ rpm/lsb-pegasus.spec.in > rpm/lsb-pegasus.spec
No CVS admin address has been configured |
Powered by ViewCVS 0.9.2 |