修订版 | 871fea0bfed505e682548afc9714853c393d51a6 (tree) |
---|---|
时间 | 2013-01-02 02:29:29 |
作者 | Katsuhiko Nishimra <ktns.87@gmai...> |
Commiter | Katsuhiko Nishimra |
Remove duplicate CPP/LDFLAGS addition. #28588
git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1224 1136aad2-a195-0410-b898-f5ea1d11b9d8
@@ -76,11 +76,9 @@ AC_ARG_WITH([openblas], | ||
76 | 76 | OPENBLAS_ROOT=], |
77 | 77 | [no],[OPENBLAS_ROOT=], |
78 | 78 | [AS_IF([test -d $withval], |
79 | - [AC_MSG_NOTICE([Using OpenBLAS under `$withval'.]) | |
80 | - BLAS_LIBS=-lopenblas | |
81 | - OPENBLAS_ROOT=$withval | |
82 | - CPPFLAGS="$CPPFLAGS -I$OPENBLAS_ROOT/include" | |
83 | - LDFLAGS="$LDFLAGS -L$OPENBLAS_ROOT/lib"], | |
79 | + [AC_MSG_NOTICE([Using OpenBLAS under `$withval'.])] | |
80 | + [BLAS_LIBS=-lopenblas] | |
81 | + [OPENBLAS_ROOT=$withval], | |
84 | 82 | [AC_MSG_FAILURE([Cannot find directory `$withval'!])])])], |
85 | 83 | [OPENBLAS_ROOT=]) |
86 | 84 | AM_CONDITIONAL([USE_OPENBLAS_DIR], [test x != x$OPENBLAS_ROOT]) |