diff --git a/build/configure b/build/configure index f4110fda4431293ec6e3b6f51446a95ee75c0f62..22808d5f4190243353c57e6d5fbfe52b8368b68e 100755 --- a/build/configure +++ b/build/configure @@ -1499,7 +1499,8 @@ Optional Packages: --with-sysroot[=DIR] Search for dependent libraries within DIR (or the compiler's sysroot if not specified). --with-lapack use LAPACK [default=auto] - --with-magma use MAGMA [default=auto] + --with-magma[=MAGMA_DIR] + use MAGMA [default=auto] --with-include additional include folders [default=none] --with-fflags=flags FORTRAN compiler flags [default="-std=legacy -O3"] --with-ldflags=flags custom linker flags [default=none] diff --git a/build/configure.ac b/build/configure.ac index b49aa826a07ec8698afdfc6a74220cedf7930452..5b30c9aa30f1fd1caf4cd65d69edacd775a41012 100644 --- a/build/configure.ac +++ b/build/configure.ac @@ -542,7 +542,7 @@ AC_ARG_WITH( AC_ARG_WITH( [magma], - [AS_HELP_STRING([--with-magma], [use MAGMA @<:@default=auto@:>@])], + [AS_HELP_STRING([--with-magma[[=MAGMA_DIR]]], [use MAGMA @<:@default=auto@:>@])], [ if test "x$withval" = "xno"; then AC_SUBST([MAGMAFLAGS], [""])