• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

修订版e7fe1e055f9e1918b1020a68d2690bd66428e299 (tree)
时间2013-01-02 03:44:50
作者Katsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Log Message

Revert "Remove duplicate CPP/LDFLAGS addition. #28588"

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/branches/automake@1228 1136aad2-a195-0410-b898-f5ea1d11b9d8

更改概述

差异

--- a/src/configure.ac
+++ b/src/configure.ac
@@ -76,9 +76,11 @@ AC_ARG_WITH([openblas],
7676 OPENBLAS_ROOT=],
7777 [no],[OPENBLAS_ROOT=],
7878 [AS_IF([test -d $withval],
79- [AC_MSG_NOTICE([Using OpenBLAS under `$withval'.])]
80- [BLAS_LIBS=-lopenblas]
81- [OPENBLAS_ROOT=$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"],
8284 [AC_MSG_FAILURE([Cannot find directory `$withval'!])])])],
8385 [OPENBLAS_ROOT=])
8486 AM_CONDITIONAL([USE_OPENBLAS_DIR], [test x != x$OPENBLAS_ROOT])