[Liboss-commit] CVS: liboss autogen.sh,1.1.1.1,1.2
Brought to you by:
thesin
From: Justin <th...@us...> - 2002-05-10 15:43:24
|
Update of /cvsroot/liboss/liboss In directory usw-pr-cvs1:/tmp/cvs-serv15301 Modified Files: autogen.sh Log Message: Changed autogen.sh to autorun configure using pwd ass the prefix for vasi, to stop this a variable called NO_CONFIGURE must not be equal to null Index: autogen.sh =================================================================== RCS file: /cvsroot/liboss/liboss/autogen.sh,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -r1.1.1.1 -r1.2 --- autogen.sh 3 May 2002 16:19:56 -0000 1.1.1.1 +++ autogen.sh 10 May 2002 15:43:21 -0000 1.2 @@ -70,12 +70,16 @@ rm -f config.cache -#if [ x"$NO_CONFIGURE" = "x" ]; then -# echo " + Running 'configure $@':" -# if [ -z "$*" ]; then -# echo " ** If you wish to pass arguments to ./configure, please" -# echo " ** specify them on the command line." -# fi -# ./configure "$@" && \ -# echo "Now type 'make' to compile $PKG_NAME" || exit 1 -#fi +if [ x"$NO_CONFIGURE" = "x" ]; then + echo " + Running 'configure --prefix=`pwd` $@':" + if [ -z "$*" ]; then + echo " ** If you wish to pass arguments to ./configure, please" + echo " ** specify them on the command line." + echo " **" + echo " ** For now --prefix is being set to pwd". + echo " **" + echo "" + fi + ./configure --prefix=`pwd` "$@" && \ + echo "Now type 'make' to compile $PKG_NAME" || exit 1 +fi |