Skip to content

Commit

Permalink
Remove make rule which generates unused compiler info (#149)
Browse files Browse the repository at this point in the history
未使用のコンパイラー情報をヘッダーから取り除くためmakeルールを削除する。
コンパイラー情報のマクロは一度もソフトウェアで使われてなかった。
  • Loading branch information
ma8ma committed Nov 23, 2019
1 parent 1ae7a4b commit 5f20a7f
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,6 @@ $(jdim_BUILDINFO_HEADER):
@echo '' >> $@.new
@echo '// Build information.' >> $@.new

@if test -n "$(CC)"; \
then \
CC_INFO=$(CC); \
CC_VERSION=`LANG=C $(CC) -dumpversion 2>/dev/null`; \
test -n "$${CC_VERSION}" && CC_INFO="$(CC)($${CC_VERSION})"; \
echo "#define CC_INFO \"$${CC_INFO}\"" >> $@.new; \
fi
@if test -n "$(CXX)"; \
then \
CXX_INFO=$(CXX); \
CXX_VERSION=`LANG=C $(CXX) -dumpversion 2>/dev/null`; \
test -n "$${CXX_VERSION}" && CXX_INFO="$(CXX)($${CXX_VERSION})"; \
echo "#define CXX_INFO \"$${CXX_INFO}\"" >> $@.new; \
fi

@if test -n "$(jdim_CONFIGURE_ARGS)"; \
then \
echo "#define CONFIGURE_ARGS \"$(jdim_CONFIGURE_ARGS)\"" >> $@.new; \
Expand Down

0 comments on commit 5f20a7f

Please sign in to comment.