#!/bin/sh # multipackage configure script if test "x$1" = "x--help" -o "x$1" = "x-help"; then cat << __EOF configure: --with-boost=/boost/include --prefix=/where/to/install [default is ../] __EOF exit 0 fi /bin/rm -f config.status cat << __EOF > config.status # # configure run as # ./configure $* # __EOF /bin/rm -f reconfigure cat << __EOF > reconfigure #!/bin/sh `pwd`/configure $* __EOF chmod a+x reconfigure BUILD_ROOT=`pwd` defprefix=$BUILD_ROOT/.. pkgs="Parameter Go" # this is how it is done as all are components if test "x" = "x" ; then for p in $pkgs ; do echo "Configuring $p" (cd $p; echo `pwd`; ./configure --prefix=$defprefix $*) done fi exit 0