• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

Commit MetaInfo

Revisión21fcaacbbd50f26f9db16e4cd890d9c9055779f4 (tree)
Tiempo2013-01-02 02:29:31
AutorKatsuhiko Nishimra <ktns.87@gmai...>
CommiterKatsuhiko Nishimra

Log Message

Use AM_CPP/LDFLAGS to pass boost cpp/ld flags. #28588

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

Cambiar Resumen

Diferencia incremental

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -47,4 +47,6 @@ OPENBLAS_INCLUDE_DIR=$(OPENBLAS_ROOT)/include
4747 OPENBLAS_LIB_DIR=$(OPENBLAS_ROOT)/lib
4848 AM_CPPFLAGS+= -I$(OPENBLAS_INCLUDE_DIR)
4949 AM_LDFLAGS+= -L$(OPENBLAS_LIB_DIR)
50+AM_CPPFLAGS+= $(BOOST_CPPLAGS)
51+AM_LDFLAGS+= $(BOOST_LDFLAGS)
5052 endif
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -175,8 +175,6 @@ AC_CACHE_CHECK([whether ld accepts -rpath option],[molds_cv_ld_accepts_rpath],
175175
176176 AS_IF([test x$molds_cv_ld_accepts_rpath == xyes],
177177 [BOOST_LDFLAGS="$BOOST_LDFLAGS -Wl,-rpath=$BOOST_LIBDIR"])
178-CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
179-LDFLAGS="$LDFLAGS $BOOST_LDFLAGS"
180178
181179 AC_CHECK_HEADERS([boost/random.hpp],,[AC_MSG_FAILURE([Cannot find boost/random.hpp!])])
182180