Commit 647401b2 authored by Olivier Lagrasse's avatar Olivier Lagrasse

Start to clean the ./configure script

parent 6670707c
......@@ -52,9 +52,9 @@ makefile="Makefile"
# Default values
with_otf=0
otfdir="/usr"
otfincdir="$otfdir/include"
otflibdir="$otfdir/lib"
otfdir="../externals/otf/otflib"
otfincdir="$otfdir"
otflibdir="$otfdir"
with_tau=0
taudir="/usr"
......@@ -165,6 +165,7 @@ while [ 0 -lt $# ]; do
;;
--enable_otf) # otf support
with_otf=1;
otfmakecmd="( cd ../externals/otf && ./configure && make && cd ../../trunk )"
;;
--otf_dir=*) # otf directory
otfdir=`echo $OPT | awk -F"--otf_dir=" '{print $2}'`
......@@ -317,6 +318,7 @@ cat > "$makefile" <<EOF
include Makefile.in
all:
$otfmakecmd
( cd src && \$(QMAKECMD) $project $options)
( cd src && \$(MAKECMD) )
@echo " "
......
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