Skip to content

Commit

Permalink
enable/disable librarylink compilation depending on math kernel
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Sep 3, 2016
1 parent 13f35b1 commit bafc920
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions configure
Expand Up @@ -1000,8 +1000,16 @@ check_addons() {
#_____________________________________________________________________
check_librarylink() {
if [ "x$enable_librarylink" = "xautomatic" ] ; then
# no special requirements for LibraryLink
enable_librarylink=yes
checking_msg "LibraryLink"
# building LibraryLink needs Mathematica headers
exists_in_path "$MATH"
if [ -n "$cmd" ] ; then
result "yes"
enable_librarylink=yes
else
result "no"
enable_librarylink=no
fi
fi
}

Expand Down

0 comments on commit bafc920

Please sign in to comment.