comparison configure.ac @ 3068:fb0836e4a677

Add --enable-openblas option to configure * src/octave.mk: Set --with-blas=openblas if openblas was enabled and add openblas as an octave dependancy. * configure.ac: Add experimental --with-openblas opyion. * Makefile.in: Add ENABLE_OPENBAS flag.
author John Donoghue <john.donoghue@ieee.org>
date Thu, 20 Jun 2013 06:29:17 -0400
parents cbdf4575016d
children 21586f2d1fe7
comparison
equal deleted inserted replaced
3067:bdb4b64f2ff8 3068:fb0836e4a677
99 AC_ARG_ENABLE([pic-flag], 99 AC_ARG_ENABLE([pic-flag],
100 [AS_HELP_STRING([--enable-pic-flag], [Compile with PIC flag])], 100 [AS_HELP_STRING([--enable-pic-flag], [Compile with PIC flag])],
101 [if test "$enableval" = yes; then USE_PIC_FLAG=yes; fi], []) 101 [if test "$enableval" = yes; then USE_PIC_FLAG=yes; fi], [])
102 AC_SUBST(USE_PIC_FLAG) 102 AC_SUBST(USE_PIC_FLAG)
103 103
104 ENABLE_OPENBLAS=false
105 AC_ARG_ENABLE([openblas],
106 [AS_HELP_STRING([--enable-openblas],
107 [(EXPERIMENTAL) enable use of openblas in Octave])],
108 [if test "$enableval" = yes; then ENABLE_OPENBLAS=yes; fi], [])
109 AC_SUBST(ENABLE_OPENBLAS)
110
104 ### Default is to cross compile for mingw. 111 ### Default is to cross compile for mingw.
105 112
106 echo $host_alias 113 echo $host_alias
107 if test -n "$host_alias"; then 114 if test -n "$host_alias"; then
108 MXE_SYSTEM=$host_alias 115 MXE_SYSTEM=$host_alias