Move hashfile definition from configure.ac into Makefile.in
authorYann Dirson <ydirson@free.fr>
Sun, 20 Oct 2013 19:41:47 +0000 (21:41 +0200)
committerYann Dirson <ydirson@free.fr>
Mon, 4 Nov 2013 22:00:26 +0000 (23:00 +0100)
Like other similar defs...

configure.ac
gnushogi/Makefile.in

index 926f7f1..42f3f8c 100644 (file)
@@ -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)
index 9ceb4e9..4fa0c36 100644 (file)
@@ -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