summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-22 16:25:24 +0100
committerWillem Jan Palenstijn <Willem.Jan.Palenstijn@cwi.nl>2016-11-22 16:25:24 +0100
commitbc03dad9393d6fd9aad1ba22c98c223edecc918b (patch)
tree40bba8ad0baf6ee70d9ac615310fe289986d429c
parente69de5d1f5c80c58f9351617bb9ea117fcc6cad3 (diff)
downloadastra-bc03dad9393d6fd9aad1ba22c98c223edecc918b.tar.gz
astra-bc03dad9393d6fd9aad1ba22c98c223edecc918b.tar.bz2
astra-bc03dad9393d6fd9aad1ba22c98c223edecc918b.tar.xz
astra-bc03dad9393d6fd9aad1ba22c98c223edecc918b.zip
Show installation paths at end of configure
-rw-r--r--build/linux/configure.ac49
1 files changed, 42 insertions, 7 deletions
diff --git a/build/linux/configure.ac b/build/linux/configure.ac
index 785b698..e562e77 100644
--- a/build/linux/configure.ac
+++ b/build/linux/configure.ac
@@ -302,11 +302,46 @@ AC_OUTPUT
echo
echo "Summary of ASTRA Toolbox build options:"
-echo " CUDA : $HAVECUDA"
-echo " Matlab : $HAVEMATLAB"
-echo " Octave : $HAVEOCTAVE"
-echo " Python : $HAVEPYTHON"
-echo
-echo " prefix : $prefix"
-echo " install: $with_install_type"
+echo " CUDA : $HAVECUDA"
+echo " Matlab: $HAVEMATLAB"
+echo " Octave: $HAVEOCTAVE"
+echo " Python: $HAVEPYTHON"
echo
+echo "Installation type: $with_install_type"
+case $with_install_type in
+ prefix)
+ echo " Library : "$(eval echo `eval echo $libdir`)
+ if test $HAVEMATLAB = yes; then
+ echo " Matlab files: "$(eval echo `eval echo $datadir`)"/astra/matlab"
+ fi
+ if test $HAVEOCTAVE = yes; then
+ echo " Octave files: "$(eval echo `eval echo $datadir`)"/astra/octave"
+ fi
+ if test $HAVEPYTHON = yes; then
+ echo " Python files to site-packages"
+ fi
+ ;;
+ dir)
+ echo " Library : "$(eval echo `eval echo $libdir`)
+ if test $HAVEMATLAB = yes; then
+ echo " Matlab files: $prefix/matlab"
+ fi
+ if test $HAVEOCTAVE = yes; then
+ echo " Octave files: $prefix/octave"
+ fi
+ if test $HAVEPYTHON = yes; then
+ echo " Python files: $prefix/python"
+ fi
+ ;;
+ module)
+ echo " Library into Matlab/Octave/Python module directories"
+ if test $HAVEMATLAB = yes; then
+ echo " Matlab files: $prefix/matlab"
+ fi
+ if test $HAVEOCTAVE = yes; then
+ echo " Octave files: $prefix/octave"
+ fi
+ if test $HAVEPYTHON = yes; then
+ echo " Python files to site-packages"
+ fi
+esac