Commit d9f5b35b authored by spigafi's avatar spigafi

Restored previous configure script. The one for the GPU implementation is...

Restored previous configure script. The one for the GPU implementation is located in the GPU directory.

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@9188 c92efa57-630b-4861-b058-cf58834340f0
parent 744a3500
......@@ -31,16 +31,12 @@ MANUAL=" Usage
auxdir=`echo $0 | sed 's/\(.*\)\/.*/\1/'` # extract pathname
if [ "$auxdir" != "configure" ] ; then cd $auxdir ; fi
root=.
if [ -d "GPU" ]; then
root="./GPU"
fi
#
# detect the simplest cases
#
case $1 in
("-h" | "--help" ) echo "$MANUAL" ; $root/install/configure --help ; exit 0 ;;
("-h" | "--help" ) echo "$MANUAL" ; ./install/configure --help ; exit 0 ;;
esac
#
......@@ -48,19 +44,19 @@ esac
# given cong_flags
#
test -e $root/install/make.sys && rm $root/install/make.sys
test -e $root/install/configure.msg && rm $root/install/configure.msg
test -e ./install/make.sys && rm ./install/make.sys
test -e ./install/configure.msg && rm ./install/configure.msg
$root/install/configure "$@"
./install/configure $*
#
# copy make.sys in the home dir
# and final clean up
#
test -e $root/install/make.sys && mv $root/install/make.sys .
test -e config.log && mv config.log $root/install/
test -e config.status && mv config.status $root/install/
test -e configure.msg && mv configure.msg $root/install/
test -e ./install/make.sys && mv ./install/make.sys .
test -e config.log && mv config.log ./install/
test -e config.status && mv config.status ./install/
test -e configure.msg && mv configure.msg ./install/
#
exit 0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment