From: Yann Dirson Date: Sun, 20 Oct 2013 19:41:47 +0000 (+0200) Subject: Move hashfile definition from configure.ac into Makefile.in X-Git-Url: http://winboard.nl/cgi-bin?p=gnushogi.git;a=commitdiff_plain;h=73dc3a91efd58da0b1fcce6c48a12361be71cd03 Move hashfile definition from configure.ac into Makefile.in Like other similar defs... --- diff --git a/configure.ac b/configure.ac index 926f7f1..42f3f8c 100644 --- a/configure.ac +++ b/configure.ac @@ -58,13 +58,13 @@ AC_CHECK_LIB(termcap, tgoto) if [[ $ac_cv_c_compiler_gnu = yes ]] then WARNINGS="-Wall -Wno-implicit-int -Wstrict-prototypes -ansi -pedantic" -CEXTRAFLAGS="-fsigned-char -funroll-loops \$(HASH)" +CEXTRAFLAGS="-fsigned-char -funroll-loops" # For profiling targets: -CEXTRAFLAGS2="-fsigned-char -pg -fprofile-arcs -ftest-coverage \$(HASH)" +CEXTRAFLAGS2="-fsigned-char -pg -fprofile-arcs -ftest-coverage" else # Who knows what warnings your compiler uses? WARNINGS= -CEXTRAFLAGS="\$(HASH)" +CEXTRAFLAGS= fi AC_SUBST(WARNINGS) diff --git a/gnushogi/Makefile.in b/gnushogi/Makefile.in index 9ceb4e9..4fa0c36 100644 --- a/gnushogi/Makefile.in +++ b/gnushogi/Makefile.in @@ -73,7 +73,7 @@ LCURSES = @LIBCURSES@ CC = @CC@ CWARNINGS = @WARNINGS@ CEXTRAFLAGS = @CEXTRAFLAGS@ -CFLAGS = @CFLAGS@ $(CEXTRAFLAGS) $(CWARNINGS) -I$(ROOT) -I@top_builddir@ -I. +CFLAGS = @CFLAGS@ $(HASH) $(CEXTRAFLAGS) $(CWARNINGS) -I$(ROOT) -I@top_builddir@ -I. LDFLAGS = @LDFLAGS@ # The hashfile is a record of positions seen. It is used by